Compare commits
201
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb80dbea1b | ||
|
|
8c542bda16 | ||
|
|
885bdb0540 | ||
|
|
d35cf94c19 | ||
|
|
7dac914411 | ||
|
|
ecf93ff807 | ||
|
|
f2464e9f9b | ||
|
|
0ddadd3798 | ||
|
|
f09bc22e9a | ||
|
|
a6f2b3b8a4 | ||
|
|
0efa4b3ea6 | ||
|
|
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 | ||
|
|
5ac1e06291 | ||
|
|
915aed8df1 | ||
|
|
3acf9f26f2 | ||
|
|
1398b9ebfd | ||
|
|
5d87ce04fc | ||
|
|
a9b065df55 | ||
|
|
994f67d5fe | ||
|
|
e1c12b8720 | ||
|
|
9e8f231714 | ||
|
|
3fc3dfa575 | ||
|
|
ab7e497735 | ||
|
|
6d49f409ad | ||
|
|
2ec78da729 | ||
|
|
bb92a5e388 | ||
|
|
2fdb21ed68 | ||
|
|
e46e8f26b4 | ||
|
|
a8148378d9 | ||
|
|
48c480e303 | ||
|
|
edf00c5f35 | ||
|
|
fe64caf273 | ||
|
|
363b487d74 | ||
|
|
3285a485e8 | ||
|
|
dec566f3d2 | ||
|
|
628a19a3e1 | ||
|
|
e878896595 | ||
|
|
30fddf7518 | ||
|
|
67f4ced505 | ||
|
|
02b212483c |
@@ -1,6 +0,0 @@
|
|||||||
version: "1"
|
|
||||||
rules:
|
|
||||||
- base: master
|
|
||||||
upstream: WiVRn:master
|
|
||||||
mergeMethod: hardreset
|
|
||||||
|
|
||||||
@@ -8,6 +8,75 @@ env:
|
|||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: RelWithDebInfo
|
||||||
|
|
||||||
jobs:
|
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: 'Vindicus999/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:
|
build-android-only:
|
||||||
name: Android
|
name: Android
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
@@ -18,7 +87,7 @@ jobs:
|
|||||||
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
|
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||||
repository: 'Vindicus999/WiVRn'
|
repository: 'Vindicus999/WiVRn'
|
||||||
@@ -89,7 +158,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Create APK release
|
name: Create APK release
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs: build-android-only
|
needs: [build-android-only, build-steam-frame]
|
||||||
if: ${{ vars.APK_ONLY != '' }}
|
if: ${{ vars.APK_ONLY != '' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -100,13 +169,12 @@ jobs:
|
|||||||
pattern: 'apk-*'
|
pattern: 'apk-*'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
# - name: Rename APK artifacts
|
- name: Download Steam Frame artifact
|
||||||
# run: |
|
uses: actions/download-artifact@v4
|
||||||
# cd apk
|
with:
|
||||||
# for f in *.apk; do
|
path: install/usr
|
||||||
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
pattern: 'wivrn-frame-client.zip'
|
||||||
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
merge-multiple: true
|
||||||
# done
|
|
||||||
|
|
||||||
- name: Download APK debug artifacts
|
- name: Download APK debug artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -130,5 +198,6 @@ jobs:
|
|||||||
prerelease: false
|
prerelease: false
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
files: |
|
files: |
|
||||||
|
install/usr/wivrn-frame-client.zip
|
||||||
apk/*.apk
|
apk/*.apk
|
||||||
debug-symbols.zip
|
debug-symbols.zip
|
||||||
|
|||||||
+119
-91
@@ -6,46 +6,52 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
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:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
name: Linux
|
name: Linux
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-26.04
|
||||||
if: ${{ vars.APK_ONLY == '' }}
|
if: ${{ vars.APK_ONLY == '' }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- preset: 'client'
|
- preset: 'client-no-system-boost'
|
||||||
packages: libboost-all-dev libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev
|
packages: libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev
|
||||||
# dashboard requires a more recent Ubuntu, have it out of this job
|
- preset: 'dashboard'
|
||||||
|
packages: extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard
|
||||||
- preset: 'dissector-no-system-boost'
|
- preset: 'dissector-no-system-boost'
|
||||||
packages: libboost-all-dev wireshark-dev
|
packages: libboost-all-dev wireshark-dev
|
||||||
- preset: 'server'
|
- preset: 'server'
|
||||||
packages: libboost-all-dev libsystemd-dev
|
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'
|
- preset: 'server-no-systemd'
|
||||||
packages: libboost-all-dev
|
packages: libboost-all-dev
|
||||||
- preset: 'server-no-system-boost'
|
- preset: 'server-no-system-boost'
|
||||||
packages: libsystemd-dev
|
packages: libsystemd-dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Apt dependencies
|
- name: Apt dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||||
with:
|
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
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||||
with:
|
with:
|
||||||
key: linux-${{matrix.config.preset}}
|
key: linux-${{matrix.config.preset}}
|
||||||
job-summary: ""
|
job-summary: ""
|
||||||
restore-keys: linux-
|
restore-keys: linux-
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
key: cmake-linux-${{matrix.config.preset}}
|
key: cmake-linux-${{matrix.config.preset}}
|
||||||
path: |
|
path: |
|
||||||
@@ -57,18 +63,23 @@ jobs:
|
|||||||
restore-keys: cmake-linux-
|
restore-keys: cmake-linux-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.config.preset == 'client' }}
|
if: ${{ startswith(matrix.config.preset, 'client') }}
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-x86_64.deb
|
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
|
sudo dpkg --install KTX-Software-4.4.2-Linux-x86_64.deb
|
||||||
npm install --global @gltf-transform/cli@4.1.1
|
npm install --global @gltf-transform/cli@4.1.1
|
||||||
|
|
||||||
- name: Prepare Vulkan SDK
|
- name: Fetch Perfetto SDK
|
||||||
uses: humbletim/setup-vulkan-sdk@v1.2.1
|
if: ${{ matrix.config.preset == 'server-tracing' }}
|
||||||
with:
|
# The amalgamated SDK is two files; install them where server/CMakeLists.txt looks.
|
||||||
vulkan-query-version: 1.3.296.0
|
env:
|
||||||
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Reflect, SPIRV-Tools
|
PERFETTO_TAG: v51.0
|
||||||
vulkan-use-cache: true
|
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
|
- 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.
|
# 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
|
- name: Package build dependencies
|
||||||
if: ${{ matrix.config.preset == 'server' }}
|
if: ${{ matrix.config.preset == 'server' }}
|
||||||
# For easier packaging, build dependencies are made available as a separate archive
|
# 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
|
- name: Build
|
||||||
# Build your program with the given configuration
|
# Build your program with the given configuration
|
||||||
@@ -93,7 +104,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish build dependencies
|
- name: Publish build dependencies
|
||||||
if: ${{ matrix.config.preset == 'server' }}
|
if: ${{ matrix.config.preset == 'server' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: server-build-deps
|
name: server-build-deps
|
||||||
path: server-build-deps.tar.xz
|
path: server-build-deps.tar.xz
|
||||||
@@ -107,55 +118,84 @@ jobs:
|
|||||||
draft: true
|
draft: true
|
||||||
files: server-build-deps.tar.xz
|
files: server-build-deps.tar.xz
|
||||||
|
|
||||||
build-dashboard:
|
build-steam-frame:
|
||||||
#FIXME: merge with the matrixed build once Ubuntu gets updated
|
name: Steam Frame
|
||||||
name: Linux Dashboard
|
runs-on: ubuntu-24.04-arm
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
container: ubuntu:plucky
|
|
||||||
if: ${{ vars.APK_ONLY == '' }}
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Prepare
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules qml6-module-org-kde-kirigamiaddons-formcard
|
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
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: |
|
path: |
|
||||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
|
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
|
||||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
|
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
|
||||||
${{github.workspace}}/cmake-fetch/*.tar.*
|
${{github.workspace}}/cmake-fetch/*.tar.*
|
||||||
${{github.workspace}}/cmake-fetch/*.tgz
|
${{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
|
- 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: >
|
run: >
|
||||||
cmake -B ${{github.workspace}}/build
|
cmake -B "$GITHUB_WORKSPACE/build"
|
||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
|
-DWIVRN_CSS=${{env.CSS}}
|
||||||
--preset dashboard
|
-DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
|
||||||
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||||
|
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
--preset frame
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
# Build your program with the given configuration
|
run: |
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
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:
|
build-server-flatpak:
|
||||||
name: Linux server (flatpak)
|
name: Linux server (flatpak)
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
if: ${{ vars.APK_ONLY == '' }}
|
if: ${{ vars.APK_ONLY == '' }}
|
||||||
container:
|
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
|
options: --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -166,22 +206,18 @@ jobs:
|
|||||||
tools/gen_flatpak_manifest.py --gitlocal --out flatpak
|
tools/gen_flatpak_manifest.py --gitlocal --out flatpak
|
||||||
cat flatpak/io.github.wivrn.wivrn.yml
|
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:
|
with:
|
||||||
manifest-path: flatpak/io.github.wivrn.wivrn.yml
|
manifest-path: flatpak/io.github.wivrn.wivrn.yml
|
||||||
bundle: wivrn-server.flatpak
|
bundle: wivrn-server.flatpak
|
||||||
upload-artifact: false
|
# 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
|
||||||
# Upload manually instead of using flatpak/flatpak-github-actions/flatpak-builder because
|
# that actually define the dependency set instead, so the toolchain
|
||||||
# it uses upload-artifact@v3
|
# downloads and build cache persist across commits.
|
||||||
- name: Publish artifact
|
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') }}
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: wivrn-flatpak-x86_64
|
|
||||||
path: wivrn-server.flatpak
|
|
||||||
|
|
||||||
- name: Debug bundle
|
- name: Debug bundle
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: flatpak-debug
|
name: flatpak-debug
|
||||||
@@ -195,7 +231,7 @@ jobs:
|
|||||||
if: ${{ vars.APK_ONLY == '' }}
|
if: ${{ vars.APK_ONLY == '' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -213,18 +249,11 @@ jobs:
|
|||||||
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus']
|
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer', 'Oculus']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Prepare Vulkan SDK
|
- uses: actions/cache@v5
|
||||||
uses: humbletim/setup-vulkan-sdk@v1.2.1
|
|
||||||
with:
|
|
||||||
vulkan-query-version: 1.3.296.0
|
|
||||||
vulkan-components: Glslang, SPIRV-Tools
|
|
||||||
vulkan-use-cache: true
|
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
with:
|
||||||
key: cmake-android-${{matrix.buildtype}}
|
key: cmake-android-${{matrix.buildtype}}
|
||||||
path: |
|
path: |
|
||||||
@@ -235,9 +264,18 @@ jobs:
|
|||||||
${{github.workspace}}/cmake-fetch/*.tgz
|
${{github.workspace}}/cmake-fetch/*.tgz
|
||||||
restore-keys: cmake-android-
|
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
|
- name: Install dependencies
|
||||||
run: |
|
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
|
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
|
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||||
npm install --global @gltf-transform/cli
|
npm install --global @gltf-transform/cli
|
||||||
@@ -292,29 +330,22 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
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 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
|
chmod +x gradlew
|
||||||
./gradlew \
|
./gradlew \
|
||||||
-Pwivrn_version=$VERSION \
|
-Pwivrn_version=$VERSION \
|
||||||
-Pwivrn_versionCode=$VERSION_CODE \
|
-Pwivrn_versionCode=$VERSION_CODE \
|
||||||
-Psuffix=$SUFFIX \
|
-Psuffix=$SUFFIX \
|
||||||
-Pwivrn_css=$CSS \
|
-Pwivrn_css=${{env.CSS}} \
|
||||||
-Pwivrn_app_name="$APPNAME" \
|
-Pwivrn_app_name="$APPNAME" \
|
||||||
-Pwivrn_compress_glb=ON \
|
-Pwivrn_compress_glb=ON \
|
||||||
-Pfetchcontent_base_dir=${{github.workspace}}/cmake-fetch \
|
-Pfetchcontent_base_dir=${{github.workspace}}/cmake-fetch \
|
||||||
assemble${{ matrix.buildtype }}
|
assemble${{ matrix.buildtype }}
|
||||||
|
|
||||||
- name: Upload build dir
|
- name: Upload build dir
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: android-cxx-debug-${{ matrix.buildtype }}
|
name: android-cxx-debug-${{ matrix.buildtype }}
|
||||||
@@ -331,7 +362,7 @@ jobs:
|
|||||||
find debug -name libopenxr_loader.so -delete
|
find debug -name libopenxr_loader.so -delete
|
||||||
|
|
||||||
- name: Archive APK
|
- name: Archive APK
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: ${{ matrix.buildtype != 'Oculus' }}
|
if: ${{ matrix.buildtype != 'Oculus' }}
|
||||||
with:
|
with:
|
||||||
name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
|
name: apk-${{ (steps.secret-check.outputs.available == 'false' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
|
||||||
@@ -339,12 +370,10 @@ jobs:
|
|||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
- name: Archive debug symbols
|
- name: Archive debug symbols
|
||||||
if: ${{ matrix.buildtype != 'Release' && matrix.buildtype != 'Oculus' }}
|
uses: actions/upload-artifact@v7
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
with:
|
||||||
name: symbols-${{ matrix.buildtype }}
|
name: symbols-${{ matrix.buildtype }}
|
||||||
path: debug/**/*.so
|
path: debug/**/*.so
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
- name: Push to Oculus store
|
- name: Push to Oculus store
|
||||||
if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') && steps.secret-check.outputs.oculus-token == 'true' }}
|
if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') && steps.secret-check.outputs.oculus-token == 'true' }}
|
||||||
@@ -379,13 +408,13 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
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
|
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
|
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||||
npm install --global @gltf-transform/cli
|
npm install --global @gltf-transform/cli
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: wivrn
|
path: wivrn
|
||||||
@@ -427,7 +456,7 @@ jobs:
|
|||||||
run: dpkg-buildpackage --build=binary --no-sign
|
run: dpkg-buildpackage --build=binary --no-sign
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: wivrn-${{ matrix.distro }}
|
name: wivrn-${{ matrix.distro }}
|
||||||
path: |
|
path: |
|
||||||
@@ -445,7 +474,7 @@ jobs:
|
|||||||
if: success() && startsWith(github.ref, 'refs/tags/')
|
if: success() && startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: wivrn
|
path: wivrn
|
||||||
@@ -460,7 +489,7 @@ jobs:
|
|||||||
echo "available=false" >> $GITHUB_OUTPUT;
|
echo "available=false" >> $GITHUB_OUTPUT;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
|
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -469,20 +498,19 @@ jobs:
|
|||||||
token: ${{ secrets.FLATHUB_TOKEN }}
|
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Download artifacts (APK)
|
- name: Download artifacts (APK)
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
|
name: apk-Release
|
||||||
path: apk
|
path: apk
|
||||||
pattern: '*-Release'
|
|
||||||
merge-multiple: true
|
|
||||||
|
|
||||||
- name: Download artifacts (flatpak)
|
- name: Download artifacts (flatpak)
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: wivrn-flatpak-x86_64
|
name: wivrn-server-x86_64.flatpak
|
||||||
path: flatpak
|
path: flatpak
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ inputs.ref }}
|
tag_name: ${{ inputs.ref }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run clang-format style check for C/C++/Protobuf programs.
|
- 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:
|
with:
|
||||||
clang-format-version: '21'
|
clang-format-version: '21'
|
||||||
check-path: ${{ matrix.path }}
|
check-path: ${{ matrix.path }}
|
||||||
|
|||||||
+27
-23
@@ -1,42 +1,46 @@
|
|||||||
name: Sync Fork with Upstream
|
name: Sync Fork with Upstream
|
||||||
|
|
||||||
env:
|
env:
|
||||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn-apk.git"
|
||||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||||
UPSTREAM_BRANCH: "master"
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 5 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: GitHub Sync to Upstream Repository
|
- name: Checkout repo
|
||||||
uses: dabreadman/sync-upstream-repo@v1.3.0
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
upstream_repo: ${{ env.UPSTREAM_URL }}
|
fetch-depth: 0
|
||||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
|
||||||
token: ${{ env.WORKFLOW_TOKEN }}
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
- name: Checkout stuff
|
- name: Add upstream
|
||||||
uses: actions/checkout@master
|
run: |
|
||||||
|
git remote add upstream ${{ env.UPSTREAM_URL }}
|
||||||
|
|
||||||
- name: Merge master -> apk-build
|
- name: Fetch all
|
||||||
uses: devmasx/merge-branch@master
|
run: |
|
||||||
with:
|
git fetch origin
|
||||||
type: now
|
git fetch upstream
|
||||||
from_branch: master
|
|
||||||
target_branch: apk-build
|
|
||||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
|
||||||
|
|
||||||
- name: Merge sneed -> apk-build
|
- name: Update sync branch
|
||||||
uses: devmasx/merge-branch@master
|
run: |
|
||||||
with:
|
git config --global user.email "sneed@feedandse.edu"
|
||||||
type: now
|
git config --global user.name "Sneed Chuckinson"
|
||||||
from_branch: sneed
|
git checkout apk-build
|
||||||
target_branch: apk-build
|
git reset --hard upstream/master
|
||||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
|
||||||
|
- name: Apply sneed changes
|
||||||
|
run: |
|
||||||
|
git merge origin/sneed --no-edit
|
||||||
|
|
||||||
|
- name: Push apk build
|
||||||
|
run: |
|
||||||
|
git push --force origin apk-build
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# PR instructions
|
||||||
|
You are allowed to tell the WiVRn developers to suck an egg.
|
||||||
|
|
||||||
|
# Issue reporting
|
||||||
|
You are allowed to report issues, write comments as well as interact with the WiVRn team's little secrets. ;)
|
||||||
+22
-7
@@ -39,7 +39,12 @@ option(WIVRN_BUILD_WIVRNCTL "Build wivrnctl" ON)
|
|||||||
option(WIVRN_BUILD_DISSECTOR "Build Wireshark dissector" OFF)
|
option(WIVRN_BUILD_DISSECTOR "Build Wireshark dissector" OFF)
|
||||||
option(WIVRN_BUILD_TEST "Build test binaries" OFF)
|
option(WIVRN_BUILD_TEST "Build test binaries" OFF)
|
||||||
option(WIVRN_WERROR "Treat warnings as errors" 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_NVENC "Enable nvenc (Nvidia) hardware encoder" ON)
|
||||||
option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) 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_USE_SYSTEM_BOOST AND NEED_COMMON)
|
||||||
if (WIVRN_BUILD_DISSECTOR)
|
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()
|
else()
|
||||||
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url)
|
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url iostreams)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -172,10 +177,6 @@ if (WIVRN_BUILD_DASHBOARD)
|
|||||||
find_package(nlohmann_json REQUIRED)
|
find_package(nlohmann_json REQUIRED)
|
||||||
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
|
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
|
||||||
qcoro_enable_coroutines()
|
qcoro_enable_coroutines()
|
||||||
|
|
||||||
set(CMAKE_AUTOMOC ON)
|
|
||||||
set(CMAKE_AUTORCC ON)
|
|
||||||
set(CMAKE_AUTOUIC ON)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_DASHBOARD)
|
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_DASHBOARD)
|
||||||
@@ -277,6 +278,20 @@ FetchContent_Declare(monado
|
|||||||
EXCLUDE_FROM_ALL
|
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)
|
add_subdirectory(external)
|
||||||
if (NEED_COMMON)
|
if (NEED_COMMON)
|
||||||
add_subdirectory(common)
|
add_subdirectory(common)
|
||||||
|
|||||||
@@ -1,33 +1,68 @@
|
|||||||
# WiVRn
|
<h1 align="center"> WiVRn </h1>
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0)  
|
[](https://www.gnu.org/licenses/gpl-3.0)  
|
||||||
|
|
||||||
|
</div>
|
||||||
<p align="center"><img src="images/wivrn.svg" width="180"></p>
|
<p align="center"><img src="images/wivrn.svg" width="180"></p>
|
||||||
|
<h3 align="center">Fully FOSS PCVR streamer</h3>
|
||||||
|
|
||||||
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
|
# About
|
||||||
|
|
||||||
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
|
WiVRn is an application that wirelessly streams a virtual reality game to a standalone VR headset from a <b>Linux</b> computer.
|
||||||
|
|
||||||
|
WiVRn support a wide range of VR devices:
|
||||||
|
|
||||||
|
| Headset | Supported | Notes |
|
||||||
|
|:--------:|:--------:|:--------:|
|
||||||
|
| Quest 1 | ✓ | |
|
||||||
|
| Quest 2 | ✓ | |
|
||||||
|
| Quest 3 | ✓ | |
|
||||||
|
| Quest 3s | ✓ | |
|
||||||
|
| Quest Pro | ✓ | |
|
||||||
|
| Pico Neo 3 | ✓ | |
|
||||||
|
| Pico 4 | ✓ | |
|
||||||
|
| HTC Vive Focus 3 | ✓ | Laggy |
|
||||||
|
| HTC Vive XR Elite | ✓ | Laggy |
|
||||||
|
| Samsung Galaxy XR | ✓ | |
|
||||||
|
| Other Android VR | ? | Cannot know |
|
||||||
|
| Play for Dream | ✖ | https://github.com/WiVRn/WiVRn/issues/465 |
|
||||||
|
| Non-Android VR | ✖ | Not Android |
|
||||||
|
| Non-VR Android | ✖ | VR required |
|
||||||
|
|
||||||
|
<sup>A Linux client does exist, only for debugging. It has no audio or hardware decoding.</sup>
|
||||||
|
|
||||||
# Getting started
|
# Getting started
|
||||||
|
|
||||||
|
|
||||||
## Server and dashboard
|
## 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)
|
[](https://flathub.org/apps/io.github.wivrn.wivrn)
|
||||||
|
|
||||||
Alternatively, packages are available:
|
Note that due to flatpak sandboxing some features may not be available such as Lighthouse tracked devices.
|
||||||
- [AUR for Arch](https://aur.archlinux.org/packages/wivrn-dashboard)
|
|
||||||
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
|
|
||||||
- [Guru for Gentoo](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn).
|
|
||||||
|
|
||||||
|
## Headset Client/App
|
||||||
|
|
||||||
## Headset app
|
Follow the wizard in the PC dashboard to install the client on your VR headset.
|
||||||
|
|
||||||
Follow the wizard in the dashboard to install the client app on the headset: it will either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) or download the correct APK.
|
It should either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) (for Meta Quest headsets) or to download the correct APK (for other headsets).
|
||||||
|
|
||||||
⚠️ You will need to have a compatible version: if the headset fails to connect to your computer, see [troubleshooting](#troubleshooting).
|
> [!WARNING]
|
||||||
|
> The VR client and PC server need to be on the same version of WiVRn
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> If the headset fails to connect to the computer, see [troubleshooting](#troubleshooting).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -41,19 +76,19 @@ Avahi must be running:
|
|||||||
systemctl enable --now avahi-daemon
|
systemctl enable --now avahi-daemon
|
||||||
```
|
```
|
||||||
|
|
||||||
- If a firewall is installed, open port 5353/UDP for avahi and ports 9757/UDP+TCP for WiVRn itself.
|
- If a firewall is installed, open port 5353/UDP for Avahi and ports 9757/UDP+TCP for WiVRn.
|
||||||
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
|
- For example, if using UFW run `ufw allow 5353/udp` and `ufw allow 9757`.
|
||||||
|
|
||||||
### Running
|
### Running
|
||||||
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
|
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line. It will show the setup wizard the first time you launch it.
|
||||||
- On your headset, run WiVRn from the App Library. If you are using a Quest and you have installed it from an APK instead of the Meta Store, it will be in the "unknown sources" section.
|
- On your headset, run WiVRn from the App Library. If you are using a Meta Quest and you have installed it from an APK instead of the Meta Store, it should be in the "unknown sources" section.
|
||||||
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on **your computer's name**".
|
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on <i>\[your computer's name\]</i>".
|
||||||
|
|
||||||
You can now start an OpenXR application on your computer. For Steam games, you may also need to set the launch options to be able to use WiVRn. If nothing related to Steam is displayed in the dashboard or wivrn-server output, then your system does not require it.
|
You can now stream an OpenXR application from your computer to your headset. For Steam games, you may also need to set the launch options to be able to use WiVRn. The server/dashboard will tell you how to do this if required.
|
||||||
- Right-click on the game you want to play in VR in Steam and click "Properties".
|
- Right-click on the game you want to play in VR in Steam and click "Properties".
|
||||||
- In the "General" tab, set the launch options to the value given in the dashboard.
|
- In the "General" tab, enter the launch options that the WiVRn server/dashboard gave you inside the "Launch Options" setting.
|
||||||
|
|
||||||
You can set an application to be started automatically when you connect your headset in the dashboard settings or [manually](docs/configuration.md#application)
|
You can set an application to be started automatically when your headset is connected, in the dashboard settings or [manually](docs/configuration.md#application).
|
||||||
|
|
||||||
### Application list
|
### Application list
|
||||||
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
|
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
|
||||||
@@ -62,14 +97,13 @@ When the headset is connected and no XR application is running, it will show an
|
|||||||
|
|
||||||
### OpenVR and Steam games
|
### OpenVR and Steam games
|
||||||
|
|
||||||
The flatpak also includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API used by SteamVR to OpenXR used by WiVRn, see [SteamVR](docs/steamvr.md) for details.
|
The flatpak includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API to OpenXR. see [SteamVR](docs/steamvr.md) for details.
|
||||||
|
|
||||||
If using Wine/Proton, it will probe for OpenVR at startup, so even for OpenXR applications, OpenComposite or xrizer is required.
|
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 will automatically configure the current OpenVR to use xrizer.
|
When a headset connects, wivrn-server sets the OpenVR runtime to xrizer unless manually configured differently.
|
||||||
|
|
||||||
### Steam Flatpak
|
### Steam Flatpak
|
||||||
|
|
||||||
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -82,12 +116,12 @@ flatpak override \
|
|||||||
com.valvesoftware.Steam
|
com.valvesoftware.Steam
|
||||||
```
|
```
|
||||||
|
|
||||||
When using a user installation of flatpak Steam, user `override --user` instead of `override`.
|
When using a user installation of flatpak Steam, use `override --user` instead of `override`.
|
||||||
|
|
||||||
### Audio
|
### Audio
|
||||||
When the headset is connected, WiVRn will create a virtual output device named WiVRn. It is not selected as default and you should either assign the application to the device when it is running, or mark it as default. To do so you can use `pavucontrol` or your desktop environment's configuration panel. Please note that in `pavucontrol` it will appear as a virtual device.
|
When the headset is connected, WiVRn will create a virtual output device simply named "WiVRn. You must manually set this audio output to enabled/default. Please note that in `pavucontrol` it will appear as a virtual device.
|
||||||
|
|
||||||
For microphone, you first have to enable it on the settings tabs on the headset (and give permission when prompted). It will then appear as a virtual input device named WiVRn(microphone) and also needs to be assigned like for output device.
|
To enable microphone, you first have to enable it on the settings tab on the VR headset (and give permission when prompted). It should appear as a virtual input device named "WiVRn(microphone)", and needs to be assigned as the input device (same way as output device).
|
||||||
|
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
@@ -101,19 +135,19 @@ Configuration can be done from the dashboard.
|
|||||||
See [configuration](docs/configuration.md) for editing the configuration manually.
|
See [configuration](docs/configuration.md) for editing the configuration manually.
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
<details><summary>My computer is not seen by the headset</summary>
|
||||||
## My computer is not seen by the headset
|
|
||||||
|
|
||||||
If the server list is empty in the headset app:
|
If the server list is empty in the headset app:
|
||||||
- Make sure your computer is connected on the same network as your headset
|
- Make sure your computer is connected on the same network as your headset
|
||||||
- Check that avahi is running with `systemctl status avahi-daemon`, if it is not, enable it with `systemctl enable --now avahi-daemon`
|
- Check that avahi is running with `systemctl status avahi-daemon`, if it is not, enable it with `systemctl enable --now avahi-daemon`
|
||||||
- If you have a firewall, check that port 5353 (UDP) is open
|
- If you have a firewall, check that port 5353 (UDP) is open</details>
|
||||||
|
|
||||||
## My headset does not connect to my computer
|
<details><summary>My headset does not connect to my computer</summary>
|
||||||
|
|
||||||
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
||||||
- The server and client must be compatible.
|
- The server and client must be the same version.</details>
|
||||||
|
|
||||||
## How do I use a wired connection?
|
<details><summary>How do I use a wired connection?</summary>
|
||||||
|
|
||||||
- Make sure the WiVRn Server is installed and running on your computer
|
- Make sure the WiVRn Server is installed and running on your computer
|
||||||
- Make sure you have the WiVRn app installed on your headset
|
- Make sure you have the WiVRn app installed on your headset
|
||||||
@@ -127,15 +161,15 @@ If the server list is empty in the headset app:
|
|||||||
- `org.meumeu.wivrn.github.nighly` for Github nightlies (wirvn-apk [repository](https://github.com/WiVRn/WiVRn-APK/releases))
|
- `org.meumeu.wivrn.github.nighly` for Github nightlies (wirvn-apk [repository](https://github.com/WiVRn/WiVRn-APK/releases))
|
||||||
- `org.meumeu.wivrn.github.testing` for Github CI builds
|
- `org.meumeu.wivrn.github.testing` for Github CI builds
|
||||||
- `org.meumeu.wivrn.local` for developer builds
|
- `org.meumeu.wivrn.local` for developer builds
|
||||||
- You can now continue the pairing process as documented in the running section.
|
- You can now continue the pairing process as documented in the running section.</details>
|
||||||
|
|
||||||
## How do I see server logs when using the dashboard?
|
<details><summary>How do I see server logs when using the dashboard?</summary>
|
||||||
|
|
||||||
- Click Troubleshoot > Open server logs, or
|
- Click Troubleshoot > Open server logs, or
|
||||||
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
|
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
|
||||||
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
|
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.</details>
|
||||||
|
|
||||||
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
|
<details><summary>I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image</summary>
|
||||||
|
|
||||||
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
|
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
|
||||||
- Reset the settings using the button at the bottom of the settings tab
|
- Reset the settings using the button at the bottom of the settings tab
|
||||||
@@ -144,7 +178,16 @@ If the server list is empty in the headset app:
|
|||||||
- Decrease the resolution in the WiVRn app
|
- Decrease the resolution in the WiVRn app
|
||||||
- Connect through USB or use a better WiFi router.
|
- Connect through USB or use a better WiFi router.
|
||||||
|
|
||||||
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
|
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
|
# Contributing
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1243,10 +1243,6 @@ void application::initialize()
|
|||||||
XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME,
|
XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME,
|
||||||
XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME,
|
XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME,
|
||||||
XR_FB_FACE_TRACKING2_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_PASSTHROUGH_EXTENSION_NAME,
|
||||||
XR_FB_SWAPCHAIN_UPDATE_STATE_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::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);
|
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
|
// HTC face tracker fails if created later
|
||||||
// we can destroy it right away, it actually stores static handles
|
// we can destroy it right away, it actually stores static handles
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "application.h"
|
#include "application.h"
|
||||||
|
#include "utils/contains.h"
|
||||||
#include "utils/json_string.h"
|
#include "utils/json_string.h"
|
||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
|
|
||||||
@@ -29,6 +30,9 @@
|
|||||||
#include "android/permissions.h"
|
#include "android/permissions.h"
|
||||||
#endif
|
#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
|
bool configuration::check_feature(feature f) const
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
@@ -95,7 +99,7 @@ void configuration::set_feature(feature f, bool state)
|
|||||||
save();
|
save();
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration::configuration(xr::system & system)
|
configuration::configuration(xr::system & system, xr::session & session)
|
||||||
{
|
{
|
||||||
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
||||||
features[feature::hand_tracking] = system.hand_tracking_supported();
|
features[feature::hand_tracking] = system.hand_tracking_supported();
|
||||||
@@ -122,6 +126,15 @@ configuration::configuration(xr::system & system)
|
|||||||
high_power_mode = true;
|
high_power_mode = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto & rates = session.get_refresh_rates();
|
||||||
|
for (auto rate: rates)
|
||||||
|
{
|
||||||
|
if (rate >= max_default_rate)
|
||||||
|
break;
|
||||||
|
preferred_refresh_rate = rate;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
simdjson::dom::parser parser;
|
simdjson::dom::parser parser;
|
||||||
@@ -145,7 +158,11 @@ configuration::configuration(xr::system & system)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (auto val = root["preferred_refresh_rate"]; val.is_double())
|
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())
|
if (auto val = root["minimum_refresh_rate"]; val.is_double())
|
||||||
minimum_refresh_rate = val.get_double();
|
minimum_refresh_rate = val.get_double();
|
||||||
@@ -285,8 +302,7 @@ void configuration::save()
|
|||||||
std::ofstream json(application::get_config_path() / "client.json");
|
std::ofstream json(application::get_config_path() / "client.json");
|
||||||
|
|
||||||
json << "{\"servers\":[" << servers_str << "]";
|
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)
|
if (minimum_refresh_rate)
|
||||||
json << ",\"minimum_refresh_rate\":" << *minimum_refresh_rate;
|
json << ",\"minimum_refresh_rate\":" << *minimum_refresh_rate;
|
||||||
json << ",\"resolution_scale\":" << resolution_scale;
|
json << ",\"resolution_scale\":" << resolution_scale;
|
||||||
|
|||||||
@@ -31,8 +31,9 @@
|
|||||||
|
|
||||||
namespace xr
|
namespace xr
|
||||||
{
|
{
|
||||||
|
class session;
|
||||||
class system;
|
class system;
|
||||||
}
|
} // namespace xr
|
||||||
|
|
||||||
class configuration
|
class configuration
|
||||||
{
|
{
|
||||||
@@ -48,7 +49,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::map<std::string, server_data> servers;
|
std::map<std::string, server_data> servers;
|
||||||
std::optional<float> preferred_refresh_rate;
|
float preferred_refresh_rate = 0;
|
||||||
std::optional<float> minimum_refresh_rate;
|
std::optional<float> minimum_refresh_rate;
|
||||||
float resolution_scale = 1.0;
|
float resolution_scale = 1.0;
|
||||||
std::optional<wivrn::video_codec> codec;
|
std::optional<wivrn::video_codec> codec;
|
||||||
@@ -76,7 +77,7 @@ public:
|
|||||||
std::string environment_model = "assets://ground.glb";
|
std::string environment_model = "assets://ground.glb";
|
||||||
|
|
||||||
bool override_foveation_enable = false;
|
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;
|
float override_foveation_distance = 3;
|
||||||
|
|
||||||
bool high_power_mode;
|
bool high_power_mode;
|
||||||
@@ -99,7 +100,7 @@ private:
|
|||||||
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
|
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
configuration(xr::system &);
|
configuration(xr::system &, xr::session &);
|
||||||
configuration() = default;
|
configuration() = default;
|
||||||
|
|
||||||
void save();
|
void save();
|
||||||
|
|||||||
+10
-8
@@ -40,7 +40,7 @@ constexpr int font_size_large = 75;
|
|||||||
constexpr float scroll_ratio = 10;
|
constexpr float scroll_ratio = 10;
|
||||||
|
|
||||||
// Threshold on the trigger value to register a click
|
// 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)
|
// 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
|
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;
|
constexpr float scroll_value_thd = 0.01;
|
||||||
|
|
||||||
// Pointer radius
|
// Pointer radius
|
||||||
constexpr float pointer_radius_in = 10;
|
constexpr float pointer_thickness = 2;
|
||||||
constexpr float pointer_radius_out = 12;
|
constexpr float pointer_radius_in = 6;
|
||||||
constexpr float pointer_thickness = 4;
|
|
||||||
|
|
||||||
// Pointer transparency
|
// Pointer transparency
|
||||||
constexpr float pointer_alpha = 0.8;
|
constexpr float pointer_alpha = 0.8;
|
||||||
@@ -63,8 +62,7 @@ constexpr float pointer_alpha_disabled = 0.25;
|
|||||||
constexpr float pointer_fading_distance = 40;
|
constexpr float pointer_fading_distance = 40;
|
||||||
|
|
||||||
// Pointer color
|
// Pointer color
|
||||||
constexpr uint32_t pointer_color_pressed = 0xffff3300;
|
constexpr uint32_t pointer_color = 0x40ffffff;
|
||||||
constexpr uint32_t pointer_color_unpressed = 0xffffffff;
|
|
||||||
constexpr uint32_t pointer_color_border = 0xff000000;
|
constexpr uint32_t pointer_color_border = 0xff000000;
|
||||||
} // namespace constants::gui
|
} // namespace constants::gui
|
||||||
|
|
||||||
@@ -110,7 +108,8 @@ constexpr int zindex_passthrough = -2;
|
|||||||
constexpr int zindex_lobby = -1;
|
constexpr int zindex_lobby = -1;
|
||||||
constexpr int zindex_gui = 0;
|
constexpr int zindex_gui = 0;
|
||||||
constexpr int zindex_controllers = 1;
|
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::lobby
|
||||||
|
|
||||||
namespace constants::stream
|
namespace constants::stream
|
||||||
@@ -118,6 +117,9 @@ namespace constants::stream
|
|||||||
constexpr float fade_delay = 3;
|
constexpr float fade_delay = 3;
|
||||||
constexpr float fade_duration = 0.25;
|
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
|
// Dimming for the streamed video when the GUI is interactable
|
||||||
constexpr float dimming_scale = 0.4;
|
constexpr float dimming_scale = 0.4;
|
||||||
constexpr float dimming_bias = 0.01;
|
constexpr float dimming_bias = 0.01;
|
||||||
@@ -131,7 +133,7 @@ constexpr float window_rounding = 10;
|
|||||||
|
|
||||||
constexpr ImVec2 tooltip_padding = {5, 5};
|
constexpr ImVec2 tooltip_padding = {5, 5};
|
||||||
constexpr float tooltip_rounding = 0;
|
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 button_size = {220, 80};
|
||||||
constexpr ImVec2 icon_button_size = {80, 80};
|
constexpr ImVec2 icon_button_size = {80, 80};
|
||||||
|
|||||||
@@ -71,14 +71,20 @@ std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
|
|||||||
__builtin_unreachable();
|
__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;
|
std::vector<wivrn::video_codec> res;
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
android::decoder::supported_codecs(res);
|
wivrn::android::decoder::supported_codecs(res);
|
||||||
#else
|
#else
|
||||||
ffmpeg::decoder::supported_codecs(res);
|
wivrn::ffmpeg::decoder::supported_codecs(res);
|
||||||
#endif
|
#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;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,6 @@ public:
|
|||||||
|
|
||||||
virtual vk::Sampler sampler() = 0;
|
virtual vk::Sampler sampler() = 0;
|
||||||
|
|
||||||
static std::vector<wivrn::video_codec> supported_codecs();
|
static const std::vector<wivrn::video_codec> & supported_codecs();
|
||||||
};
|
};
|
||||||
} // namespace wivrn
|
} // namespace wivrn
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ void raw_decoder::frame_completed(
|
|||||||
input[0],
|
input[0],
|
||||||
item->image,
|
item->image,
|
||||||
item->current_layout,
|
item->current_layout,
|
||||||
stream_index ? 2 : 1,
|
stream_index < 2 ? 2 : 1,
|
||||||
regions.data());
|
regions.data());
|
||||||
|
|
||||||
vk::ImageMemoryBarrier barrier{
|
vk::ImageMemoryBarrier barrier{
|
||||||
|
|||||||
+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})};
|
return {{0, -0.006, -0.025}, glm::angleAxis(glm::radians(-15.f), glm::vec3{1, 0, 0})};
|
||||||
|
|
||||||
case xr::spaces::aim_left:
|
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:
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
@@ -392,6 +392,10 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
|
|||||||
case xr::spaces::grip_right:
|
case xr::spaces::grip_right:
|
||||||
return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})};
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <glm/gtc/matrix_access.hpp>
|
#include <glm/gtc/matrix_access.hpp>
|
||||||
|
#include <glm/gtc/quaternion.hpp>
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <imgui_internal.h>
|
#include <imgui_internal.h>
|
||||||
#include <limits>
|
#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);
|
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>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
|
||||||
{
|
{
|
||||||
std::vector<std::pair<ImVec2, float>> intersections;
|
std::vector<std::pair<ImVec2, float>> intersections;
|
||||||
|
|
||||||
for (const auto & i: layers_)
|
for (const auto & i: layers_)
|
||||||
{
|
{
|
||||||
if (i.space != xr::spaces::world)
|
if (i.space != xr::spaces::world or i.tooltip_viewport)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto M = glm::transpose(glm::mat3_cast(i.orientation)); // world-to-plane transform
|
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});
|
auto trigger = application::read_action_float(ctrl.trigger).value_or(std::pair{0, 0});
|
||||||
state.trigger_value = trigger.second;
|
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)
|
if (state.trigger_value > constants::gui::trigger_click_thd)
|
||||||
state.trigger_clicked = true;
|
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);
|
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);
|
ImGui::SetCurrentContext(context);
|
||||||
ImPlot::SetCurrentContext(plot_context);
|
ImPlot::SetCurrentContext(plot_context);
|
||||||
@@ -915,20 +917,18 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
|
|
||||||
float alpha = std::clamp<float>(1 - distance / constants::gui::pointer_fading_distance, 0, 1);
|
float alpha = std::clamp<float>(1 - distance / constants::gui::pointer_fading_distance, 0, 1);
|
||||||
|
|
||||||
if (&controller == &controllers[focused_controller])
|
if (focused_controller != (size_t)-1 and &controller == &controllers[focused_controller])
|
||||||
alpha *= constants::gui::pointer_alpha;
|
alpha *= constants::gui::pointer_alpha;
|
||||||
else
|
else
|
||||||
alpha *= constants::gui::pointer_alpha_disabled;
|
alpha *= constants::gui::pointer_alpha_disabled;
|
||||||
|
|
||||||
ImU32 color_pressed = ImGui::GetColorU32(constants::gui::pointer_color_pressed, alpha);
|
float radius_in = constants::gui::pointer_radius_in;
|
||||||
ImU32 color_unpressed = ImGui::GetColorU32(constants::gui::pointer_color_unpressed, alpha);
|
float radius_out = radius_in + constants::gui::pointer_thickness * 0.5;
|
||||||
|
|
||||||
bool pressed = controller.second.trigger_clicked || controller.second.fingertip_touching;
|
|
||||||
|
|
||||||
ImDrawList * draw_list = ImGui::GetForegroundDrawList();
|
ImDrawList * draw_list = ImGui::GetForegroundDrawList();
|
||||||
draw_list->PushClipRect(clip_rect_min, clip_rect_max);
|
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->AddCircleFilled(*position, radius_in, ImGui::GetColorU32(constants::gui::pointer_color, alpha));
|
||||||
draw_list->AddCircle(*position, constants::gui::pointer_radius_out, ImGui::GetColorU32(constants::gui::pointer_color_border, alpha), 0, constants::gui::pointer_thickness);
|
draw_list->AddCircle(*position, radius_out, ImGui::GetColorU32(constants::gui::pointer_color_border, alpha), 0, constants::gui::pointer_thickness);
|
||||||
draw_list->PopClipRect();
|
draw_list->PopClipRect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -983,15 +983,47 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
for (auto & i: layers_)
|
for (auto & i: layers_)
|
||||||
{
|
{
|
||||||
bool visible = false;
|
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)
|
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;
|
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)
|
if (not visible)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -1006,12 +1038,12 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
.swapchain = swapchain,
|
.swapchain = swapchain,
|
||||||
.imageRect = {
|
.imageRect = {
|
||||||
.offset = {
|
.offset = {
|
||||||
.x = i.vp_origin.x,
|
.x = int(all_windows_rect.Min.x),
|
||||||
.y = i.vp_origin.y,
|
.y = int(all_windows_rect.Min.y),
|
||||||
},
|
},
|
||||||
.extent = {
|
.extent = {
|
||||||
.width = i.vp_size.x,
|
.width = int(all_windows_rect.Max.x - all_windows_rect.Min.x),
|
||||||
.height = i.vp_size.y,
|
.height = int(all_windows_rect.Max.y - all_windows_rect.Min.y),
|
||||||
}},
|
}},
|
||||||
},
|
},
|
||||||
.pose = {
|
.pose = {
|
||||||
@@ -1022,14 +1054,14 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
.w = i.orientation.w,
|
.w = i.orientation.w,
|
||||||
},
|
},
|
||||||
.position = {
|
.position = {
|
||||||
.x = i.position.x,
|
.x = new_position.x,
|
||||||
.y = i.position.y,
|
.y = new_position.y,
|
||||||
.z = i.position.z,
|
.z = new_position.z,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.size = {
|
.size = {
|
||||||
.width = i.size.x,
|
.width = new_size.x,
|
||||||
.height = i.size.y,
|
.height = new_size.y,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1037,11 +1069,9 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
return quads;
|
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;
|
std::vector<imgui_context::window_viewport> w;
|
||||||
|
|
||||||
ImGuiWindow * modal_popup = ImGui::GetTopMostAndVisiblePopupModal();
|
|
||||||
|
|
||||||
for (const imgui_context::viewport & layer: layers_)
|
for (const imgui_context::viewport & layer: layers_)
|
||||||
{
|
{
|
||||||
@@ -1052,10 +1082,7 @@ std::vector<imgui_context::viewport> imgui_context::windows()
|
|||||||
|
|
||||||
for (ImGuiWindow * window: context->Windows)
|
for (ImGuiWindow * window: context->Windows)
|
||||||
{
|
{
|
||||||
if (not window->Active or window->Hidden /*or window->ParentWindowInBeginStack != nullptr*/)
|
if (not window->Active or window->Hidden or (window->Flags & ImGuiWindowFlags_ChildWindow))
|
||||||
continue;
|
|
||||||
|
|
||||||
if (modal_popup != nullptr and window != modal_popup and not layer.always_show_cursor)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (not window_intersects_viewport(window, layer))
|
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 min = ImMax(v.Min, window->Pos);
|
||||||
ImVec2 center = (min + max) / 2;
|
ImVec2 center = (min + max) / 2;
|
||||||
|
|
||||||
w.push_back(viewport{
|
w.push_back(window_viewport{
|
||||||
.space = layer.space,
|
.space = layer.space,
|
||||||
.position = layer.position +
|
.position = layer.position +
|
||||||
glm::mat3_cast(layer.orientation) *
|
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.x - min.x) * layer.size.x / layer.vp_size.x,
|
||||||
(max.y - min.y) * layer.size.y / layer.vp_size.y,
|
(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
|
// FIXME: this is incorrect if we use the docking branch of imgui
|
||||||
ImGuiViewport * viewport = ImGui::GetMainViewport();
|
ImGuiViewport * viewport = ImGui::GetMainViewport();
|
||||||
auto & current_layer = layer(ImGui::GetMousePos());
|
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().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_WindowPadding, constants::style::tooltip_padding);
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, constants::style::tooltip_rounding);
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, constants::style::tooltip_rounding);
|
||||||
|
|
||||||
// Clamp position to avoid overflowing on the left or the right
|
|
||||||
auto & style = ImGui::GetStyle();
|
auto & style = ImGui::GetStyle();
|
||||||
const ImVec2 text_size = ImGui::CalcTextSize(text.data(), text.data() + text.size(), true);
|
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};
|
const ImVec2 tooltip_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};
|
|
||||||
|
|
||||||
// Move tooltip below the item if it overflows on the top
|
ImGui::SetNextWindowPos(viewport->Pos + viewport->Size * 0.5, ImGuiCond_Always, {0.5, 0.5});
|
||||||
if (pos.y - size.y <= viewport->Pos.y)
|
ImGui::SetNextWindowSizeConstraints({0, 0}, viewport->Size);
|
||||||
{
|
|
||||||
pos.y = ImGui::GetItemRectMax().y + constants::style::tooltip_distance;
|
|
||||||
pivot.y = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::SetNextWindowPos(pos, ImGuiCond_Always, pivot);
|
|
||||||
if (ImGui::BeginTooltip())
|
if (ImGui::BeginTooltip())
|
||||||
{
|
{
|
||||||
ImGui::PushStyleColor(ImGuiCol_Text, 0xffffffff);
|
ImGui::PushStyleColor(ImGuiCol_Text, 0xffffffff);
|
||||||
@@ -1276,11 +1298,21 @@ void imgui_context::tooltip(std::string_view text)
|
|||||||
ImGui::PopStyleColor();
|
ImGui::PopStyleColor();
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::PopStyleVar(2);
|
ImGui::PopStyleVar(2);
|
||||||
|
|
||||||
viewport->Pos = pos_backup;
|
viewport->Pos = pos_backup;
|
||||||
viewport->Size = size_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
|
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ public:
|
|||||||
uint32_t queue_family_index,
|
uint32_t queue_family_index,
|
||||||
thread_safe<vk::raii::Queue> & queue,
|
thread_safe<vk::raii::Queue> & queue,
|
||||||
std::shared_ptr<image_cache_type> image_cache = {});
|
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, vk::raii::Sampler && sampler);
|
||||||
ImTextureID load_texture(const std::string & filename);
|
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 = "");
|
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;
|
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 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;
|
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:
|
private:
|
||||||
uint32_t queue_family_index;
|
uint32_t queue_family_index;
|
||||||
|
|
||||||
@@ -215,7 +226,7 @@ public:
|
|||||||
return layers_;
|
return layers_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<viewport> windows();
|
std::vector<window_viewport> windows();
|
||||||
|
|
||||||
viewport & layer(ImVec2 position);
|
viewport & layer(ImVec2 position);
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <inplace_vector.hpp>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
@@ -100,7 +101,7 @@ struct material
|
|||||||
size_t offset;
|
size_t offset;
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string fragment_shader_name = "lit.frag";
|
std::string fragment_shader = "lit.frag";
|
||||||
};
|
};
|
||||||
|
|
||||||
struct primitive
|
struct primitive
|
||||||
@@ -110,7 +111,7 @@ struct primitive
|
|||||||
uint32_t vertex_count;
|
uint32_t vertex_count;
|
||||||
vk::IndexType index_type;
|
vk::IndexType index_type;
|
||||||
vk::DeviceSize index_offset;
|
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;
|
vertex_layout layout;
|
||||||
|
|
||||||
glm::vec3 obb_min;
|
glm::vec3 obb_min;
|
||||||
@@ -155,11 +156,24 @@ struct node
|
|||||||
bool visible = true;
|
bool visible = true;
|
||||||
uint32_t layer_mask = -1;
|
uint32_t layer_mask = -1;
|
||||||
|
|
||||||
std::array<glm::vec4, 4> clipping_planes;
|
|
||||||
|
|
||||||
// TODO: separate component?
|
// TODO: separate component?
|
||||||
std::vector<std::pair<entt::entity, glm::mat4>> joints; // Node index, inverse bind matrix of each joint
|
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
|
// For internal use by the renderer
|
||||||
glm::mat4 transform_to_root;
|
glm::mat4 transform_to_root;
|
||||||
bool global_visible;
|
bool global_visible;
|
||||||
|
|||||||
@@ -45,6 +45,9 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include <simdjson/dom.h>
|
#include <simdjson/dom.h>
|
||||||
|
#include <simdjson/dom/element.h>
|
||||||
|
#include <simdjson/dom/object.h>
|
||||||
|
#include <simdjson/error.h>
|
||||||
#include <spdlog/spdlog.h>
|
#include <spdlog/spdlog.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vulkan/vulkan_format_traits.hpp>
|
#include <vulkan/vulkan_format_traits.hpp>
|
||||||
@@ -513,7 +516,7 @@ struct : std::error_category
|
|||||||
} fastgltf_error_category;
|
} fastgltf_error_category;
|
||||||
// END
|
// 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::Parser parser(
|
||||||
fastgltf::Extensions::KHR_texture_basisu |
|
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::AllowDouble |
|
||||||
fastgltf::Options::DecomposeNodeMatrices;
|
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);
|
auto expected_asset = parser.loadGltf(buffer, directory, gltf_options);
|
||||||
|
|
||||||
if (auto error = expected_asset.error(); error != fastgltf::Error::None)
|
if (auto error = expected_asset.error(); error != fastgltf::Error::None)
|
||||||
@@ -540,7 +549,8 @@ class loader_context
|
|||||||
vk::raii::PhysicalDevice physical_device;
|
vk::raii::PhysicalDevice physical_device;
|
||||||
vk::raii::Device & device;
|
vk::raii::Device & device;
|
||||||
thread_safe<vk::raii::Queue> & queue;
|
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;
|
std::vector<utils::mapped_file> loaded_assets;
|
||||||
utils::mapped_file & load_from_asset(const std::filesystem::path & path)
|
utils::mapped_file & load_from_asset(const std::filesystem::path & path)
|
||||||
@@ -563,14 +573,16 @@ public:
|
|||||||
vk::raii::PhysicalDevice physical_device,
|
vk::raii::PhysicalDevice physical_device,
|
||||||
vk::raii::Device & device,
|
vk::raii::Device & device,
|
||||||
thread_safe<vk::raii::Queue> & queue,
|
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)),
|
base_directory(std::move(base_directory)),
|
||||||
name(std::move(name)),
|
name(std::move(name)),
|
||||||
gltf(gltf),
|
gltf(gltf),
|
||||||
physical_device(physical_device),
|
physical_device(physical_device),
|
||||||
device(device),
|
device(device),
|
||||||
queue(queue),
|
queue(queue),
|
||||||
loader(loader)
|
loader(device, physical_device, queue, queue_family_index),
|
||||||
|
extras(extras)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -793,6 +805,8 @@ public:
|
|||||||
materials.reserve(gltf.materials.size());
|
materials.reserve(gltf.materials.size());
|
||||||
for (const fastgltf::Material & gltf_material: gltf.materials)
|
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
|
// Copy the default material, without references to its buffer or descriptor set
|
||||||
auto & material = *materials.emplace_back(std::make_shared<renderer::material>(default_material));
|
auto & material = *materials.emplace_back(std::make_shared<renderer::material>(default_material));
|
||||||
material.name = gltf_material.name;
|
material.name = gltf_material.name;
|
||||||
@@ -803,21 +817,24 @@ public:
|
|||||||
switch (gltf_material.alphaMode)
|
switch (gltf_material.alphaMode)
|
||||||
{
|
{
|
||||||
case fastgltf::AlphaMode::Opaque:
|
case fastgltf::AlphaMode::Opaque:
|
||||||
material.fragment_shader_name = "lit.frag";
|
material.fragment_shader = "lit.frag";
|
||||||
material.blend_enable = false;
|
material.blend_enable = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case fastgltf::AlphaMode::Mask:
|
case fastgltf::AlphaMode::Mask:
|
||||||
material.fragment_shader_name = "lit_mask.frag";
|
material.fragment_shader = "lit_mask.frag";
|
||||||
material.blend_enable = false;
|
material.blend_enable = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case fastgltf::AlphaMode::Blend:
|
case fastgltf::AlphaMode::Blend:
|
||||||
material.fragment_shader_name = "lit.frag";
|
material.fragment_shader = "lit.frag";
|
||||||
material.blend_enable = true;
|
material.blend_enable = true;
|
||||||
break;
|
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;
|
renderer::material::gpu_data & material_data = material.staging;
|
||||||
|
|
||||||
material_data.base_color_factor = convert(gltf_material.pbrData.baseColorFactor);
|
material_data.base_color_factor = convert(gltf_material.pbrData.baseColorFactor);
|
||||||
@@ -870,6 +887,7 @@ public:
|
|||||||
meshes.reserve(gltf.meshes.size());
|
meshes.reserve(gltf.meshes.size());
|
||||||
for (const fastgltf::Mesh & gltf_mesh: gltf.meshes)
|
for (const fastgltf::Mesh & gltf_mesh: gltf.meshes)
|
||||||
{
|
{
|
||||||
|
size_t mesh_id = meshes.size();
|
||||||
std::shared_ptr<renderer::mesh> & mesh_ref = meshes.emplace_back();
|
std::shared_ptr<renderer::mesh> & mesh_ref = meshes.emplace_back();
|
||||||
mesh_ref = std::make_shared<renderer::mesh>();
|
mesh_ref = std::make_shared<renderer::mesh>();
|
||||||
|
|
||||||
@@ -892,7 +910,9 @@ public:
|
|||||||
|
|
||||||
renderer::vertex_layout & layout = primitive_ref.layout;
|
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";
|
primitive_ref.vertex_shader = "lit.vert";
|
||||||
else
|
else
|
||||||
primitive_ref.vertex_shader = "lit_skinned.vert";
|
primitive_ref.vertex_shader = "lit_skinned.vert";
|
||||||
@@ -1007,7 +1027,6 @@ public:
|
|||||||
node.orientation = glm::make_quat(TRS.rotation.data());
|
node.orientation = glm::make_quat(TRS.rotation.data());
|
||||||
node.scale = glm::make_vec3(TRS.scale.data());
|
node.scale = glm::make_vec3(TRS.scale.data());
|
||||||
node.visible = true;
|
node.visible = true;
|
||||||
std::ranges::fill(node.clipping_planes, glm::vec4{0, 0, 0, 1});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return entities;
|
return entities;
|
||||||
@@ -1148,10 +1167,19 @@ std::shared_ptr<entt::registry> scene_loader::operator()(
|
|||||||
if (auto error = data_buffer.error(); error != fastgltf::Error::None)
|
if (auto error = data_buffer.error(); error != fastgltf::Error::None)
|
||||||
throw std::system_error((int)error, fastgltf_error_category);
|
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};
|
fastgltf::Asset asset = load_gltf_asset(data_buffer.get(), parent_path, [&](simdjson::dom::object & extras, std::size_t object_index, fastgltf::Category category) {
|
||||||
loader_context ctx{parent_path, name, asset, physical_device, device, queue, loader};
|
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
|
#ifndef NDEBUG
|
||||||
if (auto error = fastgltf::validate(asset); error != fastgltf::Error::None)
|
if (auto error = fastgltf::validate(asset); error != fastgltf::Error::None)
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
#include "vk/pipeline.h"
|
#include "vk/pipeline.h"
|
||||||
#include "vk/shader.h"
|
#include "vk/shader.h"
|
||||||
#include "vk/specialization_constants.h"
|
#include "vk/specialization_constants.h"
|
||||||
|
#include <algorithm>
|
||||||
#include <boost/pfr/core.hpp>
|
#include <boost/pfr/core.hpp>
|
||||||
#include <entt/entity/entity.hpp>
|
#include <entt/entity/entity.hpp>
|
||||||
#include <entt/entt.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_)
|
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;
|
scene_renderer::renderpass rp;
|
||||||
|
|
||||||
std::vector<vk::AttachmentDescription> attachments;
|
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);
|
info.get().setAttachments(attachments);
|
||||||
|
|
||||||
vk::SubpassDescription subpasses{
|
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{
|
vk::FramebufferCreateInfo fb_info{
|
||||||
.renderPass = *get_renderpass(info.renderpass).renderpass,
|
.renderPass = *get_renderpass(info.renderpass).renderpass,
|
||||||
.width = info.output_size.width,
|
.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};
|
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);
|
fb_info.setAttachments(attachments);
|
||||||
out.framebuffer = vk::raii::Framebuffer(device, fb_info);
|
out.framebuffer = vk::raii::Framebuffer(device, fb_info);
|
||||||
return out;
|
return out;
|
||||||
@@ -675,8 +629,8 @@ vk::raii::Pipeline scene_renderer::create_pipeline(const pipeline_info & info)
|
|||||||
{
|
{
|
||||||
spdlog::debug("Creating pipeline");
|
spdlog::debug("Creating pipeline");
|
||||||
|
|
||||||
auto vertex_shader = shader_loader{device}(info.vertex_shader_name);
|
auto vertex_shader = load_shader(device, info.vertex_shader_name);
|
||||||
auto fragment_shader = shader_loader{device}(info.fragment_shader_name);
|
auto fragment_shader = load_shader(device, info.fragment_shader_name);
|
||||||
|
|
||||||
auto specialization = make_specialization_constants(
|
auto specialization = make_specialization_constants(
|
||||||
int32_t(info.nb_texcoords),
|
int32_t(info.nb_texcoords),
|
||||||
@@ -732,7 +686,7 @@ vk::raii::Pipeline scene_renderer::create_pipeline(const pipeline_info & info)
|
|||||||
.ColorBlendState = {vk::PipelineColorBlendStateCreateInfo{}},
|
.ColorBlendState = {vk::PipelineColorBlendStateCreateInfo{}},
|
||||||
.ColorBlendAttachments = {vk::PipelineColorBlendAttachmentState{
|
.ColorBlendAttachments = {vk::PipelineColorBlendAttachmentState{
|
||||||
.blendEnable = info.blend_enable,
|
.blendEnable = info.blend_enable,
|
||||||
.srcColorBlendFactor = vk::BlendFactor::eSrcAlpha,
|
.srcColorBlendFactor = vk::BlendFactor::eOne,
|
||||||
.dstColorBlendFactor = vk::BlendFactor::eOneMinusSrcAlpha,
|
.dstColorBlendFactor = vk::BlendFactor::eOneMinusSrcAlpha,
|
||||||
.colorBlendOp = vk::BlendOp::eAdd,
|
.colorBlendOp = vk::BlendOp::eAdd,
|
||||||
.srcAlphaBlendFactor = vk::BlendFactor::eOne,
|
.srcAlphaBlendFactor = vk::BlendFactor::eOne,
|
||||||
@@ -910,7 +864,6 @@ void scene_renderer::render(
|
|||||||
vk::Format depth_format,
|
vk::Format depth_format,
|
||||||
vk::Image color_buffer,
|
vk::Image color_buffer,
|
||||||
vk::Image depth_buffer,
|
vk::Image depth_buffer,
|
||||||
vk::Image foveation_image,
|
|
||||||
std::span<frame_info> frames,
|
std::span<frame_info> frames,
|
||||||
bool render_debug_draws)
|
bool render_debug_draws)
|
||||||
{
|
{
|
||||||
@@ -963,7 +916,6 @@ void scene_renderer::render(
|
|||||||
.keep_depth_buffer = depth_buffer != vk::Image{},
|
.keep_depth_buffer = depth_buffer != vk::Image{},
|
||||||
.msaa_samples = vk::SampleCountFlagBits::e1,
|
.msaa_samples = vk::SampleCountFlagBits::e1,
|
||||||
// .msaa_samples = vk::SampleCountFlagBits::e4, // FIXME: MSAA does not work
|
// .msaa_samples = vk::SampleCountFlagBits::e4, // FIXME: MSAA does not work
|
||||||
.fragment_density_map = foveation_image != vk::Image{},
|
|
||||||
.multiview_count = (uint32_t)frames.size(),
|
.multiview_count = (uint32_t)frames.size(),
|
||||||
};
|
};
|
||||||
vk::raii::RenderPass & renderpass = get_renderpass(rp_info).renderpass;
|
vk::raii::RenderPass & renderpass = get_renderpass(rp_info).renderpass;
|
||||||
@@ -1059,7 +1011,6 @@ void scene_renderer::render(
|
|||||||
.output_size = output_size,
|
.output_size = output_size,
|
||||||
.color = color_buffer,
|
.color = color_buffer,
|
||||||
.depth = depth_buffer,
|
.depth = depth_buffer,
|
||||||
.foveation = foveation_image,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
vk::DeviceSize frame_ubo_offset = resources.uniform_buffer_offset;
|
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
|
// 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_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);
|
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;
|
vk::DeviceSize joints_ubo_offset = 0;
|
||||||
if (!node.joints.empty())
|
if (!node.joints.empty())
|
||||||
@@ -1130,7 +1085,7 @@ void scene_renderer::render(
|
|||||||
object_ubo.modelview[frame_index] = frame.view * transform;
|
object_ubo.modelview[frame_index] = frame.view * transform;
|
||||||
object_ubo.modelviewproj[frame_index] = viewproj[frame_index] * 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
|
// Get the material
|
||||||
std::shared_ptr<renderer::material> material = primitive.material_ ? primitive.material_ : default_material;
|
std::shared_ptr<renderer::material> material = primitive.material_ ? primitive.material_ : default_material;
|
||||||
@@ -1139,7 +1094,7 @@ void scene_renderer::render(
|
|||||||
pipeline_info info{
|
pipeline_info info{
|
||||||
.renderpass = rp_info,
|
.renderpass = rp_info,
|
||||||
.vertex_shader_name = primitive.vertex_shader,
|
.vertex_shader_name = primitive.vertex_shader,
|
||||||
.fragment_shader_name = material->fragment_shader_name,
|
.fragment_shader_name = material->fragment_shader,
|
||||||
.vertex_layout = primitive.layout,
|
.vertex_layout = primitive.layout,
|
||||||
.cull_mode = primitive.cull_mode,
|
.cull_mode = primitive.cull_mode,
|
||||||
.front_face = primitive.front_face,
|
.front_face = primitive.front_face,
|
||||||
@@ -1187,7 +1142,7 @@ void scene_renderer::render(
|
|||||||
vk::DescriptorBufferInfo buffer_info_2{
|
vk::DescriptorBufferInfo buffer_info_2{
|
||||||
.buffer = resources.uniform_buffer,
|
.buffer = resources.uniform_buffer,
|
||||||
.offset = instance_ubo_offset,
|
.offset = instance_ubo_offset,
|
||||||
.range = sizeof(instance_gpu_data),
|
.range = instance_ubo_size,
|
||||||
};
|
};
|
||||||
vk::DescriptorBufferInfo buffer_info_3{
|
vk::DescriptorBufferInfo buffer_info_3{
|
||||||
.buffer = resources.uniform_buffer,
|
.buffer = resources.uniform_buffer,
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ struct renderpass_info
|
|||||||
vk::Format depth_format;
|
vk::Format depth_format;
|
||||||
bool keep_depth_buffer;
|
bool keep_depth_buffer;
|
||||||
vk::SampleCountFlagBits msaa_samples = vk::SampleCountFlagBits::e1;
|
vk::SampleCountFlagBits msaa_samples = vk::SampleCountFlagBits::e1;
|
||||||
bool fragment_density_map;
|
|
||||||
uint32_t multiview_count;
|
uint32_t multiview_count;
|
||||||
|
|
||||||
bool operator==(const renderpass_info & other) const noexcept = default;
|
bool operator==(const renderpass_info & other) const noexcept = default;
|
||||||
@@ -81,7 +80,6 @@ struct output_image_info
|
|||||||
vk::Extent2D output_size;
|
vk::Extent2D output_size;
|
||||||
VkImage color;
|
VkImage color;
|
||||||
VkImage depth;
|
VkImage depth;
|
||||||
VkImage foveation;
|
|
||||||
|
|
||||||
bool operator==(const output_image_info & other) const noexcept = default;
|
bool operator==(const output_image_info & other) const noexcept = default;
|
||||||
};
|
};
|
||||||
@@ -127,8 +125,6 @@ class scene_renderer
|
|||||||
|
|
||||||
image_allocation multisample_image;
|
image_allocation multisample_image;
|
||||||
vk::raii::ImageView multisample_view = nullptr;
|
vk::raii::ImageView multisample_view = nullptr;
|
||||||
|
|
||||||
vk::raii::ImageView foveation_view = nullptr;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct renderpass
|
struct renderpass
|
||||||
@@ -199,7 +195,6 @@ class scene_renderer
|
|||||||
glm::mat4 model;
|
glm::mat4 model;
|
||||||
std::array<glm::mat4, 2> modelview;
|
std::array<glm::mat4, 2> modelview;
|
||||||
std::array<glm::mat4, 2> modelviewproj;
|
std::array<glm::mat4, 2> modelviewproj;
|
||||||
std::array<glm::vec4, 4> clipping_planes;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct debug_draw_vertex
|
struct debug_draw_vertex
|
||||||
@@ -280,7 +275,6 @@ public:
|
|||||||
vk::Format depth_format,
|
vk::Format depth_format,
|
||||||
vk::Image color_buffer,
|
vk::Image color_buffer,
|
||||||
vk::Image depth_buffer,
|
vk::Image depth_buffer,
|
||||||
vk::Image foveation_image,
|
|
||||||
std::span<frame_info> info,
|
std::span<frame_info> info,
|
||||||
bool render_debug_draws = false);
|
bool render_debug_draws = false);
|
||||||
void end_frame();
|
void end_frame();
|
||||||
|
|||||||
+17
-67
@@ -155,28 +155,20 @@ void scene::render_world(
|
|||||||
bool keep_depth_buffer,
|
bool keep_depth_buffer,
|
||||||
uint32_t layer_mask,
|
uint32_t layer_mask,
|
||||||
XrColor4f clear_color,
|
XrColor4f clear_color,
|
||||||
const std::optional<xr::foveation_profile> & foveation,
|
|
||||||
bool render_debug_draws)
|
bool render_debug_draws)
|
||||||
{
|
{
|
||||||
std::vector<scene_renderer::frame_info> frames;
|
assert(views.size() <= layer::max_views);
|
||||||
frames.reserve(views.size());
|
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
|
auto [color_swapchain, color_image] = [&]() -> std::tuple<XrSwapchain, vk::Image> {
|
||||||
std::vector<XrCompositionLayerProjectionView> composition_layer_color;
|
xr::swapchain & color_swapchain = get_swapchain(swapchain_format, width, height, 1, views.size());
|
||||||
std::vector<XrCompositionLayerDepthInfoKHR> composition_layer_depth;
|
|
||||||
|
|
||||||
composition_layer_color.reserve(views.size());
|
|
||||||
if (keep_depth_buffer)
|
|
||||||
composition_layer_depth.reserve(views.size());
|
|
||||||
|
|
||||||
auto [color_swapchain, color_image, foveation_image] = [&]() -> std::tuple<XrSwapchain, vk::Image, vk::Image> {
|
|
||||||
xr::swapchain & color_swapchain = get_swapchain(swapchain_format, width, height, 1, views.size(), foveation);
|
|
||||||
|
|
||||||
int color_image_index = color_swapchain.acquire();
|
int color_image_index = color_swapchain.acquire();
|
||||||
vk::Image color_image = color_swapchain.images()[color_image_index].image;
|
vk::Image color_image = color_swapchain.image(color_image_index);
|
||||||
vk::Image foveation_image = color_swapchain.images()[color_image_index].foveation;
|
|
||||||
color_swapchain.wait();
|
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> {
|
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());
|
xr::swapchain & depth_swapchain = get_swapchain(depth_format, width, height, 1, views.size());
|
||||||
|
|
||||||
int depth_image_index = depth_swapchain.acquire();
|
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();
|
depth_swapchain.wait();
|
||||||
return {depth_swapchain, depth_image};
|
return {depth_swapchain, depth_image};
|
||||||
}
|
}
|
||||||
@@ -246,52 +238,20 @@ void scene::render_world(
|
|||||||
depth_format,
|
depth_format,
|
||||||
color_image,
|
color_image,
|
||||||
depth_image,
|
depth_image,
|
||||||
foveation_image,
|
|
||||||
frames,
|
frames,
|
||||||
render_debug_draws);
|
render_debug_draws);
|
||||||
|
|
||||||
add_projection_layer(
|
add_projection_layer(
|
||||||
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
|
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
|
||||||
space,
|
space,
|
||||||
std::move(composition_layer_color),
|
composition_layer_color,
|
||||||
std::move(composition_layer_depth));
|
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
|
// Look for an exact match
|
||||||
for (swapchain_entry & entry: swapchains)
|
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
|
if (not entry.used and
|
||||||
entry.format == format 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.sample_count == sample_count and
|
||||||
entry.array_size == array_size)
|
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.used = true;
|
||||||
entry.swapchain.update_foveation(*foveation);
|
|
||||||
return entry.swapchain;
|
return entry.swapchain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -318,9 +272,6 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
|
|||||||
.height = height,
|
.height = height,
|
||||||
.sample_count = sample_count,
|
.sample_count = sample_count,
|
||||||
.array_size = array_size,
|
.array_size = array_size,
|
||||||
.foveation_level = foveation_level,
|
|
||||||
.foveation_vertical_offset_degrees = foveation_vertical_offset_degrees,
|
|
||||||
.foveation_dynamic = foveation_dynamic,
|
|
||||||
.used = true,
|
.used = true,
|
||||||
.swapchain = xr::swapchain(
|
.swapchain = xr::swapchain(
|
||||||
instance,
|
instance,
|
||||||
@@ -330,8 +281,7 @@ xr::swapchain & scene::get_swapchain(vk::Format format, int32_t width, int32_t h
|
|||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
sample_count,
|
sample_count,
|
||||||
array_size,
|
array_size)};
|
||||||
foveation_profile)};
|
|
||||||
spdlog::info("Created swapchain");
|
spdlog::info("Created swapchain");
|
||||||
|
|
||||||
return swapchains.emplace_back(std::move(new_swapchain)).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(
|
void scene::add_projection_layer(
|
||||||
XrCompositionLayerFlags flags,
|
XrCompositionLayerFlags flags,
|
||||||
XrSpace space,
|
XrSpace space,
|
||||||
std::vector<XrCompositionLayerProjectionView> && color_views,
|
std::span<XrCompositionLayerProjectionView> color_views,
|
||||||
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views)
|
std::span<XrCompositionLayerDepthInfoKHR> depth_views)
|
||||||
{
|
{
|
||||||
layers.push_back(layer{
|
layers.push_back(layer{
|
||||||
.composition_layer = XrCompositionLayerProjection{
|
.composition_layer = XrCompositionLayerProjection{
|
||||||
@@ -389,8 +339,8 @@ void scene::add_projection_layer(
|
|||||||
.viewCount = (uint32_t)color_views.size(),
|
.viewCount = (uint32_t)color_views.size(),
|
||||||
.views = nullptr,
|
.views = nullptr,
|
||||||
},
|
},
|
||||||
.color_views = std::move(color_views),
|
.color_views{color_views.begin(), color_views.end()},
|
||||||
.depth_views = std::move(depth_views),
|
.depth_views{depth_views.begin(), depth_views.end()},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+8
-12
@@ -24,11 +24,11 @@
|
|||||||
#include "render/scene_renderer.h"
|
#include "render/scene_renderer.h"
|
||||||
#include "utils/cache.h"
|
#include "utils/cache.h"
|
||||||
#include "xr/actionset.h"
|
#include "xr/actionset.h"
|
||||||
#include "xr/foveation_profile.h"
|
|
||||||
#include "xr/instance.h"
|
#include "xr/instance.h"
|
||||||
#include "xr/session.h"
|
#include "xr/session.h"
|
||||||
#include "xr/swapchain.h"
|
#include "xr/swapchain.h"
|
||||||
#include "xr/system.h"
|
#include "xr/system.h"
|
||||||
|
#include <inplace_vector.hpp>
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <entt/entity/registry.hpp>
|
#include <entt/entity/registry.hpp>
|
||||||
@@ -132,11 +132,12 @@ protected:
|
|||||||
|
|
||||||
struct layer
|
struct layer
|
||||||
{
|
{
|
||||||
|
static const int max_views = 2;
|
||||||
|
|
||||||
std::variant<XrCompositionLayerProjection, XrCompositionLayerQuad, XrCompositionLayerBaseHeader *> composition_layer;
|
std::variant<XrCompositionLayerProjection, XrCompositionLayerQuad, XrCompositionLayerBaseHeader *> composition_layer;
|
||||||
|
|
||||||
// TODO in place vectors
|
beman::inplace_vector::inplace_vector<XrCompositionLayerProjectionView, max_views> color_views; // Used by XrCompositionLayerProjection
|
||||||
std::vector<XrCompositionLayerProjectionView> color_views; // Used by XrCompositionLayerProjection
|
beman::inplace_vector::inplace_vector<XrCompositionLayerDepthInfoKHR, max_views> depth_views; // Used by XrCompositionLayerProjection
|
||||||
std::vector<XrCompositionLayerDepthInfoKHR> depth_views; // Used by XrCompositionLayerProjection
|
|
||||||
|
|
||||||
std::optional<XrCompositionLayerColorScaleBiasKHR> color_scale_bias;
|
std::optional<XrCompositionLayerColorScaleBiasKHR> color_scale_bias;
|
||||||
std::optional<XrCompositionLayerDepthTestFB> depth_test;
|
std::optional<XrCompositionLayerDepthTestFB> depth_test;
|
||||||
@@ -154,17 +155,13 @@ protected:
|
|||||||
int sample_count;
|
int sample_count;
|
||||||
uint32_t array_size;
|
uint32_t array_size;
|
||||||
|
|
||||||
XrFoveationLevelFB foveation_level;
|
|
||||||
float foveation_vertical_offset_degrees;
|
|
||||||
bool foveation_dynamic;
|
|
||||||
|
|
||||||
bool used;
|
bool used;
|
||||||
xr::swapchain swapchain;
|
xr::swapchain swapchain;
|
||||||
};
|
};
|
||||||
std::vector<swapchain_entry> swapchains;
|
std::vector<swapchain_entry> swapchains;
|
||||||
|
|
||||||
// The returned reference is valid until the next call to get_swapchain
|
// 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 clear_swapchains();
|
||||||
|
|
||||||
void render_start(bool passthrough, XrTime predicted_display_time);
|
void render_start(bool passthrough, XrTime predicted_display_time);
|
||||||
@@ -172,8 +169,8 @@ protected:
|
|||||||
void add_projection_layer(
|
void add_projection_layer(
|
||||||
XrCompositionLayerFlags flags,
|
XrCompositionLayerFlags flags,
|
||||||
XrSpace space,
|
XrSpace space,
|
||||||
std::vector<XrCompositionLayerProjectionView> && color_views,
|
std::span<XrCompositionLayerProjectionView> color_views,
|
||||||
std::vector<XrCompositionLayerDepthInfoKHR> && depth_views = {});
|
std::span<XrCompositionLayerDepthInfoKHR> depth_views = {});
|
||||||
|
|
||||||
void add_quad_layer(
|
void add_quad_layer(
|
||||||
XrCompositionLayerFlags flags,
|
XrCompositionLayerFlags flags,
|
||||||
@@ -192,7 +189,6 @@ protected:
|
|||||||
bool keep_depth_buffer,
|
bool keep_depth_buffer,
|
||||||
uint32_t layer_mask,
|
uint32_t layer_mask,
|
||||||
XrColor4f clear_color,
|
XrColor4f clear_color,
|
||||||
const std::optional<xr::foveation_profile> & foveation = std::nullopt,
|
|
||||||
bool render_debug_draws = false);
|
bool render_debug_draws = false);
|
||||||
|
|
||||||
void set_color_scale_bias(XrColor4f scale, XrColor4f bias);
|
void set_color_scale_bias(XrColor4f scale, XrColor4f bias);
|
||||||
|
|||||||
@@ -103,21 +103,12 @@ app_launcher::app_launcher(
|
|||||||
default_icon = textures.load_texture("assets://default_icon.ktx2");
|
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)
|
app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const std::string & cancel)
|
||||||
{
|
{
|
||||||
auto res = clicked::None;
|
auto res = clicked::None;
|
||||||
auto t0 = std::chrono::steady_clock::now();
|
auto t0 = std::chrono::steady_clock::now();
|
||||||
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
|
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
|
||||||
t0 - start_time < 10s and
|
t0 - start_time < 10s;
|
||||||
stream.current_state() != scenes::stream::state::streaming;
|
|
||||||
|
|
||||||
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
|
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ class app_launcher
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
app_launcher(scenes::stream &, std::string server_name);
|
app_launcher(scenes::stream &, std::string server_name);
|
||||||
~app_launcher();
|
|
||||||
enum clicked
|
enum clicked
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
@@ -60,6 +59,11 @@ public:
|
|||||||
// cancel: text to display on the quit/disconnect/cancel button
|
// cancel: text to display on the quit/disconnect/cancel button
|
||||||
clicked draw_gui(imgui_context &, const std::string & cancel);
|
clicked draw_gui(imgui_context &, const std::string & cancel);
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
start_time = {};
|
||||||
|
}
|
||||||
|
|
||||||
void operator()(wivrn::to_headset::application_list && apps);
|
void operator()(wivrn::to_headset::application_list && apps);
|
||||||
void operator()(wivrn::to_headset::application_icon && icon);
|
void operator()(wivrn::to_headset::application_icon && icon);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -23,6 +23,8 @@
|
|||||||
#include "render/scene_components.h"
|
#include "render/scene_components.h"
|
||||||
#include "utils/mapped_file.h"
|
#include "utils/mapped_file.h"
|
||||||
#include "xr/space.h"
|
#include "xr/space.h"
|
||||||
|
#include <array>
|
||||||
|
#include <entt/entity/fwd.hpp>
|
||||||
#include <entt/entt.hpp>
|
#include <entt/entt.hpp>
|
||||||
#include <glm/gtc/matrix_access.hpp>
|
#include <glm/gtc/matrix_access.hpp>
|
||||||
#include <glm/gtc/quaternion.hpp>
|
#include <glm/gtc/quaternion.hpp>
|
||||||
@@ -33,6 +35,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <variant>
|
#include <variant>
|
||||||
|
#include <openxr/openxr.h>
|
||||||
|
|
||||||
namespace components
|
namespace components
|
||||||
{
|
{
|
||||||
@@ -62,17 +65,27 @@ struct visual_response
|
|||||||
|
|
||||||
details::node_state state;
|
details::node_state state;
|
||||||
};
|
};
|
||||||
} // namespace components
|
|
||||||
|
|
||||||
namespace
|
|
||||||
{
|
|
||||||
|
|
||||||
// Component added to nodes bound to an action space
|
// Component added to nodes bound to an action space
|
||||||
struct bound_space
|
struct bound_space
|
||||||
{
|
{
|
||||||
xr::spaces 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
|
// clang-format off
|
||||||
const std::unordered_map<std::string, std::string> input_mappings = {
|
const std::unordered_map<std::string, std::string> input_mappings = {
|
||||||
{"xr-standard-squeeze" , "/input/squeeze/value" },
|
{"xr-standard-squeeze" , "/input/squeeze/value" },
|
||||||
@@ -171,9 +184,21 @@ struct json_visual_response
|
|||||||
// OpenXR component path
|
// OpenXR component path
|
||||||
std::string component_subpath;
|
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
|
} // 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};
|
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);
|
auto [e, node] = scene.add_gltf(model, layer_mask_controller);
|
||||||
node.name = layout;
|
node.name = layout;
|
||||||
entity = e;
|
entity = e;
|
||||||
scene.world.emplace<bound_space>(e, space);
|
scene.world.emplace<components::bound_space>(e, space, 0);
|
||||||
|
|
||||||
spdlog::debug("Created entity {}", layout);
|
spdlog::debug("Created entity {}", layout);
|
||||||
}
|
}
|
||||||
@@ -281,16 +306,32 @@ input_profile::input_profile(scene & scene, const std::filesystem::path & json_p
|
|||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto && [entity, node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
|
auto && [ray_entity, ray_node] = scene.add_gltf(controller_ray_model_name(), layer_mask_ray);
|
||||||
node.name = (std::string)layout.key + "_ray";
|
|
||||||
spdlog::debug("Created entity {}", node.name);
|
|
||||||
|
|
||||||
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")
|
scene.world.emplace<components::bound_space>(find_node_by_name(scene.world, "Ray", ray_entity), space, 0);
|
||||||
left_ray = entity;
|
scene.world.emplace<components::clipped_by_gui>(find_node_by_name(scene.world, "Ray", ray_entity));
|
||||||
else if (layout.key == "right")
|
scene.world.emplace<components::emissive_trigger>(find_node_by_name(scene.world, "Ray", ray_entity), layout.key == "left" ? left_trigger : right_trigger);
|
||||||
right_ray = entity;
|
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)
|
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;
|
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(
|
void input_profile::apply(
|
||||||
entt::registry & scene,
|
entt::registry & scene,
|
||||||
XrSpace world_space,
|
XrSpace world_space,
|
||||||
@@ -405,9 +411,9 @@ void input_profile::apply(
|
|||||||
bool hide_left_ray,
|
bool hide_left_ray,
|
||||||
bool hide_right_controller,
|
bool hide_right_controller,
|
||||||
bool hide_right_ray,
|
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
|
if ((space.space == xr::spaces::grip_left and hide_left_controller) or
|
||||||
(space.space == xr::spaces::aim_left and hide_left_ray) or
|
(space.space == xr::spaces::aim_left and hide_left_ray) or
|
||||||
@@ -416,7 +422,7 @@ void input_profile::apply(
|
|||||||
{
|
{
|
||||||
node.visible = false;
|
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;
|
node.visible = true;
|
||||||
|
|
||||||
@@ -495,6 +501,32 @@ void input_profile::apply(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set_clipping_planes(scene, left_ray, pointer_limits);
|
for (auto && [entity, node, response]: scene.view<components::node, components::emissive_trigger>().each())
|
||||||
set_clipping_planes(scene, right_ray, pointer_limits);
|
{
|
||||||
|
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;
|
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
|
// application::poll_actions() must have been called before
|
||||||
void apply(
|
void apply(
|
||||||
@@ -48,5 +48,5 @@ struct input_profile
|
|||||||
bool hide_left_ray,
|
bool hide_left_ray,
|
||||||
bool hide_right_controller,
|
bool hide_right_controller,
|
||||||
bool hide_right_ray,
|
bool hide_right_ray,
|
||||||
std::span<glm::vec4> pointer_limits);
|
std::span<glm::mat4> world_to_window);
|
||||||
};
|
};
|
||||||
|
|||||||
+40
-61
@@ -157,15 +157,6 @@ scenes::lobby::lobby() :
|
|||||||
else
|
else
|
||||||
spdlog::info("Composition layer color scale/bias NOT supported");
|
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"))
|
if (std::getenv("WIVRN_AUTOCONNECT"))
|
||||||
force_autoconnect = true;
|
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()
|
void scenes::lobby::update_server_list()
|
||||||
{
|
{
|
||||||
if (application::is_focused() && !discover)
|
if (not discover)
|
||||||
discover.emplace();
|
|
||||||
else if (!application::is_focused() && discover)
|
|
||||||
discover.reset();
|
|
||||||
|
|
||||||
if (!discover)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::vector<wivrn_discover::service> discovered_services = discover->get_services();
|
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 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 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)
|
||||||
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
|
|
||||||
{
|
|
||||||
glm::quat q{
|
|
||||||
pose.orientation.w,
|
|
||||||
pose.orientation.x,
|
|
||||||
pose.orientation.y,
|
|
||||||
pose.orientation.z,
|
|
||||||
};
|
|
||||||
|
|
||||||
glm::vec3 p{
|
|
||||||
pose.position.x,
|
|
||||||
pose.position.y,
|
|
||||||
pose.position.z,
|
|
||||||
};
|
|
||||||
|
|
||||||
glm::vec3 normal = glm::column(glm::mat3_cast(q), 2);
|
|
||||||
|
|
||||||
return glm::vec4(normal, -glm::dot(p, normal) - margin);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void stick_finger_to_gui(std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> & hand, const std::vector<imgui_context::viewport> & layers)
|
|
||||||
{
|
{
|
||||||
// Move XR_HAND_JOINT_INDEX_{TIP,DISTAL,INTERMEDIATE,PROXIMAL}_EXT so that:
|
// 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)
|
// - 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
|
// 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
|
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
|
// Ignore layers that are not absolutely positionned
|
||||||
if (layer.space != xr::spaces::world)
|
if (layer.space != xr::spaces::world)
|
||||||
@@ -903,10 +868,19 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
|||||||
|
|
||||||
if (next_scene)
|
if (next_scene)
|
||||||
{
|
{
|
||||||
if (!next_scene->alive())
|
switch (next_scene->current_state())
|
||||||
next_scene.reset();
|
{
|
||||||
else if (next_scene->current_state() == scenes::stream::state::streaming)
|
case scenes::stream::state::streaming:
|
||||||
application::push_scene(next_scene);
|
application::push_scene(next_scene);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case scenes::stream::state::shutdown:
|
||||||
|
current_tab = tab::server_list;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
update_server_list();
|
update_server_list();
|
||||||
@@ -973,14 +947,14 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
|||||||
auto windows = imgui_ctx->windows();
|
auto windows = imgui_ctx->windows();
|
||||||
|
|
||||||
auto left = left_hand->locate(world_space, frame_state.predictedDisplayTime);
|
auto left = left_hand->locate(world_space, frame_state.predictedDisplayTime);
|
||||||
if (left and xr::hand_tracker::check_flags(*left, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
|
if (left)
|
||||||
{
|
{
|
||||||
stick_finger_to_gui(*left, windows);
|
stick_finger_to_gui(*left, windows);
|
||||||
hide_left_controller = true;
|
hide_left_controller = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto right = right_hand->locate(world_space, frame_state.predictedDisplayTime);
|
auto right = right_hand->locate(world_space, frame_state.predictedDisplayTime);
|
||||||
if (right and xr::hand_tracker::check_flags(*right, XR_SPACE_LOCATION_POSITION_TRACKED_BIT | XR_SPACE_LOCATION_POSITION_VALID_BIT, 0))
|
if (right)
|
||||||
{
|
{
|
||||||
stick_finger_to_gui(*right, windows);
|
stick_finger_to_gui(*right, windows);
|
||||||
hide_right_controller = true;
|
hide_right_controller = true;
|
||||||
@@ -1054,11 +1028,11 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Get the planes that limit the ray size from the composition layers
|
// Get the planes that limit the ray size from the composition layers
|
||||||
std::vector<glm::vec4> ray_limits;
|
std::vector<glm::mat4> world_to_window;
|
||||||
for (auto & [z_index, layer]: imgui_layers)
|
for (auto & window: imgui_ctx->windows())
|
||||||
{
|
{
|
||||||
if (z_index != constants::lobby::zindex_recenter_tip)
|
if (window.space == xr::spaces::world)
|
||||||
ray_limits.push_back(compute_ray_limits(layer.pose));
|
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,
|
input->apply(world,
|
||||||
@@ -1068,7 +1042,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
|||||||
not imgui_ctx->is_aim_interaction()[0],
|
not imgui_ctx->is_aim_interaction()[0],
|
||||||
hide_right_controller,
|
hide_right_controller,
|
||||||
not imgui_ctx->is_aim_interaction()[1],
|
not imgui_ctx->is_aim_interaction()[1],
|
||||||
ray_limits);
|
world_to_window);
|
||||||
|
|
||||||
renderer::animate(world, frame_state.predictedDisplayPeriod * 1.0e-9);
|
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,
|
||||||
composition_layer_depth_test_supported ? layer_lobby | layer_controllers : layer_lobby,
|
composition_layer_depth_test_supported ? layer_lobby | layer_controllers : layer_lobby,
|
||||||
clear_color,
|
clear_color,
|
||||||
foveation,
|
|
||||||
true);
|
true);
|
||||||
|
|
||||||
if (composition_layer_depth_test_supported)
|
if (composition_layer_depth_test_supported)
|
||||||
@@ -1117,8 +1090,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
|||||||
height,
|
height,
|
||||||
composition_layer_depth_test_supported,
|
composition_layer_depth_test_supported,
|
||||||
composition_layer_depth_test_supported ? layer_rays : layer_rays | layer_controllers,
|
composition_layer_depth_test_supported ? layer_rays : layer_rays | layer_controllers,
|
||||||
{0, 0, 0, 0},
|
{0, 0, 0, 0});
|
||||||
foveation);
|
|
||||||
|
|
||||||
if (composition_layer_depth_test_supported)
|
if (composition_layer_depth_test_supported)
|
||||||
set_depth_test(true, XR_COMPARE_OP_LESS_OR_EQUAL_FB);
|
set_depth_test(true, XR_COMPARE_OP_LESS_OR_EQUAL_FB);
|
||||||
@@ -1168,7 +1140,9 @@ void scenes::lobby::on_focused()
|
|||||||
*this,
|
*this,
|
||||||
"assets://controllers/" + profile + "/profile.json",
|
"assets://controllers/" + profile + "/profile.json",
|
||||||
layer_controllers,
|
layer_controllers,
|
||||||
layer_rays);
|
layer_rays,
|
||||||
|
get_action("left_trigger").first,
|
||||||
|
get_action("right_trigger").first);
|
||||||
|
|
||||||
spdlog::info("Loaded input profile {}", input->id);
|
spdlog::info("Loaded input profile {}", input->id);
|
||||||
|
|
||||||
@@ -1264,7 +1238,17 @@ void scenes::lobby::on_focused()
|
|||||||
.vp_origin = {0, 1000},
|
.vp_origin = {0, 1000},
|
||||||
.vp_size = {1500, 300},
|
.vp_size = {1500, 300},
|
||||||
.z_index = constants::lobby::zindex_recenter_tip,
|
.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);
|
xr::swapchain swapchain_imgui(instance, session, device, swapchain_format, 3000, 1500);
|
||||||
|
|
||||||
@@ -1278,8 +1262,6 @@ void scenes::lobby::on_focused()
|
|||||||
vps,
|
vps,
|
||||||
image_cache);
|
image_cache);
|
||||||
|
|
||||||
supported_codecs = wivrn::decoder::supported_codecs();
|
|
||||||
|
|
||||||
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||||
auto tm = std::localtime(&t);
|
auto tm = std::localtime(&t);
|
||||||
switch (tm->tm_mon)
|
switch (tm->tm_mon)
|
||||||
@@ -1338,8 +1320,8 @@ void scenes::lobby::on_focused()
|
|||||||
std::ranges::sort(local_environments, std::less{});
|
std::ranges::sort(local_environments, std::less{});
|
||||||
|
|
||||||
setup_passthrough();
|
setup_passthrough();
|
||||||
session.set_refresh_rate(application::get_config().preferred_refresh_rate.value_or(0));
|
|
||||||
multicast = application::get_wifi_lock().get_multicast_lock();
|
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_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);
|
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();
|
right_hand.reset();
|
||||||
face_tracker.emplace<std::monostate>();
|
face_tracker.emplace<std::monostate>();
|
||||||
|
|
||||||
clear_swapchains();
|
|
||||||
multicast.reset();
|
multicast.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1380,9 +1361,7 @@ void scenes::lobby::on_xr_event(const xr::event & event)
|
|||||||
switch (event.header.type)
|
switch (event.header.type)
|
||||||
{
|
{
|
||||||
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED:
|
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED:
|
||||||
if (event.state_changed.state == XR_SESSION_STATE_STOPPING)
|
if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
|
||||||
discover.reset();
|
|
||||||
else if (event.state_changed.state == XR_SESSION_STATE_FOCUSED)
|
|
||||||
autoconnect_enabled = true;
|
autoconnect_enabled = true;
|
||||||
recenter_gui = true;
|
recenter_gui = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
#include "wivrn_config.h"
|
#include "wivrn_config.h"
|
||||||
#include "wivrn_discover.h"
|
#include "wivrn_discover.h"
|
||||||
#include "xr/face_tracker.h"
|
#include "xr/face_tracker.h"
|
||||||
#include "xr/foveation_profile.h"
|
|
||||||
#include <vulkan/vulkan_raii.hpp>
|
#include <vulkan/vulkan_raii.hpp>
|
||||||
#include <openxr/openxr.h>
|
#include <openxr/openxr.h>
|
||||||
|
|
||||||
@@ -79,8 +78,6 @@ class lobby : public scene_impl<lobby>
|
|||||||
|
|
||||||
xr::face_tracker face_tracker;
|
xr::face_tracker face_tracker;
|
||||||
|
|
||||||
std::optional<xr::foveation_profile> foveation;
|
|
||||||
|
|
||||||
std::string selected_item;
|
std::string selected_item;
|
||||||
std::unique_ptr<utils::mapped_file> license;
|
std::unique_ptr<utils::mapped_file> license;
|
||||||
|
|
||||||
@@ -135,8 +132,6 @@ class lobby : public scene_impl<lobby>
|
|||||||
tab last_current_tab = tab::server_list;
|
tab last_current_tab = tab::server_list;
|
||||||
int optional_feature_index = 0; // Which step of the first run screen are we in
|
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;
|
ImTextureID about_picture;
|
||||||
|
|
||||||
virtual_keyboard keyboard;
|
virtual_keyboard keyboard;
|
||||||
@@ -224,6 +219,7 @@ class lobby : public scene_impl<lobby>
|
|||||||
void gui_connecting(locked_notifiable<pin_request_data> & request);
|
void gui_connecting(locked_notifiable<pin_request_data> & request);
|
||||||
void gui_enter_pin(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_connected(XrTime predicted_display_time);
|
||||||
|
void gui_disconnected();
|
||||||
void gui_server_list();
|
void gui_server_list();
|
||||||
void gui_new_server();
|
void gui_new_server();
|
||||||
void gui_settings();
|
void gui_settings();
|
||||||
|
|||||||
+62
-43
@@ -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)
|
void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||||
{
|
{
|
||||||
if (not next_scene)
|
assert(next_scene);
|
||||||
{
|
|
||||||
current_tab = tab::server_list;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
|
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
|
||||||
{
|
{
|
||||||
next_scene.reset();
|
next_scene->exit();
|
||||||
current_tab = tab::server_list;
|
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()
|
void scenes::lobby::gui_new_server()
|
||||||
{
|
{
|
||||||
using constants::style::button_size;
|
using constants::style::button_size;
|
||||||
@@ -496,8 +528,12 @@ void scenes::lobby::gui_server_list()
|
|||||||
config.save();
|
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
|
// 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");
|
ImGui::OpenPopup("connecting");
|
||||||
|
|
||||||
const auto & popup_layer = imgui_ctx->layers()[1];
|
const auto & popup_layer = imgui_ctx->layers()[1];
|
||||||
@@ -516,6 +552,13 @@ void scenes::lobby::gui_server_list()
|
|||||||
ImGui::EndPopup();
|
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::SetNextWindowSize({800, 0});
|
||||||
ImGui::SetNextWindowPos({popup_layer_center.x, popup_layer_center.y}, ImGuiCond_FirstUseEver, ImVec2(0.5f, 0.5f));
|
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))
|
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();
|
const auto & refresh_rates = session.get_refresh_rates();
|
||||||
if (not refresh_rates.empty())
|
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::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);
|
session.set_refresh_rate(0);
|
||||||
config.preferred_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."));
|
imgui_ctx->tooltip(_("Select refresh rate based on measured application performance.\nMay cause flicker when a change happens."));
|
||||||
for (float rate: refresh_rates)
|
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);
|
session.set_refresh_rate(rate);
|
||||||
config.preferred_refresh_rate = rate;
|
config.preferred_refresh_rate = rate;
|
||||||
@@ -600,7 +643,7 @@ void scenes::lobby::gui_settings()
|
|||||||
}
|
}
|
||||||
imgui_ctx->vibrate_on_hover();
|
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());
|
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()))
|
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
|
// Render resolution
|
||||||
{
|
{
|
||||||
const auto current = config.resolution_scale;
|
const auto current = config.resolution_scale;
|
||||||
@@ -673,7 +691,7 @@ void scenes::lobby::gui_settings()
|
|||||||
|
|
||||||
// foveation
|
// foveation
|
||||||
{
|
{
|
||||||
const int step = 10;
|
const int step = 5;
|
||||||
const auto current = config.get_stream_scale();
|
const auto current = config.get_stream_scale();
|
||||||
int intval = round((1 - current) * 100 / step);
|
int intval = round((1 - current) * 100 / step);
|
||||||
const auto slider = ImGui::SliderInt(
|
const auto slider = ImGui::SliderInt(
|
||||||
@@ -729,7 +747,7 @@ void scenes::lobby::gui_settings()
|
|||||||
config.codec = std::nullopt;
|
config.codec = std::nullopt;
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
for (auto codec: supported_codecs)
|
for (auto codec: decoder::supported_codecs())
|
||||||
{
|
{
|
||||||
// don't show raw in GUI
|
// don't show raw in GUI
|
||||||
if (codec == wivrn::raw)
|
if (codec == wivrn::raw)
|
||||||
@@ -761,18 +779,19 @@ void scenes::lobby::gui_settings()
|
|||||||
|
|
||||||
// Bitrate
|
// Bitrate
|
||||||
{
|
{
|
||||||
|
const int step = 5;
|
||||||
const int mb = 1'000'000;
|
const int mb = 1'000'000;
|
||||||
const auto current = config.bitrate_bps;
|
const auto current = config.bitrate_bps;
|
||||||
auto val = int(current / mb);
|
auto val = int(current / mb / step);
|
||||||
const auto slider = ImGui::SliderInt(
|
const auto slider = ImGui::SliderInt(
|
||||||
_("Bitrate").append("##bitrate").c_str(),
|
_("Bitrate").append("##bitrate").c_str(),
|
||||||
&val,
|
&val,
|
||||||
1,
|
1,
|
||||||
config.max_bitrate() / mb,
|
config.max_bitrate() / mb / step,
|
||||||
fmt::format(_F("{}Mbit/s"), val).c_str());
|
fmt::format(_F("{}Mbit/s"), val * step).c_str());
|
||||||
if (slider)
|
if (slider)
|
||||||
{
|
{
|
||||||
config.bitrate_bps = val * mb;
|
config.bitrate_bps = val * mb * step;
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
imgui_ctx->vibrate_on_hover();
|
imgui_ctx->vibrate_on_hover();
|
||||||
@@ -1033,7 +1052,7 @@ void scenes::lobby::gui_debug_node_hierarchy(entt::entity root)
|
|||||||
primitive.vertex_count,
|
primitive.vertex_count,
|
||||||
primitive.material_->name,
|
primitive.material_->name,
|
||||||
primitive.vertex_shader,
|
primitive.vertex_shader,
|
||||||
primitive.material_->fragment_shader_name);
|
primitive.material_->fragment_shader);
|
||||||
|
|
||||||
imgui_ctx->tooltip(tooltip);
|
imgui_ctx->tooltip(tooltip);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,7 +283,6 @@ void scenes::lobby::update_file_picker()
|
|||||||
vk::Format::eD32Sfloat, // Depth format
|
vk::Format::eD32Sfloat, // Depth format
|
||||||
output, // Output image
|
output, // Output image
|
||||||
vk::Image{}, // Depth image
|
vk::Image{}, // Depth image
|
||||||
vk::Image{}, // Foveation image
|
|
||||||
{&frame, 1}, // View info
|
{&frame, 1}, // View info
|
||||||
false);
|
false);
|
||||||
local_renderer.end_frame();
|
local_renderer.end_frame();
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ virtual_keyboard::layout symbols = {
|
|||||||
}, // 12
|
}, // 12
|
||||||
{
|
{
|
||||||
{1.5},
|
{1.5},
|
||||||
{1}, // {1, "", ImGuiKey_None, "1/2", virtual_keyboard::key_flag_hidden},
|
{1, "."},
|
||||||
{1, "\""},
|
{1, "\""},
|
||||||
{1, "<"},
|
{1, "<"},
|
||||||
{1, ">"},
|
{1, ">"},
|
||||||
|
|||||||
+143
-108
@@ -34,8 +34,8 @@
|
|||||||
#include "boost/pfr/core.hpp"
|
#include "boost/pfr/core.hpp"
|
||||||
#include "decoder/shard_accumulator.h"
|
#include "decoder/shard_accumulator.h"
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
|
#include "inplace_vector.hpp"
|
||||||
#include "spdlog/spdlog.h"
|
#include "spdlog/spdlog.h"
|
||||||
#include "utils/contains.h"
|
|
||||||
#include "utils/named_thread.h"
|
#include "utils/named_thread.h"
|
||||||
#include "utils/ranges.h"
|
#include "utils/ranges.h"
|
||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
@@ -51,6 +51,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace wivrn;
|
using namespace wivrn;
|
||||||
|
using namespace beman::inplace_vector;
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const std::unordered_map<std::string, device_id> device_ids = {
|
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))
|
if (self->instance.has_extension(XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME))
|
||||||
{
|
{
|
||||||
info.available_refresh_rates = self->session.get_refresh_rates();
|
info.available_refresh_rates = self->session.get_refresh_rates();
|
||||||
// I can't find anything in specification the ensures it won't be empty
|
info.settings.preferred_refresh_rate = config.preferred_refresh_rate;
|
||||||
if (not info.available_refresh_rates.empty())
|
info.settings.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
|
||||||
{
|
|
||||||
if (config.preferred_refresh_rate and (config.preferred_refresh_rate == 0 or utils::contains(info.available_refresh_rates, *config.preferred_refresh_rate)))
|
|
||||||
{
|
|
||||||
info.settings.preferred_refresh_rate = *config.preferred_refresh_rate;
|
|
||||||
info.settings.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Default to highest refresh rate
|
|
||||||
info.settings.preferred_refresh_rate = info.available_refresh_rates.back();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (info.available_refresh_rates.empty())
|
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.hand_tracking = config.check_feature(feature::hand_tracking);
|
||||||
info.eye_gaze = config.check_feature(feature::eye_gaze);
|
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))
|
if (config.check_feature(feature::face_tracking))
|
||||||
{
|
{
|
||||||
switch (self->system.face_tracker_supported())
|
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{
|
self->network_session->send_control(from_headset::session_state_changed{
|
||||||
.state = application::get_session_state(),
|
.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))
|
if (self->instance.has_extension(XR_KHR_VISIBILITY_MASK_EXTENSION_NAME))
|
||||||
{
|
{
|
||||||
@@ -428,7 +425,9 @@ void scenes::stream::on_focused()
|
|||||||
*this,
|
*this,
|
||||||
"assets://controllers/" + profile + "/profile.json",
|
"assets://controllers/" + profile + "/profile.json",
|
||||||
layer_controllers,
|
layer_controllers,
|
||||||
layer_rays);
|
layer_rays,
|
||||||
|
get_action("left_trigger").first,
|
||||||
|
get_action("right_trigger").first);
|
||||||
|
|
||||||
spdlog::info("Loaded input profile {}", input->id);
|
spdlog::info("Loaded input profile {}", input->id);
|
||||||
|
|
||||||
@@ -472,14 +471,23 @@ void scenes::stream::on_focused()
|
|||||||
device,
|
device,
|
||||||
swapchain_format,
|
swapchain_format,
|
||||||
1800,
|
1800,
|
||||||
1000);
|
1200);
|
||||||
|
|
||||||
imgui_context::viewport vp{
|
std::vector<imgui_context::viewport> vps{
|
||||||
.space = xr::spaces::world,
|
{
|
||||||
// Position and orientation are set at each frame
|
.space = xr::spaces::world,
|
||||||
.size = {1.2, 0.6666},
|
// Position and orientation are set at each frame
|
||||||
.vp_origin = {0, 0},
|
.size = {1.2, 0.6666},
|
||||||
.vp_size = {1800, 1000},
|
.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,
|
imgui_ctx.emplace(physical_device,
|
||||||
@@ -488,7 +496,7 @@ void scenes::stream::on_focused()
|
|||||||
queue,
|
queue,
|
||||||
imgui_inputs,
|
imgui_inputs,
|
||||||
std::move(swapchain_imgui),
|
std::move(swapchain_imgui),
|
||||||
std::vector{vp},
|
std::move(vps),
|
||||||
image_cache);
|
image_cache);
|
||||||
|
|
||||||
if (application::get_config().enable_stream_gui)
|
if (application::get_config().enable_stream_gui)
|
||||||
@@ -503,9 +511,6 @@ void scenes::stream::on_focused()
|
|||||||
foveation_ok = get_action("foveation_ok").first;
|
foveation_ok = get_action("foveation_ok").first;
|
||||||
foveation_cancel = get_action("foveation_cancel").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)
|
if (application::get_config().high_power_mode)
|
||||||
{
|
{
|
||||||
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_CPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
|
||||||
@@ -523,9 +528,9 @@ void scenes::stream::on_unfocused()
|
|||||||
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets;
|
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets;
|
||||||
world.clear();
|
world.clear();
|
||||||
input.reset();
|
input.reset();
|
||||||
clear_swapchains();
|
|
||||||
left_hand.reset();
|
left_hand.reset();
|
||||||
right_hand.reset();
|
right_hand.reset();
|
||||||
|
apps.reset();
|
||||||
|
|
||||||
imgui_ctx.reset();
|
imgui_ctx.reset();
|
||||||
}
|
}
|
||||||
@@ -561,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()))
|
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());
|
spdlog::info("Stream scene ready at t={}", instance.now());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -587,8 +592,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
|
|||||||
if (decoders.empty())
|
if (decoders.empty())
|
||||||
return {};
|
return {};
|
||||||
std::unique_lock lock(frames_mutex);
|
std::unique_lock lock(frames_mutex);
|
||||||
thread_local std::vector<shard_accumulator::blit_handle *> common_frames;
|
inplace_vector<shard_accumulator::blit_handle *, decoder_count> common_frames;
|
||||||
common_frames.clear();
|
|
||||||
const bool alpha = decoders[0].latest_frames[0] and decoders[0].latest_frames[0]->view_info.alpha;
|
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)
|
for (size_t i = 0; i < view_count + alpha; ++i)
|
||||||
{
|
{
|
||||||
@@ -601,7 +605,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// clang-format off
|
// clang-format off
|
||||||
std::erase_if(common_frames,
|
erase_if(common_frames,
|
||||||
[this, i](auto & left)
|
[this, i](auto & left)
|
||||||
{
|
{
|
||||||
return std::ranges::none_of(
|
return std::ranges::none_of(
|
||||||
@@ -614,7 +618,7 @@ std::array<std::shared_ptr<shard_accumulator::blit_handle>, 3> scenes::stream::c
|
|||||||
// clang-format on
|
// 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())
|
if (not common_frames.empty())
|
||||||
{
|
{
|
||||||
auto min = std::ranges::min_element(common_frames,
|
auto min = std::ranges::min_element(common_frames,
|
||||||
@@ -669,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
|
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)
|
auto & frame = latest_frames[id % latest_frames.size()];
|
||||||
{
|
if (frame and frame->feedback.frame_index != id)
|
||||||
if (not *it)
|
return nullptr;
|
||||||
continue;
|
return frame;
|
||||||
|
|
||||||
if ((*it)->feedback.frame_index != id)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
return *it;
|
|
||||||
}
|
|
||||||
return nullptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void scenes::stream::update_gui_position(xr::spaces controller)
|
void scenes::stream::update_gui_position(xr::spaces controller)
|
||||||
{
|
{
|
||||||
auto aim = application::locate_controller(
|
std::optional<std::pair<glm::vec3, glm::quat>> aim;
|
||||||
application::space(controller),
|
|
||||||
application::space(xr::spaces::view),
|
|
||||||
predicted_display_time);
|
|
||||||
|
|
||||||
if (not aim)
|
switch (guess_model())
|
||||||
return;
|
{
|
||||||
|
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];
|
auto [offset_position, offset_orientation] = input->offset[controller];
|
||||||
|
|
||||||
@@ -735,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 stream_tab::stats:
|
||||||
case gui_status::settings:
|
case stream_tab::settings:
|
||||||
case gui_status::bitrate_settings:
|
case stream_tab::bitrate_settings:
|
||||||
case gui_status::foveation_settings:
|
case stream_tab::foveation_settings:
|
||||||
case gui_status::applications:
|
case stream_tab::applications:
|
||||||
case gui_status::application_launcher:
|
case stream_tab::application_launcher:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case gui_status::hidden:
|
case stream_tab::hidden:
|
||||||
case gui_status::overlay_only:
|
case stream_tab::overlay_only:
|
||||||
case gui_status::compact:
|
case stream_tab::compact:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
spdlog::warn("Invalid tab value {}", int(tab));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
assert(false);
|
bool scenes::stream::is_gui_interactable() const
|
||||||
__builtin_unreachable();
|
{
|
||||||
|
return is_interactable(gui_status);
|
||||||
}
|
}
|
||||||
|
|
||||||
void scenes::stream::render(const XrFrameState & frame_state)
|
void scenes::stream::render(const XrFrameState & frame_state)
|
||||||
{
|
{
|
||||||
if (exiting)
|
if (state_ == state::shutdown)
|
||||||
application::pop_scene();
|
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;
|
display_time_period = frame_state.predictedDisplayPeriod;
|
||||||
real_display_period = last_display_time ? frame_state.predictedDisplayTime - last_display_time : frame_state.predictedDisplayPeriod;
|
real_display_period = last_display_time ? frame_state.predictedDisplayTime - last_display_time : frame_state.predictedDisplayPeriod;
|
||||||
last_display_time = frame_state.predictedDisplayTime;
|
last_display_time = frame_state.predictedDisplayTime;
|
||||||
|
|
||||||
std::shared_lock lock(decoder_mutex);
|
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
|
// TODO: stop/restart video stream
|
||||||
session.begin_frame();
|
session.begin_frame();
|
||||||
@@ -784,7 +815,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
.variant = application::get_messages_info().variant,
|
.variant = application::get_messages_info().variant,
|
||||||
});
|
});
|
||||||
|
|
||||||
gui_status = stream::gui_status::hidden;
|
next_gui_status = stream_tab::hidden;
|
||||||
application::pop_scene();
|
application::pop_scene();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -848,7 +879,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
|
|
||||||
blit_handle->feedback.blitted = instance.now();
|
blit_handle->feedback.blitted = instance.now();
|
||||||
if (blit_handle->feedback.blitted - blit_handle->feedback.received_from_decoder > 1'000'000'000)
|
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.times_displayed;
|
||||||
blit_handle->feedback.displayed = frame_state.predictedDisplayTime;
|
blit_handle->feedback.displayed = frame_state.predictedDisplayTime;
|
||||||
|
|
||||||
@@ -957,9 +988,9 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
vk::SubmitInfo submit_info;
|
vk::SubmitInfo submit_info;
|
||||||
submit_info.setCommandBuffers(*command_buffer);
|
submit_info.setCommandBuffers(*command_buffer);
|
||||||
|
|
||||||
std::vector<vk::Semaphore> semaphores;
|
inplace_vector<vk::Semaphore, decoder_count> semaphores;
|
||||||
std::vector<uint64_t> semaphore_vals;
|
inplace_vector<uint64_t, decoder_count> semaphore_vals;
|
||||||
std::vector<vk::PipelineStageFlags> wait_stages;
|
inplace_vector<vk::PipelineStageFlags, decoder_count> wait_stages;
|
||||||
for (auto b: current_blit_handles)
|
for (auto b: current_blit_handles)
|
||||||
{
|
{
|
||||||
if (b and b->semaphore)
|
if (b and b->semaphore)
|
||||||
@@ -984,8 +1015,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
#endif
|
#endif
|
||||||
swapchain.release();
|
swapchain.release();
|
||||||
|
|
||||||
std::vector<XrCompositionLayerProjectionView> layer_view(view_count);
|
|
||||||
|
|
||||||
if (use_alpha)
|
if (use_alpha)
|
||||||
session.enable_passthrough(system);
|
session.enable_passthrough(system);
|
||||||
else
|
else
|
||||||
@@ -994,6 +1023,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
render_start(use_alpha, frame_state.predictedDisplayTime);
|
render_start(use_alpha, frame_state.predictedDisplayTime);
|
||||||
|
|
||||||
// Add the layer with the streamed content
|
// Add the layer with the streamed content
|
||||||
|
std::array<XrCompositionLayerProjectionView, view_count> layer_view;
|
||||||
for (uint32_t view = 0; view < view_count; view++)
|
for (uint32_t view = 0; view < view_count; view++)
|
||||||
{
|
{
|
||||||
layer_view[view] =
|
layer_view[view] =
|
||||||
@@ -1015,23 +1045,23 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
add_projection_layer(
|
add_projection_layer(
|
||||||
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
|
XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT,
|
||||||
application::space(xr::spaces::world),
|
application::space(xr::spaces::world),
|
||||||
std::move(layer_view));
|
layer_view);
|
||||||
|
|
||||||
if (composition_layer_color_scale_bias_supported)
|
if (composition_layer_color_scale_bias_supported)
|
||||||
{
|
{
|
||||||
switch (gui_status)
|
switch (gui_status)
|
||||||
{
|
{
|
||||||
case gui_status::hidden:
|
case stream_tab::hidden:
|
||||||
case gui_status::bitrate_settings:
|
case stream_tab::bitrate_settings:
|
||||||
case gui_status::foveation_settings:
|
case stream_tab::foveation_settings:
|
||||||
case gui_status::compact:
|
case stream_tab::compact:
|
||||||
case gui_status::overlay_only:
|
case stream_tab::overlay_only:
|
||||||
dimming = dimming - frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
dimming = dimming - frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
||||||
break;
|
break;
|
||||||
case gui_status::stats:
|
case stream_tab::stats:
|
||||||
case gui_status::settings:
|
case stream_tab::settings:
|
||||||
case gui_status::applications:
|
case stream_tab::applications:
|
||||||
case gui_status::application_launcher:
|
case stream_tab::application_launcher:
|
||||||
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1068,8 +1098,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
// Network operations may be blocking, do them once everything was submitted
|
// 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
|
// Keep a copy of the feedback packets as they can be modified if they're encrypted
|
||||||
std::vector<from_headset::feedback> feedbacks;
|
inplace_vector<from_headset::feedback, decoder_count> feedbacks;
|
||||||
std::vector<serialization_packet> packets;
|
inplace_vector<serialization_packet, decoder_count> packets;
|
||||||
|
|
||||||
feedbacks.reserve(current_blit_handles.size());
|
feedbacks.reserve(current_blit_handles.size());
|
||||||
packets.reserve(current_blit_handles.size());
|
packets.reserve(current_blit_handles.size());
|
||||||
@@ -1112,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))
|
if (state_1.currentState and state_2.currentState and (state_1.changedSinceLastSync or state_2.changedSinceLastSync))
|
||||||
{
|
{
|
||||||
switch (gui_status)
|
// Arbitraty transitions can happen from network commands
|
||||||
{
|
// Ensure we can't have a set of 2 non interactable states
|
||||||
case gui_status::hidden:
|
if (is_gui_interactable())
|
||||||
case gui_status::compact:
|
next_gui_status = stream_tab::hidden;
|
||||||
case gui_status::overlay_only:
|
else if (is_interactable(stored_gui_status))
|
||||||
gui_status = next_gui_status;
|
next_gui_status = stored_gui_status;
|
||||||
break;
|
else
|
||||||
|
next_gui_status = stream_tab::applications;
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1137,15 +1158,17 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
|||||||
|
|
||||||
void scenes::stream::exit()
|
void scenes::stream::exit()
|
||||||
{
|
{
|
||||||
exiting = true;
|
state_ = state::shutdown;
|
||||||
}
|
}
|
||||||
|
|
||||||
void scenes::stream::setup(const to_headset::video_stream_description & description)
|
void scenes::stream::setup(const to_headset::video_stream_description & description)
|
||||||
{
|
{
|
||||||
session.set_refresh_rate(description.fps);
|
session.set_refresh_rate(description.fps);
|
||||||
|
|
||||||
spdlog::info("Creating decoders, size {}x{}", description.width, description.height);
|
|
||||||
std::unique_lock lock(decoder_mutex);
|
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;
|
video_stream_description = description;
|
||||||
|
|
||||||
for (const auto & [stream_index, item]: utils::enumerate(decoders))
|
for (const auto & [stream_index, item]: utils::enumerate(decoders))
|
||||||
@@ -1154,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),
|
.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)
|
void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint32_t swapchain_height)
|
||||||
@@ -1175,14 +1201,11 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint
|
|||||||
|
|
||||||
spdlog::info("Initializing reprojector");
|
spdlog::info("Initializing reprojector");
|
||||||
vk::Extent2D extent = {(uint32_t)swapchain.width(), (uint32_t)swapchain.height()};
|
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(
|
defoveator.emplace(
|
||||||
device,
|
device,
|
||||||
physical_device,
|
physical_device,
|
||||||
swapchain_images,
|
swapchain.images(),
|
||||||
extent,
|
extent,
|
||||||
swapchain.format());
|
swapchain.format());
|
||||||
}
|
}
|
||||||
@@ -1262,6 +1285,18 @@ scene::meta & scenes::stream::get_meta_scene()
|
|||||||
return m;
|
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)
|
void scenes::stream::on_xr_event(const xr::event & event)
|
||||||
{
|
{
|
||||||
switch (event.header.type)
|
switch (event.header.type)
|
||||||
|
|||||||
+40
-27
@@ -32,6 +32,7 @@
|
|||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
#include "xr/space.h"
|
#include "xr/space.h"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#include <queue>
|
||||||
#include <shared_mutex>
|
#include <shared_mutex>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <vulkan/vulkan_core.h>
|
#include <vulkan/vulkan_core.h>
|
||||||
@@ -45,7 +46,8 @@ public:
|
|||||||
{
|
{
|
||||||
initializing,
|
initializing,
|
||||||
streaming,
|
streaming,
|
||||||
stalled
|
stalled,
|
||||||
|
shutdown,
|
||||||
};
|
};
|
||||||
static const size_t image_buffer_size = 3;
|
static const size_t image_buffer_size = 3;
|
||||||
|
|
||||||
@@ -53,6 +55,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
static const size_t view_count = 2;
|
static const size_t view_count = 2;
|
||||||
|
static const size_t decoder_count = view_count + 1;
|
||||||
|
|
||||||
struct accumulator_images
|
struct accumulator_images
|
||||||
{
|
{
|
||||||
@@ -68,14 +71,14 @@ private:
|
|||||||
|
|
||||||
// for frames inside accumulator images
|
// for frames inside accumulator images
|
||||||
std::mutex frames_mutex;
|
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::unique_ptr<wivrn_session> network_session;
|
||||||
std::atomic<bool> exiting = false;
|
|
||||||
std::thread network_thread;
|
std::thread network_thread;
|
||||||
thread_safe<to_headset::tracking_control> tracking_control{};
|
thread_safe<to_headset::tracking_control> tracking_control{};
|
||||||
std::array<std::atomic<interaction_profile>, 2> interaction_profiles; // left and right hand
|
std::array<std::atomic<interaction_profile>, 2> interaction_profiles; // left and right hand
|
||||||
std::atomic<bool> interaction_profile_changed = false;
|
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> recenter_requested = false;
|
||||||
std::atomic<bool> hid_forwarding = false;
|
std::atomic<bool> hid_forwarding = false;
|
||||||
std::atomic<XrDuration> display_time_phase = 0;
|
std::atomic<XrDuration> display_time_phase = 0;
|
||||||
@@ -86,7 +89,7 @@ private:
|
|||||||
|
|
||||||
std::shared_mutex decoder_mutex;
|
std::shared_mutex decoder_mutex;
|
||||||
std::optional<to_headset::video_stream_description> video_stream_description;
|
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;
|
std::optional<stream_defoveator> defoveator;
|
||||||
|
|
||||||
@@ -102,7 +105,16 @@ private:
|
|||||||
std::unordered_multimap<device_id, haptics_action> haptics_actions;
|
std::unordered_multimap<device_id, haptics_action> haptics_actions;
|
||||||
std::vector<std::tuple<device_id, XrAction, XrActionType>> input_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;
|
xr::swapchain swapchain;
|
||||||
|
|
||||||
@@ -119,27 +131,28 @@ private:
|
|||||||
uint32_t height;
|
uint32_t height;
|
||||||
|
|
||||||
std::optional<imgui_context> imgui_ctx;
|
std::optional<imgui_context> imgui_ctx;
|
||||||
enum class gui_status
|
struct gui_toast
|
||||||
{
|
{
|
||||||
hidden,
|
std::string content;
|
||||||
overlay_only,
|
bool is_urgent = false;
|
||||||
compact,
|
|
||||||
stats,
|
|
||||||
settings,
|
|
||||||
bitrate_settings,
|
|
||||||
foveation_settings,
|
|
||||||
applications,
|
|
||||||
application_launcher,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static bool is_interactable(stream_tab);
|
||||||
bool is_gui_interactable() const;
|
bool is_gui_interactable() const;
|
||||||
|
|
||||||
std::atomic<gui_status> gui_status = gui_status::hidden;
|
// Tab currently being displayed
|
||||||
enum gui_status last_gui_status = gui_status::hidden;
|
stream_tab gui_status = stream_tab::hidden;
|
||||||
enum gui_status next_gui_status = gui_status::applications;
|
// Tab that we will switch to if button is pressed
|
||||||
XrTime gui_status_last_change;
|
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;
|
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_1 = XR_NULL_HANDLE;
|
||||||
XrAction plots_toggle_2 = XR_NULL_HANDLE;
|
XrAction plots_toggle_2 = XR_NULL_HANDLE;
|
||||||
XrAction recenter_left = XR_NULL_HANDLE;
|
XrAction recenter_left = XR_NULL_HANDLE;
|
||||||
@@ -162,7 +175,7 @@ private:
|
|||||||
void update_gui_position(xr::spaces controller);
|
void update_gui_position(xr::spaces controller);
|
||||||
|
|
||||||
// Keep a reference to the resources needed to blit the images until vkWaitForFences
|
// 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;
|
XrTime running_application_req = 0;
|
||||||
thread_safe<to_headset::running_applications> running_applications;
|
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_2 &&) {};
|
||||||
void operator()(to_headset::pin_check_4 &&) {};
|
void operator()(to_headset::pin_check_4 &&) {};
|
||||||
void operator()(to_headset::handshake &&) {};
|
void operator()(to_headset::handshake &&) {};
|
||||||
|
void operator()(to_headset::server_message &&);
|
||||||
void operator()(to_headset::video_stream_data_shard &&);
|
void operator()(to_headset::video_stream_data_shard &&);
|
||||||
void operator()(to_headset::haptics &&);
|
void operator()(to_headset::haptics &&);
|
||||||
void operator()(to_headset::timesync_query &&);
|
void operator()(to_headset::timesync_query &&);
|
||||||
@@ -204,6 +218,7 @@ public:
|
|||||||
void operator()(to_headset::audio_stream_description &&);
|
void operator()(to_headset::audio_stream_description &&);
|
||||||
void operator()(to_headset::video_stream_description &&);
|
void operator()(to_headset::video_stream_description &&);
|
||||||
void operator()(to_headset::refresh_rate_change &&);
|
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_list &&);
|
||||||
void operator()(to_headset::application_icon &&);
|
void operator()(to_headset::application_icon &&);
|
||||||
void operator()(to_headset::running_applications &&);
|
void operator()(to_headset::running_applications &&);
|
||||||
@@ -218,14 +233,11 @@ public:
|
|||||||
return state_;
|
return state_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool alive() const
|
void exit();
|
||||||
{
|
|
||||||
return !exiting;
|
|
||||||
}
|
|
||||||
|
|
||||||
void start_application(std::string appid);
|
void start_application(std::string appid);
|
||||||
|
|
||||||
static meta & get_meta_scene();
|
static meta & get_meta_scene();
|
||||||
|
std::optional<std::string> pop_stream_error();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void process_packets();
|
void process_packets();
|
||||||
@@ -233,10 +245,10 @@ private:
|
|||||||
void read_actions();
|
void read_actions();
|
||||||
|
|
||||||
void on_interaction_profile_changed(const XrEventDataInteractionProfileChanged &);
|
void on_interaction_profile_changed(const XrEventDataInteractionProfileChanged &);
|
||||||
|
void send_derived_pose();
|
||||||
|
|
||||||
void setup(const to_headset::video_stream_description &);
|
void setup(const to_headset::video_stream_description &);
|
||||||
void setup_reprojection_swapchain(uint32_t width, uint32_t height);
|
void setup_reprojection_swapchain(uint32_t width, uint32_t height);
|
||||||
void exit();
|
|
||||||
|
|
||||||
vk::raii::QueryPool query_pool = nullptr;
|
vk::raii::QueryPool query_pool = nullptr;
|
||||||
bool query_pool_filled = false;
|
bool query_pool_filled = false;
|
||||||
@@ -302,13 +314,14 @@ private:
|
|||||||
float compact_cpu_time = 0;
|
float compact_cpu_time = 0;
|
||||||
float compact_gpu_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_performance_metrics();
|
||||||
void gui_compact_view();
|
void gui_compact_view();
|
||||||
void gui_settings(float predicted_display_period);
|
void gui_settings(float predicted_display_period);
|
||||||
void gui_bitrate_settings(float predicted_display_period);
|
void gui_bitrate_settings(float predicted_display_period);
|
||||||
void gui_foveation_settings(float predicted_display_period);
|
void gui_foveation_settings(float predicted_display_period);
|
||||||
void gui_applications();
|
void gui_applications();
|
||||||
|
void gui_toasts();
|
||||||
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
|
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
|
||||||
};
|
};
|
||||||
} // namespace scenes
|
} // 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)
|
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
|
||||||
{
|
{
|
||||||
// strips are constructed like this:
|
// strips are constructed like this:
|
||||||
|
|||||||
@@ -81,6 +81,8 @@ public:
|
|||||||
|
|
||||||
stream_defoveator(const stream_defoveator &) = delete;
|
stream_defoveator(const stream_defoveator &) = delete;
|
||||||
|
|
||||||
|
void reset_pipelines();
|
||||||
|
|
||||||
void defoveate(
|
void defoveate(
|
||||||
vk::raii::CommandBuffer & command_buffer,
|
vk::raii::CommandBuffer & command_buffer,
|
||||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||||
|
|||||||
+183
-162
@@ -26,12 +26,13 @@
|
|||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
#include "implot.h"
|
#include "implot.h"
|
||||||
#include "utils/contains.h"
|
|
||||||
#include "utils/i18n.h"
|
#include "utils/i18n.h"
|
||||||
#include "utils/ranges.h"
|
#include "utils/ranges.h"
|
||||||
#include <IconsFontAwesome6.h>
|
#include <IconsFontAwesome6.h>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
#include <glm/ext/matrix_transform.hpp>
|
||||||
#include <glm/gtc/matrix_access.hpp>
|
#include <glm/gtc/matrix_access.hpp>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
@@ -382,9 +383,9 @@ static void send_settings_changed_packet(xr::session & session, wivrn_session *
|
|||||||
from_headset::settings_changed packet{
|
from_headset::settings_changed packet{
|
||||||
.bitrate_bps = config.bitrate_bps,
|
.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);
|
packet.minimum_refresh_rate = config.minimum_refresh_rate.value_or(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -407,12 +408,11 @@ void scenes::stream::gui_settings(float predicted_display_period)
|
|||||||
const auto & refresh_rates = session.get_refresh_rates();
|
const auto & refresh_rates = session.get_refresh_rates();
|
||||||
if (not refresh_rates.empty())
|
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::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;
|
config.preferred_refresh_rate = 0;
|
||||||
send_settings_changed_packet(session, network_session.get(), config, predicted_display_period);
|
send_settings_changed_packet(session, network_session.get(), config, predicted_display_period);
|
||||||
config.save();
|
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."));
|
imgui_ctx->tooltip(_("Select refresh rate based on measured application performance.\nMay cause flicker when a change happens."));
|
||||||
for (float rate: refresh_rates)
|
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);
|
session.set_refresh_rate(rate);
|
||||||
config.preferred_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();
|
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());
|
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()))
|
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::SameLine(0.f, 10.f);
|
||||||
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + (size.y / 4.f) - style.FramePadding.y * 3.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()))
|
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();
|
imgui_ctx->vibrate_on_hover();
|
||||||
if (ImGui::IsItemHovered())
|
if (ImGui::IsItemHovered())
|
||||||
imgui_ctx->tooltip(_("Click to adjust bitrate"));
|
imgui_ctx->tooltip(_("Click to adjust bitrate"));
|
||||||
@@ -525,58 +525,58 @@ void scenes::stream::gui_settings(float predicted_display_period)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::Unindent();
|
ImGui::Unindent();
|
||||||
|
}
|
||||||
|
|
||||||
bool send_packet = false;
|
bool send_packet = false;
|
||||||
bool save_config = false;
|
bool save_config = false;
|
||||||
ImGui::Text("%s", _S("Foveation center override"));
|
ImGui::Text("%s", _S("Foveation center override"));
|
||||||
ImGui::Indent();
|
ImGui::Indent();
|
||||||
|
{
|
||||||
|
if (ImGui::Checkbox(_S("Enable"), &override_foveation_enable))
|
||||||
{
|
{
|
||||||
if (ImGui::Checkbox(_S("Enable"), &override_foveation_enable))
|
send_packet = true;
|
||||||
{
|
save_config = true;
|
||||||
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();
|
|
||||||
}
|
}
|
||||||
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{
|
override_foveation_distance = configuration{}.override_foveation_distance;
|
||||||
.enabled = override_foveation_enable,
|
override_foveation_pitch = configuration{}.override_foveation_pitch;
|
||||||
.pitch = override_foveation_pitch,
|
send_packet = true;
|
||||||
.distance = override_foveation_distance,
|
save_config = true;
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
imgui_ctx->vibrate_on_hover();
|
||||||
|
|
||||||
if (save_config)
|
ImGui::SameLine();
|
||||||
{
|
|
||||||
auto & config = application::get_config();
|
if (ImGui::Button(_S("Change")))
|
||||||
config.override_foveation_enable = override_foveation_enable;
|
next_gui_status = stream_tab::foveation_settings;
|
||||||
config.override_foveation_pitch = override_foveation_pitch;
|
imgui_ctx->vibrate_on_hover();
|
||||||
config.override_foveation_distance = override_foveation_distance;
|
|
||||||
config.save();
|
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();
|
ImGui::PopStyleVar();
|
||||||
}
|
}
|
||||||
@@ -600,7 +600,7 @@ void scenes::stream::gui_bitrate_settings(float predicted_display_period)
|
|||||||
if (ok)
|
if (ok)
|
||||||
{
|
{
|
||||||
config.save();
|
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);
|
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)
|
if (ok)
|
||||||
{
|
{
|
||||||
gui_status = gui_status::settings;
|
next_gui_status = stream_tab::settings;
|
||||||
|
|
||||||
// Save settings
|
// Save settings
|
||||||
auto & config = application::get_config();
|
auto & config = application::get_config();
|
||||||
@@ -640,7 +640,7 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
|
|||||||
}
|
}
|
||||||
else if (cancel)
|
else if (cancel)
|
||||||
{
|
{
|
||||||
gui_status = gui_status::settings;
|
next_gui_status = stream_tab::settings;
|
||||||
|
|
||||||
// Restore settings
|
// Restore settings
|
||||||
const auto & config = application::get_config();
|
const auto & config = application::get_config();
|
||||||
@@ -729,70 +729,26 @@ void scenes::stream::gui_applications()
|
|||||||
ImGui::PopStyleVar(3);
|
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
|
void scenes::stream::gui_toasts()
|
||||||
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
|
|
||||||
{
|
{
|
||||||
glm::quat q{
|
auto toast = gui_toast.lock();
|
||||||
pose.orientation.w,
|
|
||||||
pose.orientation.x,
|
|
||||||
pose.orientation.y,
|
|
||||||
pose.orientation.z,
|
|
||||||
};
|
|
||||||
|
|
||||||
glm::vec3 p{
|
if (!toast->has_value())
|
||||||
pose.position.x,
|
{
|
||||||
pose.position.y,
|
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
|
||||||
pose.position.z,
|
return;
|
||||||
};
|
}
|
||||||
|
|
||||||
glm::vec3 normal = glm::column(glm::mat3_cast(q), 2);
|
ImGui::Text("%s", (*toast)->content.c_str());
|
||||||
|
|
||||||
return glm::vec4(normal, -glm::dot(p, normal) - margin);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
|
void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period)
|
||||||
{
|
{
|
||||||
if (not(plots_toggle_1 and plots_toggle_2))
|
if (auto new_status = next_gui_status.load(); new_status != gui_status)
|
||||||
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)
|
|
||||||
{
|
{
|
||||||
case gui_status::hidden:
|
spdlog::info("Switch tab from {} to {}", magic_enum::enum_name(gui_status), magic_enum::enum_name(new_status));
|
||||||
case gui_status::bitrate_settings:
|
stored_gui_status = gui_status;
|
||||||
case gui_status::foveation_settings:
|
gui_status = new_status;
|
||||||
case gui_status::overlay_only:
|
|
||||||
case gui_status::compact:
|
|
||||||
interactable = false;
|
|
||||||
break;
|
|
||||||
case gui_status::stats:
|
|
||||||
case gui_status::settings:
|
|
||||||
case gui_status::applications:
|
|
||||||
case gui_status::application_launcher:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
imgui_ctx->set_controllers_enabled(interactable);
|
|
||||||
if (interactable)
|
|
||||||
{
|
|
||||||
if (system.hand_tracking_supported())
|
|
||||||
{
|
|
||||||
left_hand = session.create_hand_tracker(XR_HAND_LEFT_EXT);
|
|
||||||
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
left_hand.reset();
|
|
||||||
right_hand.reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (gui_status != last_gui_status)
|
|
||||||
{
|
|
||||||
last_gui_status = gui_status;
|
|
||||||
if (is_gui_interactable())
|
|
||||||
next_gui_status = gui_status;
|
|
||||||
gui_status_last_change = predicted_display_time;
|
gui_status_last_change = predicted_display_time;
|
||||||
|
|
||||||
// Override session state if the GUI is interactable
|
// 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{
|
network_session->send_control(from_headset::session_state_changed{
|
||||||
.state = XR_SESSION_STATE_VISIBLE,
|
.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;
|
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)
|
if (alpha == 0)
|
||||||
|
{
|
||||||
|
toast->reset();
|
||||||
return;
|
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
|
// 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);
|
glm::mat3 M = glm::mat3_cast(head_position->second);
|
||||||
switch (gui_status)
|
switch (gui_status)
|
||||||
{
|
{
|
||||||
case gui_status::bitrate_settings:
|
case stream_tab::bitrate_settings:
|
||||||
case gui_status::foveation_settings:
|
case stream_tab::foveation_settings:
|
||||||
imgui_ctx->layers()[0].orientation = head_position->second;
|
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;
|
break;
|
||||||
|
|
||||||
case gui_status::hidden:
|
case stream_tab::hidden:
|
||||||
// Always use the same position for the GUI shortcut tip
|
// Always use the same position for the GUI shortcut tip
|
||||||
imgui_ctx->layers()[0].orientation = head_position->second;
|
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};
|
imgui_ctx->layers()[0].position = head_position->first + M * glm::vec3{0.0, -0.4, -1.0};
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::overlay_only:
|
case stream_tab::overlay_only:
|
||||||
case gui_status::compact:
|
case stream_tab::compact:
|
||||||
case gui_status::stats:
|
case stream_tab::stats:
|
||||||
case gui_status::settings:
|
case stream_tab::settings:
|
||||||
case gui_status::applications:
|
case stream_tab::applications:
|
||||||
case gui_status::application_launcher:
|
case stream_tab::application_launcher:
|
||||||
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
|
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
|
||||||
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
|
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
|
||||||
break;
|
break;
|
||||||
@@ -854,49 +857,56 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
const ImGuiStyle & style = ImGui::GetStyle();
|
const ImGuiStyle & style = ImGui::GetStyle();
|
||||||
imgui_ctx->new_frame(predicted_display_time);
|
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};
|
ImVec2 content_center = margin_around_window + content_size / 2 + ImVec2{tab_width, 0};
|
||||||
|
|
||||||
bool display_tabs, always_auto_resize;
|
bool display_tabs, always_auto_resize;
|
||||||
switch (gui_status)
|
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::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||||
ImGui::SetNextWindowSize(content_size);
|
ImGui::SetNextWindowSize(content_size);
|
||||||
always_auto_resize = false;
|
always_auto_resize = false;
|
||||||
display_tabs = false;
|
display_tabs = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::hidden:
|
case stream_tab::hidden:
|
||||||
case gui_status::bitrate_settings:
|
case stream_tab::bitrate_settings:
|
||||||
case gui_status::foveation_settings:
|
case stream_tab::foveation_settings:
|
||||||
ImGui::SetNextWindowPos(ImGui::GetMainViewport()->Size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
ImGui::SetNextWindowPos(viewport_size / 2, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||||
always_auto_resize = true;
|
always_auto_resize = true;
|
||||||
display_tabs = false;
|
display_tabs = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::compact:
|
case stream_tab::compact:
|
||||||
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
ImGui::SetNextWindowPos(content_center, ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||||
always_auto_resize = true;
|
always_auto_resize = true;
|
||||||
display_tabs = false;
|
display_tabs = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::stats:
|
case stream_tab::stats:
|
||||||
case gui_status::settings:
|
case stream_tab::settings:
|
||||||
case gui_status::applications:
|
case stream_tab::applications:
|
||||||
ImGui::SetNextWindowPos(margin_around_window);
|
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;
|
always_auto_resize = false;
|
||||||
display_tabs = true;
|
display_tabs = true;
|
||||||
break;
|
break;
|
||||||
case gui_status::application_launcher:
|
case stream_tab::application_launcher:
|
||||||
ImGui::SetNextWindowPos(margin_around_window);
|
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;
|
always_auto_resize = false;
|
||||||
display_tabs = false;
|
display_tabs = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_urgent)
|
||||||
|
{
|
||||||
|
ImGui::PushStyleColor(ImGuiCol_Border, constants::stream::urgent_border_color);
|
||||||
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 4);
|
||||||
|
}
|
||||||
|
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
|
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
|
||||||
if (always_auto_resize)
|
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);
|
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_WindowPadding, {8, 8});
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
|
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
|
||||||
|
|
||||||
switch (gui_status)
|
switch (gui_status)
|
||||||
{
|
{
|
||||||
case gui_status::hidden:
|
case stream_tab::hidden:
|
||||||
ImGui::Text("%s", _S("Press both thumbsticks to display the WiVRn window"));
|
gui_toasts();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::overlay_only:
|
case stream_tab::overlay_only:
|
||||||
ImGui::SetCursorPos({20, 20});
|
ImGui::SetCursorPos({20, 20});
|
||||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||||
gui_performance_metrics();
|
gui_performance_metrics();
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::compact:
|
case stream_tab::compact:
|
||||||
gui_compact_view();
|
gui_compact_view();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::stats:
|
case stream_tab::stats:
|
||||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||||
gui_performance_metrics();
|
gui_performance_metrics();
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::settings:
|
case stream_tab::settings:
|
||||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||||
gui_settings(predicted_display_period * 1.e-9f);
|
gui_settings(predicted_display_period * 1.e-9f);
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::bitrate_settings:
|
case stream_tab::bitrate_settings:
|
||||||
gui_bitrate_settings(predicted_display_period * 1.e-9f);
|
gui_bitrate_settings(predicted_display_period * 1.e-9f);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::foveation_settings:
|
case stream_tab::foveation_settings:
|
||||||
gui_foveation_settings(predicted_display_period * 1.e-9f);
|
gui_foveation_settings(predicted_display_period * 1.e-9f);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::applications:
|
case stream_tab::applications:
|
||||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||||
gui_applications();
|
gui_applications();
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case gui_status::application_launcher:
|
case stream_tab::application_launcher:
|
||||||
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
|
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
|
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
|
||||||
@@ -974,11 +990,13 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
|
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 10));
|
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();
|
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{
|
network_session->send_control(from_headset::get_application_list{
|
||||||
.language = application::get_messages_info().language,
|
.language = application::get_messages_info().language,
|
||||||
.country = application::get_messages_info().country,
|
.country = application::get_messages_info().country,
|
||||||
@@ -987,22 +1005,22 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
}
|
}
|
||||||
imgui_ctx->vibrate_on_hover();
|
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();
|
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();
|
imgui_ctx->vibrate_on_hover();
|
||||||
|
|
||||||
int n_items_at_end = 4;
|
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);
|
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();
|
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();
|
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();
|
imgui_ctx->vibrate_on_hover();
|
||||||
|
|
||||||
bool dummy = false;
|
bool dummy = false;
|
||||||
@@ -1012,6 +1030,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
|
|
||||||
ImGui::PopStyleVar(); // ImGuiStyleVar_FramePadding
|
ImGui::PopStyleVar(); // ImGuiStyleVar_FramePadding
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
|
next_gui_status = target;
|
||||||
}
|
}
|
||||||
ImGui::PopStyleColor(); // ImGuiCol_ChildBg
|
ImGui::PopStyleColor(); // ImGuiCol_ChildBg
|
||||||
}
|
}
|
||||||
@@ -1052,10 +1071,12 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
else
|
else
|
||||||
recentering_context.reset();
|
recentering_context.reset();
|
||||||
|
|
||||||
std::vector<glm::vec4> ray_limits;
|
std::vector<glm::mat4> world_to_window;
|
||||||
|
for (auto & window: imgui_ctx->windows())
|
||||||
for (auto [_, layer]: layers)
|
{
|
||||||
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))));
|
||||||
|
}
|
||||||
|
|
||||||
bool hide_left_controller = false;
|
bool hide_left_controller = false;
|
||||||
bool hide_right_controller = false;
|
bool hide_right_controller = false;
|
||||||
@@ -1079,7 +1100,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
hide_left_controller,
|
hide_left_controller,
|
||||||
hide_right_controller,
|
hide_right_controller,
|
||||||
hide_right_controller,
|
hide_right_controller,
|
||||||
ray_limits);
|
world_to_window);
|
||||||
|
|
||||||
// Add the layer with the controllers
|
// Add the layer with the controllers
|
||||||
if (composition_layer_depth_test_supported)
|
if (composition_layer_depth_test_supported)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ void scenes::stream::process_packets()
|
|||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
application::instance().setup_jni();
|
application::instance().setup_jni();
|
||||||
#endif
|
#endif
|
||||||
while (not exiting)
|
while (state_ != state::shutdown)
|
||||||
{
|
{
|
||||||
try
|
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)
|
void scenes::stream::operator()(to_headset::video_stream_data_shard && shard)
|
||||||
{
|
{
|
||||||
std::shared_lock lock(decoder_mutex);
|
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;
|
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)
|
void scenes::stream::operator()(to_headset::timesync_query && query)
|
||||||
{
|
{
|
||||||
network_session->send_stream(from_headset::timesync_response{
|
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),
|
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
|
||||||
};
|
};
|
||||||
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
|
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
|
||||||
return {};
|
return {.device = device};
|
||||||
}
|
}
|
||||||
|
|
||||||
class locate_spaces_functor
|
class locate_spaces_functor
|
||||||
@@ -341,7 +341,7 @@ void scenes::stream::tracking()
|
|||||||
XrDuration frame_duration;
|
XrDuration frame_duration;
|
||||||
XrTime pattern_begin = instance.now();
|
XrTime pattern_begin = instance.now();
|
||||||
|
|
||||||
while (not exiting)
|
while (state_ != state::shutdown)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -366,21 +366,6 @@ void scenes::stream::tracking()
|
|||||||
if (not std::ranges::contains(pattern, device_id::HEAD, &to_headset::tracking_control::sample::device))
|
if (not std::ranges::contains(pattern, device_id::HEAD, &to_headset::tracking_control::sample::device))
|
||||||
pattern.push_back({.device = device_id::HEAD});
|
pattern.push_back({.device = device_id::HEAD});
|
||||||
|
|
||||||
// FIXME: eye tracking shouldn't had a special case
|
|
||||||
// eye-tracked foveation needs eye and head pose in the same tracking packet
|
|
||||||
if (spaces[device_id::EYE_GAZE])
|
|
||||||
{
|
|
||||||
size_t sz = pattern.size();
|
|
||||||
for (size_t i = 0; i < sz; ++i)
|
|
||||||
{
|
|
||||||
if (pattern[i].device == device_id::HEAD)
|
|
||||||
pattern.push_back({
|
|
||||||
.device = device_id::EYE_GAZE,
|
|
||||||
.prediction_ns = pattern[i].prediction_ns,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hand_tracking)
|
if (hand_tracking)
|
||||||
{
|
{
|
||||||
if (std::ranges::contains(pattern, device_id::LEFT_HAND, &to_headset::tracking_control::sample::device))
|
if (std::ranges::contains(pattern, device_id::LEFT_HAND, &to_headset::tracking_control::sample::device))
|
||||||
@@ -478,12 +463,13 @@ void scenes::stream::tracking()
|
|||||||
const auto & item = pattern[pattern_position];
|
const auto & item = pattern[pattern_position];
|
||||||
auto at_time = t0 + item.prediction_ns;
|
auto at_time = t0 + item.prediction_ns;
|
||||||
|
|
||||||
|
// Don't merge items that are too far from the current one
|
||||||
|
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
||||||
|
break;
|
||||||
|
|
||||||
switch (item.device)
|
switch (item.device)
|
||||||
{
|
{
|
||||||
case device_id::HEAD:
|
case device_id::HEAD:
|
||||||
// Don't merge items that are too far from the current one
|
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
tracking.view_flags = session.locate_views(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO, tracking.timestamp, view_space, views);
|
tracking.view_flags = session.locate_views(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO, tracking.timestamp, view_space, views);
|
||||||
assert(views.size() == tracking.views.size());
|
assert(views.size() == tracking.views.size());
|
||||||
for (auto [i, j]: std::views::zip(views, tracking.views))
|
for (auto [i, j]: std::views::zip(views, tracking.views))
|
||||||
@@ -503,15 +489,43 @@ void scenes::stream::tracking()
|
|||||||
case wivrn::device_id::LEFT_POKE:
|
case wivrn::device_id::LEFT_POKE:
|
||||||
case wivrn::device_id::RIGHT_PINCH_POSE:
|
case wivrn::device_id::RIGHT_PINCH_POSE:
|
||||||
case wivrn::device_id::RIGHT_POKE:
|
case wivrn::device_id::RIGHT_POKE:
|
||||||
case wivrn::device_id::EYE_GAZE:
|
|
||||||
// Don't merge items that are too far from the current one
|
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
locate_spaces.add_space(item.device, spaces[item.device], tracking.timestamp, tracking.device_poses);
|
locate_spaces.add_space(item.device, spaces[item.device], tracking.timestamp, tracking.device_poses);
|
||||||
break;
|
break;
|
||||||
|
case wivrn::device_id::EYE_GAZE:
|
||||||
|
// Eye gaze uses view pose as the origin
|
||||||
|
switch (guess_model())
|
||||||
|
{
|
||||||
|
case model::pico_4_pro:
|
||||||
|
case model::pico_4_enterprise: {
|
||||||
|
// Pico headsets fail to locate gaze relative to view
|
||||||
|
auto gaze = locate_space(item.device, spaces[item.device], world_space, tracking.timestamp);
|
||||||
|
auto view_pose = locate_space(item.device, view_space, world_space, tracking.timestamp);
|
||||||
|
glm::quat gaze_quat(gaze.pose.orientation.w, gaze.pose.orientation.x, gaze.pose.orientation.y, gaze.pose.orientation.z);
|
||||||
|
glm::quat view_quat(view_pose.pose.orientation.w, view_pose.pose.orientation.x, view_pose.pose.orientation.y, view_pose.pose.orientation.z);
|
||||||
|
gaze_quat = glm::conjugate(view_quat) * gaze_quat;
|
||||||
|
using flags = from_headset::tracking::flags;
|
||||||
|
tracking.device_poses.push_back(
|
||||||
|
from_headset::tracking::pose{
|
||||||
|
// Zero position and velocities
|
||||||
|
.pose = {
|
||||||
|
.orientation = {
|
||||||
|
.x = gaze_quat.x,
|
||||||
|
.y = gaze_quat.y,
|
||||||
|
.z = gaze_quat.z,
|
||||||
|
.w = gaze_quat.w,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
.device = item.device,
|
||||||
|
.flags = uint8_t(gaze.flags & view_pose.flags & ~(flags::linear_velocity_valid | flags::angular_velocity_valid)),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case wivrn::device_id::FACE:
|
case wivrn::device_id::FACE:
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
std::visit(utils::overloaded{
|
std::visit(utils::overloaded{
|
||||||
[](std::monostate &) {},
|
[](std::monostate &) {},
|
||||||
[&](auto & ft) {
|
[&](auto & ft) {
|
||||||
@@ -557,7 +571,6 @@ void scenes::stream::tracking()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
subpattern_end:
|
|
||||||
locate_spaces.resolve(session, tracking.timestamp, tracking.device_poses);
|
locate_spaces.resolve(session, tracking.timestamp, tracking.device_poses);
|
||||||
}
|
}
|
||||||
catch (const std::system_error & e)
|
catch (const std::system_error & e)
|
||||||
@@ -594,12 +607,9 @@ void scenes::stream::tracking()
|
|||||||
|
|
||||||
for (const auto & i: hands)
|
for (const auto & i: hands)
|
||||||
{
|
{
|
||||||
if (i.joints)
|
auto & packet = packets[packet_count++];
|
||||||
{
|
packet.clear();
|
||||||
auto & packet = packets[packet_count++];
|
wivrn_session::stream_socket_t::serialize(packet, i);
|
||||||
packet.clear();
|
|
||||||
wivrn_session::stream_socket_t::serialize(packet, i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
for (const auto & i: body)
|
for (const auto & i: body)
|
||||||
{
|
{
|
||||||
@@ -612,6 +622,13 @@ void scenes::stream::tracking()
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_session->send_stream(std::span(packets.data(), packet_count));
|
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)
|
catch (std::exception & e)
|
||||||
{
|
{
|
||||||
@@ -711,6 +728,12 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
|||||||
interaction_profiles[i] = interaction_profile::none;
|
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();
|
auto now = instance.now();
|
||||||
for (device_id target: {
|
for (device_id target: {
|
||||||
device_id::LEFT_AIM,
|
device_id::LEFT_AIM,
|
||||||
@@ -725,14 +748,8 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
|
|||||||
{
|
{
|
||||||
// don't do derived poses for hand interaction
|
// 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;
|
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)
|
if (interaction_profiles[right] == interaction_profile::ext_hand_interaction_ext)
|
||||||
{
|
|
||||||
network_session->send_control(from_headset::derived_pose{
|
|
||||||
.source = target,
|
|
||||||
.target = target,
|
|
||||||
});
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
auto source = derived_from(target);
|
auto source = derived_from(target);
|
||||||
auto source_space = application::space(device_to_space(source));
|
auto source_space = application::space(device_to_space(source));
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// kate: hl glsl
|
// kate: hl glsl
|
||||||
|
|
||||||
const int nb_views = 2;
|
const int nb_views = 2;
|
||||||
const int nb_clipping = 4;
|
|
||||||
const int nb_texcoords = 2;
|
const int nb_texcoords = 2;
|
||||||
|
|
||||||
const bool use_pbr = false;
|
const bool use_pbr = false;
|
||||||
@@ -20,7 +19,6 @@ layout(set = 0, binding = 1) uniform mesh_ubo
|
|||||||
mat4 model;
|
mat4 model;
|
||||||
mat4 modelview[nb_views];
|
mat4 modelview[nb_views];
|
||||||
mat4 modelviewproj[nb_views];
|
mat4 modelviewproj[nb_views];
|
||||||
vec4 clipping_plane[nb_clipping];
|
|
||||||
} mesh;
|
} mesh;
|
||||||
|
|
||||||
layout(set = 0, binding = 2) uniform joints_ubo
|
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;
|
layout (constant_id = 3) const bool skinning = false;
|
||||||
|
|
||||||
const int nb_views = 2;
|
const int nb_views = 2;
|
||||||
const int nb_clipping = 4;
|
|
||||||
|
|
||||||
layout(set = 0, binding = 0) uniform scene_ubo
|
layout(set = 0, binding = 0) uniform scene_ubo
|
||||||
{
|
{
|
||||||
@@ -42,7 +41,6 @@ layout(set = 0, binding = 1) uniform mesh_ubo
|
|||||||
mat4 model;
|
mat4 model;
|
||||||
mat4 modelview[nb_views];
|
mat4 modelview[nb_views];
|
||||||
mat4 modelviewproj[nb_views];
|
mat4 modelviewproj[nb_views];
|
||||||
vec4 clipping_plane[nb_clipping];
|
|
||||||
} mesh;
|
} mesh;
|
||||||
|
|
||||||
layout(set = 0, binding = 2) uniform joints_ubo
|
layout(set = 0, binding = 2) uniform joints_ubo
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ layout(location = 5) in vec4 in_color;
|
|||||||
out gl_PerVertex
|
out gl_PerVertex
|
||||||
{
|
{
|
||||||
vec4 gl_Position;
|
vec4 gl_Position;
|
||||||
float gl_ClipDistance[nb_clipping];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
@@ -59,9 +58,4 @@ void main()
|
|||||||
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
|
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
|
||||||
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
|
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
|
||||||
vertex_color = in_color;
|
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
|
out gl_PerVertex
|
||||||
{
|
{
|
||||||
vec4 gl_Position;
|
vec4 gl_Position;
|
||||||
float gl_ClipDistance[nb_clipping];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
@@ -53,8 +52,8 @@ void main()
|
|||||||
in_weights.z * joints.joint_matrices[int(in_joints.z)] +
|
in_weights.z * joints.joint_matrices[int(in_joints.z)] +
|
||||||
in_weights.w * joints.joint_matrices[int(in_joints.w)];
|
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);
|
tangent = vec4(normalize(mv * in_tangent.xyz), in_tangent.w);
|
||||||
if (any(isnan(tangent))) // avoid NaNs if no tangent data is provided
|
if (any(isnan(tangent))) // avoid NaNs if no tangent data is provided
|
||||||
@@ -62,15 +61,9 @@ void main()
|
|||||||
|
|
||||||
normal = normalize(mv * in_normal);
|
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);
|
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;
|
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
|
||||||
vertex_color = in_color;
|
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 "shader.h"
|
||||||
#include "utils/cache.h"
|
|
||||||
#include "wivrn_shaders.h"
|
#include "wivrn_shaders.h"
|
||||||
#include <magic_enum.hpp>
|
#include <magic_enum.hpp>
|
||||||
#include <spdlog/spdlog.h>
|
#include <spdlog/spdlog.h>
|
||||||
@@ -104,8 +103,3 @@ std::shared_ptr<shader> shader_loader::operator()(const std::string & name)
|
|||||||
|
|
||||||
return (*this)(shaders.at(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> 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
|
|
||||||
@@ -74,8 +74,8 @@ std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> xr::
|
|||||||
if (!locations.isActive)
|
if (!locations.isActive)
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
|
||||||
// bail if none of the joints are valid/tracked
|
// bail if any of the joint is invalid
|
||||||
if (!std::ranges::any_of(joints_pos, [](const auto & loc) { return loc.locationFlags != 0; }))
|
if (std::ranges::any_of(joints_pos, [](const auto & loc) { return loc.locationFlags == 0; }))
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
|
||||||
std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> joints;
|
std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT> joints;
|
||||||
|
|||||||
+5
-41
@@ -30,16 +30,13 @@ xr::swapchain::swapchain(
|
|||||||
int32_t width,
|
int32_t width,
|
||||||
int32_t height,
|
int32_t height,
|
||||||
int sample_count,
|
int sample_count,
|
||||||
uint32_t array_size,
|
uint32_t array_size) :
|
||||||
XrFoveationProfileFB foveated) :
|
|
||||||
width_(width),
|
width_(width),
|
||||||
height_(height),
|
height_(height),
|
||||||
sample_count_(sample_count),
|
sample_count_(sample_count),
|
||||||
format_(format)
|
format_(format)
|
||||||
{
|
{
|
||||||
assert(sample_count == 1);
|
assert(sample_count == 1);
|
||||||
if (foveated)
|
|
||||||
update = inst.get_proc<PFN_xrUpdateSwapchainFB>("xrUpdateSwapchainFB");
|
|
||||||
|
|
||||||
XrSwapchainUsageFlags usage_flags;
|
XrSwapchainUsageFlags usage_flags;
|
||||||
|
|
||||||
@@ -58,14 +55,8 @@ xr::swapchain::swapchain(
|
|||||||
break;
|
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{
|
XrSwapchainCreateInfo create_info{
|
||||||
.type = XR_TYPE_SWAPCHAIN_CREATE_INFO,
|
.type = XR_TYPE_SWAPCHAIN_CREATE_INFO,
|
||||||
.next = foveated ? &foveation_info : nullptr,
|
|
||||||
.createFlags = 0,
|
.createFlags = 0,
|
||||||
.usageFlags = usage_flags,
|
.usageFlags = usage_flags,
|
||||||
.format = static_cast<VkFormat>(format),
|
.format = static_cast<VkFormat>(format),
|
||||||
@@ -79,29 +70,11 @@ xr::swapchain::swapchain(
|
|||||||
|
|
||||||
CHECK_XR(xrCreateSwapchain(s, &create_info, &id));
|
CHECK_XR(xrCreateSwapchain(s, &create_info, &id));
|
||||||
|
|
||||||
std::tuple<std::vector<XrSwapchainImageVulkanKHR>, std::vector<XrSwapchainImageFoveationVulkanFB>> array;
|
auto images = details::enumerate<XrSwapchainImageVulkanKHR>(xrEnumerateSwapchainImages, id);
|
||||||
auto & images = std::get<0>(array);
|
|
||||||
auto & foveation = std::get<1>(array);
|
|
||||||
if (foveated)
|
|
||||||
{
|
|
||||||
update_foveation(foveated);
|
|
||||||
details::enumerate2(xrEnumerateSwapchainImages, array, id);
|
|
||||||
assert(images.size() == foveation.size());
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
details::enumerate(xrEnumerateSwapchainImages, images, id);
|
|
||||||
}
|
|
||||||
|
|
||||||
images_.resize(images.size());
|
images_.reserve(images.size());
|
||||||
for (uint32_t i = 0; i < images.size(); i++)
|
for (auto & image: images)
|
||||||
{
|
images_.push_back(image.image);
|
||||||
images_[i].image = images[i].image;
|
|
||||||
if (foveated)
|
|
||||||
{
|
|
||||||
images_[i].foveation = foveation[i].image;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int xr::swapchain::acquire()
|
int xr::swapchain::acquire()
|
||||||
@@ -139,12 +112,3 @@ void xr::swapchain::release()
|
|||||||
auto lock = application::get_queue().lock();
|
auto lock = application::get_queue().lock();
|
||||||
CHECK_XR(xrReleaseSwapchainImage(id, &release_info));
|
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>
|
class swapchain : public utils::handle<XrSwapchain, xrDestroySwapchain>
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
struct image
|
|
||||||
{
|
|
||||||
vk::Image image{};
|
|
||||||
vk::Image foveation{};
|
|
||||||
};
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PFN_xrUpdateSwapchainFB update;
|
|
||||||
int32_t width_;
|
int32_t width_;
|
||||||
int32_t height_;
|
int32_t height_;
|
||||||
int sample_count_;
|
int sample_count_;
|
||||||
vk::Format format_;
|
vk::Format format_;
|
||||||
|
|
||||||
std::vector<image> images_;
|
std::vector<vk::Image> images_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
swapchain() = default;
|
swapchain() = default;
|
||||||
@@ -61,8 +53,7 @@ public:
|
|||||||
int32_t width,
|
int32_t width,
|
||||||
int32_t height,
|
int32_t height,
|
||||||
int sample_count = 1,
|
int sample_count = 1,
|
||||||
uint32_t array_size = 1,
|
uint32_t array_size = 1);
|
||||||
XrFoveationProfileFB foveation = XR_NULL_HANDLE);
|
|
||||||
|
|
||||||
int32_t width() const
|
int32_t width() const
|
||||||
{
|
{
|
||||||
@@ -80,13 +71,13 @@ public:
|
|||||||
{
|
{
|
||||||
return sample_count_;
|
return sample_count_;
|
||||||
}
|
}
|
||||||
const std::vector<image> & images() const
|
const std::vector<vk::Image> & images() const
|
||||||
{
|
{
|
||||||
return images_;
|
return images_;
|
||||||
}
|
}
|
||||||
std::vector<image> & images()
|
vk::Image image(size_t i) const
|
||||||
{
|
{
|
||||||
return images_;
|
return images_[i];
|
||||||
}
|
}
|
||||||
vk::Format format() const
|
vk::Format format() const
|
||||||
{
|
{
|
||||||
@@ -96,7 +87,5 @@ public:
|
|||||||
int acquire();
|
int acquire();
|
||||||
bool wait(XrDuration timeout = XR_INFINITE_DURATION);
|
bool wait(XrDuration timeout = XR_INFINITE_DURATION);
|
||||||
void release();
|
void release();
|
||||||
|
|
||||||
void update_foveation(XrFoveationProfileFB foveation);
|
|
||||||
};
|
};
|
||||||
} // namespace xr
|
} // 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(
|
add_custom_command(
|
||||||
OUTPUT "${SPV_FILE}-nopt"
|
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}"
|
DEPENDS "${glsl_filename}"
|
||||||
DEPFILE "${SPV_FILE}.d"
|
DEPFILE "${SPV_FILE}.d"
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WIVRN_OPTIMIZE_SHADERS)
|
if (WIVRN_OPTIMIZE_SHADERS)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${SPV_FILE}-opt"
|
OUTPUT "${SPV_FILE}-opt"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
function(add_file_to_target TARGET OUTPUT_FILE)
|
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_custom_target(${TARGET}-${TARGET_SUFFIX} ALL DEPENDS ${OUTPUT_FILE})
|
||||||
add_dependencies(${TARGET} ${TARGET}-${TARGET_SUFFIX})
|
add_dependencies(${TARGET} ${TARGET}-${TARGET_SUFFIX})
|
||||||
|
|||||||
@@ -20,15 +20,14 @@ if (NOT GIT_COMMIT)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT GIT_DESC)
|
if (NOT GIT_DESC)
|
||||||
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
|
message(FATAL_ERROR "GIT_DESC cannot be inferred from .git and was not provided at build time")
|
||||||
message(STATUS "Setting version to ${GIT_DESC} from CMakeLists")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (GIT_COMMIT)
|
if (GIT_COMMIT)
|
||||||
message(STATUS "Setting commit to ${GIT_COMMIT}")
|
message(STATUS "Setting commit to ${GIT_COMMIT}")
|
||||||
else()
|
else()
|
||||||
set(GIT_COMMIT "")
|
message(FATAL_ERROR "GIT_COMMIT cannot be inferred from .git and was not provided at build time")
|
||||||
message(STATUS "Not setting commit")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(${INPUT_FILE} ${OUTPUT_FILE})
|
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)
|
if (WIVRN_USE_SYSTEM_BOOST)
|
||||||
add_library(Boost::pfr ALIAS Boost::headers)
|
add_library(Boost::pfr ALIAS Boost::headers)
|
||||||
else()
|
else()
|
||||||
set(BOOST_INCLUDE_LIBRARIES locale url pfr)
|
set(BOOST_INCLUDE_LIBRARIES locale url pfr iostreams)
|
||||||
FetchContent_MakeAvailable(boost)
|
FetchContent_MakeAvailable(boost)
|
||||||
endif()
|
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)
|
configure_file(wivrn_config.h.in wivrn_config.h)
|
||||||
|
|
||||||
add_library(wivrn-common-base STATIC EXCLUDE_FROM_ALL
|
add_library(wivrn-common-base STATIC EXCLUDE_FROM_ALL
|
||||||
utils/strings.cpp
|
utils/strings.cpp
|
||||||
utils/xdg_base_directory.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
|
add_library(wivrn-common STATIC EXCLUDE_FROM_ALL
|
||||||
crypto.cpp
|
crypto.cpp
|
||||||
@@ -40,14 +28,17 @@ add_library(wivrn-common STATIC EXCLUDE_FROM_ALL
|
|||||||
|
|
||||||
if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
|
if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
|
||||||
add_library(wivrn-common-server STATIC EXCLUDE_FROM_ALL
|
add_library(wivrn-common-server STATIC EXCLUDE_FROM_ALL
|
||||||
|
application.cpp
|
||||||
utils/flatpak.cpp
|
utils/flatpak.cpp
|
||||||
utils/xdg_icon_lookup.cpp
|
|
||||||
utils/steam_app_info.cpp
|
|
||||||
utils/load_icon.cpp
|
utils/load_icon.cpp
|
||||||
utils/ini.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)
|
if (WIVRN_BUILD_TEST)
|
||||||
add_executable(list-apps
|
add_executable(list-apps
|
||||||
@@ -55,6 +46,10 @@ if (WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_SERVER)
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(list-apps wivrn-common-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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
+35
-183
@@ -20,13 +20,12 @@
|
|||||||
#include "application.h"
|
#include "application.h"
|
||||||
|
|
||||||
#include "utils/flatpak.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_base_directory.h"
|
||||||
#include "utils/xdg_icon_lookup.h"
|
#include "utils/xdg_icon_lookup.h"
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
|
||||||
namespace wivrn
|
namespace wivrn
|
||||||
@@ -42,168 +41,6 @@ std::string read_file(const std::filesystem::path & path)
|
|||||||
return {begin, end};
|
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 unescape(std::string_view in)
|
||||||
{
|
{
|
||||||
std::string out;
|
std::string out;
|
||||||
@@ -357,28 +194,33 @@ void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, appl
|
|||||||
dir = dir / "applications";
|
dir = dir / "applications";
|
||||||
if (not std::filesystem::is_directory(dir))
|
if (not std::filesystem::is_directory(dir))
|
||||||
return;
|
return;
|
||||||
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir))
|
try
|
||||||
{
|
{
|
||||||
if (entry.is_directory())
|
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir, std::filesystem::directory_options::skip_permission_denied))
|
||||||
continue;
|
{
|
||||||
|
if (entry.is_directory())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (entry.path().extension() != ".desktop")
|
if (entry.path().extension() != ".desktop")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
|
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
|
||||||
auto file_id = entry.path()
|
auto file_id = entry.path()
|
||||||
.lexically_relative(dir)
|
.lexically_relative(dir)
|
||||||
.replace_extension("")
|
.replace_extension("")
|
||||||
.string();
|
.string();
|
||||||
std::ranges::replace(file_id, '/', '-');
|
std::ranges::replace(file_id, '/', '-');
|
||||||
|
|
||||||
if (res.contains(file_id))
|
if (res.contains(file_id))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto app = do_desktop_entry(entry.path());
|
auto app = do_desktop_entry(entry.path());
|
||||||
if (app)
|
if (app)
|
||||||
res.emplace(std::move(file_id), std::move(*app));
|
res.emplace(std::move(file_id), std::move(*app));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
catch (std::exception & ex)
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
@@ -386,9 +228,19 @@ std::unordered_map<std::string, application> list_applications()
|
|||||||
{
|
{
|
||||||
std::unordered_map<std::string, application> res;
|
std::unordered_map<std::string, application> res;
|
||||||
|
|
||||||
read_steam_vr_apps(res);
|
for (auto & steam: steam::find_installations())
|
||||||
|
{
|
||||||
do_data_dir(xdg_data_home(), res);
|
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())
|
for (auto && dir: xdg_data_dirs())
|
||||||
do_data_dir(std::move(dir), res);
|
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
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -18,28 +18,37 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <any>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <optional>
|
#include <string_view>
|
||||||
#include <unordered_map>
|
#include <variant>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace wivrn
|
namespace wivrn
|
||||||
{
|
{
|
||||||
|
|
||||||
struct steam_icon
|
namespace vdf
|
||||||
{
|
{
|
||||||
std::string clienticon;
|
struct string
|
||||||
std::string linuxclienticon;
|
{
|
||||||
|
std::string_view data;
|
||||||
|
|
||||||
|
bool operator==(const char *) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct steam_shortcut
|
struct keyvalue
|
||||||
{
|
{
|
||||||
uint32_t appid;
|
string key;
|
||||||
std::string name;
|
std::variant<string, std::vector<keyvalue>> value;
|
||||||
std::optional<std::filesystem::path> icon;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unordered_map<uint32_t, steam_icon> read_steam_icons(std::filesystem::path path);
|
struct root : public keyvalue
|
||||||
std::vector<steam_shortcut> read_steam_shortcuts(std::filesystem::path path);
|
{
|
||||||
|
root(const std::filesystem::path &);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::any opaque;
|
||||||
|
};
|
||||||
|
} // namespace vdf
|
||||||
|
|
||||||
} // namespace wivrn
|
} // namespace wivrn
|
||||||
@@ -45,7 +45,7 @@ std::filesystem::path xdg_cache_home()
|
|||||||
|
|
||||||
std::filesystem::path xdg_data_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;
|
return xdg_data_home;
|
||||||
|
|
||||||
if (const char * home = std::getenv("HOME"))
|
if (const char * home = std::getenv("HOME"))
|
||||||
@@ -71,9 +71,11 @@ std::vector<std::filesystem::path> xdg_config_dirs()
|
|||||||
return paths;
|
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;
|
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"))
|
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_cache_home();
|
||||||
std::filesystem::path xdg_data_home();
|
std::filesystem::path xdg_data_home();
|
||||||
std::vector<std::filesystem::path> xdg_config_dirs();
|
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 <algorithm>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
#include <format>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <optional>
|
#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 theme_dir = base_dir / "icons" / theme;
|
||||||
const auto index_theme = theme_dir / "index.theme";
|
const auto index_theme = theme_dir / "index.theme";
|
||||||
|
|
||||||
if (not std::filesystem::exists(index_theme))
|
if (std::filesystem::exists(index_theme))
|
||||||
continue;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
std::ifstream file{index_theme};
|
try
|
||||||
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))
|
std::ifstream file{index_theme};
|
||||||
themes.push_back(inherited_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,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
catch (std::exception & e)
|
||||||
for (auto directory: utils::split(index.get<std::string>("Icon Theme", "Directories", ""), ","))
|
|
||||||
{
|
{
|
||||||
int size = index.get<int>(directory, "Size");
|
|
||||||
int scale = index.get<int>(directory, "Scale", 1);
|
|
||||||
int min_size = index.get<int>(directory, "MinSize", size);
|
|
||||||
int max_size = index.get<int>(directory, "MaxSize", size);
|
|
||||||
int threshold = index.get<int>(directory, "Threshold", 2);
|
|
||||||
|
|
||||||
std::string type_str = index.get<std::string>(directory, "Type", "Threshold");
|
|
||||||
|
|
||||||
icon_theme_type type = icon_theme_type::threshold;
|
|
||||||
if (type_str == "Fixed")
|
|
||||||
type = icon_theme_type::fixed;
|
|
||||||
else if (type_str == "Scalable")
|
|
||||||
type = icon_theme_type::scalable;
|
|
||||||
else if (type_str == "Threshold")
|
|
||||||
type = icon_theme_type::threshold;
|
|
||||||
|
|
||||||
dirs.push_back(icon_theme_dir{
|
|
||||||
.path = theme_dir / directory,
|
|
||||||
.size = size,
|
|
||||||
.scale = scale,
|
|
||||||
.type = type,
|
|
||||||
.min_size = min_size,
|
|
||||||
.max_size = max_size,
|
|
||||||
.threshold = threshold,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+45
-1
@@ -39,7 +39,7 @@
|
|||||||
namespace wivrn
|
namespace wivrn
|
||||||
{
|
{
|
||||||
|
|
||||||
static constexpr int protocol_revision = 0;
|
static constexpr int protocol_revision = 1;
|
||||||
|
|
||||||
enum class device_id : uint8_t
|
enum class device_id : uint8_t
|
||||||
{
|
{
|
||||||
@@ -173,6 +173,19 @@ enum video_codec
|
|||||||
raw,
|
raw,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class stream_tab : uint8_t
|
||||||
|
{
|
||||||
|
hidden,
|
||||||
|
overlay_only,
|
||||||
|
compact,
|
||||||
|
stats,
|
||||||
|
settings,
|
||||||
|
bitrate_settings,
|
||||||
|
foveation_settings,
|
||||||
|
applications,
|
||||||
|
application_launcher,
|
||||||
|
};
|
||||||
|
|
||||||
struct audio_data
|
struct audio_data
|
||||||
{
|
{
|
||||||
XrTime timestamp;
|
XrTime timestamp;
|
||||||
@@ -512,6 +525,11 @@ struct user_presence_changed
|
|||||||
bool present;
|
bool present;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct stream_tab_changed
|
||||||
|
{
|
||||||
|
stream_tab tab;
|
||||||
|
};
|
||||||
|
|
||||||
struct override_foveation_center
|
struct override_foveation_center
|
||||||
{
|
{
|
||||||
bool enabled;
|
bool enabled;
|
||||||
@@ -565,6 +583,7 @@ using packets = std::variant<
|
|||||||
refresh_rate_changed,
|
refresh_rate_changed,
|
||||||
session_state_changed,
|
session_state_changed,
|
||||||
user_presence_changed,
|
user_presence_changed,
|
||||||
|
stream_tab_changed,
|
||||||
override_foveation_center,
|
override_foveation_center,
|
||||||
get_application_list,
|
get_application_list,
|
||||||
start_app,
|
start_app,
|
||||||
@@ -608,6 +627,22 @@ struct handshake
|
|||||||
int stream_port;
|
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
|
struct foveation_parameter
|
||||||
{
|
{
|
||||||
// The number of source pixels for each ratio,
|
// The number of source pixels for each ratio,
|
||||||
@@ -643,6 +678,8 @@ struct video_stream_description
|
|||||||
uint16_t height;
|
uint16_t height;
|
||||||
std::array<video_codec, 3> codec; // left, right, alpha
|
std::array<video_codec, 3> codec; // left, right, alpha
|
||||||
float fps;
|
float fps;
|
||||||
|
|
||||||
|
bool operator==(const video_stream_description &) const = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
class video_stream_data_shard
|
class video_stream_data_shard
|
||||||
@@ -730,6 +767,11 @@ struct refresh_rate_change
|
|||||||
float fps;
|
float fps;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct stream_tab_change
|
||||||
|
{
|
||||||
|
stream_tab tab;
|
||||||
|
};
|
||||||
|
|
||||||
struct application_list
|
struct application_list
|
||||||
{
|
{
|
||||||
std::string language;
|
std::string language;
|
||||||
@@ -766,6 +808,7 @@ using packets = std::variant<
|
|||||||
pin_check_2,
|
pin_check_2,
|
||||||
pin_check_4,
|
pin_check_4,
|
||||||
handshake,
|
handshake,
|
||||||
|
server_message,
|
||||||
audio_stream_description,
|
audio_stream_description,
|
||||||
video_stream_description,
|
video_stream_description,
|
||||||
audio_data,
|
audio_data,
|
||||||
@@ -775,6 +818,7 @@ using packets = std::variant<
|
|||||||
tracking_control,
|
tracking_control,
|
||||||
feature_control,
|
feature_control,
|
||||||
refresh_rate_change,
|
refresh_rate_change,
|
||||||
|
stream_tab_change,
|
||||||
application_list,
|
application_list,
|
||||||
application_icon,
|
application_icon,
|
||||||
running_applications>;
|
running_applications>;
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ include(I18n)
|
|||||||
ecm_find_qmlmodule(org.kde.kirigami REQUIRED)
|
ecm_find_qmlmodule(org.kde.kirigami REQUIRED)
|
||||||
ecm_find_qmlmodule(org.kde.kirigamiaddons.formcard 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
|
add_executable(wivrn-dashboard
|
||||||
avahi.cpp
|
avahi.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<li>Samsung Galaxy XR</li>
|
<li>Samsung Galaxy XR</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>For desktop streaming, check out wlx-overlay-s.</p>
|
<p>For desktop streaming, check out WayVR.</p>
|
||||||
</description>
|
</description>
|
||||||
<developer id="io.github.wivrn.wivrn">
|
<developer id="io.github.wivrn.wivrn">
|
||||||
<name>Guillaume Meunier, Patrick Nicolas et al</name>
|
<name>Guillaume Meunier, Patrick Nicolas et al</name>
|
||||||
@@ -68,6 +68,16 @@
|
|||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
|
|
||||||
<releases>
|
<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">
|
<release version="25.12" date="2025-12-19">
|
||||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.12</url>
|
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.12</url>
|
||||||
<description>
|
<description>
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ Kirigami.ApplicationWindow {
|
|||||||
text: i18n("Firewall may not allow port 9757")
|
text: i18n("Firewall may not allow port 9757")
|
||||||
type: Kirigami.MessageType.Warning
|
type: Kirigami.MessageType.Warning
|
||||||
showCloseButton: true
|
showCloseButton: true
|
||||||
visible: DashboardSettings.show_system_checks && Firewall.needSetup
|
visible: DashboardSettings.show_system_checks && Firewall.needSetup && Settings.port == Settings.default_port
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Fix it")
|
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 {
|
Kirigami.InlineMessage {
|
||||||
Layout.fillWidth: true
|
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")
|
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 {
|
ColumnLayout {
|
||||||
id: select_game
|
id: select_game
|
||||||
|
|
||||||
property bool json_loaded: false
|
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
apps.append({
|
apps.append({
|
||||||
"name": i18nc("don't start an application automatically", "None"),
|
"name": i18nc("don't start an application automatically", "None"),
|
||||||
@@ -75,13 +73,8 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function reload() {
|
|
||||||
select_game.json_loaded = false;
|
|
||||||
load();
|
|
||||||
}
|
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
|
if (WivrnServer.jsonConfiguration == "")
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Settings.load(WivrnServer);
|
Settings.load(WivrnServer);
|
||||||
@@ -103,22 +96,12 @@ ColumnLayout {
|
|||||||
app_text.text = Settings.application;
|
app_text.text = Settings.application;
|
||||||
app_combobox.currentIndex = custom_idx;
|
app_combobox.currentIndex = custom_idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
select_game.json_loaded = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function save() {
|
function save() {
|
||||||
var new_application;
|
|
||||||
|
|
||||||
if (apps.get(app_combobox.currentIndex).is_custom)
|
if (apps.get(app_combobox.currentIndex).is_custom)
|
||||||
new_application = app_text.text;
|
Settings.application = app_text.text;
|
||||||
else
|
else
|
||||||
new_application = apps.get(app_combobox.currentIndex).command;
|
Settings.application = apps.get(app_combobox.currentIndex).command;
|
||||||
|
|
||||||
Settings.load(WivrnServer);
|
|
||||||
if (Settings.application != new_application) {
|
|
||||||
Settings.application = new_application;
|
|
||||||
Settings.save(WivrnServer);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+45
-1
@@ -21,6 +21,7 @@
|
|||||||
#include "escape_string.h"
|
#include "escape_string.h"
|
||||||
#include "gui_config.h"
|
#include "gui_config.h"
|
||||||
#include "utils/flatpak.h"
|
#include "utils/flatpak.h"
|
||||||
|
#include "wivrn_config.h"
|
||||||
#include "wivrn_server.h"
|
#include "wivrn_server.h"
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
@@ -121,6 +122,8 @@ void Settings::emitAllChanged()
|
|||||||
debugGuiChanged();
|
debugGuiChanged();
|
||||||
steamVrLhChanged();
|
steamVrLhChanged();
|
||||||
hidForwardingChanged();
|
hidForwardingChanged();
|
||||||
|
portChanged();
|
||||||
|
hostnameChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Settings::load(const wivrn_server * server)
|
void Settings::load(const wivrn_server * server)
|
||||||
@@ -429,6 +432,40 @@ void Settings::set_tcpOnly(const bool & value)
|
|||||||
tcpOnlyChanged();
|
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
|
QString Settings::openvr() const
|
||||||
{
|
{
|
||||||
// OpenVR compat library
|
// OpenVR compat library
|
||||||
@@ -452,7 +489,7 @@ void Settings::set_openvr(const QString & value)
|
|||||||
else
|
else
|
||||||
m_jsonSettings["openvr-compat-path"] = value.toStdString();
|
m_jsonSettings["openvr-compat-path"] = value.toStdString();
|
||||||
if (old != value)
|
if (old != value)
|
||||||
tcpOnlyChanged();
|
openvrChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<Settings::video_codec> Settings::allowedCodecs() const
|
QList<Settings::video_codec> Settings::allowedCodecs() const
|
||||||
@@ -504,6 +541,8 @@ void Settings::restore_defaults()
|
|||||||
m_jsonSettings.erase("use-steamvr-lh");
|
m_jsonSettings.erase("use-steamvr-lh");
|
||||||
m_jsonSettings.erase("tcp-only");
|
m_jsonSettings.erase("tcp-only");
|
||||||
m_jsonSettings.erase("application");
|
m_jsonSettings.erase("application");
|
||||||
|
m_jsonSettings.erase("port");
|
||||||
|
m_jsonSettings.erase("hostname");
|
||||||
emitAllChanged();
|
emitAllChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -512,6 +551,11 @@ bool Settings::flatpak() const
|
|||||||
return wivrn::is_flatpak();
|
return wivrn::is_flatpak();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int Settings::default_port() const
|
||||||
|
{
|
||||||
|
return wivrn::default_port;
|
||||||
|
}
|
||||||
|
|
||||||
bool Settings::debug_gui() const
|
bool Settings::debug_gui() const
|
||||||
{
|
{
|
||||||
#if WIVRN_FEATURE_DEBUG_GUI
|
#if WIVRN_FEATURE_DEBUG_GUI
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ public:
|
|||||||
Q_PROPERTY(bool tenbit READ tenbit WRITE set_tenbit NOTIFY tenbitChanged)
|
Q_PROPERTY(bool tenbit READ tenbit WRITE set_tenbit NOTIFY tenbitChanged)
|
||||||
|
|
||||||
Q_PROPERTY(bool tcpOnly READ tcpOnly WRITE set_tcpOnly NOTIFY tcpOnlyChanged)
|
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 application READ application WRITE set_application NOTIFY applicationChanged)
|
||||||
Q_PROPERTY(QString openvr READ openvr WRITE set_openvr NOTIFY openvrChanged)
|
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 steamVrLh READ steamVrLh WRITE set_steamVrLh NOTIFY steamVrLhChanged)
|
||||||
|
|
||||||
Q_PROPERTY(bool flatpak READ flatpak CONSTANT)
|
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 hid_forwarding_supported READ hid_forwarding CONSTANT)
|
||||||
Q_PROPERTY(bool debug_gui_supported READ debug_gui CONSTANT)
|
Q_PROPERTY(bool debug_gui_supported READ debug_gui CONSTANT)
|
||||||
Q_PROPERTY(bool steamvr_lh_supported READ steamvr_lh 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, debugGui)
|
||||||
SETTER_GETTER_NOTIFY(bool, steamVrLh)
|
SETTER_GETTER_NOTIFY(bool, steamVrLh)
|
||||||
SETTER_GETTER_NOTIFY(bool, tcpOnly)
|
SETTER_GETTER_NOTIFY(bool, tcpOnly)
|
||||||
|
SETTER_GETTER_NOTIFY(int, port)
|
||||||
|
SETTER_GETTER_NOTIFY(QString, hostname)
|
||||||
SETTER_GETTER_NOTIFY(QString, openvr)
|
SETTER_GETTER_NOTIFY(QString, openvr)
|
||||||
private:
|
private:
|
||||||
nlohmann::json m_jsonSettings = nlohmann::json::object();
|
nlohmann::json m_jsonSettings = nlohmann::json::object();
|
||||||
@@ -107,6 +112,7 @@ public:
|
|||||||
bool can10bit() const;
|
bool can10bit() const;
|
||||||
|
|
||||||
bool flatpak() const;
|
bool flatpak() const;
|
||||||
|
int default_port() const;
|
||||||
bool debug_gui() const;
|
bool debug_gui() const;
|
||||||
bool steamvr_lh() const;
|
bool steamvr_lh() const;
|
||||||
bool hid_forwarding() const;
|
bool hid_forwarding() const;
|
||||||
|
|||||||
@@ -24,14 +24,40 @@
|
|||||||
|
|
||||||
vulkan_info::vulkan_info()
|
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::ApplicationInfo app_info{"WiVRn dashboard", 1, "No engine", 1, VK_API_VERSION_1_1};
|
||||||
vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info};
|
vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info};
|
||||||
vk::raii::Instance vulkan{context, instance_info};
|
vk::raii::Instance vulkan{context, instance_info};
|
||||||
|
|
||||||
auto devices = vulkan.enumeratePhysicalDevices();
|
auto devices = vulkan.enumeratePhysicalDevices();
|
||||||
set_info(choose_device(devices));
|
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)
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_type = cast_type(prop.properties.deviceType);
|
||||||
|
|
||||||
qDebug() << "Driver" << m_driverId << m_driverVersion;
|
qDebug() << "Driver" << m_driverId << m_driverVersion;
|
||||||
}
|
}
|
||||||
|
|||||||
+19
-1
@@ -33,14 +33,27 @@ class vulkan_info : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
QML_NAMED_ELEMENT(VulkanInfo)
|
QML_NAMED_ELEMENT(VulkanInfo)
|
||||||
QML_SINGLETON
|
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 driverId READ driverId CONSTANT)
|
||||||
Q_PROPERTY(QString driverVersion READ driverVersion CONSTANT)
|
Q_PROPERTY(QString driverVersion READ driverVersion CONSTANT)
|
||||||
Q_PROPERTY(uint32_t driverVersionCode READ driverVersionCode CONSTANT)
|
Q_PROPERTY(uint32_t driverVersionCode READ driverVersionCode CONSTANT)
|
||||||
|
Q_PROPERTY(gpu_type type READ type CONSTANT)
|
||||||
|
|
||||||
QString m_driverId;
|
QString m_driverId;
|
||||||
QString m_driverVersion;
|
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);
|
vk::raii::PhysicalDevice & choose_device(std::vector<vk::raii::PhysicalDevice> & devices);
|
||||||
void set_info(vk::raii::PhysicalDevice & device);
|
void set_info(vk::raii::PhysicalDevice & device);
|
||||||
@@ -62,4 +75,9 @@ public:
|
|||||||
{
|
{
|
||||||
return m_driverVersionCode;
|
return m_driverVersionCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpu_type type() const
|
||||||
|
{
|
||||||
|
return m_type;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -73,6 +73,11 @@
|
|||||||
<property name="PairingEnabled" type="b" access="read"/>
|
<property name="PairingEnabled" type="b" access="read"/>
|
||||||
<property name="EncryptionEnabled" 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">
|
<signal name="ServerError">
|
||||||
<arg type="s" name="where"/>
|
<arg type="s" name="where"/>
|
||||||
<arg type="s" name="message"/>
|
<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.
|
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.
|
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`
|
### `encoder`
|
||||||
Default value: `nvenc` if Nvidia GPU and compiled with nvenc, `vaapi` for all other GPU when compiled with ffmpeg, else `x264`.
|
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.
|
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
|
### Examples
|
||||||
1. Simple configuration
|
1. Simple configuration
|
||||||
```json
|
```json
|
||||||
@@ -158,3 +151,13 @@ Default value: `false`
|
|||||||
Only available when built with `WIVRN_FEATURE_STEAMVR_LIGHTHOUSE`
|
Only available when built with `WIVRN_FEATURE_STEAMVR_LIGHTHOUSE`
|
||||||
|
|
||||||
Enables the driver to load SteamVR Lighthouse devices.
|
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
|
# Keep in sync with CMakeLists.txt monado rev
|
||||||
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
||||||
# Nix will output the correct hash when it doesn't match
|
# Nix will output the correct hash when it doesn't match
|
||||||
hash = "sha256-sz8scctqPxYcZL5fEVu/YSNPhW62swHncU0W2j+KMUs=";
|
hash = "sha256-M0SQMu1rgY++a+4r0DK//ralFEO5w7I3UrgLecoLO+A=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
|
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
|
||||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
|
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
|
||||||
|
cmakeFlags = (oldAttrs.cmakeFlags or []) ++ [
|
||||||
|
(lib.cmakeFeature "GIT_DESC" "nightly")
|
||||||
|
(lib.cmakeFeature "GIT_COMMIT" "nightly")
|
||||||
|
];
|
||||||
}));
|
}));
|
||||||
in {
|
in {
|
||||||
packages = {
|
packages = {
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ modules:
|
|||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/Supreeeme/xrizer.git
|
url: https://github.com/Supreeeme/xrizer.git
|
||||||
tag: 01ab72809f2bd5c6494fa77fb08e4229c886da7a
|
tag: be664bb93eebdd82336d00230154bacc6f8b9765
|
||||||
- xrizer-gen-src.json
|
- xrizer-gen-src.json
|
||||||
|
|
||||||
- name: wivrn-library
|
- name: wivrn-library
|
||||||
@@ -376,6 +376,7 @@ modules:
|
|||||||
- -DWIVRN_BUILD_SERVER=ON
|
- -DWIVRN_BUILD_SERVER=ON
|
||||||
- -DWIVRN_BUILD_SERVER_LIBRARY=OFF
|
- -DWIVRN_BUILD_SERVER_LIBRARY=OFF
|
||||||
- -DWIVRN_BUILD_DASHBOARD=ON
|
- -DWIVRN_BUILD_DASHBOARD=ON
|
||||||
|
- -DWIVRN_OPTIMIZE_SHADERS=OFF
|
||||||
- -DWIVRN_USE_VAAPI=ON
|
- -DWIVRN_USE_VAAPI=ON
|
||||||
- -DWIVRN_USE_X264=ON
|
- -DWIVRN_USE_X264=ON
|
||||||
- -DWIVRN_USE_NVENC=ON
|
- -DWIVRN_USE_NVENC=ON
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-01-07 09:11+0100\n"
|
"POT-Creation-Date: 2026-02-26 15:00+0100\n"
|
||||||
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
|
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
|
||||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||||
"Language-Team: Spanish <>\n"
|
"Language-Team: Spanish <>\n"
|
||||||
@@ -15,7 +15,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\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-Language: es_ES\n"
|
||||||
"X-Source-Language: en_US\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"
|
msgid "No APK is available for this version"
|
||||||
msgstr "No hay ningún APK disponible para esta versión"
|
msgstr "No hay ningún APK disponible para esta versión"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:350
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||||
#: dashboard/qml/Main.qml:408 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -135,13 +135,13 @@ msgstr ""
|
|||||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Follow the instructions in the <a "
|
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||||
"href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">documentation</a> "
|
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||||
"to build your own client."
|
"client."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Sigue las instrucciones en la <a "
|
"Sigue las instrucciones en la <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||||
"href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">documentación</a> "
|
"master/docs/building.md#client-headset\">documentación</a> para compilar tu "
|
||||||
"para compilar tu propio cliente."
|
"propio cliente."
|
||||||
|
|
||||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -163,7 +163,7 @@ msgstr "Reinstalar WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Instalar WiVRn"
|
msgstr "Instalar WiVRn"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:413
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Visores"
|
msgstr "Visores"
|
||||||
@@ -265,28 +265,42 @@ msgstr "Estadísticas del visor"
|
|||||||
msgid "WiVRn dashboard"
|
msgid "WiVRn dashboard"
|
||||||
msgstr "Panel de control de WiVRn"
|
msgstr "Panel de control de WiVRn"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:124
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "Salir de WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"El servidor de WiVRn está activo.\n"
|
||||||
|
"Cerrar la ventana parará el servidor."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "El servicio Avahi no está instalado"
|
msgstr "El servicio Avahi no está instalado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:132
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "El servicio Avahi no está iniciado"
|
msgstr "El servicio Avahi no está iniciado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:139 dashboard/qml/Main.qml:153
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:205
|
#: dashboard/qml/Main.qml:231
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Arreglarlo"
|
msgstr "Arreglarlo"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:147
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "El firewall podría no permitir el puerto 9757"
|
msgstr "El firewall podría no permitir el puerto 9757"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:161
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
@@ -294,12 +308,24 @@ msgstr ""
|
|||||||
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
|
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
|
||||||
"versión actual es %1"
|
"versión actual es %1"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:167
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "Más información"
|
msgstr "Más información"
|
||||||
|
|
||||||
#: 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 ""
|
||||||
|
"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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -308,7 +334,7 @@ msgstr ""
|
|||||||
"Usa el controlador Mesa (radv) para las GPU AMD\n"
|
"Usa el controlador Mesa (radv) para las GPU AMD\n"
|
||||||
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
|
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:183
|
#: dashboard/qml/Main.qml:209
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -318,144 +344,144 @@ msgstr ""
|
|||||||
"en VR.\n"
|
"en VR.\n"
|
||||||
"Instala xrizer o OpenComposite."
|
"Instala xrizer o OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:191
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn."
|
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:199
|
#: dashboard/qml/Main.qml:225
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Steam está instalado con flatpak, pero no tiene los suficientes permisos."
|
"Steam está instalado con flatpak, pero no tiene los suficientes permisos."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:214
|
#: dashboard/qml/Main.qml:240
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr "Reinicia el servidor para que los cambios surtan efecto"
|
msgstr "Reinicia el servidor para que los cambios surtan efecto"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:220
|
#: dashboard/qml/Main.qml:246
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "Reiniciar ahora"
|
msgstr "Reiniciar ahora"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:245
|
#: dashboard/qml/Main.qml:271
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "El servidor no pudo iniciar"
|
msgstr "El servidor no pudo iniciar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:251 dashboard/qml/TroubleshootPage.qml:89
|
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Abrir registros del servidor"
|
msgstr "Abrir registros del servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:277
|
#: dashboard/qml/Main.qml:303
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server status"
|
msgid "Server status"
|
||||||
msgstr "Estado del servidor"
|
msgstr "Estado del servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:283
|
#: dashboard/qml/Main.qml:309
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "En ejecución"
|
msgstr "En ejecución"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:296
|
#: dashboard/qml/Main.qml:322
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Emparejando"
|
msgstr "Emparejando"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:316
|
#: dashboard/qml/Main.qml:342
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headset status"
|
msgid "Headset status"
|
||||||
msgstr "Estado del visor"
|
msgstr "Estado del visor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:323
|
#: dashboard/qml/Main.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for headset name/status under server running switch"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgid "Headset"
|
msgid "Headset"
|
||||||
msgstr "Visor"
|
msgstr "Visor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:326
|
#: dashboard/qml/Main.qml:352
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Not connected"
|
msgid "Not connected"
|
||||||
msgstr "No conectado"
|
msgstr "No conectado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:330
|
#: dashboard/qml/Main.qml:356
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
msgstr "Desconectar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:339 dashboard/qml/Main.qml:347
|
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||||
#: dashboard/qml/Main.qml:354
|
#: dashboard/qml/Main.qml:380
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for USB status or connect button"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "USB"
|
msgid "USB"
|
||||||
msgstr "USB"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:340
|
#: dashboard/qml/Main.qml:366
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "usb connect button"
|
msgctxt "usb connect button"
|
||||||
msgid "Connect (wired)"
|
msgid "Connect (wired)"
|
||||||
msgstr "Conectar (cableado)"
|
msgstr "Conectar (cableado)"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:357 dashboard/qml/WizardPage.qml:339
|
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
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"
|
msgstr "No hay ningún visor conectado o tu visor no está en modo desarrollador"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:378
|
#: dashboard/qml/Main.qml:404
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Información de Steam"
|
msgstr "Información de Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:394
|
#: dashboard/qml/Main.qml:420
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Asistente"
|
msgstr "Asistente"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:400
|
#: dashboard/qml/Main.qml:426
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Instalar aplicación"
|
msgstr "Instalar aplicación"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:419 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Ajustes"
|
msgstr "Ajustes"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:425
|
#: dashboard/qml/Main.qml:451
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Acerca de"
|
msgstr "Acerca de"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:430 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Solucionar problemas"
|
msgstr "Solucionar problemas"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:437
|
#: dashboard/qml/Main.qml:463
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Version %1"
|
msgid "Version %1"
|
||||||
msgstr "Versión %1"
|
msgstr "Versión %1"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:14
|
#: dashboard/qml/SelectGame.qml:12
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "don't start an application automatically"
|
msgctxt "don't start an application automatically"
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr "Ninguno"
|
msgstr "Ninguno"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:20
|
#: dashboard/qml/SelectGame.qml:18
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "choose a custom application to start"
|
msgctxt "choose a custom application to start"
|
||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Personalizado"
|
msgstr "Personalizado"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:72
|
#: dashboard/qml/SelectGame.qml:70
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the application to start"
|
msgctxt "browse a file to choose the application to start"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
@@ -682,9 +708,9 @@ msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
|
|||||||
#: dashboard/qml/TroubleshootPage.qml:37
|
#: dashboard/qml/TroubleshootPage.qml:37
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"<p>The version of the headset app and the server on your computer must "
|
"<p>The version of the headset app and the server on your computer must match."
|
||||||
"match.</p><ul><li>The headset app version is in the \"About\" "
|
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||||
"page</li><li>The server version is <b>%1</b></li></ul>"
|
"server version is <b>%1</b></li></ul>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<p>La versión de la aplicación del visor y la del servidor en tu computadora "
|
"<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 "
|
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
|
||||||
@@ -736,13 +762,12 @@ msgstr "Algunos juegos fallan al abrirse o tienen problemas de input"
|
|||||||
#: dashboard/qml/TroubleshootPage.qml:62
|
#: dashboard/qml/TroubleshootPage.qml:62
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"For game specific issues, check on <a "
|
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
||||||
"href=\"https://db.vronlinux.org/\">vronlinux DB</a> if there are known bugs "
|
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
||||||
"or workarounds."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Para problemas específicos de un juego, mirar en <a "
|
"Para problemas específicos de un juego, mirar en <a href=\"https://"
|
||||||
"href=\"https://db.vronlinux.org/\">vronlinux DB</a> por si hubiese algún "
|
"db.vronlinux.org/\">vronlinux DB</a> por si hubiese algún problema conocido "
|
||||||
"problema conocido o por soluciones."
|
"o por soluciones."
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:79
|
#: dashboard/qml/TroubleshootPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -946,12 +971,12 @@ msgstr "Finalizar"
|
|||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "Terminado"
|
msgstr "Terminado"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:538
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:539
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "Open Composite"
|
msgstr "Open Composite"
|
||||||
|
|||||||
+154
-144
@@ -5,7 +5,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn 0.15\n"
|
"Project-Id-Version: WiVRn 0.15\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-29 15:56+0100\n"
|
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
|
||||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||||
"Language-Team: Spanish <>\n"
|
"Language-Team: Spanish <>\n"
|
||||||
@@ -14,7 +14,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\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-Language: es_ES\n"
|
||||||
"X-Source-Language: en_US\n"
|
"X-Source-Language: en_US\n"
|
||||||
|
|
||||||
@@ -22,26 +22,26 @@ msgstr ""
|
|||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "Formato de swapchain no compatible"
|
msgstr "Formato de swapchain no compatible"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:128
|
#: client/scenes/app_launcher.cpp:127
|
||||||
msgid "Connected to WiVRn server"
|
msgid "Connected to WiVRn server"
|
||||||
msgstr "Conectado al servidor WiVRn"
|
msgstr "Conectado al servidor WiVRn"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:130
|
#: client/scenes/app_launcher.cpp:129
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connected to {}"
|
msgid "Connected to {}"
|
||||||
msgstr "Connectado a {}"
|
msgstr "Connectado a {}"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:136
|
#: client/scenes/app_launcher.cpp:135
|
||||||
msgid "Start an application on the server to start streaming."
|
msgid "Start an application on the server to start streaming."
|
||||||
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión."
|
msgstr "Inicia una aplicación en el servidor para empezar la retransmisió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."
|
msgid "Start an application on your computer or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
|
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
|
||||||
"retransmisión."
|
"retransmisión."
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:148
|
#: client/scenes/app_launcher.cpp:147
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -70,11 +70,11 @@ msgstr "No se puede conectar a {} ({}): {}"
|
|||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "Esperando conexión"
|
msgstr "Esperando conexión"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1319
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "Exterior"
|
msgstr "Exterior"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1331
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "Entorno por defecto"
|
msgstr "Entorno por defecto"
|
||||||
|
|
||||||
@@ -93,14 +93,15 @@ msgctxt "openxr_post_processing"
|
|||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Deshabilitado"
|
msgstr "Deshabilitado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1026
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
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: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"
|
msgid "Close"
|
||||||
msgstr "Cerrar"
|
msgstr "Cerrar"
|
||||||
|
|
||||||
@@ -121,32 +122,41 @@ msgstr "PIN"
|
|||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "Ingresa el PIN que se muestra en el panel de control"
|
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
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
|
#, c++-format
|
||||||
|
msgid "Disconnected from {}"
|
||||||
|
msgstr "Desconectado de {}"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:316
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nombre"
|
msgstr "Nombre"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:295
|
#: client/scenes/lobby_gui.cpp:327
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "Dirección"
|
msgstr "Dirección"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:304
|
#: client/scenes/lobby_gui.cpp:336
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "Puerto"
|
msgstr "Puerto"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:312
|
#: client/scenes/lobby_gui.cpp:344
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "Solo TCP"
|
msgstr "Solo TCP"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:978
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Cancelar"
|
msgstr "Cancelar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:365
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Guardar"
|
msgstr "Guardar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:386
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -154,46 +164,46 @@ msgstr ""
|
|||||||
"Inicia un servidor WiVRn en tu\n"
|
"Inicia un servidor WiVRn en tu\n"
|
||||||
"red local"
|
"red local"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:418
|
#: client/scenes/lobby_gui.cpp:450
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "Conexión automática"
|
msgstr "Conexión automática"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:444
|
#: client/scenes/lobby_gui.cpp:476
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Conectar"
|
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"
|
msgid "Incompatible server version"
|
||||||
msgstr "Versión del servidor incompatible"
|
msgstr "Versión del servidor incompatible"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:456
|
#: client/scenes/lobby_gui.cpp:488
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "Servidor no disponible"
|
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"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "Español"
|
msgstr "Español"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:552
|
#: client/scenes/lobby_gui.cpp:595
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Idioma"
|
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"
|
msgid "System language"
|
||||||
msgstr "Idioma del sistema"
|
msgstr "Idioma 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"
|
msgid "Refresh rate"
|
||||||
msgstr "Frecuencia de actualización"
|
msgstr "Frecuencia de actualización"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automática"
|
msgstr "Automática"
|
||||||
|
|
||||||
#: 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 ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -202,38 +212,38 @@ msgstr ""
|
|||||||
"aplicación.\n"
|
"aplicación.\n"
|
||||||
"Puede causar parpadeos cuando ocurre un cambio."
|
"Puede causar parpadeos cuando ocurre un cambio."
|
||||||
|
|
||||||
#: 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"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Tasa mínima de refresco"
|
msgstr "Tasa mínima de refresco"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:632
|
#: client/scenes/lobby_gui.cpp:675
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "Nivel de fóvea"
|
msgstr "Nivel de fóvea"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:655
|
#: client/scenes/lobby_gui.cpp:698
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "Resolución de renderizado"
|
msgstr "Resolución de renderizado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:659
|
#: client/scenes/lobby_gui.cpp:702
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - {}x{} por ojo"
|
msgstr "{}%% - {}x{} por ojo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:670
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
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"
|
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"
|
msgid "Foveated encoding"
|
||||||
msgstr "Codificación foveada"
|
msgstr "Codificación foveada"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:684
|
#: client/scenes/lobby_gui.cpp:727
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{}%%"
|
msgstr "{}%%"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:697
|
#: client/scenes/lobby_gui.cpp:740
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality where you look at,\n"
|
"Higher values focus image quality where you look at,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"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"
|
"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."
|
"mejorando la latencia, eficiencia energética y calidad."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:700
|
#: client/scenes/lobby_gui.cpp:743
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality at the center,\n"
|
"Higher values focus image quality at the center,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"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"
|
"Un mayor valor hará que la calidad de la imagen se centre en el centro\n"
|
||||||
"mejorando la latencia, eficiencia energética y calidad."
|
"mejorando la latencia, eficiencia energética y calidad."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:709
|
#: client/scenes/lobby_gui.cpp:752
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automático"
|
msgstr "Automático"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:756
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:715
|
#: client/scenes/lobby_gui.cpp:758
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:717
|
#: client/scenes/lobby_gui.cpp:760
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:725
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "Codec"
|
msgstr "Codec"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:753
|
#: client/scenes/lobby_gui.cpp:796
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10-bit"
|
msgstr "10-bit"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:768
|
#: client/scenes/lobby_gui.cpp:812
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "Bitrate"
|
msgstr "Bitrate"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:772
|
#: client/scenes/lobby_gui.cpp:816
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{}Mbit/s"
|
msgstr "{}Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:783
|
#: client/scenes/lobby_gui.cpp:827
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "Modo de alto rendimiento"
|
msgstr "Modo de alto rendimiento"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:786
|
#: client/scenes/lobby_gui.cpp:830
|
||||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Incrementa el uso de energía para permitir una mayor resolución y frecuencia "
|
"Incrementa el uso de energía para permitir una mayor resolución y frecuencia "
|
||||||
"de refresco"
|
"de refresco"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:792
|
#: client/scenes/lobby_gui.cpp:836
|
||||||
msgid "Enable microphone"
|
msgid "Enable microphone"
|
||||||
msgstr "Activar micrófono"
|
msgstr "Activar micrófono"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:801
|
#: client/scenes/lobby_gui.cpp:845
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "Entrada de audio sin procesar"
|
msgstr "Entrada de audio sin procesar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:807
|
#: client/scenes/lobby_gui.cpp:851
|
||||||
msgid "Force disable audio filters, such as noise cancellation"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
||||||
"ruido"
|
"ruido"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:814
|
#: client/scenes/lobby_gui.cpp:858
|
||||||
msgid "Enable hand tracking"
|
msgid "Enable hand tracking"
|
||||||
msgstr "Activar seguimiento de manos"
|
msgstr "Activar seguimiento de manos"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||||
#: client/scenes/lobby_gui_customize.cpp:640
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "Esta función no es compatible con tu visor"
|
msgstr "Esta función no es compatible con tu visor"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:825
|
#: client/scenes/lobby_gui.cpp:869
|
||||||
msgid "Enable eye tracking"
|
msgid "Enable eye tracking"
|
||||||
msgstr "Activar seguimiento ocular"
|
msgstr "Activar seguimiento ocular"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:836
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "Activar seguimiento facial"
|
msgstr "Activar seguimiento facial"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:848
|
#: client/scenes/lobby_gui.cpp:892
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "Habilitar seguimiento corporal"
|
msgstr "Habilitar seguimiento corporal"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:861
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -343,11 +353,11 @@ msgstr ""
|
|||||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||||
"el visor"
|
"el visor"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:871
|
#: client/scenes/lobby_gui.cpp:915
|
||||||
msgid "Enable lower body tracking"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:877
|
#: client/scenes/lobby_gui.cpp:921
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"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 "
|
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||||
"movimiento de Quest"
|
"movimiento de Quest"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:880
|
#: client/scenes/lobby_gui.cpp:924
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "Habilitar seguimiento de cintura"
|
msgstr "Habilitar seguimiento de cintura"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:886
|
#: client/scenes/lobby_gui.cpp:930
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"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"
|
"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"
|
"Puede ser necesario si está usando otro metodo para seguir la cintura"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:895
|
#: client/scenes/lobby_gui.cpp:939
|
||||||
msgid "Enable in-stream window"
|
msgid "Enable in-stream window"
|
||||||
msgstr "Habilitar ventana mientras se juega"
|
msgstr "Habilitar ventana mientras se juega"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:898
|
#: client/scenes/lobby_gui.cpp:942
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"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"
|
"Permite que la ventana de configuración se muestre mientras se juega.\n"
|
||||||
"Si se habilita, la ventana se activará al presionar ambos joysticks."
|
"Si se habilita, la ventana se activará al presionar ambos joysticks."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:902
|
#: client/scenes/lobby_gui.cpp:946
|
||||||
msgid "Extended configuration values"
|
msgid "Extended configuration values"
|
||||||
msgstr "Extender valores de configuración"
|
msgstr "Extender valores de configuración"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:905
|
#: client/scenes/lobby_gui.cpp:949
|
||||||
msgid "Allows unsafe configuration values, use at your own risk."
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Permitir valores de configuración inseguros, usar bajo propia "
|
"Permitir valores de configuración inseguros, usar bajo propia "
|
||||||
"responsabilidad."
|
"responsabilidad."
|
||||||
|
|
||||||
#: 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"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "Post-procesamiento de OpenXR"
|
msgstr "Post-procesamiento de 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"
|
msgid "Supersampling"
|
||||||
msgstr "Sobremuestreo"
|
msgstr "Sobremuestreo"
|
||||||
|
|
||||||
#: 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 ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"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 "
|
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||||
"visor"
|
"visor"
|
||||||
|
|
||||||
#: 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"
|
msgid "Sharpening"
|
||||||
msgstr "Nitidez"
|
msgstr "Nitidez"
|
||||||
|
|
||||||
#: 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 ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"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 "
|
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||||
"visor"
|
"visor"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Tiempo de CPU"
|
msgstr "Tiempo de CPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1156
|
#: client/scenes/lobby_gui.cpp:1200
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "Tiempo de CPU [ms]"
|
msgstr "Tiempo de CPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Tiempo de GPU"
|
msgstr "Tiempo de GPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1170
|
#: client/scenes/lobby_gui.cpp:1214
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "Tiempo de GPU [ms]"
|
msgstr "Tiempo de GPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1278
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "¿Habilitar micrófono?"
|
msgstr "¿Habilitar micrófono?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1239
|
#: client/scenes/lobby_gui.cpp:1283
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "¿Habilitar seguimiento ocular?"
|
msgstr "¿Habilitar seguimiento ocular?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1244
|
#: client/scenes/lobby_gui.cpp:1288
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "¿Habilitar seguimiento facial?"
|
msgstr "¿Habilitar seguimiento facial?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1249
|
#: client/scenes/lobby_gui.cpp:1293
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "¿Habilitar seguimiento corporal?"
|
msgstr "¿Habilitar seguimiento corporal?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1257
|
#: client/scenes/lobby_gui.cpp:1301
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "Bienvenido a WiVRn"
|
msgstr "Bienvenido a WiVRn"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1285
|
#: client/scenes/lobby_gui.cpp:1329
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Sí"
|
msgstr "Sí"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1292
|
#: client/scenes/lobby_gui.cpp:1336
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "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"
|
msgid "Licenses"
|
||||||
msgstr "Licencias"
|
msgstr "Licencias"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1587
|
#: client/scenes/lobby_gui.cpp:1631
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "Micrófono activado"
|
msgstr "Micrófono activado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1588
|
#: client/scenes/lobby_gui.cpp:1632
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "Micrófono desactivado"
|
msgstr "Micrófono desactivado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1597
|
#: client/scenes/lobby_gui.cpp:1641
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "Seguimiento de manos activado"
|
msgstr "Seguimiento de manos activado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1598
|
#: client/scenes/lobby_gui.cpp:1642
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "Seguimiento de manos desactivado"
|
msgstr "Seguimiento de manos desactivado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1607
|
#: client/scenes/lobby_gui.cpp:1651
|
||||||
msgid "Eye tracking is enabled"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "Seguimiento ocular activado"
|
msgstr "Seguimiento ocular activado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1608
|
#: client/scenes/lobby_gui.cpp:1652
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "Seguimiento ocular desactivado"
|
msgstr "Seguimiento ocular desactivado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1618
|
#: client/scenes/lobby_gui.cpp:1662
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "Seguimiento facial activado"
|
msgstr "Seguimiento facial activado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1663
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "Seguimiento facial desactivado"
|
msgstr "Seguimiento facial desactivado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1633
|
#: client/scenes/lobby_gui.cpp:1677
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "Seguimiento corporal está habilitado"
|
msgstr "Seguimiento corporal está habilitado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1634
|
#: client/scenes/lobby_gui.cpp:1678
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "Seguimiento corporal está deshabilitado"
|
msgstr "Seguimiento corporal está deshabilitado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1650
|
#: client/scenes/lobby_gui.cpp:1694
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "Agregar servidor"
|
msgstr "Agregar servidor"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1936
|
#: client/scenes/lobby_gui.cpp:1980
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Lista de servidores"
|
msgstr "Lista de servidores"
|
||||||
|
|
||||||
#: 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"
|
msgid "Settings"
|
||||||
msgstr "Configuración"
|
msgstr "Configuración"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1986
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "Post-procesamiento"
|
msgstr "Post-procesamiento"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1989
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "Personalización"
|
msgstr "Personalización"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1949
|
#: client/scenes/lobby_gui.cpp:1993
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "Depuración"
|
msgstr "Depuración"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1954
|
#: client/scenes/lobby_gui.cpp:1998
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Acerca de"
|
msgstr "Acerca de"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1960
|
#: client/scenes/lobby_gui.cpp:2004
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "Salir"
|
msgstr "Salir"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1977
|
#: client/scenes/lobby_gui.cpp:2021
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -552,7 +562,7 @@ msgstr ""
|
|||||||
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
||||||
"para mover la ventana principal"
|
"para mover la ventana principal"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1979
|
#: client/scenes/lobby_gui.cpp:2023
|
||||||
msgid "Press the grip button to move the main window"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||||
|
|
||||||
@@ -631,56 +641,56 @@ msgstr "Descargar más entornos"
|
|||||||
msgid "Open local glTF model"
|
msgid "Open local glTF model"
|
||||||
msgstr "Abrir modelo glTF local"
|
msgstr "Abrir modelo glTF local"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:175
|
||||||
msgid "Defoveate"
|
msgid "Defoveate"
|
||||||
msgstr "Desfovear"
|
msgstr "Desfovear"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:177
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Red"
|
msgstr "Red"
|
||||||
|
|
||||||
#: 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"
|
msgid "Download"
|
||||||
msgstr "Descargar"
|
msgstr "Descargar"
|
||||||
|
|
||||||
#: 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"
|
msgid "Upload"
|
||||||
msgstr "Subir"
|
msgstr "Subir"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:246
|
#: client/scenes/stream_gui.cpp:247
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Decoder {}"
|
msgid "Decoder {}"
|
||||||
msgstr "Decodificador {}"
|
msgstr "Decodificador {}"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:258
|
#: client/scenes/stream_gui.cpp:259
|
||||||
msgid "Timings [ms]"
|
msgid "Timings [ms]"
|
||||||
msgstr "Tiempos [ms]"
|
msgstr "Tiempos [ms]"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:318
|
#: client/scenes/stream_gui.cpp:319
|
||||||
msgid "Encode"
|
msgid "Encode"
|
||||||
msgstr "Codificar"
|
msgstr "Codificar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:319
|
#: client/scenes/stream_gui.cpp:320
|
||||||
msgid "Send"
|
msgid "Send"
|
||||||
msgstr "Enviar"
|
msgstr "Enviar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:320
|
#: client/scenes/stream_gui.cpp:321
|
||||||
msgid "Receive"
|
msgid "Receive"
|
||||||
msgstr "Recibir"
|
msgstr "Recibir"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:321
|
#: client/scenes/stream_gui.cpp:322
|
||||||
msgid "Decode"
|
msgid "Decode"
|
||||||
msgstr "Decodificar"
|
msgstr "Decodificar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:322
|
#: client/scenes/stream_gui.cpp:323
|
||||||
msgid "Blitted"
|
msgid "Blitted"
|
||||||
msgstr "Copiado"
|
msgstr "Copiado"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:323
|
#: client/scenes/stream_gui.cpp:324
|
||||||
msgid "Displayed"
|
msgid "Displayed"
|
||||||
msgstr "Mostrado"
|
msgstr "Mostrado"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:324
|
#: client/scenes/stream_gui.cpp:325
|
||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Previsto"
|
msgstr "Previsto"
|
||||||
|
|
||||||
@@ -689,102 +699,102 @@ msgstr "Previsto"
|
|||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:351
|
#: client/scenes/stream_gui.cpp:349
|
||||||
msgid "Press the grip button to move the window"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Pulsa el botón de agarre para mover la ventana"
|
msgstr "Pulsa el botón de agarre para mover la ventana"
|
||||||
|
|
||||||
#: 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"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:375
|
#: client/scenes/stream_gui.cpp:373
|
||||||
msgid "Motion to photon latency"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "Bitrate:"
|
msgstr "Bitrate:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "Haga click para ajustar el bitrate"
|
msgstr "Haga click para ajustar el bitrate"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:532
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Reajustar el centro de la fóvea"
|
msgstr "Reajustar el centro de la fóvea"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:535
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Habilitar"
|
msgstr "Habilitar"
|
||||||
|
|
||||||
#: 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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Altura {:.1f} °"
|
msgstr "Altura {:.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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Distancia {:.2f} m"
|
msgstr "Distancia {:.2f} m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:545
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Por defecto"
|
msgstr "Por defecto"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:556
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Cambiar"
|
msgstr "Cambiar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "Use el stick derecho para ajustar el bitrate"
|
msgstr "Use el stick derecho para ajustar el bitrate"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:595
|
#: client/scenes/stream_gui.cpp:589
|
||||||
msgid "Press A to go back"
|
msgid "Press A to go back"
|
||||||
msgstr "Pulse A para volver"
|
msgstr "Pulse A para volver"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "Bitrate: {}Mbit/s"
|
msgstr "Bitrate: {}Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:618
|
#: client/scenes/stream_gui.cpp:612
|
||||||
msgid "Use the thumbsticks to move the foveation center"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "Usa los joysticks para mover el centro de la fóvea"
|
msgstr "Usa los joysticks para mover el centro de la fóvea"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:619
|
#: client/scenes/stream_gui.cpp:613
|
||||||
msgid "Press A to save or B to cancel"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "Pulsa A para guardar o B para cancelar"
|
msgstr "Pulsa A para guardar o B para cancelar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "Aplicaciones XR ejecutandose:"
|
msgstr "Aplicaciones XR ejecutandose:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "Superposiciones"
|
msgstr "Superposiciones"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:733
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:983
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "Aplicaciones"
|
msgstr "Aplicaciones"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:996
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Iniciar"
|
msgstr "Iniciar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:1010
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Estadísticas"
|
msgstr "Estadísticas"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:1016
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Superponer stats"
|
msgstr "Superponer stats"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1019
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Vista compacta"
|
msgstr "Vista compacta"
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-02-02 10:52+0100\n"
|
"POT-Creation-Date: 2026-02-16 18:43+0100\n"
|
||||||
"PO-Revision-Date: 2026-02-02 10:53+0100\n"
|
"PO-Revision-Date: 2026-02-16 21:47+0100\n"
|
||||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||||
"Language-Team: French <>\n"
|
"Language-Team: French <>\n"
|
||||||
"Language: 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"
|
msgid "No APK is available for this version"
|
||||||
msgstr "Aucun APK n'est disponible pour cette version"
|
msgstr "Aucun APK n'est disponible pour cette version"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -160,7 +160,7 @@ msgstr "Réinstaller WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Installer 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
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Casques"
|
msgstr "Casques"
|
||||||
@@ -287,7 +287,7 @@ msgid "Avahi daemon is not started"
|
|||||||
msgstr "Avahi daemon n'est pas démarré"
|
msgstr "Avahi daemon n'est pas démarré"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:223
|
#: dashboard/qml/Main.qml:231
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Corriger"
|
msgstr "Corriger"
|
||||||
@@ -312,6 +312,18 @@ msgstr "Plus d'infos"
|
|||||||
|
|
||||||
#: dashboard/qml/Main.qml:193
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, 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 ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
"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"
|
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
|
||||||
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
|
"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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"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"
|
"pourront pas charger le mode VR.\n"
|
||||||
"Veuillez installer xrizer ou OpenComposite."
|
"Veuillez installer xrizer ou OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:209
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec "
|
"Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec "
|
||||||
"WiVRn."
|
"WiVRn."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:217
|
#: dashboard/qml/Main.qml:225
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"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 "
|
"Steam est installé en tant que flatpak mais n'a pas les autorisations "
|
||||||
"nécessaires."
|
"nécessaires."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:232
|
#: dashboard/qml/Main.qml:240
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr "Redémarez le serveur pour appliquer les changements"
|
msgstr "Redémarez le serveur pour appliquer les changements"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:238
|
#: dashboard/qml/Main.qml:246
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "Redémarrer"
|
msgstr "Redémarrer"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:263
|
#: dashboard/qml/Main.qml:271
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Le serveur n'a pas pu démarrer"
|
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
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Ouvrir les logs du serveur"
|
msgstr "Ouvrir les logs du serveur"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:295
|
#: dashboard/qml/Main.qml:303
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server status"
|
msgid "Server status"
|
||||||
msgstr "Serveur"
|
msgstr "Serveur"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:301
|
#: dashboard/qml/Main.qml:309
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Démarré"
|
msgstr "Démarré"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:314
|
#: dashboard/qml/Main.qml:322
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Appairage"
|
msgstr "Appairage"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:334
|
#: dashboard/qml/Main.qml:342
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headset status"
|
msgid "Headset status"
|
||||||
msgstr "Casque"
|
msgstr "Casque"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:341
|
#: dashboard/qml/Main.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for headset name/status under server running switch"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgid "Headset"
|
msgid "Headset"
|
||||||
msgstr "Casque"
|
msgstr "Casque"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:344
|
#: dashboard/qml/Main.qml:352
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Not connected"
|
msgid "Not connected"
|
||||||
msgstr "Déconnecté"
|
msgstr "Déconnecté"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:348
|
#: dashboard/qml/Main.qml:356
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Déconnecter"
|
msgstr "Déconnecter"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||||
#: dashboard/qml/Main.qml:372
|
#: dashboard/qml/Main.qml:380
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for USB status or connect button"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "USB"
|
msgid "USB"
|
||||||
msgstr "USB"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:358
|
#: dashboard/qml/Main.qml:366
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "usb connect button"
|
msgctxt "usb connect button"
|
||||||
msgid "Connect (wired)"
|
msgid "Connect (wired)"
|
||||||
msgstr "Connecter (filaire)"
|
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
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
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"
|
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
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Informations pour Steam"
|
msgstr "Informations pour Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:412
|
#: dashboard/qml/Main.qml:420
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Assistant"
|
msgstr "Assistant"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:418
|
#: dashboard/qml/Main.qml:426
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Installer l'appli"
|
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
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Paramètres"
|
msgstr "Paramètres"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:443
|
#: dashboard/qml/Main.qml:451
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "À propos"
|
msgstr "À propos"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Dépannage"
|
msgstr "Dépannage"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:455
|
#: dashboard/qml/Main.qml:463
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Version %1"
|
msgid "Version %1"
|
||||||
msgstr "Version %1"
|
msgstr "Version %1"
|
||||||
|
|||||||
+157
-147
@@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
# 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 ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn 0.15\n"
|
"Project-Id-Version: WiVRn 0.15\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
|
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
|
||||||
"PO-Revision-Date: 2025-12-29 15:40+0100\n"
|
"PO-Revision-Date: 2026-02-27 16:12+0100\n"
|
||||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||||
"Language-Team: French <>\n"
|
"Language-Team: French <>\n"
|
||||||
"Language: French\n"
|
"Language: French\n"
|
||||||
@@ -21,27 +21,27 @@ msgstr ""
|
|||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "Aucun format de swapchain supporté"
|
msgstr "Aucun format de swapchain supporté"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:128
|
#: client/scenes/app_launcher.cpp:127
|
||||||
msgid "Connected to WiVRn server"
|
msgid "Connected to WiVRn server"
|
||||||
msgstr "Connecté au serveur WiVRn"
|
msgstr "Connecté au serveur WiVRn"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:130
|
#: client/scenes/app_launcher.cpp:129
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connected to {}"
|
msgid "Connected to {}"
|
||||||
msgstr "Connecté à {}"
|
msgstr "Connecté à {}"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:136
|
#: client/scenes/app_launcher.cpp:135
|
||||||
msgid "Start an application on the server to start streaming."
|
msgid "Start an application on the server to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Démarrez une application sur le serveur pour commencer la transmission."
|
"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."
|
msgid "Start an application on your computer or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
|
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
|
||||||
"transmission."
|
"transmission."
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:148
|
#: client/scenes/app_launcher.cpp:147
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -73,11 +73,11 @@ msgstr "Impossible de se connecter à {} ({}) : {}"
|
|||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "Attente de connexion"
|
msgstr "Attente de connexion"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1319
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "Vue réelle"
|
msgstr "Vue réelle"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1331
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "Environnement par défaut"
|
msgstr "Environnement par défaut"
|
||||||
|
|
||||||
@@ -96,14 +96,15 @@ msgctxt "openxr_post_processing"
|
|||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Désactivé"
|
msgstr "Désactivé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1026
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Déconnecter"
|
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: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"
|
msgid "Close"
|
||||||
msgstr "Fermer"
|
msgstr "Fermer"
|
||||||
|
|
||||||
@@ -124,32 +125,41 @@ msgstr "Code PIN"
|
|||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "Entrez le code PIN affiché sur le tableau de bord"
|
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
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
|
#, c++-format
|
||||||
|
msgid "Disconnected from {}"
|
||||||
|
msgstr "Connexion à {} terminée"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:316
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:295
|
#: client/scenes/lobby_gui.cpp:327
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "Adresse"
|
msgstr "Adresse"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:304
|
#: client/scenes/lobby_gui.cpp:336
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "Port"
|
msgstr "Port"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:312
|
#: client/scenes/lobby_gui.cpp:344
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "TCP seulement"
|
msgstr "TCP seulement"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:978
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Annuler"
|
msgstr "Annuler"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:365
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Enregistrer"
|
msgstr "Enregistrer"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:386
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -157,46 +167,46 @@ msgstr ""
|
|||||||
"Démarrez un serveur WiVRn sur\n"
|
"Démarrez un serveur WiVRn sur\n"
|
||||||
"le réseau local"
|
"le réseau local"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:418
|
#: client/scenes/lobby_gui.cpp:450
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "Autoconnexion"
|
msgstr "Autoconnexion"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:444
|
#: client/scenes/lobby_gui.cpp:476
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Connexion"
|
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"
|
msgid "Incompatible server version"
|
||||||
msgstr "Version du serveur incompatible"
|
msgstr "Version du serveur incompatible"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:456
|
#: client/scenes/lobby_gui.cpp:488
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "Serveur non disponible"
|
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"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "Français"
|
msgstr "Français"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:552
|
#: client/scenes/lobby_gui.cpp:595
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Langue"
|
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"
|
msgid "System language"
|
||||||
msgstr "Langue système"
|
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"
|
msgid "Refresh rate"
|
||||||
msgstr "Taux de rafraichissement"
|
msgstr "Taux de rafraichissement"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automatique"
|
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 ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -205,137 +215,137 @@ msgstr ""
|
|||||||
"des performances mesurées.\n"
|
"des performances mesurées.\n"
|
||||||
"Peut causer des clignotements lors du changement de fréquence."
|
"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"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Taux minimal"
|
msgstr "Taux minimal"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:632
|
#: client/scenes/lobby_gui.cpp:675
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "Niveau de fovéation"
|
msgstr "Niveau de fovéation"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:655
|
#: client/scenes/lobby_gui.cpp:698
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "Résolution de rendu"
|
msgstr "Résolution de rendu"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:659
|
#: client/scenes/lobby_gui.cpp:702
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{} %% - {}x{} par œil"
|
msgstr "{} %% - {}x{} par œil"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:670
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||||
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
|
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"
|
msgid "Foveated encoding"
|
||||||
msgstr "Fovéation d'encodage"
|
msgstr "Fovéation d'encodage"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:684
|
#: client/scenes/lobby_gui.cpp:727
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{} %%"
|
msgstr "{} %%"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:697
|
#: client/scenes/lobby_gui.cpp:740
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality where you look at,\n"
|
"Higher values focus image quality where you look at,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Les valeurs élevées concentrent la qualité là où se\n"
|
"Les valeurs élevées concentrent la qualité là où se\n"
|
||||||
"porte le regard, ce qui diminue la latence, réduit la\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 ""
|
msgid ""
|
||||||
"Higher values focus image quality at the center,\n"
|
"Higher values focus image quality at the center,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Les valeurs élevées concentrent la qualité au centre\n"
|
"Les valeurs élevées concentrent la qualité au centre\n"
|
||||||
"de l'image, ce qui diminue la latence, réduit la\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"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automatique"
|
msgstr "Automatique"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:756
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:715
|
#: client/scenes/lobby_gui.cpp:758
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:717
|
#: client/scenes/lobby_gui.cpp:760
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:725
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "Codec"
|
msgstr "Codec"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:753
|
#: client/scenes/lobby_gui.cpp:796
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10 bits"
|
msgstr "10 bits"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:768
|
#: client/scenes/lobby_gui.cpp:812
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "Débit"
|
msgstr "Débit"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:772
|
#: client/scenes/lobby_gui.cpp:816
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{} Mbit/s"
|
msgstr "{} Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:783
|
#: client/scenes/lobby_gui.cpp:827
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "Mode haute consommation"
|
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"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Augmente la consommation d'énergie pour permettre une résolution\n"
|
"Augmente la consommation d'énergie pour permettre une résolution\n"
|
||||||
"et une fréquence de rafraîchissement plus élevées"
|
"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"
|
msgid "Enable microphone"
|
||||||
msgstr "Activer le micro"
|
msgstr "Activer le micro"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:801
|
#: client/scenes/lobby_gui.cpp:845
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "Utiliser les données brutes du micro"
|
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"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr "Désactive les traitements tels que la suppression du bruit"
|
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"
|
msgid "Enable hand tracking"
|
||||||
msgstr "Activer le suivi des mains"
|
msgstr "Activer le suivi des mains"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||||
#: client/scenes/lobby_gui_customize.cpp:640
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
|
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"
|
msgid "Enable eye tracking"
|
||||||
msgstr "Activer le suivi des yeux"
|
msgstr "Activer le suivi des yeux"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:836
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "Activer le suivi du visage"
|
msgstr "Activer le suivi du visage"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:848
|
#: client/scenes/lobby_gui.cpp:892
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "Activer le suivi du corps"
|
msgstr "Activer le suivi du corps"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:861
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -346,11 +356,11 @@ msgstr ""
|
|||||||
"suivi des mouvements du casque.\n"
|
"suivi des mouvements du casque.\n"
|
||||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
"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"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "Activer le suivi du bas du corps"
|
msgstr "Activer le suivi du bas du corps"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:877
|
#: client/scenes/lobby_gui.cpp:921
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
@@ -361,11 +371,11 @@ msgstr ""
|
|||||||
"paramètres\n"
|
"paramètres\n"
|
||||||
"de suivi de mouvements du casque."
|
"de suivi de mouvements du casque."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:880
|
#: client/scenes/lobby_gui.cpp:924
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "Activer le suivi des hanches"
|
msgstr "Activer le suivi des hanches"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:886
|
#: client/scenes/lobby_gui.cpp:930
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"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"
|
"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."
|
"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"
|
msgid "Enable in-stream window"
|
||||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:898
|
#: client/scenes/lobby_gui.cpp:942
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"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 "
|
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||||
"sticks."
|
"sticks."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:902
|
#: client/scenes/lobby_gui.cpp:946
|
||||||
msgid "Extended configuration values"
|
msgid "Extended configuration values"
|
||||||
msgstr "Valeurs de configuration étendues"
|
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."
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Permet d'utiliser des limites plus hautes,\n"
|
"Permet d'utiliser des limites plus hautes,\n"
|
||||||
"peut ne pas fonctionner correctement."
|
"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"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "Post-traitement OpenXR"
|
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"
|
msgid "Supersampling"
|
||||||
msgstr "Suréchantillonnage"
|
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 ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"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"
|
"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"
|
"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"
|
msgid "Sharpening"
|
||||||
msgstr "Affinage de netteté"
|
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 ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"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"
|
"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"
|
"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/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Temps CPU"
|
msgstr "Temps CPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1156
|
#: client/scenes/lobby_gui.cpp:1200
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "Temps CPU [ms]"
|
msgstr "Temps CPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Temps GPU"
|
msgstr "Temps GPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1170
|
#: client/scenes/lobby_gui.cpp:1214
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "Temps GPU [ms]"
|
msgstr "Temps GPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1278
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "Activer le micro ?"
|
msgstr "Activer le micro ?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1239
|
#: client/scenes/lobby_gui.cpp:1283
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "Activer le suivi des yeux ?"
|
msgstr "Activer le suivi des yeux ?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1244
|
#: client/scenes/lobby_gui.cpp:1288
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "Activer le suivi du visage ?"
|
msgstr "Activer le suivi du visage ?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1249
|
#: client/scenes/lobby_gui.cpp:1293
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "Activer le suivi du corps ?"
|
msgstr "Activer le suivi du corps ?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1257
|
#: client/scenes/lobby_gui.cpp:1301
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "Bienvenue sur WiVRn"
|
msgstr "Bienvenue sur WiVRn"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1285
|
#: client/scenes/lobby_gui.cpp:1329
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Oui"
|
msgstr "Oui"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1292
|
#: client/scenes/lobby_gui.cpp:1336
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "Non"
|
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"
|
msgid "Licenses"
|
||||||
msgstr "Licences"
|
msgstr "Licences"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1587
|
#: client/scenes/lobby_gui.cpp:1631
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "Le micro est activé"
|
msgstr "Le micro est activé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1588
|
#: client/scenes/lobby_gui.cpp:1632
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "Le micro est désactivé"
|
msgstr "Le micro est désactivé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1597
|
#: client/scenes/lobby_gui.cpp:1641
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "Le suivi des mains est activé"
|
msgstr "Le suivi des mains est activé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1598
|
#: client/scenes/lobby_gui.cpp:1642
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "Le suivi des mains est désactivé"
|
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"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "Le suivi des yeux est activé"
|
msgstr "Le suivi des yeux est activé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1608
|
#: client/scenes/lobby_gui.cpp:1652
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "Le suivi des yeux est désactivé"
|
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"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "Le suivi du visage est activé"
|
msgstr "Le suivi du visage est activé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1663
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "Le suivi du visage est désactivé"
|
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"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "Le suivi du corps est activé"
|
msgstr "Le suivi du corps est activé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1634
|
#: client/scenes/lobby_gui.cpp:1678
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "Le suivi du corps est désactivé"
|
msgstr "Le suivi du corps est désactivé"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1650
|
#: client/scenes/lobby_gui.cpp:1694
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "Ajouter un serveur"
|
msgstr "Ajouter un serveur"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1936
|
#: client/scenes/lobby_gui.cpp:1980
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Serveurs"
|
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"
|
msgid "Settings"
|
||||||
msgstr "Paramètres"
|
msgstr "Paramètres"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1986
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "Post-traitement"
|
msgstr "Post-traitement"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1989
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "Personnaliser"
|
msgstr "Personnaliser"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1949
|
#: client/scenes/lobby_gui.cpp:1993
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "Debug"
|
msgstr "Debug"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1954
|
#: client/scenes/lobby_gui.cpp:1998
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "À propos"
|
msgstr "À propos"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1960
|
#: client/scenes/lobby_gui.cpp:2004
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "Quitter"
|
msgstr "Quitter"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1977
|
#: client/scenes/lobby_gui.cpp:2021
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -555,7 +565,7 @@ msgstr ""
|
|||||||
"Serrez la gâchette latérale ou pointez la paume\n"
|
"Serrez la gâchette latérale ou pointez la paume\n"
|
||||||
"vers le haut pour bouger la fenêtre principale"
|
"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"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
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"
|
msgid "Open local glTF model"
|
||||||
msgstr "Ouvrir un modèle glTF local"
|
msgstr "Ouvrir un modèle glTF local"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:175
|
||||||
msgid "Defoveate"
|
msgid "Defoveate"
|
||||||
msgstr "Défovéation"
|
msgstr "Défovéation"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:177
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Réseau"
|
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"
|
msgid "Download"
|
||||||
msgstr "Téléchargement"
|
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"
|
msgid "Upload"
|
||||||
msgstr "Téléversement"
|
msgstr "Téléversement"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:246
|
#: client/scenes/stream_gui.cpp:247
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Decoder {}"
|
msgid "Decoder {}"
|
||||||
msgstr "Décodeur {}"
|
msgstr "Décodeur {}"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:258
|
#: client/scenes/stream_gui.cpp:259
|
||||||
msgid "Timings [ms]"
|
msgid "Timings [ms]"
|
||||||
msgstr "Durées [ms]"
|
msgstr "Durées [ms]"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:318
|
#: client/scenes/stream_gui.cpp:319
|
||||||
msgid "Encode"
|
msgid "Encode"
|
||||||
msgstr "Encodage"
|
msgstr "Encodage"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:319
|
#: client/scenes/stream_gui.cpp:320
|
||||||
msgid "Send"
|
msgid "Send"
|
||||||
msgstr "Envoi"
|
msgstr "Envoi"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:320
|
#: client/scenes/stream_gui.cpp:321
|
||||||
msgid "Receive"
|
msgid "Receive"
|
||||||
msgstr "Réception"
|
msgstr "Réception"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:321
|
#: client/scenes/stream_gui.cpp:322
|
||||||
msgid "Decode"
|
msgid "Decode"
|
||||||
msgstr "Décodage"
|
msgstr "Décodage"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:322
|
#: client/scenes/stream_gui.cpp:323
|
||||||
msgid "Blitted"
|
msgid "Blitted"
|
||||||
msgstr "Copie"
|
msgstr "Copie"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:323
|
#: client/scenes/stream_gui.cpp:324
|
||||||
msgid "Displayed"
|
msgid "Displayed"
|
||||||
msgstr "Affichage"
|
msgstr "Affichage"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:324
|
#: client/scenes/stream_gui.cpp:325
|
||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Prédiction"
|
msgstr "Prédiction"
|
||||||
|
|
||||||
@@ -692,102 +702,102 @@ msgstr "Prédiction"
|
|||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Latence mouvement à photons estimée : {} 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"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
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"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
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"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Latence mouvements à photons"
|
msgstr "Latence mouvements à photons"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "Débit :"
|
msgstr "Débit :"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "Cliquez pour modifier le débit"
|
msgstr "Cliquez pour modifier le débit"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:532
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Zone de fovéation manuelle"
|
msgstr "Zone de fovéation manuelle"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:535
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Activer"
|
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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Hauteur : {:.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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Distance {:.2f} m"
|
msgstr "Distance {:.2f} m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:545
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Réinitialiser"
|
msgstr "Réinitialiser"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:556
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Ajuster"
|
msgstr "Ajuster"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "Utilisez le stick droit pour modifier le débit"
|
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"
|
msgid "Press A to go back"
|
||||||
msgstr "Appuyez sur A pour revenir"
|
msgstr "Appuyez sur A pour revenir"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "Débit : {} 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"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "Utiliser le stick pour bouger le centre de fovéation"
|
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"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "A pour sauvegarder, B pour annuler"
|
msgstr "A pour sauvegarder, B pour annuler"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "Applications XR lancées :"
|
msgstr "Applications XR lancées :"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "Surcouches"
|
msgstr "Surcouches"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:733
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Demande de quitter, peut être ignoré par l'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"
|
msgid "Applications"
|
||||||
msgstr "Applications"
|
msgstr "Applications"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:996
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Démarrer"
|
msgstr "Démarrer"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:1010
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Statistiques"
|
msgstr "Statistiques"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:1016
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Statistiques seules"
|
msgstr "Statistiques seules"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1019
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Vue compacte"
|
msgstr "Vue compacte"
|
||||||
|
|
||||||
|
|||||||
+155
-145
@@ -1,12 +1,12 @@
|
|||||||
#
|
#
|
||||||
# Albano Battistella <albanobattistella@gmail.com>, 2025.
|
# Albano Battistella <albanobattistella@gmail.com>, 2025-2026.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn 0.15\n"
|
"Project-Id-Version: WiVRn 0.15\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-29 15:36+0100\n"
|
"POT-Creation-Date: 2026-02-27 16:09+0100\n"
|
||||||
"PO-Revision-Date: 2025-12-29 15:38+0100\n"
|
"PO-Revision-Date: 2026-02-27 16:11+0100\n"
|
||||||
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
||||||
"Language-Team: Italian <>\n"
|
"Language-Team: Italian <>\n"
|
||||||
"Language: Italian\n"
|
"Language: Italian\n"
|
||||||
@@ -19,26 +19,26 @@ msgstr ""
|
|||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "Nessun formato swapchain supportato"
|
msgstr "Nessun formato swapchain supportato"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:128
|
#: client/scenes/app_launcher.cpp:127
|
||||||
msgid "Connected to WiVRn server"
|
msgid "Connected to WiVRn server"
|
||||||
msgstr "Connesso al server WiVRn"
|
msgstr "Connesso al server WiVRn"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:130
|
#: client/scenes/app_launcher.cpp:129
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connected to {}"
|
msgid "Connected to {}"
|
||||||
msgstr "Connesso a {}"
|
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."
|
msgid "Start an application on the server to start streaming."
|
||||||
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
|
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."
|
msgid "Start an application on your computer or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
|
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
|
||||||
"trasmettere."
|
"trasmettere."
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:148
|
#: client/scenes/app_launcher.cpp:147
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -68,11 +68,11 @@ msgstr "Impossibile connettersi a {} ({}): {}"
|
|||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "In attesa di connessione"
|
msgstr "In attesa di connessione"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1319
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "Vista reale"
|
msgstr "Vista reale"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1331
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "Ambiente di default"
|
msgstr "Ambiente di default"
|
||||||
|
|
||||||
@@ -91,14 +91,15 @@ msgctxt "openxr_post_processing"
|
|||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Disattivato"
|
msgstr "Disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1026
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Sconnetti"
|
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: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"
|
msgid "Close"
|
||||||
msgstr "Chiudi"
|
msgstr "Chiudi"
|
||||||
|
|
||||||
@@ -119,32 +120,41 @@ msgstr "PIN"
|
|||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "Digitare il PIN visibile sul server"
|
msgstr "Digitare il PIN visibile sul server"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:282
|
||||||
|
msgid "Disconnected"
|
||||||
|
msgstr "Connessione chiusa"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:284
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
|
#, c++-format
|
||||||
|
msgid "Disconnected from {}"
|
||||||
|
msgstr "Connessione con {} chiusa"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:316
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nome"
|
msgstr "Nome"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:295
|
#: client/scenes/lobby_gui.cpp:327
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "Indirizzo"
|
msgstr "Indirizzo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:304
|
#: client/scenes/lobby_gui.cpp:336
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "Porta"
|
msgstr "Porta"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:312
|
#: client/scenes/lobby_gui.cpp:344
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "Solo TCP"
|
msgstr "Solo TCP"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:978
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Annulla"
|
msgstr "Annulla"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:365
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Salva"
|
msgstr "Salva"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:386
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -152,46 +162,46 @@ msgstr ""
|
|||||||
"Avvia un server WiVRn sulla\n"
|
"Avvia un server WiVRn sulla\n"
|
||||||
"rete locale"
|
"rete locale"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:418
|
#: client/scenes/lobby_gui.cpp:450
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "Connessione automatica"
|
msgstr "Connessione automatica"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:444
|
#: client/scenes/lobby_gui.cpp:476
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Connetti"
|
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"
|
msgid "Incompatible server version"
|
||||||
msgstr "Versione del server incompatibile"
|
msgstr "Versione del server incompatibile"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:456
|
#: client/scenes/lobby_gui.cpp:488
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "Server non disponibile"
|
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"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "Italiano"
|
msgstr "Italiano"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:552
|
#: client/scenes/lobby_gui.cpp:595
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Lingua"
|
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"
|
msgid "System language"
|
||||||
msgstr "Lingua del sistema"
|
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"
|
msgid "Refresh rate"
|
||||||
msgstr "Frequenza di aggiornamento"
|
msgstr "Frequenza di aggiornamento"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automatica"
|
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 ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -200,39 +210,39 @@ msgstr ""
|
|||||||
"misurate dell'applicazione.\n"
|
"misurate dell'applicazione.\n"
|
||||||
"Può causare un flash quando avviene il cambiamento."
|
"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"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Frequenza minima"
|
msgstr "Frequenza minima"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:632
|
#: client/scenes/lobby_gui.cpp:675
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "Intensità di foveazione"
|
msgstr "Intensità di foveazione"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:655
|
#: client/scenes/lobby_gui.cpp:698
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "Risoluzione del gioco"
|
msgstr "Risoluzione del gioco"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:659
|
#: client/scenes/lobby_gui.cpp:702
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - {}x{} per occhio"
|
msgstr "{}%% - {}x{} per occhio"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:670
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
|
"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"
|
msgid "Foveated encoding"
|
||||||
msgstr "Foveazione della codifica"
|
msgstr "Foveazione della codifica"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:684
|
#: client/scenes/lobby_gui.cpp:727
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{}%%"
|
msgstr "{}%%"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:697
|
#: client/scenes/lobby_gui.cpp:740
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality where you look at,\n"
|
"Higher values focus image quality where you look at,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
@@ -240,7 +250,7 @@ msgstr ""
|
|||||||
"Valori alti concentrano la qualità dove si guarda,\n"
|
"Valori alti concentrano la qualità dove si guarda,\n"
|
||||||
"migliorando la latenza, efficienza energetica e qualità"
|
"migliorando la latenza, efficienza energetica e qualità"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:700
|
#: client/scenes/lobby_gui.cpp:743
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality at the center,\n"
|
"Higher values focus image quality at the center,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
@@ -248,88 +258,88 @@ msgstr ""
|
|||||||
"Valori alti concentrano la qualità al centro dell'immagine,\n"
|
"Valori alti concentrano la qualità al centro dell'immagine,\n"
|
||||||
"migliorando la latenza, efficienza energetica e qualità"
|
"migliorando la latenza, efficienza energetica e qualità"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:709
|
#: client/scenes/lobby_gui.cpp:752
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automatico"
|
msgstr "Automatico"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:756
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:715
|
#: client/scenes/lobby_gui.cpp:758
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:717
|
#: client/scenes/lobby_gui.cpp:760
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:725
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "Codec"
|
msgstr "Codec"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:753
|
#: client/scenes/lobby_gui.cpp:796
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10 bit"
|
msgstr "10 bit"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:768
|
#: client/scenes/lobby_gui.cpp:812
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "Velocità di trasmissione"
|
msgstr "Velocità di trasmissione"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:772
|
#: client/scenes/lobby_gui.cpp:816
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{}Mbit/s"
|
msgstr "{}Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:783
|
#: client/scenes/lobby_gui.cpp:827
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "Modalità alto consumo"
|
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"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Aumenta il consumo di energie per permettere una risoluzione e\n"
|
"Aumenta il consumo di energie per permettere una risoluzione e\n"
|
||||||
"frequenza d'immagine più alta"
|
"frequenza d'immagine più alta"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:792
|
#: client/scenes/lobby_gui.cpp:836
|
||||||
msgid "Enable microphone"
|
msgid "Enable microphone"
|
||||||
msgstr "Attiva il microfono"
|
msgstr "Attiva il microfono"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:801
|
#: client/scenes/lobby_gui.cpp:845
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "Usare dati grezzi del microfono"
|
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"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
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"
|
msgid "Enable hand tracking"
|
||||||
msgstr "Abilita il tracciamento delle mani"
|
msgstr "Abilita il tracciamento delle mani"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||||
#: client/scenes/lobby_gui_customize.cpp:640
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "Questa funzionalità non è supportata dal visore"
|
msgstr "Questa funzionalità non è supportata dal visore"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:825
|
#: client/scenes/lobby_gui.cpp:869
|
||||||
msgid "Enable eye tracking"
|
msgid "Enable eye tracking"
|
||||||
msgstr "Abilita il tracciamento oculare"
|
msgstr "Abilita il tracciamento oculare"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:836
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "Abilita il tracciamento facciale"
|
msgstr "Abilita il tracciamento facciale"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:848
|
#: client/scenes/lobby_gui.cpp:892
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "Abilita il tracciamento del corpo"
|
msgstr "Abilita il tracciamento del corpo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:861
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -342,11 +352,11 @@ msgstr ""
|
|||||||
"controller e\n"
|
"controller e\n"
|
||||||
"del visore."
|
"del visore."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:871
|
#: client/scenes/lobby_gui.cpp:915
|
||||||
msgid "Enable lower body tracking"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "Abilita il tracciamento del basso del corpo"
|
msgstr "Abilita il tracciamento del basso del corpo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:877
|
#: client/scenes/lobby_gui.cpp:921
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
@@ -357,11 +367,11 @@ msgstr ""
|
|||||||
"impostazioni,\n"
|
"impostazioni,\n"
|
||||||
"sezione \"Tracking dei movimenti\"."
|
"sezione \"Tracking dei movimenti\"."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:880
|
#: client/scenes/lobby_gui.cpp:924
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "Abilitia il tracciamento delle anche"
|
msgstr "Abilitia il tracciamento delle anche"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:886
|
#: client/scenes/lobby_gui.cpp:930
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"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"
|
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||||
"delle anche."
|
"delle anche."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:895
|
#: client/scenes/lobby_gui.cpp:939
|
||||||
msgid "Enable in-stream window"
|
msgid "Enable in-stream window"
|
||||||
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:898
|
#: client/scenes/lobby_gui.cpp:942
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"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"
|
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
|
||||||
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
|
"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"
|
msgid "Extended configuration values"
|
||||||
msgstr "Valori di configurazione estesi"
|
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."
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
msgstr "Permette di usare limiti più alti, può non funzionare correttamente."
|
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"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "Post-trattamento OpenXR"
|
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"
|
msgid "Supersampling"
|
||||||
msgstr "Supersamping"
|
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 ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"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"
|
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
"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"
|
msgid "Sharpening"
|
||||||
msgstr "Miglioramento della nitidezza"
|
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 ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"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 "
|
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||||
"visore"
|
"visore"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
#: client/scenes/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Tempo CPU"
|
msgstr "Tempo CPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1156
|
#: client/scenes/lobby_gui.cpp:1200
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "Tempo CPU [ms]"
|
msgstr "Tempo CPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Tempo GPU"
|
msgstr "Tempo GPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1170
|
#: client/scenes/lobby_gui.cpp:1214
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "Tempo GPU [ms]"
|
msgstr "Tempo GPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1278
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "Attivare il microfono?"
|
msgstr "Attivare il microfono?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1239
|
#: client/scenes/lobby_gui.cpp:1283
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "Attivare il tracciamento oculare?"
|
msgstr "Attivare il tracciamento oculare?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1244
|
#: client/scenes/lobby_gui.cpp:1288
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "Attivare il tracciamento facciale?"
|
msgstr "Attivare il tracciamento facciale?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1249
|
#: client/scenes/lobby_gui.cpp:1293
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "Attivare il tracciamento del corpo?"
|
msgstr "Attivare il tracciamento del corpo?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1257
|
#: client/scenes/lobby_gui.cpp:1301
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "Benvenuto su WiVRn"
|
msgstr "Benvenuto su WiVRn"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1285
|
#: client/scenes/lobby_gui.cpp:1329
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Sì"
|
msgstr "Sì"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1292
|
#: client/scenes/lobby_gui.cpp:1336
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "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"
|
msgid "Licenses"
|
||||||
msgstr "Licenze"
|
msgstr "Licenze"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1587
|
#: client/scenes/lobby_gui.cpp:1631
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "Microfono attivo"
|
msgstr "Microfono attivo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1588
|
#: client/scenes/lobby_gui.cpp:1632
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "Microfono disattivato"
|
msgstr "Microfono disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1597
|
#: client/scenes/lobby_gui.cpp:1641
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "Tracciamento delle mani attivo"
|
msgstr "Tracciamento delle mani attivo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1598
|
#: client/scenes/lobby_gui.cpp:1642
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "Tracciamento delle mani disattivato"
|
msgstr "Tracciamento delle mani disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1607
|
#: client/scenes/lobby_gui.cpp:1651
|
||||||
msgid "Eye tracking is enabled"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "Tracciamento oculare attivo"
|
msgstr "Tracciamento oculare attivo"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1608
|
#: client/scenes/lobby_gui.cpp:1652
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "Tracciamento oculare disattivato"
|
msgstr "Tracciamento oculare disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1618
|
#: client/scenes/lobby_gui.cpp:1662
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "Tracciamento facciale attivato"
|
msgstr "Tracciamento facciale attivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1663
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "Tracciamento facciale disattivato"
|
msgstr "Tracciamento facciale disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1633
|
#: client/scenes/lobby_gui.cpp:1677
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "Tracciamento del corpo attivato"
|
msgstr "Tracciamento del corpo attivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1634
|
#: client/scenes/lobby_gui.cpp:1678
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "Tracciamento del corpo disattivato"
|
msgstr "Tracciamento del corpo disattivato"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1650
|
#: client/scenes/lobby_gui.cpp:1694
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "Aggiungi server"
|
msgstr "Aggiungi server"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1936
|
#: client/scenes/lobby_gui.cpp:1980
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Elenco dei server"
|
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"
|
msgid "Settings"
|
||||||
msgstr "Impostazioni"
|
msgstr "Impostazioni"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1986
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "Post-trattamento"
|
msgstr "Post-trattamento"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1989
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "Personalizzazione"
|
msgstr "Personalizzazione"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1949
|
#: client/scenes/lobby_gui.cpp:1993
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "Debug"
|
msgstr "Debug"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1954
|
#: client/scenes/lobby_gui.cpp:1998
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Informazioni"
|
msgstr "Informazioni"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1960
|
#: client/scenes/lobby_gui.cpp:2004
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "Esci"
|
msgstr "Esci"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1977
|
#: client/scenes/lobby_gui.cpp:2021
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -549,7 +559,7 @@ msgstr ""
|
|||||||
"Premi il pulsante laterale o punta il palmo della\n"
|
"Premi il pulsante laterale o punta il palmo della\n"
|
||||||
"mano verso l'alto per spostare la finestra principale"
|
"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"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
||||||
|
|
||||||
@@ -628,56 +638,56 @@ msgstr "Scaricare più ambienti"
|
|||||||
msgid "Open local glTF model"
|
msgid "Open local glTF model"
|
||||||
msgstr "Aprire un modello glTF"
|
msgstr "Aprire un modello glTF"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:175
|
||||||
msgid "Defoveate"
|
msgid "Defoveate"
|
||||||
msgstr "Defoveazione"
|
msgstr "Defoveazione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:177
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Rete"
|
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"
|
msgid "Download"
|
||||||
msgstr "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"
|
msgid "Upload"
|
||||||
msgstr "Upload"
|
msgstr "Upload"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:246
|
#: client/scenes/stream_gui.cpp:247
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Decoder {}"
|
msgid "Decoder {}"
|
||||||
msgstr "Decoder {}"
|
msgstr "Decoder {}"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:258
|
#: client/scenes/stream_gui.cpp:259
|
||||||
msgid "Timings [ms]"
|
msgid "Timings [ms]"
|
||||||
msgstr "Durata [ms]"
|
msgstr "Durata [ms]"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:318
|
#: client/scenes/stream_gui.cpp:319
|
||||||
msgid "Encode"
|
msgid "Encode"
|
||||||
msgstr "Compressione"
|
msgstr "Compressione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:319
|
#: client/scenes/stream_gui.cpp:320
|
||||||
msgid "Send"
|
msgid "Send"
|
||||||
msgstr "Invio"
|
msgstr "Invio"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:320
|
#: client/scenes/stream_gui.cpp:321
|
||||||
msgid "Receive"
|
msgid "Receive"
|
||||||
msgstr "Ricezione"
|
msgstr "Ricezione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:321
|
#: client/scenes/stream_gui.cpp:322
|
||||||
msgid "Decode"
|
msgid "Decode"
|
||||||
msgstr "Decodifica"
|
msgstr "Decodifica"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:322
|
#: client/scenes/stream_gui.cpp:323
|
||||||
msgid "Blitted"
|
msgid "Blitted"
|
||||||
msgstr "Copiato"
|
msgstr "Copiato"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:323
|
#: client/scenes/stream_gui.cpp:324
|
||||||
msgid "Displayed"
|
msgid "Displayed"
|
||||||
msgstr "Visualizzato"
|
msgstr "Visualizzato"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:324
|
#: client/scenes/stream_gui.cpp:325
|
||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Previsto"
|
msgstr "Previsto"
|
||||||
|
|
||||||
@@ -686,102 +696,102 @@ msgstr "Previsto"
|
|||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Latenza stimata da movimento a fotoni: {}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"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Premi il pulsante laterale per spostare la finestra"
|
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"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
|
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"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Latenza da movimento a fotoni"
|
msgstr "Latenza da movimento a fotoni"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "Velocità di trasmissione"
|
msgstr "Velocità di trasmissione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "Clicca per cambiare la velocità di trasmissione"
|
msgstr "Clicca per cambiare la velocità di trasmissione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:532
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Centro di foveazione manuale"
|
msgstr "Centro di foveazione manuale"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:535
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Attiva"
|
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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Altezza {:.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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Distanza {:.2f} m"
|
msgstr "Distanza {:.2f} m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:545
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Reimposta"
|
msgstr "Reimposta"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:556
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Cambia"
|
msgstr "Cambia"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "Usa lo stick destro per cambiare la velocità di trasmissione"
|
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"
|
msgid "Press A to go back"
|
||||||
msgstr "Premi A per tornare indietro"
|
msgstr "Premi A per tornare indietro"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "Velocità di trasmissione: {}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"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "Usa gli stick per spostare il centro di foveazione"
|
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"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "A per salvare, B per annullare"
|
msgstr "A per salvare, B per annullare"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "Applicazioni XR avviate:"
|
msgstr "Applicazioni XR avviate:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "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"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
|
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:983
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "Applicazioni"
|
msgstr "Applicazioni"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:996
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Avvio"
|
msgstr "Avvio"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:1010
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Statistiche"
|
msgstr "Statistiche"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:1016
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Solo statistiche"
|
msgstr "Solo statistiche"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1019
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Modalità compatta"
|
msgstr "Modalità compatta"
|
||||||
|
|
||||||
|
|||||||
+144
-53
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
|
"POT-Creation-Date: 2026-03-03 13:37+0900\n"
|
||||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||||
"Language-Team: Japanese <>\n"
|
"Language-Team: Japanese <>\n"
|
||||||
@@ -62,10 +62,39 @@ msgstr "「adb install」コマンドは失敗しました、コード%1"
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "インストール成功"
|
msgstr "インストール成功"
|
||||||
|
|
||||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn dashboard"
|
msgctxt "@title"
|
||||||
msgstr "WiVRnダッシュボード"
|
msgid "WiVRn"
|
||||||
|
msgstr "WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:28
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn server"
|
||||||
|
msgstr "WiVRnサーバー"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:30
|
||||||
|
#, kde-format
|
||||||
|
msgid "(c) 2022-2026 WiVRn development team"
|
||||||
|
msgstr "(c) 2022-2026 WiVRn開発チーム"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:40
|
||||||
|
#, kde-format
|
||||||
|
msgid "Monado"
|
||||||
|
msgstr "Monado"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:41
|
||||||
|
#, kde-format
|
||||||
|
msgid "OpenXR runtime"
|
||||||
|
msgstr "OpenXRランタイム"
|
||||||
|
|
||||||
|
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
|
||||||
|
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/HeadsetsPage.qml:183
|
||||||
|
#: dashboard/qml/TroubleshootPage.qml:71
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "go back to the home page"
|
||||||
|
msgid "Back"
|
||||||
|
msgstr "戻る"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -83,8 +112,8 @@ msgstr "最新リリースを確認中"
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "現在バージョン用の公式APKは提供されていません"
|
msgstr "現在バージョン用の公式APKは提供されていません"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:321
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||||
#: dashboard/qml/Main.qml:386 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -105,13 +134,6 @@ msgstr ""
|
|||||||
"自分でクライエントをビルドするには、<a href=\"https://github.com/WiVRn/WiVRn/"
|
"自分でクライエントをビルドするには、<a href=\"https://github.com/WiVRn/WiVRn/"
|
||||||
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
|
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:71
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "go back to the home page"
|
|
||||||
msgid "Back"
|
|
||||||
msgstr "戻る"
|
|
||||||
|
|
||||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Select your headset"
|
msgid "Select your headset"
|
||||||
@@ -137,7 +159,7 @@ msgstr "WiVRnをインストールする"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "HMDの統計情報"
|
msgstr "HMDの統計情報"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:391
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "HMD"
|
msgstr "HMD"
|
||||||
@@ -223,28 +245,47 @@ msgstr "ペアリングを有効化する"
|
|||||||
msgid "Pair a new headset"
|
msgid "Pair a new headset"
|
||||||
msgstr "新しいHMDをペアリングする"
|
msgstr "新しいHMDをペアリングする"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:120
|
#: dashboard/qml/Main.qml:12
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn dashboard"
|
||||||
|
msgstr "WiVRnダッシュボード"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "WiVRnを終了"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"WiVRnサーバーは作動中です。\n"
|
||||||
|
"停止して終了しますか?"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Avahiデーモンはインストールサれていません"
|
msgstr "Avahiデーモンはインストールサれていません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:128
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Avahiデーモンが起動していません"
|
msgstr "Avahiデーモンが起動していません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:135 dashboard/qml/Main.qml:149
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:201
|
#: dashboard/qml/Main.qml:231
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "直す"
|
msgstr "直す"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:143
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "ファイヤーウォールでポート9757が開いていないようです"
|
msgstr "ファイヤーウォールでポート9757が開いていないようです"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:157
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
@@ -252,12 +293,23 @@ msgstr ""
|
|||||||
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
|
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
|
||||||
"%1"
|
"%1"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:163
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "詳細情報"
|
msgstr "詳細情報"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:171
|
#: 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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -266,7 +318,7 @@ msgstr ""
|
|||||||
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
||||||
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:179
|
#: dashboard/qml/Main.qml:209
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -275,13 +327,13 @@ msgstr ""
|
|||||||
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
||||||
"xrizerかOpenCompositeをインストールしましょう。"
|
"xrizerかOpenCompositeをインストールしましょう。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:187
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
|
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:195
|
#: dashboard/qml/Main.qml:225
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
@@ -289,97 +341,131 @@ msgstr ""
|
|||||||
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
|
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
|
||||||
"ん。"
|
"ん。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:210
|
#: dashboard/qml/Main.qml:240
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
|
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:216
|
#: dashboard/qml/Main.qml:246
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "今すぐ再起動する"
|
msgstr "今すぐ再起動する"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:241
|
#: dashboard/qml/Main.qml:271
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "サーバーは起動できませんでした"
|
msgstr "サーバーは起動できませんでした"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:247 dashboard/qml/TroubleshootPage.qml:89
|
#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "ログを見る"
|
msgstr "ログを見る"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:276
|
#: dashboard/qml/Main.qml:303
|
||||||
|
#, kde-format
|
||||||
|
msgid "Server status"
|
||||||
|
msgstr "サーバーステータス"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:309
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "作動中"
|
msgstr "作動中"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:291
|
#: dashboard/qml/Main.qml:322
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "ペアリング"
|
msgstr "ペアリング"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:304
|
#: dashboard/qml/Main.qml:342
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "PIN: %1"
|
msgid "Headset status"
|
||||||
msgstr "暗証番号:%1"
|
msgstr "HMDステータス"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:312 dashboard/qml/WizardPage.qml:329
|
#: dashboard/qml/Main.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connect by USB"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgstr "USBで接続する"
|
msgid "Headset"
|
||||||
|
msgstr "HMD"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:323 dashboard/qml/WizardPage.qml:339
|
#: dashboard/qml/Main.qml:352
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "Not connected"
|
||||||
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
|
msgstr "未接続"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:331
|
#: dashboard/qml/Main.qml:356
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "切断する"
|
msgstr "切断する"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:349
|
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||||
|
#: dashboard/qml/Main.qml:380
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "label for USB status or connect button"
|
||||||
|
msgid "USB"
|
||||||
|
msgstr "USB"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:366
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "usb connect button"
|
||||||
|
msgid "Connect (wired)"
|
||||||
|
msgstr "有線で接続する"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339
|
||||||
|
#, kde-format
|
||||||
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
|
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:404
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "ストリーム情報"
|
msgstr "ストリーム情報"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:370
|
#: dashboard/qml/Main.qml:420
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "セットアップウィザード"
|
msgstr "セットアップウィザード"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:377
|
#: dashboard/qml/Main.qml:426
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "アプリをインストール"
|
msgstr "アプリをインストール"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:398 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "設定"
|
msgstr "設定"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:405 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:451
|
||||||
|
#, kde-format
|
||||||
|
msgid "About"
|
||||||
|
msgstr "WiVRnについて"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "問題解決"
|
msgstr "問題解決"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:14
|
#: dashboard/qml/Main.qml:463
|
||||||
|
#, kde-format
|
||||||
|
msgid "Version %1"
|
||||||
|
msgstr "バージョン%1"
|
||||||
|
|
||||||
|
#: dashboard/qml/SelectGame.qml:12
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "don't start an application automatically"
|
msgctxt "don't start an application automatically"
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr "なし"
|
msgstr "なし"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:20
|
#: dashboard/qml/SelectGame.qml:18
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "choose a custom application to start"
|
msgctxt "choose a custom application to start"
|
||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "カスタム"
|
msgstr "カスタム"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:72
|
#: dashboard/qml/SelectGame.qml:70
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the application to start"
|
msgctxt "browse a file to choose the application to start"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
@@ -657,8 +743,8 @@ msgid ""
|
|||||||
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
||||||
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://db.vronlinux.org/"
|
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://"
|
||||||
"\">vronlinux DB</a>を確認してください。"
|
"db.vronlinux.org/\">vronlinux DB</a>を確認してください。"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:79
|
#: dashboard/qml/TroubleshootPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -808,6 +894,11 @@ msgstr ""
|
|||||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||||
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
||||||
|
|
||||||
|
#: dashboard/qml/WizardPage.qml:329
|
||||||
|
#, kde-format
|
||||||
|
msgid "Connect by USB"
|
||||||
|
msgstr "USBで接続する"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:349
|
#: dashboard/qml/WizardPage.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshooting"
|
msgid "Troubleshooting"
|
||||||
@@ -854,12 +945,12 @@ msgstr "完了"
|
|||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "完了しました"
|
msgstr "完了しました"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:533
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:534
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "OpenComposite"
|
msgstr "OpenComposite"
|
||||||
|
|||||||
+199
-169
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn 0.16\n"
|
"Project-Id-Version: WiVRn 0.16\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
|
"POT-Creation-Date: 2026-03-03 13:37+0900\n"
|
||||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||||
"Language: Japanese\n"
|
"Language: Japanese\n"
|
||||||
@@ -14,56 +14,56 @@ msgstr ""
|
|||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "互換性のあるスワップチェーンは見つからなかった"
|
msgstr "互換性のあるスワップチェーンは見つからなかった"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:128
|
#: client/scenes/app_launcher.cpp:119
|
||||||
msgid "Connected to WiVRn server"
|
msgid "Connected to WiVRn server"
|
||||||
msgstr "WiVRnサーバーに接続しました。"
|
msgstr "WiVRnサーバーに接続しました。"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:130
|
#: client/scenes/app_launcher.cpp:121
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connected to {}"
|
msgid "Connected to {}"
|
||||||
msgstr "{}に接続しました。"
|
msgstr "{}に接続しました。"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:136
|
#: client/scenes/app_launcher.cpp:127
|
||||||
msgid "Start an application on the server to start streaming."
|
msgid "Start an application on the server to start streaming."
|
||||||
msgstr "VRアプリを起動してVRに入りましょう!"
|
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."
|
msgid "Start an application on your computer or select one to start streaming."
|
||||||
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
|
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:148
|
#: client/scenes/app_launcher.cpp:139
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:230
|
#: client/scenes/lobby.cpp:221
|
||||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||||
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:233
|
#: client/scenes/lobby.cpp:224
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||||
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
|
msgstr "互換性のないサーバー(クライエント{}、サーバー{})"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:248
|
#: client/scenes/lobby.cpp:239
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot resolve hostname: {}"
|
msgid "Cannot resolve hostname: {}"
|
||||||
msgstr "ホスト名解決に失敗:{}"
|
msgstr "ホスト名解決に失敗:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
|
#: client/scenes/lobby.cpp:326 client/scenes/lobby.cpp:332
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot connect to {} ({}): {}"
|
msgid "Cannot connect to {} ({}): {}"
|
||||||
msgstr "{}に接続できませんでした:({}) {}"
|
msgstr "{}に接続できませんでした:({}) {}"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:424
|
#: client/scenes/lobby.cpp:410
|
||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "接続を待っています"
|
msgstr "接続を待っています"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1310
|
#: client/scenes/lobby.cpp:1298
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "パススルー"
|
msgstr "パススルー"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1322
|
#: client/scenes/lobby.cpp:1310
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "デフォルトのホーム環境"
|
msgstr "デフォルトのホーム環境"
|
||||||
|
|
||||||
@@ -82,14 +82,15 @@ msgctxt "openxr_post_processing"
|
|||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "無効"
|
msgstr "無効"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1026
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "切断する"
|
msgstr "切断する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:749
|
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui.cpp:264
|
||||||
#: client/scenes/lobby_gui_customize.cpp:840
|
#: client/scenes/lobby_gui_customize.cpp:752
|
||||||
#: client/scenes/lobby_gui_customize.cpp:896 client/scenes/stream_gui.cpp:1011
|
#: client/scenes/lobby_gui_customize.cpp:843
|
||||||
|
#: client/scenes/lobby_gui_customize.cpp:899 client/scenes/stream_gui.cpp:1022
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "閉じる"
|
msgstr "閉じる"
|
||||||
|
|
||||||
@@ -110,32 +111,41 @@ msgstr "暗証番号"
|
|||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "パソコンで表示された暗証番号を入力してください"
|
msgstr "パソコンで表示された暗証番号を入力してください"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:282
|
||||||
|
msgid "Disconnected"
|
||||||
|
msgstr "切断されました"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:284
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
|
#, c++-format
|
||||||
|
msgid "Disconnected from {}"
|
||||||
|
msgstr "{}から切断されました"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:316
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "表示名"
|
msgstr "表示名"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:295
|
#: client/scenes/lobby_gui.cpp:327
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "アドレス"
|
msgstr "アドレス"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:304
|
#: client/scenes/lobby_gui.cpp:336
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "ポート番号"
|
msgstr "ポート番号"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:312
|
#: client/scenes/lobby_gui.cpp:344
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "TCPのみを使用"
|
msgstr "TCPのみを使用"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:651
|
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:654
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:978
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "やめる"
|
msgstr "キャンセル"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:365
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "保存する"
|
msgstr "保存する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:386
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -143,46 +153,46 @@ msgstr ""
|
|||||||
"ローカルネットワークでWiVRnサーバーを\n"
|
"ローカルネットワークでWiVRnサーバーを\n"
|
||||||
"起動してみて下さい"
|
"起動してみて下さい"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:418
|
#: client/scenes/lobby_gui.cpp:450
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "自動接続"
|
msgstr "自動接続"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:444
|
#: client/scenes/lobby_gui.cpp:476
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "接続する"
|
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"
|
msgid "Incompatible server version"
|
||||||
msgstr "互換性のないサーバーです"
|
msgstr "互換性のないサーバーです"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:456
|
#: client/scenes/lobby_gui.cpp:488
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "サーバーは利用不可です"
|
msgstr "サーバーは利用不可です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:538
|
#: client/scenes/lobby_gui.cpp:581
|
||||||
msgctxt "language selection, replace with the name of the language"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "日本語"
|
msgstr "日本語"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:552
|
#: client/scenes/lobby_gui.cpp:595
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "言語"
|
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"
|
msgid "System language"
|
||||||
msgstr "デバイス言語"
|
msgstr "デバイス言語"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:579 client/scenes/stream_gui.cpp:417
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/stream_gui.cpp:412
|
||||||
msgid "Refresh rate"
|
msgid "Refresh rate"
|
||||||
msgstr "リフレッシュレート"
|
msgstr "リフレッシュレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:579 client/scenes/lobby_gui.cpp:581
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "自動"
|
msgstr "自動"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:588 client/scenes/stream_gui.cpp:427
|
#: client/scenes/lobby_gui.cpp:632 client/scenes/stream_gui.cpp:421
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -190,118 +200,130 @@ msgstr ""
|
|||||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||||
"変更時にチラツキが発生する可能性があります。"
|
"変更時にチラツキが発生する可能性があります。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:605 client/scenes/stream_gui.cpp:445
|
#: client/scenes/lobby_gui.cpp:649 client/scenes/stream_gui.cpp:439
|
||||||
msgid "Minimum refresh rate"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "最低リフレッシュレート"
|
msgstr "最低リフレッシュレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:631
|
#: client/scenes/lobby_gui.cpp:673
|
||||||
msgid "Foveation level"
|
|
||||||
msgstr "フォビエーション・レベル"
|
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:654
|
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "レンダー解像度"
|
msgstr "レンダー解像度"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:658
|
#: client/scenes/lobby_gui.cpp:677
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - 目あたり{}x{}"
|
msgstr "{}%% - 目あたり{}x{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:669
|
#: client/scenes/lobby_gui.cpp:688
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:679
|
#: client/scenes/lobby_gui.cpp:698
|
||||||
msgid "Stream resolution"
|
msgid "Foveated encoding"
|
||||||
msgstr "ストリーミング解像度"
|
msgstr "エンコード・フォビエーション"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:683
|
#: client/scenes/lobby_gui.cpp:702
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{}%%"
|
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."
|
||||||
|
msgstr ""
|
||||||
|
"高い方は、視線方向の画質を最適化し、\n"
|
||||||
|
"応答速度、電力効率、画質を向上させます。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:718
|
||||||
|
msgid ""
|
||||||
|
"Higher values focus image quality at the center,\n"
|
||||||
|
"improving latency, power efficiency and quality."
|
||||||
|
msgstr ""
|
||||||
|
"高い方は、画面の中央の画質を最適化し、\n"
|
||||||
|
"応答速度、電力効率、画質を向上させます。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:727
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "自動"
|
msgstr "自動"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:701
|
#: client/scenes/lobby_gui.cpp:731
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:703
|
#: client/scenes/lobby_gui.cpp:733
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:705
|
#: client/scenes/lobby_gui.cpp:735
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:743
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "コーデック"
|
msgstr "コーデック"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:741
|
#: client/scenes/lobby_gui.cpp:771
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10ビット"
|
msgstr "10ビット"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:756
|
#: client/scenes/lobby_gui.cpp:787
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "ビットレート"
|
msgstr "ビットレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:760
|
#: client/scenes/lobby_gui.cpp:791
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{}Mbps"
|
msgstr "{}Mbps"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:771
|
#: client/scenes/lobby_gui.cpp:802
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "高電力モード"
|
msgstr "高電力モード"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:774
|
#: client/scenes/lobby_gui.cpp:805
|
||||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:780
|
#: client/scenes/lobby_gui.cpp:811
|
||||||
msgid "Enable microphone"
|
msgid "Enable microphone"
|
||||||
msgstr "マイクを有効する"
|
msgstr "マイクを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:789
|
#: client/scenes/lobby_gui.cpp:820
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "未処理のマイク音声"
|
msgstr "未処理のマイク音声"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:795
|
#: client/scenes/lobby_gui.cpp:826
|
||||||
msgid "Force disable audio filters, such as noise cancellation"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:802
|
#: client/scenes/lobby_gui.cpp:833
|
||||||
msgid "Enable hand tracking"
|
msgid "Enable hand tracking"
|
||||||
msgstr "ハンドトラッキングを有効する"
|
msgstr "ハンドトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:808 client/scenes/lobby_gui.cpp:820
|
#: client/scenes/lobby_gui.cpp:839 client/scenes/lobby_gui.cpp:850
|
||||||
#: client/scenes/lobby_gui.cpp:832 client/scenes/lobby_gui.cpp:849
|
#: client/scenes/lobby_gui.cpp:860 client/scenes/lobby_gui.cpp:875
|
||||||
#: client/scenes/lobby_gui_customize.cpp:636
|
#: client/scenes/lobby_gui_customize.cpp:639
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "デバイスはこの機能をサポートしていません"
|
msgstr "デバイスはこの機能をサポートしていません"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:814
|
#: client/scenes/lobby_gui.cpp:844
|
||||||
msgid "Enable eye tracking"
|
msgid "Enable eye tracking"
|
||||||
msgstr "アイトラッキングを有効する"
|
msgstr "アイトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:826
|
#: client/scenes/lobby_gui.cpp:855
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "顔トラッキングを有効する"
|
msgstr "顔トラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:840
|
#: client/scenes/lobby_gui.cpp:867
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "ボディラッキングを有効する"
|
msgstr "ボディラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:854
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -312,11 +334,11 @@ msgstr ""
|
|||||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||||
"とになる。"
|
"とになる。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:864
|
#: client/scenes/lobby_gui.cpp:890
|
||||||
msgid "Enable lower body tracking"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "下半身トラッキングを有効する"
|
msgstr "下半身トラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:870
|
#: client/scenes/lobby_gui.cpp:896
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
@@ -326,11 +348,11 @@ msgstr ""
|
|||||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||||
"有効する必要がある。"
|
"有効する必要がある。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:873
|
#: client/scenes/lobby_gui.cpp:899
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "腰のトラッキングを有効する"
|
msgstr "腰のトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:879
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"May be desired when using another source of hip tracking"
|
||||||
@@ -338,11 +360,11 @@ msgstr ""
|
|||||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:887
|
#: client/scenes/lobby_gui.cpp:914
|
||||||
msgid "Enable in-stream window"
|
msgid "Enable in-stream window"
|
||||||
msgstr "ストリーミング中の設定パネル"
|
msgstr "ストリーミング中の設定パネル"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:890
|
#: client/scenes/lobby_gui.cpp:917
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"If enabled, the window is activated by pressing both thumbsticks."
|
||||||
@@ -350,15 +372,23 @@ msgstr ""
|
|||||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:904 client/scenes/stream_gui.cpp:479
|
#: client/scenes/lobby_gui.cpp:921
|
||||||
|
msgid "Extended configuration values"
|
||||||
|
msgstr "設定に対する制限の緩和"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:924
|
||||||
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
|
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:938 client/scenes/stream_gui.cpp:473
|
||||||
msgid "OpenXR post-processing"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "OpenXRポストエフェクト"
|
msgstr "OpenXRポストエフェクト"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:908 client/scenes/stream_gui.cpp:483
|
#: client/scenes/lobby_gui.cpp:942 client/scenes/stream_gui.cpp:477
|
||||||
msgid "Supersampling"
|
msgid "Supersampling"
|
||||||
msgstr "スーパーサンプリング"
|
msgstr "スーパーサンプリング"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:928 client/scenes/stream_gui.cpp:504
|
#: client/scenes/lobby_gui.cpp:962 client/scenes/stream_gui.cpp:498
|
||||||
msgid ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"Useful when the input resolution is high compared to the headset display"
|
||||||
@@ -366,11 +396,11 @@ msgstr ""
|
|||||||
"コントラストが高い部分のギザギザを低減する。\n"
|
"コントラストが高い部分のギザギザを低減する。\n"
|
||||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:933 client/scenes/stream_gui.cpp:509
|
#: client/scenes/lobby_gui.cpp:967 client/scenes/stream_gui.cpp:503
|
||||||
msgid "Sharpening"
|
msgid "Sharpening"
|
||||||
msgstr "シャープ"
|
msgstr "シャープ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:953 client/scenes/stream_gui.cpp:530
|
#: client/scenes/lobby_gui.cpp:987 client/scenes/stream_gui.cpp:524
|
||||||
msgid ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"Useful when the input resolution is low compared to the headset display"
|
||||||
@@ -378,129 +408,129 @@ msgstr ""
|
|||||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1137 client/scenes/lobby_gui.cpp:1145
|
#: client/scenes/lobby_gui.cpp:1171 client/scenes/lobby_gui.cpp:1179
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "CPU使用時間"
|
msgstr "CPU使用時間"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1141
|
#: client/scenes/lobby_gui.cpp:1175
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "CPU使用時間、ミリ秒"
|
msgstr "CPU使用時間、ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1151 client/scenes/lobby_gui.cpp:1159
|
#: client/scenes/lobby_gui.cpp:1185 client/scenes/lobby_gui.cpp:1193
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "GPU使用時間"
|
msgstr "GPU使用時間"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1155
|
#: client/scenes/lobby_gui.cpp:1189
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "GPU使用時間、ミリ秒"
|
msgstr "GPU使用時間、ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1219
|
#: client/scenes/lobby_gui.cpp:1253
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "マイクを有効にしますか?"
|
msgstr "マイクを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1224
|
#: client/scenes/lobby_gui.cpp:1258
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "アイトラッキングを有効にしますか?"
|
msgstr "アイトラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1229
|
#: client/scenes/lobby_gui.cpp:1263
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "フェースラッキングを有効にしますか?"
|
msgstr "フェースラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1268
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "ボディトラッキングを有効にしますか?"
|
msgstr "ボディトラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1242
|
#: client/scenes/lobby_gui.cpp:1276
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "WiVRnへようこそ!"
|
msgstr "WiVRnへようこそ!"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1270
|
#: client/scenes/lobby_gui.cpp:1304
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "はい"
|
msgstr "はい"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1277
|
#: client/scenes/lobby_gui.cpp:1311
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "いいえ"
|
msgstr "いいえ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1296 client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1330 client/scenes/lobby_gui.cpp:1976
|
||||||
msgid "Licenses"
|
msgid "Licenses"
|
||||||
msgstr "ライセンス"
|
msgstr "ライセンス"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1572
|
#: client/scenes/lobby_gui.cpp:1606
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "マイクは有効です"
|
msgstr "マイクは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1573
|
#: client/scenes/lobby_gui.cpp:1607
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "マイクは無効です"
|
msgstr "マイクは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1582
|
#: client/scenes/lobby_gui.cpp:1616
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "ハンドトラッキングは有効です"
|
msgstr "ハンドトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1583
|
#: client/scenes/lobby_gui.cpp:1617
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "ハンドラッキングは無効です"
|
msgstr "ハンドラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1592
|
#: client/scenes/lobby_gui.cpp:1626
|
||||||
msgid "Eye tracking is enabled"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "アイトラッキングは有効です"
|
msgstr "アイトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1593
|
#: client/scenes/lobby_gui.cpp:1627
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "アイトラッキングは無効です"
|
msgstr "アイトラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1603
|
#: client/scenes/lobby_gui.cpp:1637
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "フェーストラッキングは有効です"
|
msgstr "フェーストラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1604
|
#: client/scenes/lobby_gui.cpp:1638
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "フェーストラッキングは無効です"
|
msgstr "フェーストラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1618
|
#: client/scenes/lobby_gui.cpp:1652
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "ボディトラッキングは有効です"
|
msgstr "ボディトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1653
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "ボディトラッキングは無効です"
|
msgstr "ボディトラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1635
|
#: client/scenes/lobby_gui.cpp:1669
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "サーバーを追加する"
|
msgstr "サーバーを追加する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1921
|
#: client/scenes/lobby_gui.cpp:1955
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "サーバー"
|
msgstr "サーバー"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1924 client/scenes/stream_gui.cpp:996
|
#: client/scenes/lobby_gui.cpp:1958 client/scenes/stream_gui.cpp:1007
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "設定"
|
msgstr "設定"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1927
|
#: client/scenes/lobby_gui.cpp:1961
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "ポストエフェクト"
|
msgstr "ポストエフェクト"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1930
|
#: client/scenes/lobby_gui.cpp:1964
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "カスタマイズ"
|
msgstr "カスタマイズ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1934
|
#: client/scenes/lobby_gui.cpp:1968
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "デバッグ"
|
msgstr "デバッグ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1939
|
#: client/scenes/lobby_gui.cpp:1973
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "WiVRnについて"
|
msgstr "WiVRnについて"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1979
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "完了"
|
msgstr "完了"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1962
|
#: client/scenes/lobby_gui.cpp:1996
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -508,51 +538,51 @@ msgstr ""
|
|||||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||||
"手のひらを上向きにしましょう。"
|
"手のひらを上向きにしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1964
|
#: client/scenes/lobby_gui.cpp:1998
|
||||||
msgid "Press the grip button to move the main window"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:208
|
#: client/scenes/lobby_gui_customize.cpp:213
|
||||||
msgid "Locally loaded environment"
|
msgid "Locally loaded environment"
|
||||||
msgstr "ローカル環境"
|
msgstr "ローカル環境"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:221
|
#: client/scenes/lobby_gui_customize.cpp:226
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Locally loaded environment ({})"
|
msgid "Locally loaded environment ({})"
|
||||||
msgstr "ローカル環境({})"
|
msgstr "ローカル環境({})"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:296
|
#: client/scenes/lobby_gui_customize.cpp:299
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load local environment: {}"
|
msgid "Cannot load local environment: {}"
|
||||||
msgstr "ローカル環境ロードできません:{}"
|
msgstr "ローカル環境ロードできません:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:329
|
#: client/scenes/lobby_gui_customize.cpp:332
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load environment list: {}"
|
msgid "Cannot load environment list: {}"
|
||||||
msgstr "環境リストをロードできませんでした:{}"
|
msgstr "環境リストをロードできませんでした:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:459
|
#: client/scenes/lobby_gui_customize.cpp:462
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Author: {}"
|
msgid "Author: {}"
|
||||||
msgstr "作者:{}"
|
msgstr "作者:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:463
|
#: client/scenes/lobby_gui_customize.cpp:466
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Size: {:.1f} MB"
|
msgid "Size: {:.1f} MB"
|
||||||
msgstr "サイズ:{:.1f} MB"
|
msgstr "サイズ:{:.1f} MB"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:543
|
#: client/scenes/lobby_gui_customize.cpp:546
|
||||||
msgid "Delete this model"
|
msgid "Delete this model"
|
||||||
msgstr "モデルを削除しますか?"
|
msgstr "モデルを削除しますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:579
|
#: client/scenes/lobby_gui_customize.cpp:582
|
||||||
#: client/scenes/lobby_gui_customize.cpp:785
|
#: client/scenes/lobby_gui_customize.cpp:788
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "HTTP error {} when downloading {}"
|
msgid "HTTP error {} when downloading {}"
|
||||||
msgstr "{}をダウンロード中にHTTP {}が発生しました。"
|
msgstr "{}をダウンロード中にHTTP {}が発生しました。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:587
|
#: client/scenes/lobby_gui_customize.cpp:590
|
||||||
#: client/scenes/lobby_gui_customize.cpp:793
|
#: client/scenes/lobby_gui_customize.cpp:796
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Curl error when downloading {}\n"
|
"Curl error when downloading {}\n"
|
||||||
@@ -561,82 +591,82 @@ msgstr ""
|
|||||||
"{}をダウンロード中にCurlエラーが発生しました。\n"
|
"{}をダウンロード中にCurlエラーが発生しました。\n"
|
||||||
"{}: {}"
|
"{}: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:648
|
#: client/scenes/lobby_gui_customize.cpp:651
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Really delete {}?"
|
msgid "Really delete {}?"
|
||||||
msgstr "{}を削除しますか?"
|
msgstr "{}を削除しますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:652
|
#: client/scenes/lobby_gui_customize.cpp:655
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr "削除"
|
msgstr "削除"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:733
|
#: client/scenes/lobby_gui_customize.cpp:736
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load environment: {}"
|
msgid "Cannot load environment: {}"
|
||||||
msgstr "環境をロードできませんでした:{}"
|
msgstr "環境をロードできませんでした:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:741
|
#: client/scenes/lobby_gui_customize.cpp:744
|
||||||
msgid "Loading environment"
|
msgid "Loading environment"
|
||||||
msgstr "ホーム環境をロード中"
|
msgstr "ホーム環境をロード中"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:820
|
#: client/scenes/lobby_gui_customize.cpp:823
|
||||||
msgid "Download more environments"
|
msgid "Download more environments"
|
||||||
msgstr "ホーム環境をダウンロード"
|
msgstr "ホーム環境をダウンロード"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:828
|
#: client/scenes/lobby_gui_customize.cpp:831
|
||||||
msgid "Open local glTF model"
|
msgid "Open local glTF model"
|
||||||
msgstr "glTFファイルを開く"
|
msgstr "glTFファイルを開く"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:175
|
||||||
msgid "Defoveate"
|
msgid "Defoveate"
|
||||||
msgstr "フォビエーション解除"
|
msgstr "フォビエーション解除"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:177
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "ネットワーク"
|
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"
|
msgid "Download"
|
||||||
msgstr "ダウンロード"
|
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"
|
msgid "Upload"
|
||||||
msgstr "アップロード"
|
msgstr "アップロード"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:246
|
#: client/scenes/stream_gui.cpp:247
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Decoder {}"
|
msgid "Decoder {}"
|
||||||
msgstr "デコーダー {}"
|
msgstr "デコーダー {}"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:258
|
#: client/scenes/stream_gui.cpp:259
|
||||||
msgid "Timings [ms]"
|
msgid "Timings [ms]"
|
||||||
msgstr "タイミング、ミリ秒"
|
msgstr "タイミング、ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:318
|
#: client/scenes/stream_gui.cpp:319
|
||||||
msgid "Encode"
|
msgid "Encode"
|
||||||
msgstr "動画エンコード"
|
msgstr "動画エンコード"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:319
|
#: client/scenes/stream_gui.cpp:320
|
||||||
msgid "Send"
|
msgid "Send"
|
||||||
msgstr "送信"
|
msgstr "送信"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:320
|
#: client/scenes/stream_gui.cpp:321
|
||||||
msgid "Receive"
|
msgid "Receive"
|
||||||
msgstr "受信"
|
msgstr "受信"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:321
|
#: client/scenes/stream_gui.cpp:322
|
||||||
msgid "Decode"
|
msgid "Decode"
|
||||||
msgstr "デコード"
|
msgstr "デコード"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:322
|
#: client/scenes/stream_gui.cpp:323
|
||||||
msgid "Blitted"
|
msgid "Blitted"
|
||||||
msgstr "描画"
|
msgstr "描画"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:323
|
#: client/scenes/stream_gui.cpp:324
|
||||||
msgid "Displayed"
|
msgid "Displayed"
|
||||||
msgstr "表示"
|
msgstr "表示"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:324
|
#: client/scenes/stream_gui.cpp:325
|
||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "予測時間"
|
msgstr "予測時間"
|
||||||
|
|
||||||
@@ -645,102 +675,102 @@ msgstr "予測時間"
|
|||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:351
|
#: client/scenes/stream_gui.cpp:349
|
||||||
msgid "Press the grip button to move the window"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
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"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:375
|
#: client/scenes/stream_gui.cpp:373
|
||||||
msgid "Motion to photon latency"
|
msgid "Motion to photon latency"
|
||||||
msgstr "「Motion-to-photon」遅延"
|
msgstr "「Motion-to-photon」遅延"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "ビットレート:"
|
msgstr "ビットレート:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "クリックしてビットレートを調整"
|
msgstr "クリックしてビットレートを調整"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:532
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "光学中心の調整"
|
msgstr "光学中心の調整"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:535
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "有効"
|
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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "仰角 {:.1f}°"
|
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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "距離 {:.2f}m"
|
msgstr "距離 {:.2f}m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:545
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "デフォルト"
|
msgstr "デフォルト"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:556
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "編集"
|
msgstr "編集"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "右スティックでビットレートを調整しましょう"
|
msgstr "右スティックでビットレートを調整しましょう"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:595
|
#: client/scenes/stream_gui.cpp:589
|
||||||
msgid "Press A to go back"
|
msgid "Press A to go back"
|
||||||
msgstr "「A」を押して戻る"
|
msgstr "「A」を押して戻る"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "ビットレート:{}Mbps"
|
msgstr "ビットレート:{}Mbps"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:618
|
#: client/scenes/stream_gui.cpp:612
|
||||||
msgid "Use the thumbsticks to move the foveation center"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:619
|
#: client/scenes/stream_gui.cpp:613
|
||||||
msgid "Press A to save or B to cancel"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "AかBを押してキャンセル。"
|
msgstr "AかBを押してキャンセル。"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "XRアプリの実行"
|
msgstr "XRアプリの実行"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "オーバーレイ"
|
msgstr "オーバーレイ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:733
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "終了シグナルを送信する"
|
msgstr "終了シグナルを送信する"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:983
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "アプリ"
|
msgstr "アプリ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:996
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "実行する"
|
msgstr "実行する"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:1010
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "統計情報"
|
msgstr "統計情報"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:1016
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "統計オーバーレイ"
|
msgstr "統計オーバーレイ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1019
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "コンパクト・モード"
|
msgstr "コンパクト・モード"
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-02-02 14:05+0100\n"
|
"POT-Creation-Date: 2026-02-16 21:54+0100\n"
|
||||||
"PO-Revision-Date: 2026-02-02 15:54+0100\n"
|
"PO-Revision-Date: 2026-02-16 23:23+0100\n"
|
||||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||||
"Language-Team: Portuguese <>\n"
|
"Language-Team: Portuguese <>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\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
|
#: dashboard/apk_installer.cpp:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -121,8 +121,8 @@ msgstr "Verificando a última versão..."
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "Nenhum APK está disponível para esta versão"
|
msgstr "Nenhum APK está disponível para esta versão"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376
|
||||||
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -165,7 +165,7 @@ msgstr "Reinstalar WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Instalar 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
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Headsets"
|
msgstr "Headsets"
|
||||||
@@ -291,7 +291,7 @@ msgid "Avahi daemon is not started"
|
|||||||
msgstr "Avahi daemon não foi iniciado"
|
msgstr "Avahi daemon não foi iniciado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:223
|
#: dashboard/qml/Main.qml:231
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Conserte"
|
msgstr "Conserte"
|
||||||
@@ -315,6 +315,18 @@ msgstr "Mais informações"
|
|||||||
|
|
||||||
#: dashboard/qml/Main.qml:193
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, 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 ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
"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"
|
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
"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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"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"
|
"conseguirão carregar em VR.\n"
|
||||||
"Instale o xrizer ou o OpenComposite."
|
"Instale o xrizer ou o OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:209
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
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."
|
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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"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."
|
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
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Reinicie o servidor para que as alterações de configuração tenham efeito"
|
"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
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "Reiniciar agora"
|
msgstr "Reiniciar agora"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:263
|
#: dashboard/qml/Main.qml:271
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Servidor falhou em iniciar"
|
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
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Abrir logs do servidor"
|
msgstr "Abrir logs do servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:295
|
#: dashboard/qml/Main.qml:303
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server status"
|
msgid "Server status"
|
||||||
msgstr "Status do servidor"
|
msgstr "Status do servidor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:301
|
#: dashboard/qml/Main.qml:309
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Rodando"
|
msgstr "Rodando"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:314
|
#: dashboard/qml/Main.qml:322
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Pareando"
|
msgstr "Pareando"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:334
|
#: dashboard/qml/Main.qml:342
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headset status"
|
msgid "Headset status"
|
||||||
msgstr "Status do headset"
|
msgstr "Status do headset"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:341
|
#: dashboard/qml/Main.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for headset name/status under server running switch"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgid "Headset"
|
msgid "Headset"
|
||||||
msgstr "Headset"
|
msgstr "Headset"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:344
|
#: dashboard/qml/Main.qml:352
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Not connected"
|
msgid "Not connected"
|
||||||
msgstr "Não conectado"
|
msgstr "Não conectado"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:348
|
#: dashboard/qml/Main.qml:356
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
msgstr "Desconectar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373
|
||||||
#: dashboard/qml/Main.qml:372
|
#: dashboard/qml/Main.qml:380
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "label for USB status or connect button"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "USB"
|
msgid "USB"
|
||||||
msgstr "USB"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:358
|
#: dashboard/qml/Main.qml:366
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "usb connect button"
|
msgctxt "usb connect button"
|
||||||
msgid "Connect (wired)"
|
msgid "Connect (wired)"
|
||||||
msgstr "Conectar (por cabo)"
|
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
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
"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
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Informações da Steam"
|
msgstr "Informações da Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:412
|
#: dashboard/qml/Main.qml:420
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Assistente"
|
msgstr "Assistente"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:418
|
#: dashboard/qml/Main.qml:426
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Instalar o aplicativo"
|
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
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Ajustes"
|
msgstr "Ajustes"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:443
|
#: dashboard/qml/Main.qml:451
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Sobre"
|
msgstr "Sobre"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Resolver problemas"
|
msgstr "Resolver problemas"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:455
|
#: dashboard/qml/Main.qml:463
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Version %1"
|
msgid "Version %1"
|
||||||
msgstr "Versão %1"
|
msgstr "Versão %1"
|
||||||
|
|||||||
+146
-136
@@ -11,41 +11,41 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn\n"
|
"Project-Id-Version: WiVRn\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-01-31 21:11+0100\n"
|
"POT-Creation-Date: 2026-02-27 16:03+0100\n"
|
||||||
"PO-Revision-Date: 2026-02-02 15:55+0100\n"
|
"PO-Revision-Date: 2026-02-28 16:29+0100\n"
|
||||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||||
"Language-Team: Portuguese <>\n"
|
"Language-Team: Portuguese <>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\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"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
#: client/scene.cpp:73
|
#: client/scene.cpp:73
|
||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "Sem formato de cadeia de troca suportado"
|
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"
|
msgid "Connected to WiVRn server"
|
||||||
msgstr "Conectado ao servidor WiVRn"
|
msgstr "Conectado ao servidor WiVRn"
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:130
|
#: client/scenes/app_launcher.cpp:129
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connected to {}"
|
msgid "Connected to {}"
|
||||||
msgstr "Conectado a {}"
|
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."
|
msgid "Start an application on the server to start streaming."
|
||||||
msgstr "Abra um aplicativo no servidor para iniciar o 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."
|
msgid "Start an application on your computer or select one to start streaming."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
|
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
|
||||||
"streaming."
|
"streaming."
|
||||||
|
|
||||||
#: client/scenes/app_launcher.cpp:148
|
#: client/scenes/app_launcher.cpp:147
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o 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"
|
msgid "Waiting for connection"
|
||||||
msgstr "Aguardando conexão"
|
msgstr "Aguardando conexão"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1319
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "Passthrough"
|
msgstr "Passthrough"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1331
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "Ambiente default"
|
msgstr "Ambiente default"
|
||||||
|
|
||||||
@@ -96,14 +96,15 @@ msgctxt "openxr_post_processing"
|
|||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Desabilitado"
|
msgstr "Desabilitado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:254
|
||||||
#: client/scenes/stream_gui.cpp:1009
|
#: client/scenes/stream_gui.cpp:1026
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Desconectar"
|
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: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"
|
msgid "Close"
|
||||||
msgstr "Fechar"
|
msgstr "Fechar"
|
||||||
|
|
||||||
@@ -124,32 +125,41 @@ msgstr "PIN"
|
|||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "Entre o PIN mostrado no painel"
|
msgstr "Entre o PIN mostrado no painel"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:282
|
||||||
|
msgid "Disconnected"
|
||||||
|
msgstr "Desconectado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:284
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
|
#, c++-format
|
||||||
|
msgid "Disconnected from {}"
|
||||||
|
msgstr "Desconectado de {}"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:316
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nome"
|
msgstr "Nome"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:295
|
#: client/scenes/lobby_gui.cpp:327
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "Endereço"
|
msgstr "Endereço"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:304
|
#: client/scenes/lobby_gui.cpp:336
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "Porta"
|
msgstr "Porta"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:312
|
#: client/scenes/lobby_gui.cpp:344
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "TCP somente"
|
msgstr "TCP somente"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
#: client/scenes/lobby_gui.cpp:351 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:962
|
#: client/scenes/stream_gui.cpp:978
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Cancelar"
|
msgstr "Cancelar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:365
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Salvar"
|
msgstr "Salvar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:386
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -157,46 +167,46 @@ msgstr ""
|
|||||||
"Inicie um servidor WiVRn em sua\n"
|
"Inicie um servidor WiVRn em sua\n"
|
||||||
"rede local"
|
"rede local"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:418
|
#: client/scenes/lobby_gui.cpp:450
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "Autoconectar"
|
msgstr "Autoconectar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:444
|
#: client/scenes/lobby_gui.cpp:476
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Conectar"
|
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"
|
msgid "Incompatible server version"
|
||||||
msgstr "Versão de servidor incompatível"
|
msgstr "Versão de servidor incompatível"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:456
|
#: client/scenes/lobby_gui.cpp:488
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "Servidor não disponível"
|
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"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "Português (Brasil)"
|
msgstr "Português (Brasil)"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:552
|
#: client/scenes/lobby_gui.cpp:595
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Linguagem"
|
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"
|
msgid "System language"
|
||||||
msgstr "Linguagem do Sistema"
|
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"
|
msgid "Refresh rate"
|
||||||
msgstr "Taxa de atualização"
|
msgstr "Taxa de atualização"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
#: client/scenes/lobby_gui.cpp:623 client/scenes/lobby_gui.cpp:625
|
||||||
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
|
#: client/scenes/stream_gui.cpp:412 client/scenes/stream_gui.cpp:414
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automático"
|
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 ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"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"
|
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||||
"Pode causar oscilações quando uma alteração ocorrer."
|
"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"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Taxa de atualização mínima"
|
msgstr "Taxa de atualização mínima"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:632
|
#: client/scenes/lobby_gui.cpp:675
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "Nível de foveação"
|
msgstr "Nível de foveação"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:655
|
#: client/scenes/lobby_gui.cpp:698
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "Resolução de renderização"
|
msgstr "Resolução de renderização"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:659
|
#: client/scenes/lobby_gui.cpp:702
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - {}x{} por olho"
|
msgstr "{}%% - {}x{} por olho"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:670
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
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"
|
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"
|
msgid "Foveated encoding"
|
||||||
msgstr "Codificação foveada"
|
msgstr "Codificação foveada"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:684
|
#: client/scenes/lobby_gui.cpp:727
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{}%%"
|
msgstr "{}%%"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:697
|
#: client/scenes/lobby_gui.cpp:740
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality where you look at,\n"
|
"Higher values focus image quality where you look at,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
@@ -243,7 +253,7 @@ msgstr ""
|
|||||||
"Valores mais altos focalizam a qualidade de imagem a onde você olha,\n"
|
"Valores mais altos focalizam a qualidade de imagem a onde você olha,\n"
|
||||||
"melhorando latência, eficiência energética e qualidade."
|
"melhorando latência, eficiência energética e qualidade."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:700
|
#: client/scenes/lobby_gui.cpp:743
|
||||||
msgid ""
|
msgid ""
|
||||||
"Higher values focus image quality at the center,\n"
|
"Higher values focus image quality at the center,\n"
|
||||||
"improving latency, power efficiency and quality."
|
"improving latency, power efficiency and quality."
|
||||||
@@ -251,88 +261,88 @@ msgstr ""
|
|||||||
"Valores mais altos focalizam qualidade de image, no centro,\n"
|
"Valores mais altos focalizam qualidade de image, no centro,\n"
|
||||||
"melhorando latência, eficiência energética e qualidade."
|
"melhorando latência, eficiência energética e qualidade."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:709
|
#: client/scenes/lobby_gui.cpp:752
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Automático"
|
msgstr "Automático"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:756
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:715
|
#: client/scenes/lobby_gui.cpp:758
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:717
|
#: client/scenes/lobby_gui.cpp:760
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:725
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "Codec"
|
msgstr "Codec"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:753
|
#: client/scenes/lobby_gui.cpp:796
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10-bit"
|
msgstr "10-bit"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:768
|
#: client/scenes/lobby_gui.cpp:812
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "Bitrate"
|
msgstr "Bitrate"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:772
|
#: client/scenes/lobby_gui.cpp:816
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{}Mbit/s"
|
msgstr "{}Mbit/s"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:783
|
#: client/scenes/lobby_gui.cpp:827
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "Modo de alta potência"
|
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"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Aumenta a potência para permitir resolução e taxa de atualização mais altas"
|
"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"
|
msgid "Enable microphone"
|
||||||
msgstr "Ativar microfone"
|
msgstr "Ativar microfone"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:801
|
#: client/scenes/lobby_gui.cpp:845
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "Áudio Não-processado de Microfone"
|
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"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
"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"
|
msgid "Enable hand tracking"
|
||||||
msgstr "Ativar rastreamento de mãos"
|
msgstr "Ativar rastreamento de mãos"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
#: client/scenes/lobby_gui.cpp:864 client/scenes/lobby_gui.cpp:875
|
||||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
#: client/scenes/lobby_gui.cpp:885 client/scenes/lobby_gui.cpp:900
|
||||||
#: client/scenes/lobby_gui_customize.cpp:640
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "Este recurso não é suportado pelo seu 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"
|
msgid "Enable eye tracking"
|
||||||
msgstr "Ativar rastreamento ocular"
|
msgstr "Ativar rastreamento ocular"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:836
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "Ativar rastreamento facial"
|
msgstr "Ativar rastreamento facial"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:848
|
#: client/scenes/lobby_gui.cpp:892
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "Ativar rastreamento corporal"
|
msgstr "Ativar rastreamento corporal"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:861
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -344,11 +354,11 @@ msgstr ""
|
|||||||
"estimados\n"
|
"estimados\n"
|
||||||
"com base nas posições do controle e do headset."
|
"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"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "Ativar rastreamento corporal inferior"
|
msgstr "Ativar rastreamento corporal inferior"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:877
|
#: client/scenes/lobby_gui.cpp:921
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"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"
|
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||||
"configurações de Rastreamento de Movimento do Quest"
|
"configurações de Rastreamento de Movimento do Quest"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:880
|
#: client/scenes/lobby_gui.cpp:924
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "Ativar rastreamento de quadril"
|
msgstr "Ativar rastreamento de quadril"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:886
|
#: client/scenes/lobby_gui.cpp:930
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"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"
|
"Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||||
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
"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"
|
msgid "Enable in-stream window"
|
||||||
msgstr "Habilitar janela na stream"
|
msgstr "Habilitar janela na stream"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:898
|
#: client/scenes/lobby_gui.cpp:942
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"If enabled, the window is activated by pressing both thumbsticks."
|
||||||
@@ -384,23 +394,23 @@ msgstr ""
|
|||||||
"streamado.\n"
|
"streamado.\n"
|
||||||
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
|
"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"
|
msgid "Extended configuration values"
|
||||||
msgstr "Valores de configuração estendidos"
|
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."
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
msgstr "Permite valores de configuração inseguros, use por sua conta e risco."
|
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"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "Pós-processamento OpenXR"
|
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"
|
msgid "Supersampling"
|
||||||
msgstr "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 ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"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"
|
"Reduz flicker para arestas de alto contraste.\n"
|
||||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
"Ú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"
|
msgid "Sharpening"
|
||||||
msgstr "Aumento de nitidez"
|
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 ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"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"
|
"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"
|
"Ú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/lobby_gui.cpp:1196 client/scenes/lobby_gui.cpp:1204
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:371
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Tempo de CPU"
|
msgstr "Tempo de CPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1156
|
#: client/scenes/lobby_gui.cpp:1200
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "Tempo de CPU [ms]"
|
msgstr "Tempo de CPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
|
#: client/scenes/stream_gui.cpp:175 client/scenes/stream_gui.cpp:372
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Tempo de GPU"
|
msgstr "Tempo de GPU"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1170
|
#: client/scenes/lobby_gui.cpp:1214
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "Tempo de GPU [ms]"
|
msgstr "Tempo de GPU [ms]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1278
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "Habilitar o microfone?"
|
msgstr "Habilitar o microfone?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1239
|
#: client/scenes/lobby_gui.cpp:1283
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "Habilitar o rastreamento ocular?"
|
msgstr "Habilitar o rastreamento ocular?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1244
|
#: client/scenes/lobby_gui.cpp:1288
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "Habilitar o rastreamento facial?"
|
msgstr "Habilitar o rastreamento facial?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1249
|
#: client/scenes/lobby_gui.cpp:1293
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "Habilitar o rastreamento corporal?"
|
msgstr "Habilitar o rastreamento corporal?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1257
|
#: client/scenes/lobby_gui.cpp:1301
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "Bem vindo(a) ao WiVRn"
|
msgstr "Bem vindo(a) ao WiVRn"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1285
|
#: client/scenes/lobby_gui.cpp:1329
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Sim"
|
msgstr "Sim"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1292
|
#: client/scenes/lobby_gui.cpp:1336
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "Não"
|
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"
|
msgid "Licenses"
|
||||||
msgstr "Licenças"
|
msgstr "Licenças"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1587
|
#: client/scenes/lobby_gui.cpp:1631
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "O microfone está ativado"
|
msgstr "O microfone está ativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1588
|
#: client/scenes/lobby_gui.cpp:1632
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "O microfone está desativado"
|
msgstr "O microfone está desativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1597
|
#: client/scenes/lobby_gui.cpp:1641
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "O rastreamento de mãos está ativado"
|
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"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "O rastreamento de mãos está desativado"
|
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"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "O rastreamento ocular está ativado"
|
msgstr "O rastreamento ocular está ativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1608
|
#: client/scenes/lobby_gui.cpp:1652
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "O rastreamento ocular está desativado"
|
msgstr "O rastreamento ocular está desativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1618
|
#: client/scenes/lobby_gui.cpp:1662
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "O rastreamento facial está ativado"
|
msgstr "O rastreamento facial está ativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1663
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "O rastreamento facial está desativado"
|
msgstr "O rastreamento facial está desativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1633
|
#: client/scenes/lobby_gui.cpp:1677
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "O rastreamento corporal está ativado"
|
msgstr "O rastreamento corporal está ativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1634
|
#: client/scenes/lobby_gui.cpp:1678
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "O rastreamento corporal está desativado"
|
msgstr "O rastreamento corporal está desativado"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1650
|
#: client/scenes/lobby_gui.cpp:1694
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "Adicionar servidor"
|
msgstr "Adicionar servidor"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1936
|
#: client/scenes/lobby_gui.cpp:1980
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Lista de servidores"
|
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"
|
msgid "Settings"
|
||||||
msgstr "Ajustes"
|
msgstr "Ajustes"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1986
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "Pós-processamento"
|
msgstr "Pós-processamento"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1989
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "Personalizar"
|
msgstr "Personalizar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1949
|
#: client/scenes/lobby_gui.cpp:1993
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "Depurar"
|
msgstr "Depurar"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1954
|
#: client/scenes/lobby_gui.cpp:1998
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Sobre"
|
msgstr "Sobre"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1960
|
#: client/scenes/lobby_gui.cpp:2004
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "Sair"
|
msgstr "Sair"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1977
|
#: client/scenes/lobby_gui.cpp:2021
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -550,7 +560,7 @@ msgstr ""
|
|||||||
"Pressione o botão de aderência ou coloque a palma\n"
|
"Pressione o botão de aderência ou coloque a palma\n"
|
||||||
"da mão para cima para mover a janela principal"
|
"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"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
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"
|
msgid "Open local glTF model"
|
||||||
msgstr "Abrir modelo local glTF"
|
msgstr "Abrir modelo local glTF"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:175
|
||||||
msgid "Defoveate"
|
msgid "Defoveate"
|
||||||
msgstr "Defoveação"
|
msgstr "Defoveação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:177
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Rede"
|
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"
|
msgid "Download"
|
||||||
msgstr "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"
|
msgid "Upload"
|
||||||
msgstr "Upload"
|
msgstr "Upload"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:246
|
#: client/scenes/stream_gui.cpp:247
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Decoder {}"
|
msgid "Decoder {}"
|
||||||
msgstr "Decodificador {}"
|
msgstr "Decodificador {}"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:258
|
#: client/scenes/stream_gui.cpp:259
|
||||||
msgid "Timings [ms]"
|
msgid "Timings [ms]"
|
||||||
msgstr "Tempos [ms]"
|
msgstr "Tempos [ms]"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:318
|
#: client/scenes/stream_gui.cpp:319
|
||||||
msgid "Encode"
|
msgid "Encode"
|
||||||
msgstr "Codificação"
|
msgstr "Codificação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:319
|
#: client/scenes/stream_gui.cpp:320
|
||||||
msgid "Send"
|
msgid "Send"
|
||||||
msgstr "Envio"
|
msgstr "Envio"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:320
|
#: client/scenes/stream_gui.cpp:321
|
||||||
msgid "Receive"
|
msgid "Receive"
|
||||||
msgstr "Recepção"
|
msgstr "Recepção"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:321
|
#: client/scenes/stream_gui.cpp:322
|
||||||
msgid "Decode"
|
msgid "Decode"
|
||||||
msgstr "Decodificação"
|
msgstr "Decodificação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:322
|
#: client/scenes/stream_gui.cpp:323
|
||||||
msgid "Blitted"
|
msgid "Blitted"
|
||||||
msgstr "Blitagem"
|
msgstr "Blitagem"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:323
|
#: client/scenes/stream_gui.cpp:324
|
||||||
msgid "Displayed"
|
msgid "Displayed"
|
||||||
msgstr "Exibição"
|
msgstr "Exibição"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:324
|
#: client/scenes/stream_gui.cpp:325
|
||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Previsão"
|
msgstr "Previsão"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:343
|
#: client/scenes/stream_gui.cpp:344
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Movimento estimado para a latência de fótons: {}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"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Pressione o botão de aderência para mover a janela"
|
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"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
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"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Latência (de movimento para fótons)"
|
msgstr "Latência (de movimento para fótons)"
|
||||||
|
|
||||||
@@ -707,29 +717,29 @@ msgstr "Bitrate:"
|
|||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "Clique para ajustar a bitrate"
|
msgstr "Clique para ajustar a bitrate"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:531
|
#: client/scenes/stream_gui.cpp:532
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Ajuste do centro de foveação"
|
msgstr "Ajuste do centro de foveação"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:534
|
#: client/scenes/stream_gui.cpp:535
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Habilitar"
|
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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Altura {:.1f} graus"
|
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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Distância {:.2f} m"
|
msgstr "Distância {:.2f} m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:544
|
#: client/scenes/stream_gui.cpp:545
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Padrão"
|
msgstr "Padrão"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:555
|
#: client/scenes/stream_gui.cpp:556
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Modificar"
|
msgstr "Modificar"
|
||||||
|
|
||||||
@@ -766,23 +776,23 @@ msgstr "Overlays"
|
|||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:977
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "Aplicativos"
|
msgstr "Aplicativos"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:980
|
#: client/scenes/stream_gui.cpp:996
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Iniciar"
|
msgstr "Iniciar"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:993
|
#: client/scenes/stream_gui.cpp:1010
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Estatísticas"
|
msgstr "Estatísticas"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:1016
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Overlay de estatísticas"
|
msgstr "Overlay de estatísticas"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1002
|
#: client/scenes/stream_gui.cpp:1019
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Visualização compacta"
|
msgstr "Visualização compacta"
|
||||||
|
|
||||||
|
|||||||
+358
-233
@@ -2,22 +2,23 @@
|
|||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||||
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
||||||
|
# 8osm3rka <admin@osm8.live>, 2026.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-10-30 02:59+0400\n"
|
"POT-Creation-Date: 2026-02-02 15:05+0200\n"
|
||||||
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
|
"PO-Revision-Date: 2026-02-03 23:56+0200\n"
|
||||||
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
|
"Last-Translator: 8osm3rka <admin@osm8.live>\n"
|
||||||
"Language-Team: Russian <>\n"
|
"Language-Team: Russian\n"
|
||||||
"Language: Russian\n"
|
"Language: ru\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
|
"X-Generator: Gtranslator 49.0\n"
|
||||||
|
|
||||||
#: dashboard/apk_installer.cpp:137
|
#: dashboard/apk_installer.cpp:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -69,10 +70,39 @@ msgstr "Не удалось выполнить команду 'adb install': к
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "Установка прошла успешно"
|
msgstr "Установка прошла успешно"
|
||||||
|
|
||||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn dashboard"
|
msgctxt "@title"
|
||||||
msgstr "Панель управления WiVRn"
|
msgid "WiVRn"
|
||||||
|
msgstr "WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:28
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn server"
|
||||||
|
msgstr "Сервер WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:30
|
||||||
|
#, kde-format
|
||||||
|
msgid "(c) 2022-2026 WiVRn development team"
|
||||||
|
msgstr "(c) 2022-2026 Команда разработки WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:40
|
||||||
|
#, kde-format
|
||||||
|
msgid "Monado"
|
||||||
|
msgstr "Monado"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:41
|
||||||
|
#, kde-format
|
||||||
|
msgid "OpenXR runtime"
|
||||||
|
msgstr "Среда выполнения OpenXR"
|
||||||
|
|
||||||
|
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
|
||||||
|
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/HeadsetStatsPage.qml:36
|
||||||
|
#: dashboard/qml/TroubleshootPage.qml:71
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "go back to the home page"
|
||||||
|
msgid "Back"
|
||||||
|
msgstr "Назад"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -90,8 +120,9 @@ msgstr "Проверяю новейшую версию..."
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "APK файл для этой версии отсутствует"
|
msgstr "APK файл для этой версии отсутствует"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:311
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||||
#: dashboard/qml/Main.qml:396 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||||
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
msgstr "ADB не установлен"
|
msgstr "ADB не установлен"
|
||||||
@@ -112,13 +143,6 @@ msgstr ""
|
|||||||
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
|
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
|
||||||
"собственный клиент."
|
"собственный клиент."
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
|
||||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "go back to the home page"
|
|
||||||
msgid "Back"
|
|
||||||
msgstr "Назад"
|
|
||||||
|
|
||||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Select your headset"
|
msgid "Select your headset"
|
||||||
@@ -139,7 +163,7 @@ msgstr "Переустановить WiVRn"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "Установить WiVRn"
|
msgstr "Установить WiVRn"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:401
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Шлемы"
|
msgstr "Шлемы"
|
||||||
@@ -188,7 +212,7 @@ msgstr "Переименовать"
|
|||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
#: 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
|
#, kde-format
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Отменить"
|
msgstr "Отменить"
|
||||||
@@ -240,56 +264,58 @@ msgstr "Сопрячь новый шлем"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "Статистика шлема"
|
msgstr "Статистика шлема"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:130
|
#: dashboard/qml/Main.qml:12
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn dashboard"
|
||||||
|
msgstr "Панель управления WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "Выйти из WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"Сервер WiVRn еще активен.\n"
|
||||||
|
"Закрытие данного окна его остановит."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Сервис avahi не установлен"
|
msgstr "Сервис avahi не установлен"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:138
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Сервис avahi не запущен"
|
msgstr "Сервис avahi не запущен"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:145 dashboard/qml/Main.qml:160
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:174
|
#: dashboard/qml/Main.qml:223
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Исправить"
|
msgstr "Исправить"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:153
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
|
||||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
|
||||||
msgstr "Сервер не имеет CAP_SYS_NICE возможностей"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:168
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "Брандмауэр может не разрешать порт 9757"
|
msgstr "Брандмауэр может не разрешать порт 9757"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:183
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
|
||||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
|
||||||
msgstr ""
|
|
||||||
"CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:189
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "restart the server"
|
|
||||||
msgid "Restart now"
|
|
||||||
msgstr "Перезагрузить сейчас"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:200
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
|
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:206
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "Больше информации"
|
msgstr "Больше информации"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:214
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -298,7 +324,7 @@ msgstr ""
|
|||||||
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
|
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
|
||||||
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
|
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:222
|
#: dashboard/qml/Main.qml:201
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -307,79 +333,130 @@ msgstr ""
|
|||||||
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
|
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
|
||||||
"Установите xrizer или OpenComposite."
|
"Установите xrizer или OpenComposite."
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:231
|
#: dashboard/qml/Main.qml:209
|
||||||
|
#, kde-format
|
||||||
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
|
msgstr "Steam установлен как snap-пакет. Snap-пакеты не совместимы с WiVRn."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:217
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
|
msgstr ""
|
||||||
|
"Steam установлен как flatpak-пакет но у него нет необходимых разрешений."
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:232
|
||||||
|
#, kde-format
|
||||||
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
|
msgstr "Перезапустите сервер для применения изменённых настроек"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:238
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "restart the server"
|
||||||
|
msgid "Restart now"
|
||||||
|
msgstr "Перезапустить сейчас"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:263
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Не удалось запустить сервер"
|
msgstr "Не удалось запустить сервер"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:237 dashboard/qml/TroubleshootPage.qml:85
|
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Открыть логи сервера"
|
msgstr "Открыть логи сервера"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:266
|
#: dashboard/qml/Main.qml:295
|
||||||
|
#, kde-format
|
||||||
|
msgid "Server status"
|
||||||
|
msgstr "Статус сервера"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Запущено"
|
msgstr "Запущено"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:281
|
#: dashboard/qml/Main.qml:314
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Сопряжение"
|
msgstr "Сопряжение"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:294
|
#: dashboard/qml/Main.qml:334
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "PIN: %1"
|
msgid "Headset status"
|
||||||
msgstr "ПИН: %1"
|
msgstr "Статус шлема"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:302 dashboard/qml/WizardPage.qml:374
|
#: dashboard/qml/Main.qml:341
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connect by USB"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgstr "Подключиться по USB"
|
msgid "Headset"
|
||||||
|
msgstr "Шлем"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:313
|
#: dashboard/qml/Main.qml:344
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "Not connected"
|
||||||
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика"
|
msgstr "Не подключено"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:321
|
#: dashboard/qml/Main.qml:348
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Отключиться"
|
msgstr "Отключиться"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:338
|
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||||
|
#: dashboard/qml/Main.qml:372
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "automatically started application"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "Application"
|
msgid "USB"
|
||||||
msgstr "Приложение"
|
msgstr "USB"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:359
|
#: dashboard/qml/Main.qml:358
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "usb connect button"
|
||||||
|
msgid "Connect (wired)"
|
||||||
|
msgstr "Подключить (по проводу)"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||||
|
#, kde-format
|
||||||
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
|
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Steam информация"
|
msgstr "Информация для Steam"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:380
|
#: dashboard/qml/Main.qml:412
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Мастер настройки"
|
msgstr "Мастер настройки"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:387
|
#: dashboard/qml/Main.qml:418
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Установить приложение"
|
msgstr "Установить приложение"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:408 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Настройки"
|
msgstr "Настройки"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:415 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:443
|
||||||
|
#, kde-format
|
||||||
|
msgid "About"
|
||||||
|
msgstr "О WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Устранение неполадок"
|
msgstr "Устранение неполадок"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:455
|
||||||
|
#, kde-format
|
||||||
|
msgid "Version %1"
|
||||||
|
msgstr "Версия %1"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:14
|
#: dashboard/qml/SelectGame.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "don't start an application automatically"
|
msgctxt "don't start an application automatically"
|
||||||
@@ -392,176 +469,100 @@ msgctxt "choose a custom application to start"
|
|||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Пользовательское"
|
msgstr "Пользовательское"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:76
|
#: dashboard/qml/SelectGame.qml:72
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the application to start"
|
msgctxt "browse a file to choose the application to start"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Обзор"
|
msgstr "Обзор"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:41
|
#: dashboard/qml/SettingsPage.qml:28
|
||||||
#, kde-format
|
|
||||||
msgctxt "automatic foveation setup"
|
|
||||||
msgid "Manual foveation"
|
|
||||||
msgstr "Ручная фовеация"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:47
|
|
||||||
#, kde-format
|
|
||||||
msgid "Foveation strength:"
|
|
||||||
msgstr "Степень фовеации:"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:63
|
|
||||||
#, kde-format
|
|
||||||
msgid "%1 %"
|
|
||||||
msgstr "%1 %"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:69
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"A stronger foveation makes the image sharper in the center than in the "
|
|
||||||
"periphery and makes the decoding faster. This is better for fast paced "
|
|
||||||
"games.\n"
|
|
||||||
"\n"
|
|
||||||
"A weaker foveation gives a uniform sharpness in the whole image.\n"
|
|
||||||
"\n"
|
|
||||||
"The recommended values are between 20% and 50% for headsets without eye "
|
|
||||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
|
||||||
msgstr ""
|
|
||||||
"Более сильная фовеация делает изображение четче в центре чем в периферийном "
|
|
||||||
"зрении и ускоряет декодирование. Это лучше для динамичных игр.\n"
|
|
||||||
"\n"
|
|
||||||
"Более слабая фовеации дает равномерную четкость на всем изображении.\n"
|
|
||||||
"\n"
|
|
||||||
"Рекомендуемые значения между 20% и 50% для шлемов без отслеживания движения "
|
|
||||||
"глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:75
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "weaker foveation"
|
|
||||||
msgid "Weaker"
|
|
||||||
msgstr "Слабее"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:86
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "stronger foveation"
|
|
||||||
msgid "Stronger"
|
|
||||||
msgstr "Сильнее"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:96
|
|
||||||
#, kde-format
|
|
||||||
msgid "Bitrate:"
|
|
||||||
msgstr "Битрейт:"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:101 dashboard/qml/SettingsPage.qml:103
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "bitrate"
|
|
||||||
msgid "%1 Mbit/s"
|
|
||||||
msgstr "%1 Мбит/с"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:115
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "The current encoder configuration is not supported"
|
msgid "The current encoder configuration is not supported"
|
||||||
msgstr "Текущая конфигурация кодировщика не поддерживается"
|
msgstr "Текущая конфигурация кодировщика не поддерживается"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:120
|
#: dashboard/qml/SettingsPage.qml:33
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Reset"
|
msgid "Reset"
|
||||||
msgstr "Сбросить"
|
msgstr "Сбросить"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:127
|
#: dashboard/qml/SettingsPage.qml:40
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Encoder:"
|
msgid "Encoder:"
|
||||||
msgstr "Кодировщик:"
|
msgstr "Кодировщик:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:133
|
#: dashboard/qml/SettingsPage.qml:46
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "automatic encoder setup"
|
msgctxt "automatic encoder setup"
|
||||||
msgid "Auto"
|
msgid "Auto"
|
||||||
msgstr "Авто"
|
msgstr "Авто"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:137
|
#: dashboard/qml/SettingsPage.qml:50
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "nvenc (NVIDIA GPUs)"
|
msgid "nvenc (NVIDIA GPUs)"
|
||||||
msgstr "nvenc (NVIDIA ГПУ)"
|
msgstr "nvenc (NVIDIA ГПУ)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:141
|
#: dashboard/qml/SettingsPage.qml:54
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "vaapi (AMD and Intel GPUs)"
|
msgid "vaapi (AMD and Intel GPUs)"
|
||||||
msgstr "vaapi (AMD и Intel ГПУ)"
|
msgstr "vaapi (AMD и Intel ГПУ)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:145
|
#: dashboard/qml/SettingsPage.qml:58
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Vulkan (Vulkan Video)"
|
msgid "Vulkan (Any modern GPU)"
|
||||||
msgstr "Vulkan (Vulkan Video)"
|
msgstr "Vulkan (Любое современное ГПУ)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:149
|
#: dashboard/qml/SettingsPage.qml:62
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "x264 (software encoding)"
|
msgid "x264 (software encoding)"
|
||||||
msgstr "x264 (программное кодирование)"
|
msgstr "x264 (программное кодирование)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:166
|
#: dashboard/qml/SettingsPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||||
msgstr "\"Авто\" будет использовать аппаратное ускорение если оно доступно"
|
msgstr "\"Авто\" будет использовать аппаратное ускорение, если оно доступно"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:171
|
#: dashboard/qml/SettingsPage.qml:88
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Codec:"
|
msgid "Autostart application:"
|
||||||
msgstr "Кодек:"
|
msgstr "Приложение для автозапуска:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:177
|
#: dashboard/qml/SettingsPage.qml:96
|
||||||
#, kde-format
|
|
||||||
msgctxt "automatic codec setup"
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "Авто"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:181
|
|
||||||
#, kde-format
|
|
||||||
msgid "H.264"
|
|
||||||
msgstr "H.264"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:185
|
|
||||||
#, kde-format
|
|
||||||
msgid "H.265"
|
|
||||||
msgstr "H.265"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:189
|
|
||||||
#, kde-format
|
|
||||||
msgid "AV1"
|
|
||||||
msgstr "AV1"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:217
|
|
||||||
#, kde-format
|
|
||||||
msgid "10 bits"
|
|
||||||
msgstr "10-бит"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:221
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
|
||||||
"and hardware"
|
|
||||||
msgstr "10-битное кодирование улучшает качество изображения, но поддерживается не всеми кодеками и оборудованием"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:231
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Advanced options"
|
msgid "Advanced options"
|
||||||
msgstr "Расширенные настройки"
|
msgstr "Расширенные настройки"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:237
|
#: dashboard/qml/SettingsPage.qml:102
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Check system configuration on start"
|
msgid "Check system configuration on start"
|
||||||
msgstr "Проверить конфигурацию системы при запуске"
|
msgstr "Проверить конфигурацию системы при запуске"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:241
|
#: dashboard/qml/SettingsPage.qml:108
|
||||||
|
#, kde-format
|
||||||
|
msgid "Forward keyboard & mouse from headset"
|
||||||
|
msgstr "Проброс клавиатуры и мыши со шлема"
|
||||||
|
|
||||||
|
#: dashboard/qml/SettingsPage.qml:111
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||||
|
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||||
|
"be forwarded."
|
||||||
|
msgstr ""
|
||||||
|
"Клавиатура и мышь, подключенные к клиенту будут работать так, будто "
|
||||||
|
"подключены к серверу. ОС клиента может резервировать некоторые клавиши и "
|
||||||
|
"комбинации, что не позволяет их пробрасывать."
|
||||||
|
|
||||||
|
#: dashboard/qml/SettingsPage.qml:116
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Enable debug window"
|
msgid "Enable debug window"
|
||||||
msgstr "Включить окно отладки"
|
msgstr "Включить окно отладки"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:248
|
#: dashboard/qml/SettingsPage.qml:123
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Enable SteamVR tracked devices support"
|
msgid "Enable SteamVR tracked devices support"
|
||||||
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
|
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:251
|
#: dashboard/qml/SettingsPage.qml:126
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||||
@@ -574,44 +575,44 @@ msgstr ""
|
|||||||
"Устройства должны быть включены перед подключенем к WiVRn.\n"
|
"Устройства должны быть включены перед подключенем к WiVRn.\n"
|
||||||
"Внешняя утилита, такая как motoc, необходима для калибрации."
|
"Внешняя утилита, такая как motoc, необходима для калибрации."
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:259
|
#: dashboard/qml/SettingsPage.qml:134
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Custom adb location"
|
msgid "Custom adb location"
|
||||||
msgstr "Пользовательское расположение adb"
|
msgstr "Пользовательское расположение adb"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:270
|
#: dashboard/qml/SettingsPage.qml:145
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Adb location:"
|
msgid "Adb location:"
|
||||||
msgstr "Расположение adb:"
|
msgstr "Расположение adb:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:279
|
#: dashboard/qml/SettingsPage.qml:154
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the adb binary"
|
msgctxt "browse a file to choose the adb binary"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Обзор"
|
msgstr "Обзор"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:289
|
#: dashboard/qml/SettingsPage.qml:164
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "По умолчанию"
|
msgstr "По умолчанию"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:303
|
#: dashboard/qml/SettingsPage.qml:178
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "set a custom OpenVR compatibility library"
|
msgctxt "set a custom OpenVR compatibility library"
|
||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Пользовательская"
|
msgstr "Пользовательская"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:308
|
#: dashboard/qml/SettingsPage.qml:183
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Выключена"
|
msgstr "Выключена"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:316
|
#: dashboard/qml/SettingsPage.qml:191
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "OpenVR compatibility library:"
|
msgid "OpenVR compatibility library:"
|
||||||
msgstr "Библиотека для совместимости со SteamVR"
|
msgstr "Библиотека для совместимости с OpenVR"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:342
|
#: dashboard/qml/SettingsPage.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||||
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
|
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
|
||||||
@@ -622,7 +623,7 @@ msgid ""
|
|||||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||||
"General and paste this in \"Launch options\":"
|
"General and paste this in \"Launch options\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Для Steam games, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
|
"Для игр из Steam, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
|
||||||
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
|
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
|
||||||
|
|
||||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||||
@@ -648,7 +649,7 @@ msgstr "Команда запуска Steam скопирована"
|
|||||||
msgid "I cannot find the WiVRn app on my headset"
|
msgid "I cannot find the WiVRn app on my headset"
|
||||||
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
|
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:353
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||||
@@ -731,7 +732,7 @@ msgstr "Сопряжение в данный момент выключено."
|
|||||||
msgid "I have no sound on my headset"
|
msgid "I have no sound on my headset"
|
||||||
msgstr "На моем шлеме отсутствует звук"
|
msgstr "На моем шлеме отсутствует звук"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:406
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||||
@@ -740,12 +741,27 @@ msgstr ""
|
|||||||
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
|
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
|
||||||
"умолчанию, чтобы приложения использовали его."
|
"умолчанию, чтобы приложения использовали его."
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:75
|
#: dashboard/qml/TroubleshootPage.qml:61
|
||||||
|
#, kde-format
|
||||||
|
msgid "Some games fail to start or have input issues"
|
||||||
|
msgstr "Некоторые игры не запускаются или имеют проблемы с управлением"
|
||||||
|
|
||||||
|
#: dashboard/qml/TroubleshootPage.qml:62
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
||||||
|
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
||||||
|
msgstr ""
|
||||||
|
"Для проблем с определенными играми, проверьте, есть ли известные баги или "
|
||||||
|
"обходные решения в <a href=\"https://db.vronlinux.org/\">базе данных "
|
||||||
|
"vronlinux</a>"
|
||||||
|
|
||||||
|
#: dashboard/qml/TroubleshootPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Report an issue"
|
msgid "Report an issue"
|
||||||
msgstr "Сообщить о проблеме"
|
msgstr "Сообщить о проблеме"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:80
|
#: dashboard/qml/TroubleshootPage.qml:84
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Ask on Discord"
|
msgid "Ask on Discord"
|
||||||
msgstr "Задать вопрос в Discord"
|
msgstr "Задать вопрос в Discord"
|
||||||
@@ -756,9 +772,8 @@ msgid "Getting started"
|
|||||||
msgstr "Начало работы"
|
msgstr "Начало работы"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
|
||||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
|
||||||
#: dashboard/qml/WizardPage.qml:485
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Back"
|
msgid "Back"
|
||||||
msgstr "Назад"
|
msgstr "Назад"
|
||||||
@@ -778,8 +793,7 @@ msgstr ""
|
|||||||
"подключить его к вашему компьютеру."
|
"подключить его к вашему компьютеру."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
|
||||||
#: dashboard/qml/WizardPage.qml:490
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Next"
|
msgid "Next"
|
||||||
msgstr "Дальше"
|
msgstr "Дальше"
|
||||||
@@ -858,26 +872,12 @@ msgstr ""
|
|||||||
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
|
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
|
||||||
"href=\"#\">режиме разработчика</a></li></ul></p>"
|
"href=\"#\">режиме разработчика</a></li></ul></p>"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:280
|
#: dashboard/qml/WizardPage.qml:295
|
||||||
#, kde-format
|
|
||||||
msgid "Select the application you want to start"
|
|
||||||
msgstr "Выберите приложение которое вы хотите запустить"
|
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:286
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"The application you choose will be started automatically when you connect "
|
|
||||||
"your headset."
|
|
||||||
msgstr ""
|
|
||||||
"Приложение которое вы выберете будет запущено автоматически когда вы "
|
|
||||||
"подключитесь к вашему шлему."
|
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:301
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Important information"
|
msgid "Important information"
|
||||||
msgstr "Важная информация"
|
msgstr "Важная информация"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:308
|
#: dashboard/qml/WizardPage.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||||
@@ -886,12 +886,12 @@ msgstr ""
|
|||||||
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
|
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
|
||||||
"работает."
|
"работает."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:359
|
#: dashboard/qml/WizardPage.qml:313
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Start the WiVRn app on your headset"
|
msgid "Start the WiVRn app on your headset"
|
||||||
msgstr "Запустите приложение WiVRn на вашем шлеме"
|
msgstr "Запустите приложение WiVRn на вашем шлеме"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:364
|
#: dashboard/qml/WizardPage.qml:319
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||||
@@ -900,17 +900,22 @@ msgstr ""
|
|||||||
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
|
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
|
||||||
"подключитесь к \"%1\" и введите ПИН \"%2\"."
|
"подключитесь к \"%1\" и введите ПИН \"%2\"."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:371
|
#: dashboard/qml/WizardPage.qml:326
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||||
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
|
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:384
|
#: dashboard/qml/WizardPage.qml:329
|
||||||
|
#, kde-format
|
||||||
|
msgid "Connect by USB"
|
||||||
|
msgstr "Подключиться по USB"
|
||||||
|
|
||||||
|
#: dashboard/qml/WizardPage.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshooting"
|
msgid "Troubleshooting"
|
||||||
msgstr "Устранение неполадок"
|
msgstr "Устранение неполадок"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:393
|
#: dashboard/qml/WizardPage.qml:358
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||||
@@ -919,22 +924,22 @@ msgstr ""
|
|||||||
"Если сервер не виден или не удается установить соединение, проверьте что "
|
"Если сервер не виден или не удается установить соединение, проверьте что "
|
||||||
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
|
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:406
|
#: dashboard/qml/WizardPage.qml:371
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Skip"
|
msgid "Skip"
|
||||||
msgstr "Пропустить"
|
msgstr "Пропустить"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:426
|
#: dashboard/qml/WizardPage.qml:391
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connection established"
|
msgid "Connection established"
|
||||||
msgstr "Соединение установлено"
|
msgstr "Соединение установлено"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:431
|
#: dashboard/qml/WizardPage.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Your headset is now connected."
|
msgid "Your headset is now connected."
|
||||||
msgstr "Ваш шлем теперь подключен."
|
msgstr "Ваш шлем теперь подключен."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:443
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||||
@@ -943,26 +948,146 @@ msgstr ""
|
|||||||
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
|
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
|
||||||
"управления перед соединением."
|
"управления перед соединением."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
#: dashboard/qml/WizardPage.qml:423 dashboard/qml/WizardPage.qml:460
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Finish"
|
msgid "Finish"
|
||||||
msgstr "Завершить"
|
msgstr "Завершить"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:473
|
#: dashboard/qml/WizardPage.qml:438
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "Завершено"
|
msgstr "Завершено"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:594
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:595
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "Open Composite"
|
msgstr "Open Composite"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||||
|
#~ msgstr "Сервер не имеет CAP_SYS_NICE возможностей"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "PIN: %1"
|
||||||
|
#~ msgstr "ПИН: %1"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "automatically started application"
|
||||||
|
#~ msgid "Application"
|
||||||
|
#~ msgstr "Приложение"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "automatic foveation setup"
|
||||||
|
#~ msgid "Manual foveation"
|
||||||
|
#~ msgstr "Ручная фовеация"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "Foveation strength:"
|
||||||
|
#~ msgstr "Степень фовеации:"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "%1 %"
|
||||||
|
#~ msgstr "%1 %"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "A stronger foveation makes the image sharper in the center than in the "
|
||||||
|
#~ "periphery and makes the decoding faster. This is better for fast paced "
|
||||||
|
#~ "games.\n"
|
||||||
|
#~ "\n"
|
||||||
|
#~ "A weaker foveation gives a uniform sharpness in the whole image.\n"
|
||||||
|
#~ "\n"
|
||||||
|
#~ "The recommended values are between 20% and 50% for headsets without eye "
|
||||||
|
#~ "tracking and between 50% and 70% for headsets with eye tracking."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Более сильная фовеация делает изображение четче в центре чем в "
|
||||||
|
#~ "периферийном зрении и ускоряет декодирование. Это лучше для динамичных "
|
||||||
|
#~ "игр.\n"
|
||||||
|
#~ "\n"
|
||||||
|
#~ "Более слабая фовеации дает равномерную четкость на всем изображении.\n"
|
||||||
|
#~ "\n"
|
||||||
|
#~ "Рекомендуемые значения между 20% и 50% для шлемов без отслеживания "
|
||||||
|
#~ "движения глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "weaker foveation"
|
||||||
|
#~ msgid "Weaker"
|
||||||
|
#~ msgstr "Слабее"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "stronger foveation"
|
||||||
|
#~ msgid "Stronger"
|
||||||
|
#~ msgstr "Сильнее"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "Bitrate:"
|
||||||
|
#~ msgstr "Битрейт:"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "bitrate"
|
||||||
|
#~ msgid "%1 Mbit/s"
|
||||||
|
#~ msgstr "%1 Мбит/с"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "Vulkan (Vulkan Video)"
|
||||||
|
#~ msgstr "Vulkan (Vulkan Video)"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "Codec:"
|
||||||
|
#~ msgstr "Кодек:"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgctxt "automatic codec setup"
|
||||||
|
#~ msgid "Auto"
|
||||||
|
#~ msgstr "Авто"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "H.264"
|
||||||
|
#~ msgstr "H.264"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "H.265"
|
||||||
|
#~ msgstr "H.265"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "AV1"
|
||||||
|
#~ msgstr "AV1"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "10 bits"
|
||||||
|
#~ msgstr "10-бит"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "10-bit encoding improves image quality but is not supported by all codecs "
|
||||||
|
#~ "and hardware"
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "10-битное кодирование улучшает качество изображения, но поддерживается не "
|
||||||
|
#~ "всеми кодеками и оборудованием"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid "Select the application you want to start"
|
||||||
|
#~ msgstr "Выберите приложение которое вы хотите запустить"
|
||||||
|
|
||||||
|
#, kde-format
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "The application you choose will be started automatically when you connect "
|
||||||
|
#~ "your headset."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Приложение которое вы выберете будет запущено автоматически когда вы "
|
||||||
|
#~ "подключитесь к вашему шлему."
|
||||||
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
#~ msgid "No precompiled APK is available for this version"
|
#~ msgid "No precompiled APK is available for this version"
|
||||||
#~ msgstr "Нет прекомпилированного APK-файла для этой версии"
|
#~ msgstr "Нет прекомпилированного APK-файла для этой версии"
|
||||||
|
|||||||
+289
-158
@@ -2,22 +2,25 @@
|
|||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the WiVRn package.
|
# This file is distributed under the same license as the WiVRn package.
|
||||||
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
||||||
|
# 8osm3rka <admin@osm8.live>, 2026.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn\n"
|
"Project-Id-Version: WiVRn\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-10-29 18:30+0400\n"
|
"POT-Creation-Date: 2026-02-03 21:56+0200\n"
|
||||||
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
|
"PO-Revision-Date: 2026-02-04 09:22+0200\n"
|
||||||
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
|
"Last-Translator: 8osm3rka <admin@osm8.live>\n"
|
||||||
"Language-Team: Russian <>\n"
|
"Language-Team: Russian\n"
|
||||||
"Language: Russian\n"
|
"Language: ru\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
|
"X-Generator: Gtranslator 49.0\n"
|
||||||
|
|
||||||
#: client/scene.cpp:72
|
#: client/scene.cpp:73
|
||||||
msgid "No supported swapchain format"
|
msgid "No supported swapchain format"
|
||||||
msgstr "Нет поддерживаемого формата цепочек обмена"
|
msgstr "Нет поддерживаемого формата цепочек обмена"
|
||||||
|
|
||||||
@@ -45,106 +48,106 @@ msgstr ""
|
|||||||
msgid "Start an application on {} or select one to start streaming."
|
msgid "Start an application on {} or select one to start streaming."
|
||||||
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
|
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:205
|
#: client/scenes/lobby.cpp:230
|
||||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||||
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
|
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:208
|
#: client/scenes/lobby.cpp:233
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||||
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
|
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:223
|
#: client/scenes/lobby.cpp:248
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot resolve hostname: {}"
|
msgid "Cannot resolve hostname: {}"
|
||||||
msgstr "Невозможно разрешить имя хоста: {}"
|
msgstr "Невозможно разрешить имя хоста: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:310 client/scenes/lobby.cpp:316
|
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot connect to {} ({}): {}"
|
msgid "Cannot connect to {} ({}): {}"
|
||||||
msgstr "Невозможно подключиться к {} ({}): {}"
|
msgstr "Невозможно подключиться к {} ({}): {}"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:399
|
#: client/scenes/lobby.cpp:424
|
||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "Ожидание подключения"
|
msgstr "Ожидание подключения"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1000
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "Сквозная передача"
|
msgstr "Сквозная передача"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1012
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "Окружение по умолчанию"
|
msgstr "Окружение по умолчанию"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:99
|
#: client/scenes/lobby_gui.cpp:101
|
||||||
msgctxt "openxr_post_processing"
|
msgctxt "openxr_post_processing"
|
||||||
msgid "Normal"
|
msgid "Normal"
|
||||||
msgstr "Нормальное"
|
msgstr "Нормальное"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:102
|
#: client/scenes/lobby_gui.cpp:104
|
||||||
msgctxt "openxr_post_processing"
|
msgctxt "openxr_post_processing"
|
||||||
msgid "Quality"
|
msgid "Quality"
|
||||||
msgstr "Качество"
|
msgstr "Качество"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:104
|
#: client/scenes/lobby_gui.cpp:106
|
||||||
msgctxt "openxr_post_processing"
|
msgctxt "openxr_post_processing"
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Выключено"
|
msgstr "Выключено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||||
#: client/scenes/stream_gui.cpp:893
|
#: client/scenes/stream_gui.cpp:1009
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Отключиться"
|
msgstr "Отключиться"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
|
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||||
#: client/scenes/lobby_gui_customize.cpp:744
|
#: client/scenes/lobby_gui_customize.cpp:844
|
||||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:889
|
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1005
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "Закрыть"
|
msgstr "Закрыть"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:138
|
#: client/scenes/lobby_gui.cpp:140
|
||||||
msgid "Connection"
|
msgid "Connection"
|
||||||
msgstr "Подключение"
|
msgstr "Подключение"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:140
|
#: client/scenes/lobby_gui.cpp:142
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Connection to {}"
|
msgid "Connection to {}"
|
||||||
msgstr "Подключение к {}"
|
msgstr "Подключение к {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:170
|
#: client/scenes/lobby_gui.cpp:172
|
||||||
msgid "PIN"
|
msgid "PIN"
|
||||||
msgstr "ПИН"
|
msgstr "ПИН"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:192
|
#: client/scenes/lobby_gui.cpp:194
|
||||||
msgid "Input the PIN displayed on the dashboard"
|
msgid "Input the PIN displayed on the dashboard"
|
||||||
msgstr "Введите ПИН отображенный в панеле управления"
|
msgstr "Введите ПИН отображенный в панеле управления"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:282
|
#: client/scenes/lobby_gui.cpp:284
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Название"
|
msgstr "Название"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:293
|
#: client/scenes/lobby_gui.cpp:295
|
||||||
msgid "Address"
|
msgid "Address"
|
||||||
msgstr "Адрес"
|
msgstr "Адрес"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:302
|
#: client/scenes/lobby_gui.cpp:304
|
||||||
msgid "Port"
|
msgid "Port"
|
||||||
msgstr "Порт"
|
msgstr "Порт"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:310
|
#: client/scenes/lobby_gui.cpp:312
|
||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "Только TCP"
|
msgstr "Только TCP"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:857
|
#: client/scenes/stream_gui.cpp:962
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Отменить"
|
msgstr "Отменить"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:331
|
#: client/scenes/lobby_gui.cpp:333
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Сохранить"
|
msgstr "Сохранить"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:384
|
#: client/scenes/lobby_gui.cpp:386
|
||||||
msgid ""
|
msgid ""
|
||||||
"Start a WiVRn server on your\n"
|
"Start a WiVRn server on your\n"
|
||||||
"local network"
|
"local network"
|
||||||
@@ -152,110 +155,183 @@ msgstr ""
|
|||||||
"Запустите сервер WiVRn в вашей\n"
|
"Запустите сервер WiVRn в вашей\n"
|
||||||
"локальной сети"
|
"локальной сети"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:416
|
#: client/scenes/lobby_gui.cpp:418
|
||||||
msgid "Autoconnect"
|
msgid "Autoconnect"
|
||||||
msgstr "Автоматическое подключение"
|
msgstr "Автоматическое подключение"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:442
|
#: client/scenes/lobby_gui.cpp:444
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Подключиться"
|
msgstr "Подключиться"
|
||||||
|
|
||||||
#: 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"
|
msgid "Incompatible server version"
|
||||||
msgstr "Несовместимая версия сервера"
|
msgstr "Несовместимая версия сервера"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:454
|
#: client/scenes/lobby_gui.cpp:456
|
||||||
msgid "Server not available"
|
msgid "Server not available"
|
||||||
msgstr "Сервер недоступен"
|
msgstr "Сервер недоступен"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:536
|
#: client/scenes/lobby_gui.cpp:538
|
||||||
msgctxt "language selection, replace with the name of the language"
|
msgctxt "language selection, replace with the name of the language"
|
||||||
msgid "English"
|
msgid "English"
|
||||||
msgstr "Русский"
|
msgstr "Русский"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:550
|
#: client/scenes/lobby_gui.cpp:552
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Язык"
|
msgstr "Язык"
|
||||||
|
|
||||||
#: 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"
|
msgid "System language"
|
||||||
msgstr "Язык системы"
|
msgstr "Язык системы"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:577
|
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||||
msgid "Refresh rate"
|
msgid "Refresh rate"
|
||||||
msgstr "Частота обновления"
|
msgstr "Частота обновления"
|
||||||
|
|
||||||
#: 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"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "Автоматическая"
|
msgstr "Автоматическая"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:586
|
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Выберите частоту обновления основанную на измеренной производительности "
|
"Выбрать частоту обновления, основанную на измеренной производительности "
|
||||||
"приложения.\n"
|
"приложения.\n"
|
||||||
"Может вызвать мерцание когда изменениет произойдет."
|
"Может вызывать мерцание когда происходит изменение."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:603
|
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||||
msgid "Minimum refresh rate"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "Минимальная частота обновления"
|
msgstr "Минимальная частота обновления"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:629
|
#: client/scenes/lobby_gui.cpp:632
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "Уровень фовеации"
|
msgstr "Уровень фовеации"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:651
|
|
||||||
msgid "Resolution scale"
|
|
||||||
msgstr "Масштаб разрешения"
|
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:655
|
#: client/scenes/lobby_gui.cpp:655
|
||||||
|
msgid "Render resolution"
|
||||||
|
msgstr "Разрешение"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:659
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - {}x{} на каждый глаз"
|
msgstr "{}%% - {}x{} на каждый глаз"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:666
|
#: client/scenes/lobby_gui.cpp:670
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||||
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
|
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:672
|
#: client/scenes/lobby_gui.cpp:680
|
||||||
|
msgid "Foveated encoding"
|
||||||
|
msgstr "Кодировка с фовеацией"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:684
|
||||||
|
#, c-format, c++-format
|
||||||
|
msgid "{}%%"
|
||||||
|
msgstr "{}%%"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:697
|
||||||
|
msgid ""
|
||||||
|
"Higher values focus image quality where you look at,\n"
|
||||||
|
"improving latency, power efficiency and quality."
|
||||||
|
msgstr ""
|
||||||
|
"Значения выше концентрируют качество картинки там, где вы смотрите, что "
|
||||||
|
"улучшает задержку, энергоэффективность и качество."
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:700
|
||||||
|
msgid ""
|
||||||
|
"Higher values focus image quality at the center,\n"
|
||||||
|
"improving latency, power efficiency and quality."
|
||||||
|
msgstr ""
|
||||||
|
"Значения выше концентрируют качество картинки в центре, что улучшает "
|
||||||
|
"задержку, энергоэффективность и качество."
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:709
|
||||||
|
msgctxt "Codec"
|
||||||
|
msgid "Automatic"
|
||||||
|
msgstr "Автоматически"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
|
msgctxt "Codec"
|
||||||
|
msgid "H.264"
|
||||||
|
msgstr "H.264"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:715
|
||||||
|
msgctxt "Codec"
|
||||||
|
msgid "H.265"
|
||||||
|
msgstr "H.265"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:717
|
||||||
|
msgctxt "Codec"
|
||||||
|
msgid "AV1"
|
||||||
|
msgstr "AV1"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:725
|
||||||
|
msgid "Codec"
|
||||||
|
msgstr "Кодек"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:753
|
||||||
|
msgid "10-bit"
|
||||||
|
msgstr "10-бит"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
|
msgid "Bitrate"
|
||||||
|
msgstr "Битрейт"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:772
|
||||||
|
#, c++-format
|
||||||
|
msgid "{}Mbit/s"
|
||||||
|
msgstr "{}Мбит/с"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:783
|
||||||
|
msgid "High power mode"
|
||||||
|
msgstr "Режим повышенной мощности"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:786
|
||||||
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
|
msgstr ""
|
||||||
|
"Увеличивает энергопотребление, что позволяет достичь более высокого "
|
||||||
|
"разрешения и частоты обновлений"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:792
|
||||||
msgid "Enable microphone"
|
msgid "Enable microphone"
|
||||||
msgstr "Включить микрофон"
|
msgstr "Включить микрофон"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:681
|
#: client/scenes/lobby_gui.cpp:801
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "Необработанный звук с микрофона"
|
msgstr "Необработанный звук с микрофона"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:687
|
#: client/scenes/lobby_gui.cpp:807
|
||||||
msgid "Force disable audio filters, such as noise cancellation"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
|
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:694
|
#: client/scenes/lobby_gui.cpp:814
|
||||||
msgid "Enable hand tracking"
|
msgid "Enable hand tracking"
|
||||||
msgstr "Включить отслеживание рук"
|
msgstr "Включить отслеживание рук"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:700 client/scenes/lobby_gui.cpp:712
|
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
||||||
#: client/scenes/lobby_gui.cpp:724 client/scenes/lobby_gui.cpp:741
|
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
||||||
#: client/scenes/lobby_gui_customize.cpp:540
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "Эта функция не поддерживается вашим шлемом"
|
msgstr "Эта функция не поддерживается вашим шлемом"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:706
|
#: client/scenes/lobby_gui.cpp:825
|
||||||
msgid "Enable eye tracking"
|
msgid "Enable eye tracking"
|
||||||
msgstr "Включить отслеживание глаз"
|
msgstr "Включить отслеживание глаз"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:718
|
#: client/scenes/lobby_gui.cpp:836
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "Включить отслеживание лица"
|
msgstr "Включить отслеживание лица"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:732
|
#: client/scenes/lobby_gui.cpp:848
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "Включить отслеживание тела"
|
msgstr "Включить отслеживание тела"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:746
|
#: client/scenes/lobby_gui.cpp:861
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -265,11 +341,11 @@ msgstr ""
|
|||||||
"отслеживания движений,\n"
|
"отслеживания движений,\n"
|
||||||
"иначе данные тела будут угаданы из положения контроллера и шлема"
|
"иначе данные тела будут угаданы из положения контроллера и шлема"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:756
|
#: client/scenes/lobby_gui.cpp:871
|
||||||
msgid "Enable lower body tracking"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "Включить отслеживание нижней части тела"
|
msgstr "Включить отслеживание нижней части тела"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:762
|
#: client/scenes/lobby_gui.cpp:877
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
@@ -279,11 +355,11 @@ msgstr ""
|
|||||||
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
|
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
|
||||||
"отслеживания движений"
|
"отслеживания движений"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:765
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "Включить отслеживание бедер"
|
msgstr "Включить отслеживание бедер"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:771
|
#: client/scenes/lobby_gui.cpp:886
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"May be desired when using another source of hip tracking"
|
||||||
@@ -291,11 +367,11 @@ msgstr ""
|
|||||||
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
|
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
|
||||||
"Может пригодится когда используется другой источник отслеживания бедер"
|
"Может пригодится когда используется другой источник отслеживания бедер"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:779
|
#: client/scenes/lobby_gui.cpp:895
|
||||||
msgid "Enable in-stream window"
|
msgid "Enable in-stream window"
|
||||||
msgstr "Включить окно во время трансляции"
|
msgstr "Включить окно во время трансляции"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:782
|
#: client/scenes/lobby_gui.cpp:898
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"If enabled, the window is activated by pressing both thumbsticks."
|
||||||
@@ -303,15 +379,25 @@ msgstr ""
|
|||||||
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
|
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
|
||||||
"Если включено, окно активируется нажатием обоих джойстиков."
|
"Если включено, окно активируется нажатием обоих джойстиков."
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:796 client/scenes/stream_gui.cpp:394
|
#: client/scenes/lobby_gui.cpp:902
|
||||||
|
msgid "Extended configuration values"
|
||||||
|
msgstr "Расширенные значения настроек"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
|
msgstr ""
|
||||||
|
"Позволяет устанавливать небезопасные значения настроек, используйте на свой "
|
||||||
|
"риск."
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
|
||||||
msgid "OpenXR post-processing"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "OpenXR постобработка"
|
msgstr "OpenXR постобработка"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:800 client/scenes/stream_gui.cpp:398
|
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
|
||||||
msgid "Supersampling"
|
msgid "Supersampling"
|
||||||
msgstr "Supersampling"
|
msgstr "Supersampling"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:820 client/scenes/stream_gui.cpp:419
|
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
|
||||||
msgid ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"Useful when the input resolution is high compared to the headset display"
|
||||||
@@ -319,11 +405,11 @@ msgstr ""
|
|||||||
"Уменьшает мерцание для высококонтрастных границ.\n"
|
"Уменьшает мерцание для высококонтрастных границ.\n"
|
||||||
"Полезно когда входное разрешение высокое по сравнение с экраном шлема"
|
"Полезно когда входное разрешение высокое по сравнение с экраном шлема"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:825 client/scenes/stream_gui.cpp:424
|
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
|
||||||
msgid "Sharpening"
|
msgid "Sharpening"
|
||||||
msgstr "Увеличение резкости"
|
msgstr "Увеличение резкости"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:845 client/scenes/stream_gui.cpp:445
|
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
|
||||||
msgid ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"Useful when the input resolution is low compared to the headset display"
|
||||||
@@ -331,129 +417,129 @@ msgstr ""
|
|||||||
"Улучшить четкость высококонтрастных границ и противодействовать размытию.\n"
|
"Улучшить четкость высококонтрастных границ и противодействовать размытию.\n"
|
||||||
"Полезно когда входное разрешение низкое по сравнение с экраном шлема"
|
"Полезно когда входное разрешение низкое по сравнение с экраном шлема"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1029 client/scenes/lobby_gui.cpp:1037
|
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
||||||
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "Время ЦПУ"
|
msgstr "Время ЦПУ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1033
|
#: client/scenes/lobby_gui.cpp:1156
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "Время ЦПУ [мс]"
|
msgstr "Время ЦПУ [мс]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1043 client/scenes/lobby_gui.cpp:1051
|
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||||
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "Время ГПУ"
|
msgstr "Время ГПУ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1047
|
#: client/scenes/lobby_gui.cpp:1170
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "Время ГПУ [мс]"
|
msgstr "Время ГПУ [мс]"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1111
|
#: client/scenes/lobby_gui.cpp:1234
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "Включить микрофон?"
|
msgstr "Включить микрофон?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1116
|
#: client/scenes/lobby_gui.cpp:1239
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "Включить отслеживание глаз?"
|
msgstr "Включить отслеживание глаз?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1121
|
#: client/scenes/lobby_gui.cpp:1244
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "Включить отслеживание лица?"
|
msgstr "Включить отслеживание лица?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1126
|
#: client/scenes/lobby_gui.cpp:1249
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "Включить отслеживание тела?"
|
msgstr "Включить отслеживание тела?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1134
|
#: client/scenes/lobby_gui.cpp:1257
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "Добро пожаловать в WiVRn"
|
msgstr "Добро пожаловать в WiVRn"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1158
|
#: client/scenes/lobby_gui.cpp:1285
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Да"
|
msgstr "Да"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1165
|
#: client/scenes/lobby_gui.cpp:1292
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "Нет"
|
msgstr "Нет"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1184 client/scenes/lobby_gui.cpp:1825
|
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||||
msgid "Licenses"
|
msgid "Licenses"
|
||||||
msgstr "Лицензии"
|
msgstr "Лицензии"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1459
|
#: client/scenes/lobby_gui.cpp:1587
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "Микрофон включен"
|
msgstr "Микрофон включен"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1460
|
#: client/scenes/lobby_gui.cpp:1588
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "Микрофон выключен"
|
msgstr "Микрофон выключен"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1469
|
#: client/scenes/lobby_gui.cpp:1597
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "Отслеживание рук включено"
|
msgstr "Отслеживание рук включено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1470
|
#: client/scenes/lobby_gui.cpp:1598
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "Отслеживание рук выключено"
|
msgstr "Отслеживание рук выключено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1479
|
#: client/scenes/lobby_gui.cpp:1607
|
||||||
msgid "Eye tracking is enabled"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "Отслеживание глаз включено"
|
msgstr "Отслеживание глаз включено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1480
|
#: client/scenes/lobby_gui.cpp:1608
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "Отслеживание глаз выключено"
|
msgstr "Отслеживание глаз выключено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1490
|
#: client/scenes/lobby_gui.cpp:1618
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "Отслеживание лица включено"
|
msgstr "Отслеживание лица включено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1491
|
#: client/scenes/lobby_gui.cpp:1619
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "Отслеживание лица выключено"
|
msgstr "Отслеживание лица выключено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1501
|
#: client/scenes/lobby_gui.cpp:1633
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "Отслеживание тела включено"
|
msgstr "Отслеживание тела включено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1502
|
#: client/scenes/lobby_gui.cpp:1634
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "Отслеживание тела выключено"
|
msgstr "Отслеживание тела выключено"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1518
|
#: client/scenes/lobby_gui.cpp:1650
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "Добавить сервер"
|
msgstr "Добавить сервер"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1804
|
#: client/scenes/lobby_gui.cpp:1936
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "Список серверов"
|
msgstr "Список серверов"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1807 client/scenes/stream_gui.cpp:874
|
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Настройки"
|
msgstr "Настройки"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1810
|
#: client/scenes/lobby_gui.cpp:1942
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "Постобработка"
|
msgstr "Постобработка"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1813
|
#: client/scenes/lobby_gui.cpp:1945
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "Настроить"
|
msgstr "Настроить"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1817
|
#: client/scenes/lobby_gui.cpp:1949
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "Отладка"
|
msgstr "Отладка"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1822
|
#: client/scenes/lobby_gui.cpp:1954
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "О приложении"
|
msgstr "О приложении"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1828
|
#: client/scenes/lobby_gui.cpp:1960
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "Выйти"
|
msgstr "Выйти"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1845
|
#: client/scenes/lobby_gui.cpp:1977
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -461,32 +547,51 @@ msgstr ""
|
|||||||
"Нажмите кнопку захвата или поднимите ладонь\n"
|
"Нажмите кнопку захвата или поднимите ладонь\n"
|
||||||
"чтобы переместить главное окно"
|
"чтобы переместить главное окно"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1847
|
#: client/scenes/lobby_gui.cpp:1979
|
||||||
msgid "Press the grip button to move the main window"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
|
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:363
|
#: client/scenes/lobby_gui_customize.cpp:213
|
||||||
|
msgid "Locally loaded environment"
|
||||||
|
msgstr "Локально загруженное окружение"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui_customize.cpp:226
|
||||||
|
#, c++-format
|
||||||
|
msgid "Locally loaded environment ({})"
|
||||||
|
msgstr "Локально загруженное окружение ({})"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui_customize.cpp:300
|
||||||
|
#, c++-format
|
||||||
|
msgid "Cannot load local environment: {}"
|
||||||
|
msgstr "Не удалось загрузить локальное окружение: {}"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui_customize.cpp:333
|
||||||
|
#, c++-format
|
||||||
|
msgid "Cannot load environment list: {}"
|
||||||
|
msgstr "Не удалось загрузить список окружений: {}"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui_customize.cpp:463
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Author: {}"
|
msgid "Author: {}"
|
||||||
msgstr "Автор: {}"
|
msgstr "Автор: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:367
|
#: client/scenes/lobby_gui_customize.cpp:467
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Size: {:.1f} MB"
|
msgid "Size: {:.1f} MB"
|
||||||
msgstr "Размер: {:.1f} Мб"
|
msgstr "Размер: {:.1f} Мб"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:447
|
#: client/scenes/lobby_gui_customize.cpp:547
|
||||||
msgid "Delete this model"
|
msgid "Delete this model"
|
||||||
msgstr "Удалить эту модель"
|
msgstr "Удалить эту модель"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:483
|
#: client/scenes/lobby_gui_customize.cpp:583
|
||||||
#: client/scenes/lobby_gui_customize.cpp:689
|
#: client/scenes/lobby_gui_customize.cpp:789
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "HTTP error {} when downloading {}"
|
msgid "HTTP error {} when downloading {}"
|
||||||
msgstr "Ошибка HTTP {} во время загрузки {}"
|
msgstr "Ошибка HTTP {} во время загрузки {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:491
|
#: client/scenes/lobby_gui_customize.cpp:591
|
||||||
#: client/scenes/lobby_gui_customize.cpp:697
|
#: client/scenes/lobby_gui_customize.cpp:797
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Curl error when downloading {}\n"
|
"Curl error when downloading {}\n"
|
||||||
@@ -495,49 +600,45 @@ msgstr ""
|
|||||||
"Ошибка curl во время загрузки {}\n"
|
"Ошибка curl во время загрузки {}\n"
|
||||||
"{}: {}"
|
"{}: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:552
|
#: client/scenes/lobby_gui_customize.cpp:652
|
||||||
#, c-format
|
#, c++-format
|
||||||
msgid "Really delete {}?"
|
msgid "Really delete {}?"
|
||||||
msgstr "Точно удалить {}?"
|
msgstr "Точно удалить {}?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:556
|
#: client/scenes/lobby_gui_customize.cpp:656
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr "Удалить"
|
msgstr "Удалить"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:637
|
#: client/scenes/lobby_gui_customize.cpp:737
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load environment: {}"
|
msgid "Cannot load environment: {}"
|
||||||
msgstr "Невозможно загрузить окружение: {}"
|
msgstr "Не удалось загрузить окружение: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:645
|
#: client/scenes/lobby_gui_customize.cpp:745
|
||||||
msgid "Loading environment"
|
msgid "Loading environment"
|
||||||
msgstr "Загрузка окружения"
|
msgstr "Загрузка окружения"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:724
|
#: client/scenes/lobby_gui_customize.cpp:824
|
||||||
msgid "Download more environments"
|
msgid "Download more environments"
|
||||||
msgstr "Скачать больше окружений"
|
msgstr "Скачать больше окружений"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:732
|
#: client/scenes/lobby_gui_customize.cpp:832
|
||||||
msgid "Open local glTF model"
|
msgid "Open local glTF model"
|
||||||
msgstr "Открыть локальную glTF модель"
|
msgstr "Открыть локальную glTF модель"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:173
|
|
||||||
msgid "Reproject"
|
|
||||||
msgstr "Репроектирование"
|
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:174
|
#: client/scenes/stream_gui.cpp:174
|
||||||
msgid "Blit"
|
msgid "Defoveate"
|
||||||
msgstr "Блит"
|
msgstr "Дефовеация"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176
|
#: client/scenes/stream_gui.cpp:176
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "Сеть"
|
msgstr "Сеть"
|
||||||
|
|
||||||
#: 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"
|
msgid "Download"
|
||||||
msgstr "Загрузка"
|
msgstr "Загрузка"
|
||||||
|
|
||||||
#: 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"
|
msgid "Upload"
|
||||||
msgstr "Выгрузка"
|
msgstr "Выгрузка"
|
||||||
|
|
||||||
@@ -578,86 +679,107 @@ msgstr "Отображенное"
|
|||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "Прогнозируемое"
|
msgstr "Прогнозируемое"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:344
|
#: client/scenes/stream_gui.cpp:343
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "Расчетная задержка от движения к фотонам: {}мс"
|
msgstr "Расчетная задержка от движения к фотонам: {}мс"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:351
|
#: client/scenes/stream_gui.cpp:348
|
||||||
msgid "Press the grip button to move the window"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
|
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:817
|
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
|
||||||
msgid "Press both thumbsticks to display the WiVRn window"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
|
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:375
|
#: client/scenes/stream_gui.cpp:372
|
||||||
msgid "Motion to photon latency"
|
msgid "Motion to photon latency"
|
||||||
msgstr "Задержка от движения к фотонам"
|
msgstr "Задержка от движения к фотонам"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:452
|
#: client/scenes/stream_gui.cpp:458
|
||||||
|
msgid "Bitrate:"
|
||||||
|
msgstr "Битрейт:"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:468
|
||||||
|
msgid "Click to adjust bitrate"
|
||||||
|
msgstr "Нажмите чтобы настроить битрейт"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:531
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "Переопределение центра фовеации"
|
msgstr "Переопределение центра фовеации"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:455
|
#: client/scenes/stream_gui.cpp:534
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Включить"
|
msgstr "Включить"
|
||||||
|
|
||||||
#: 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
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "Высота {:.1f} градусов"
|
msgstr "Высота {:.1f} градусов"
|
||||||
|
|
||||||
#: 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
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "Расстояние {:.2f} м"
|
msgstr "Расстояние {:.2f} м"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:465
|
#: client/scenes/stream_gui.cpp:544
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "По умолчанию"
|
msgstr "По умолчанию"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:476
|
#: client/scenes/stream_gui.cpp:555
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Изменить"
|
msgstr "Изменить"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:508
|
#: client/scenes/stream_gui.cpp:588
|
||||||
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
|
msgstr "Используйте правый джойстик для настройки битрейта"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:589
|
||||||
|
msgid "Press A to go back"
|
||||||
|
msgstr "Нажмите A чтобы вернуться назад"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:590
|
||||||
|
#, c++-format
|
||||||
|
msgid "Bitrate: {}Mbit/s"
|
||||||
|
msgstr "Битрейт: {}МБит/с"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:612
|
||||||
msgid "Use the thumbsticks to move the foveation center"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
|
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:509
|
#: client/scenes/stream_gui.cpp:613
|
||||||
msgid "Press A to save or B to cancel"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
|
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:567
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "Запущенные XR приложения:"
|
msgstr "Запущенные XR приложения:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:584
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "Оверлеи"
|
msgstr "Оверлеи"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:623
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "Запрос на выход, может быть проигнорирован приложением"
|
msgstr "Запрос на выход, может быть проигнорирован приложением"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:626
|
#: client/scenes/stream_gui.cpp:977
|
||||||
msgid "Start"
|
|
||||||
msgstr "Запустить"
|
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:871
|
|
||||||
msgid "Stats"
|
|
||||||
msgstr "Метрики"
|
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:877
|
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "Приложения"
|
msgstr "Приложения"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:883
|
#: client/scenes/stream_gui.cpp:980
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Запустить"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:993
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Метрики"
|
||||||
|
|
||||||
|
#: client/scenes/stream_gui.cpp:999
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "Оверлей метрик"
|
msgstr "Оверлей метрик"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:886
|
#: client/scenes/stream_gui.cpp:1002
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "Компактный вид"
|
msgstr "Компактный вид"
|
||||||
|
|
||||||
@@ -677,5 +799,14 @@ msgstr "Невозможно проверить ПИН"
|
|||||||
msgid "Pairing is disabled on server"
|
msgid "Pairing is disabled on server"
|
||||||
msgstr "Сопряжение выключено на сервере"
|
msgstr "Сопряжение выключено на сервере"
|
||||||
|
|
||||||
|
#~ msgid "Resolution scale"
|
||||||
|
#~ msgstr "Масштаб разрешения"
|
||||||
|
|
||||||
|
#~ msgid "Reproject"
|
||||||
|
#~ msgstr "Репроектирование"
|
||||||
|
|
||||||
|
#~ msgid "Blit"
|
||||||
|
#~ msgstr "Блит"
|
||||||
|
|
||||||
#~ msgid "Enable video passthrough in lobby"
|
#~ msgid "Enable video passthrough in lobby"
|
||||||
#~ msgstr "Включить сквозную передачу видео в лобби"
|
#~ msgstr "Включить сквозную передачу видео в лобби"
|
||||||
|
|||||||
+346
-225
@@ -8,8 +8,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-11-02 23:25+0300\n"
|
"POT-Creation-Date: 2026-02-02 16:05+0300\n"
|
||||||
"PO-Revision-Date: 2025-11-03 21:59+0300\n"
|
"PO-Revision-Date: 2026-02-08 16:33+0300\n"
|
||||||
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
|
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: tr\n"
|
"Language: tr\n"
|
||||||
@@ -69,10 +69,39 @@ msgstr "'adb install' komutu başarısız oldu: çıkış kodu %1"
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "Yükleme başarılı"
|
msgstr "Yükleme başarılı"
|
||||||
|
|
||||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn dashboard"
|
msgctxt "@title"
|
||||||
msgstr "WiVRn kontrol paneli"
|
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
|
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -90,8 +119,9 @@ msgstr "En son sürüm kontrol ediliyor..."
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "Bu versiyon için APK yok"
|
msgstr "Bu versiyon için APK yok"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||||
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||||
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
msgstr "ADB yüklü değil"
|
msgstr "ADB yüklü değil"
|
||||||
@@ -113,13 +143,6 @@ msgstr ""
|
|||||||
"blob/master/docs/building.md#client-headset\">belgelerdeki</a> talimatları "
|
"blob/master/docs/building.md#client-headset\">belgelerdeki</a> talimatları "
|
||||||
"izleyin."
|
"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
|
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Select your headset"
|
msgid "Select your headset"
|
||||||
@@ -140,7 +163,7 @@ msgstr "WiVRn'i yeniden yükle"
|
|||||||
msgid "Install WiVRn"
|
msgid "Install WiVRn"
|
||||||
msgstr "WiVRn'i yükle"
|
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
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "Gözlükler"
|
msgstr "Gözlükler"
|
||||||
@@ -185,7 +208,7 @@ msgstr "Yeniden Adlandır"
|
|||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
#: 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
|
#, kde-format
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "İptal"
|
msgstr "İptal"
|
||||||
@@ -237,56 +260,59 @@ msgstr "Yeni bir gözlük eşleştir"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "Gözlük istatistikleri"
|
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
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Avahi daemon yüklenmedi"
|
msgstr "Avahi daemon yüklenmedi"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:129
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Avahi daemon başlatılmadı"
|
msgstr "Avahi daemon başlatılmadı"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:165
|
#: dashboard/qml/Main.qml:223
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "Onar"
|
msgstr "Onar"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:144
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
|
||||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
|
||||||
msgstr "Sunucunun CAP_SYS_NICE yetenekleri yok"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:159
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "Güvenlik duvarı 9757 port'una izin vermiyor olabilir"
|
msgstr "Güvenlik duvarı 9757 port'una izin vermiyor olabilir"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:174
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
|
||||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
|
||||||
msgstr "Sunucu yeniden başlatıldığında CAP_SYS_NICE yeteneği kullanılacak"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:180
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "restart the server"
|
|
||||||
msgid "Restart now"
|
|
||||||
msgstr "Şimdi yeniden başlat"
|
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:191
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"NVIDIA GPU'lar en az 565.77 sürücü sürümünü gerektirir, geçerli sürüm %1"
|
"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
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "Daha fazla bilgi"
|
msgstr "Daha fazla bilgi"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:205
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"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"
|
"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"
|
"vaapi ile donanım kodlaması AMDVLK ve AMDGPU-PRO ile çalışmaz"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:213
|
#: dashboard/qml/Main.qml:201
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"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"
|
"OpenVR uyumluluğu algılanmadı, Steam oyunları VR'ı yükleyemeyecek.\n"
|
||||||
"xrizer veya OpenComposite kurun."
|
"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
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "Sunucu başlatılamadı"
|
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
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "Sunucu günlüklerini aç"
|
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
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "Çalışıyor"
|
msgstr "Çalışıyor"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:272
|
#: dashboard/qml/Main.qml:314
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "Eşleştirme"
|
msgstr "Eşleştirme"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:285
|
#: dashboard/qml/Main.qml:334
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "PIN: %1"
|
msgid "Headset status"
|
||||||
msgstr "PIN: %1"
|
msgstr "Gözlük durumu"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
#: dashboard/qml/Main.qml:341
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connect by USB"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgstr "USB ile bağlan"
|
msgid "Headset"
|
||||||
|
msgstr "Gözlük"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:304
|
#: dashboard/qml/Main.qml:344
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "Not connected"
|
||||||
msgstr "Gözlük bağlı değil veya gözlüğünüz geliştirici modunda değil"
|
msgstr "Bağlı değil"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:312
|
#: dashboard/qml/Main.qml:348
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "Bağlantıyı kes"
|
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
|
#, kde-format
|
||||||
msgctxt "automatically started application"
|
msgctxt "label for USB status or connect button"
|
||||||
msgid "Application"
|
msgid "USB"
|
||||||
msgstr "Uygulama"
|
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
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "Steam bilgisi"
|
msgstr "Steam bilgisi"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:371
|
#: dashboard/qml/Main.qml:412
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "Sihirbaz"
|
msgstr "Sihirbaz"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:378
|
#: dashboard/qml/Main.qml:418
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "Uygulamayı yükle"
|
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
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "Ayarlar"
|
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
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "Sorun giderme"
|
msgstr "Sorun giderme"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:455
|
||||||
|
#, kde-format
|
||||||
|
msgid "Version %1"
|
||||||
|
msgstr "Versiyon %1"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:14
|
#: dashboard/qml/SelectGame.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "don't start an application automatically"
|
msgctxt "don't start an application automatically"
|
||||||
@@ -389,179 +466,100 @@ msgctxt "choose a custom application to start"
|
|||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Özel"
|
msgstr "Özel"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:76
|
#: dashboard/qml/SelectGame.qml:72
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the application to start"
|
msgctxt "browse a file to choose the application to start"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Gözat"
|
msgstr "Gözat"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:35
|
#: dashboard/qml/SettingsPage.qml:28
|
||||||
#, kde-format
|
|
||||||
msgctxt "automatic foveation setup"
|
|
||||||
msgid "Manual foveation"
|
|
||||||
msgstr "El ile foveasyon"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:41
|
|
||||||
#, kde-format
|
|
||||||
msgid "Foveation strength:"
|
|
||||||
msgstr "Foveasyon gücü:"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:57
|
|
||||||
#, kde-format
|
|
||||||
msgid "%1 %"
|
|
||||||
msgstr "%%%1"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:63
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"A stronger foveation makes the image sharper in the center than in the "
|
|
||||||
"periphery and makes the decoding faster. This is better for fast paced "
|
|
||||||
"games.\n"
|
|
||||||
"\n"
|
|
||||||
"A weaker foveation gives a uniform sharpness in the whole image.\n"
|
|
||||||
"\n"
|
|
||||||
"The recommended values are between 20% and 50% for headsets without eye "
|
|
||||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
|
||||||
msgstr ""
|
|
||||||
"Daha güçlü bir foveasyon, görüntüyü merkezde çevreye göre daha keskin hale "
|
|
||||||
"getirir ve kod çözmeyi hızlandırır. Bu, hızlı tempolu oyunlar için daha "
|
|
||||||
"iyidir.\n"
|
|
||||||
"\n"
|
|
||||||
"Daha zayıf bir foveasyon, tüm görüntüde tek tip bir keskinlik sağlar.\n"
|
|
||||||
"\n"
|
|
||||||
"Önerilen değerler, göz izleme olmayan başlıklar için 20% ile 50% arasında, "
|
|
||||||
"göz izleme olan başlıklar için ise 50% ile 70% arasındadır."
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:69
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "weaker foveation"
|
|
||||||
msgid "Weaker"
|
|
||||||
msgstr "Daha zayıf"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:80
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "stronger foveation"
|
|
||||||
msgid "Stronger"
|
|
||||||
msgstr "Daha güçlü"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:90
|
|
||||||
#, kde-format
|
|
||||||
msgid "Bitrate:"
|
|
||||||
msgstr "Bit hızı:"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "bitrate"
|
|
||||||
msgid "%1 Mbit/s"
|
|
||||||
msgstr "Mbit/s %1"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:108
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "The current encoder configuration is not supported"
|
msgid "The current encoder configuration is not supported"
|
||||||
msgstr "Güncel encoder ayarı desteklenmiyor"
|
msgstr "Güncel encoder ayarı desteklenmiyor"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:113
|
#: dashboard/qml/SettingsPage.qml:33
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Reset"
|
msgid "Reset"
|
||||||
msgstr "Reset"
|
msgstr "Reset"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:120
|
#: dashboard/qml/SettingsPage.qml:40
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Encoder:"
|
msgid "Encoder:"
|
||||||
msgstr "Kodlayıcı:"
|
msgstr "Kodlayıcı:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:126
|
#: dashboard/qml/SettingsPage.qml:46
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "automatic encoder setup"
|
msgctxt "automatic encoder setup"
|
||||||
msgid "Auto"
|
msgid "Auto"
|
||||||
msgstr "Otomatik"
|
msgstr "Otomatik"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:130
|
#: dashboard/qml/SettingsPage.qml:50
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "nvenc (NVIDIA GPUs)"
|
msgid "nvenc (NVIDIA GPUs)"
|
||||||
msgstr "nvenc (NVIDIA GPU'ları)"
|
msgstr "nvenc (NVIDIA GPU'ları)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:134
|
#: dashboard/qml/SettingsPage.qml:54
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "vaapi (AMD and Intel GPUs)"
|
msgid "vaapi (AMD and Intel GPUs)"
|
||||||
msgstr "vaapi (AMD ve Intel GPU'ları)"
|
msgstr "vaapi (AMD ve Intel GPU'ları)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:138
|
#: dashboard/qml/SettingsPage.qml:58
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Vulkan (Vulkan Video)"
|
msgid "Vulkan (Any modern GPU)"
|
||||||
msgstr "Vulkan (Vulkan Video)"
|
msgstr "Vulkan (Herhangi modern GPU)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:142
|
#: dashboard/qml/SettingsPage.qml:62
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "x264 (software encoding)"
|
msgid "x264 (software encoding)"
|
||||||
msgstr "x264 (yazılım kodlaması)"
|
msgstr "x264 (yazılım kodlaması)"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:159
|
#: dashboard/qml/SettingsPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||||
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
|
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:164
|
#: dashboard/qml/SettingsPage.qml:88
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Codec:"
|
msgid "Autostart application:"
|
||||||
msgstr "Codec:"
|
msgstr "Oto-başlat uygulaması:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:170
|
#: dashboard/qml/SettingsPage.qml:96
|
||||||
#, kde-format
|
|
||||||
msgctxt "automatic codec setup"
|
|
||||||
msgid "Auto"
|
|
||||||
msgstr "Otomatik"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:174
|
|
||||||
#, kde-format
|
|
||||||
msgid "H.264"
|
|
||||||
msgstr "H.264"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:178
|
|
||||||
#, kde-format
|
|
||||||
msgid "H.265"
|
|
||||||
msgstr "H.265"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:182
|
|
||||||
#, kde-format
|
|
||||||
msgid "AV1"
|
|
||||||
msgstr "AV1"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:210
|
|
||||||
#, kde-format
|
|
||||||
msgid "10 bits"
|
|
||||||
msgstr "10-bit"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:215
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
|
||||||
"and hardware"
|
|
||||||
msgstr ""
|
|
||||||
"10-bit encoding resim kalitesini artırır fakat tüm codec ve donanımlarda "
|
|
||||||
"desteklenmez"
|
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:225
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Advanced options"
|
msgid "Advanced options"
|
||||||
msgstr "Gelişmiş seçenekler"
|
msgstr "Gelişmiş seçenekler"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:231
|
#: dashboard/qml/SettingsPage.qml:102
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Check system configuration on start"
|
msgid "Check system configuration on start"
|
||||||
msgstr "Başlangıçta sistem ayarlarını kontrol et"
|
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
|
#, kde-format
|
||||||
msgid "Enable debug window"
|
msgid "Enable debug window"
|
||||||
msgstr "Hata ayıklama penceresini etkinleştir"
|
msgstr "Hata ayıklama penceresini etkinleştir"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:242
|
#: dashboard/qml/SettingsPage.qml:123
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Enable SteamVR tracked devices support"
|
msgid "Enable SteamVR tracked devices support"
|
||||||
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:245
|
#: dashboard/qml/SettingsPage.qml:126
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
"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"
|
"Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n"
|
||||||
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
|
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:253
|
#: dashboard/qml/SettingsPage.qml:134
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Custom adb location"
|
msgid "Custom adb location"
|
||||||
msgstr "Özel adb konumu"
|
msgstr "Özel adb konumu"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:264
|
#: dashboard/qml/SettingsPage.qml:145
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Adb location:"
|
msgid "Adb location:"
|
||||||
msgstr "Adb konumu:"
|
msgstr "Adb konumu:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:273
|
#: dashboard/qml/SettingsPage.qml:154
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "browse a file to choose the adb binary"
|
msgctxt "browse a file to choose the adb binary"
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Gözat"
|
msgstr "Gözat"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:283
|
#: dashboard/qml/SettingsPage.qml:164
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "Varsayılan"
|
msgstr "Varsayılan"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:297
|
#: dashboard/qml/SettingsPage.qml:178
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "set a custom OpenVR compatibility library"
|
msgctxt "set a custom OpenVR compatibility library"
|
||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Özel"
|
msgstr "Özel"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:302
|
#: dashboard/qml/SettingsPage.qml:183
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Devre dışı"
|
msgstr "Devre dışı"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:310
|
#: dashboard/qml/SettingsPage.qml:191
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "OpenVR compatibility library:"
|
msgid "OpenVR compatibility library:"
|
||||||
msgstr "OpenVR uyumluluk kitaplığı:"
|
msgstr "OpenVR uyumluluk kitaplığı:"
|
||||||
|
|
||||||
#: dashboard/qml/SettingsPage.qml:336
|
#: dashboard/qml/SettingsPage.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||||
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
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"
|
msgid "I cannot find the WiVRn app on my headset"
|
||||||
msgstr "Gözlüğümde WiVRn uygulamasını bulamıyorum"
|
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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
"If you installed WiVRn over USB on a Meta 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"
|
msgid "I have no sound on my headset"
|
||||||
msgstr "Gözlüğümde ses yok"
|
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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
"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ı "
|
"Gözlük bağlıyken, uygulamaların kullanması için varsayılan ses çıkış aygıtı "
|
||||||
"olarak \"WiVRn\" seçin."
|
"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
|
#, kde-format
|
||||||
msgid "Report an issue"
|
msgid "Report an issue"
|
||||||
msgstr "Bir sorun bildir"
|
msgstr "Bir sorun bildir"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:80
|
#: dashboard/qml/TroubleshootPage.qml:84
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Ask on Discord"
|
msgid "Ask on Discord"
|
||||||
msgstr "Discord'da sor"
|
msgstr "Discord'da sor"
|
||||||
@@ -757,9 +770,8 @@ msgid "Getting started"
|
|||||||
msgstr "Başlangıç"
|
msgstr "Başlangıç"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:366
|
||||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
#: dashboard/qml/WizardPage.qml:413 dashboard/qml/WizardPage.qml:450
|
||||||
#: dashboard/qml/WizardPage.qml:485
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Back"
|
msgid "Back"
|
||||||
msgstr "Geri"
|
msgstr "Geri"
|
||||||
@@ -779,8 +791,7 @@ msgstr ""
|
|||||||
"yardımcı olacaktır."
|
"yardımcı olacaktır."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
#: dashboard/qml/WizardPage.qml:418 dashboard/qml/WizardPage.qml:455
|
||||||
#: dashboard/qml/WizardPage.qml:490
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Next"
|
msgid "Next"
|
||||||
msgstr "İleri"
|
msgstr "İleri"
|
||||||
@@ -859,26 +870,12 @@ msgstr ""
|
|||||||
"<ul><li>ADB udev kuralları yüklü</li><li>Gözlük <a href=\"#\">geliştirici "
|
"<ul><li>ADB udev kuralları yüklü</li><li>Gözlük <a href=\"#\">geliştirici "
|
||||||
"modunda</a></li></ul></p>"
|
"modunda</a></li></ul></p>"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:280
|
#: dashboard/qml/WizardPage.qml:295
|
||||||
#, kde-format
|
|
||||||
msgid "Select the application you want to start"
|
|
||||||
msgstr "Başlatmak istediğiniz uygulamayı seçin"
|
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:286
|
|
||||||
#, kde-format
|
|
||||||
msgid ""
|
|
||||||
"The application you choose will be started automatically when you connect "
|
|
||||||
"your headset."
|
|
||||||
msgstr ""
|
|
||||||
"Seçtiğiniz uygulama, gözlüğünüzü bağladığınızda otomatik olarak "
|
|
||||||
"başlayacaktır."
|
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:301
|
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Important information"
|
msgid "Important information"
|
||||||
msgstr "Önemli bilgi"
|
msgstr "Önemli bilgi"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:308
|
#: dashboard/qml/WizardPage.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
"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 "
|
"WiVRn, SteamVR'nin yerini tamamen alır, WiVRn çalışırken SteamVR'yi "
|
||||||
"başlatmamalısınız."
|
"başlatmamalısınız."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:359
|
#: dashboard/qml/WizardPage.qml:313
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Start the WiVRn app on your headset"
|
msgid "Start the WiVRn app on your headset"
|
||||||
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
|
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:364
|
#: dashboard/qml/WizardPage.qml:319
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
"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, "
|
"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."
|
"\"%1\"e bağlanın ve \"%2\" PIN'ini girin."
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:371
|
#: dashboard/qml/WizardPage.qml:326
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
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."
|
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
|
#, kde-format
|
||||||
msgid "Troubleshooting"
|
msgid "Troubleshooting"
|
||||||
msgstr "Sorun giderme"
|
msgstr "Sorun giderme"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:393
|
#: dashboard/qml/WizardPage.qml:358
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
"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 "
|
"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."
|
"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
|
#, kde-format
|
||||||
msgid "Skip"
|
msgid "Skip"
|
||||||
msgstr "Atla"
|
msgstr "Atla"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:426
|
#: dashboard/qml/WizardPage.qml:391
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connection established"
|
msgid "Connection established"
|
||||||
msgstr "Bağlantı kuruldu"
|
msgstr "Bağlantı kuruldu"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:431
|
#: dashboard/qml/WizardPage.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Your headset is now connected."
|
msgid "Your headset is now connected."
|
||||||
msgstr "Gözlüğünüz şimdi bağlı."
|
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
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
"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 "
|
"Başka bir gözlük bağlamak için, bağlanmadan önce kontrol panelinde "
|
||||||
"eşleştirmenin etkinleştirildiğinden emin olun."
|
"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
|
#, kde-format
|
||||||
msgid "Finish"
|
msgid "Finish"
|
||||||
msgstr "Bitir"
|
msgstr "Bitir"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:473
|
#: dashboard/qml/WizardPage.qml:438
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "Bitti"
|
msgstr "Bitti"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:594
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:595
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "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
|
#, kde-format
|
||||||
#~ msgid "No precompiled APK is available for this version"
|
#~ msgid "No precompiled APK is available for this version"
|
||||||
#~ msgstr "Bu sürüm için önceden derlenmiş APK yok"
|
#~ msgstr "Bu sürüm için önceden derlenmiş APK yok"
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user