Compare commits
134
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ed95327c0 | ||
|
|
51c25624b7 | ||
|
|
275a8195eb | ||
|
|
4061119aef | ||
|
|
0125adebed | ||
|
|
3e0f6bf6fa | ||
|
|
070dcb473e | ||
|
|
1dd0ed4fe3 | ||
|
|
56f32f4ae6 | ||
|
|
e3f35aad54 | ||
|
|
abda962e38 | ||
|
|
c1111fe036 | ||
|
|
18b076957e | ||
|
|
14333ce208 | ||
|
|
2d5b619429 | ||
|
|
38efb9ff28 | ||
|
|
12e3df5b9c | ||
|
|
56a94bfc10 | ||
|
|
079e5f5b36 | ||
|
|
19d46db554 | ||
|
|
acb7410f7e | ||
|
|
c6e05754c8 | ||
|
|
26f087c906 | ||
|
|
56ba1eb22e | ||
|
|
903a02d881 | ||
|
|
deb28ca8e7 | ||
|
|
1365f4f527 | ||
|
|
cb7e6dabfc | ||
|
|
e4acf2401e | ||
|
|
4a9d159e52 | ||
|
|
5f373460a1 | ||
|
|
25a81b6f5f | ||
|
|
70ec7acbec | ||
|
|
28537ff611 | ||
|
|
421d935dde | ||
|
|
7ea256a4c2 | ||
|
|
db91edf4c1 | ||
|
|
aca45420dd | ||
|
|
98fc4ad4bb | ||
|
|
8e4e4c9596 | ||
|
|
34494f18e6 | ||
|
|
f4d66eb4e7 | ||
|
|
39b7c6c45a | ||
|
|
71375f082f | ||
|
|
b81d010841 | ||
|
|
b01b38b818 | ||
|
|
db70d3975c | ||
|
|
379bba946f | ||
|
|
64355ff916 | ||
|
|
4e32cd3afe | ||
|
|
ed51bcc3b6 | ||
|
|
4baa98c8f1 | ||
|
|
1feedafc62 | ||
|
|
4516beb2a5 | ||
|
|
092dbc893d | ||
|
|
2c1996eca1 | ||
|
|
7c8b560d6e | ||
|
|
fb3786fc2d | ||
|
|
190f4ae8bb | ||
|
|
79a34bcdd5 | ||
|
|
0ec2cd5a3e | ||
|
|
db66b0dbb7 | ||
|
|
615eb37a9d | ||
|
|
ba18eac4a7 | ||
|
|
8c35775cec | ||
|
|
b0573c4265 | ||
|
|
1d9fb638a5 | ||
|
|
46a36fcd55 | ||
|
|
c679d94fbd | ||
|
|
a5bb9c2678 | ||
|
|
5b6e20bdbe | ||
|
|
1667065084 | ||
|
|
67918b7fe7 | ||
|
|
f03c460aa6 | ||
|
|
e7c69e9464 | ||
|
|
6e64dd03b3 | ||
|
|
7fb8f4c1a8 | ||
|
|
fcbdda9908 | ||
|
|
bb05aef061 | ||
|
|
4e5eca204f | ||
|
|
6932f9461d | ||
|
|
6cccd4fbd8 | ||
|
|
7861d508c7 | ||
|
|
1290a15b7f | ||
|
|
5873de80b8 | ||
|
|
66ca73981d | ||
|
|
a193b4084c | ||
|
|
f159e58c12 | ||
|
|
8bc6a3f388 | ||
|
|
e3356acc16 | ||
|
|
6e9afab96b | ||
|
|
13c7f8fbc2 | ||
|
|
668a94bae0 | ||
|
|
d8707e0b4c | ||
|
|
6f696a92fb | ||
|
|
3e6c407406 | ||
|
|
98347fc832 | ||
|
|
6ddde98714 | ||
|
|
1477120888 | ||
|
|
5edc7f2f56 | ||
|
|
b411afb946 | ||
|
|
f33dc57ec9 | ||
|
|
509311604c | ||
|
|
88ae120c52 | ||
|
|
ea54031627 | ||
|
|
8b9beb272d | ||
|
|
0e5a09cc45 | ||
|
|
b0144b96fc | ||
|
|
3269fecef2 | ||
|
|
7e2b0cb973 | ||
|
|
608cf0c7b2 | ||
|
|
bd820a4f4a | ||
|
|
891a087ccc | ||
|
|
adc07e8f50 | ||
|
|
200586a0af | ||
|
|
80933a3392 | ||
|
|
3c08a3de2f | ||
|
|
ccf430d26a | ||
|
|
5405176890 | ||
|
|
b1c7160bba | ||
|
|
9a5af1a0ca | ||
|
|
6b99cf4cc3 | ||
|
|
cc5990a513 | ||
|
|
c80ba550eb | ||
|
|
9186bafd28 | ||
|
|
633f7feeb1 | ||
|
|
435c2be127 | ||
|
|
692d4dec04 | ||
|
|
5ff85ef7a7 | ||
|
|
74ff55d5cb | ||
|
|
f97c241f9f | ||
|
|
9f2aa0157c | ||
|
|
2f91217e02 | ||
|
|
d4665eb713 |
@@ -80,6 +80,7 @@ body:
|
||||
attributes:
|
||||
label: Vulkan Info
|
||||
description: Provide the output of `vulkaninfo --summary` command.
|
||||
render: text
|
||||
placeholder: Attach the output as a file here.
|
||||
|
||||
- type: dropdown
|
||||
@@ -106,4 +107,5 @@ body:
|
||||
attributes:
|
||||
label: ADB Logs
|
||||
description: Provide the output of `adb logcat` command.
|
||||
render: plain
|
||||
placeholder: Attach the output of adb logcat as a file.
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: master
|
||||
upstream: WiVRn:master
|
||||
mergeMethod: hardreset
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Release APK Only
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: [ "apk-build" ]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: RelWithDebInfo
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||
repository: 'WiVRn/WiVRn'
|
||||
repository: 'Vindicus999/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -109,13 +109,13 @@ jobs:
|
||||
pattern: 'apk-*'
|
||||
merge-multiple: true
|
||||
|
||||
- name: Rename APK artifacts
|
||||
run: |
|
||||
cd apk
|
||||
for f in *.apk; do
|
||||
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
done
|
||||
# - name: Rename APK artifacts
|
||||
# run: |
|
||||
# cd apk
|
||||
# for f in *.apk; do
|
||||
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||
# done
|
||||
|
||||
- name: Download APK debug artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
build-dashboard:
|
||||
name: Linux dashboard
|
||||
runs-on: ubuntu-24.04
|
||||
container: ubuntu:oracular
|
||||
container: ubuntu:plucky
|
||||
if: ${{ vars.APK_ONLY == '' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix flake check
|
||||
- run: nix build
|
||||
- run: nix build --print-build-logs
|
||||
|
||||
build-test-client:
|
||||
name: Linux client
|
||||
@@ -462,7 +462,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
distro: ['oracular', 'plucky']
|
||||
distro: ['plucky']
|
||||
runs-on: ubuntu-24.04
|
||||
container: ubuntu:${{ matrix.distro }}
|
||||
steps:
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
name: Sync Upstream
|
||||
|
||||
env:
|
||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||
UPSTREAM_BRANCH: "master"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5/6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: GitHub Sync to Upstream Repository
|
||||
uses: dabreadman/sync-upstream-repo@v1.3.0
|
||||
with:
|
||||
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- name: Checkout stuff
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Merge master -> apk-build
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: master
|
||||
target_branch: apk-build
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
- name: Merge sneed -> apk-build
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: sneed
|
||||
target_branch: apk-build
|
||||
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||
|
||||
+6
-5
@@ -6,6 +6,7 @@ set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
@@ -32,6 +33,7 @@ option(WIVRN_BUILD_WIVRNCTL "Build wivrnctl" ON)
|
||||
option(WIVRN_BUILD_DISSECTOR "Build Wireshark dissector" OFF)
|
||||
option(WIVRN_BUILD_TEST "Build test binaries" OFF)
|
||||
option(WIVRN_WERROR "Treat warnings as errors" OFF)
|
||||
option(WIVRN_OPTIMIZE_SHADERS "Run siprv-opt on compiled shaders" ON)
|
||||
|
||||
option(WIVRN_USE_NVENC "Enable nvenc (Nvidia) hardware encoder" ON)
|
||||
option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) hardware encoder" ON)
|
||||
@@ -216,13 +218,12 @@ FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.co
|
||||
URL_HASH SHA256=9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c)
|
||||
FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.48.tar.gz
|
||||
URL_HASH SHA256=c9372992dcdfac643e28796e41d4dbd36c4cdf0388d01fa89245628edae9d411)
|
||||
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
|
||||
URL_HASH SHA256=1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b)
|
||||
FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.15.3.tar.gz
|
||||
URL_HASH SHA256=15a04e69c222eb6c01094b5c7ff8a249b36bb22788d72519646fb85feb267e67)
|
||||
FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip
|
||||
URL_HASH SHA256=b7f476902bbef1b30f8ecc2d9d95c459c32302c8b559d09b589b5955463b7af8)
|
||||
FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM
|
||||
GIT_REPOSITORY https://github.com/KhronosGroup/KTX-Software
|
||||
GIT_TAG 91ace88675ac59a97e55d0378a6602a9ae6b98bd)
|
||||
FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/KTX-Software/archive/refs/tags/v4.4.0.tar.gz
|
||||
URL_HASH SHA256=3585d76edcdcbe3a671479686f8c81c1c10339f419e4b02a9a6f19cc6e4e0612)
|
||||
FetchContent_Declare(implot EXCLUDE_FROM_ALL SYSTEM URL https://github.com/epezent/implot/archive/3da8bd34299965d3b0ab124df743fe3e076fa222.zip
|
||||
URL_HASH SHA256=e9b439a94aa6f09fcf12ed9c2cd784efe5e99e96242122aa683e690b29f7a59f)
|
||||
file(GLOB IMGUI_PATCHES CONFIGURE_DEPENDS patches/imgui/*)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
|
||||
|
||||
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
|
||||
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
|
||||
|
||||
# Getting started
|
||||
|
||||
@@ -41,8 +41,8 @@ Avahi must be running:
|
||||
systemctl enable --now avahi-daemon
|
||||
```
|
||||
|
||||
If a firewall is installed, open port 5353/UDP for avahi.
|
||||
Open 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 itself.
|
||||
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
|
||||
|
||||
### Running
|
||||
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
|
||||
@@ -109,7 +109,7 @@ If the server list is empty in the headset app:
|
||||
|
||||
## My headset does not connect to my computer
|
||||
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
||||
- The server and client must be compatible:
|
||||
- The server and client must be compatible.
|
||||
|
||||
## How do I use a wired connection?
|
||||
|
||||
@@ -129,9 +129,20 @@ If the server list is empty in the headset app:
|
||||
|
||||
## How do I see server logs when using the dashboard?
|
||||
|
||||
```
|
||||
journalctl -f --no-hostname -u io.github.wivrn.wivrn.desktop
|
||||
```
|
||||
- Click Troubleshoot > Open server logs, or
|
||||
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
|
||||
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
|
||||
|
||||
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
|
||||
|
||||
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
|
||||
- Reset the settings using the button at the bottom of the settings tab
|
||||
- Try switching to software encoding
|
||||
- Decrease the bitrate
|
||||
- Decrease the resolution in the WiVRn app
|
||||
- Connect through USB or use a better WiFi router.
|
||||
|
||||
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
|
||||
|
||||
# Contributing
|
||||
|
||||
@@ -155,7 +166,7 @@ WiVRn uses the following software:
|
||||
- [HarfBuzz](https://harfbuzz.github.io/)
|
||||
- [librsvg](https://wiki.gnome.org/Projects/LibRsvg)
|
||||
- [Monado](https://monado.freedesktop.org/)
|
||||
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on Nvidia
|
||||
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on NVIDIA
|
||||
- [qCoro](https://qcoro.dev/)
|
||||
- [Qt 6](https://www.qt.io/) optional, for the dashboard
|
||||
- [spdlog](https://github.com/gabime/spdlog)
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
Snapdragon(TM) Game Super Resolution
|
||||
Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
|
||||
https://github.com/SnapdragonStudios/snapdragon-gsr
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
+72
-31
@@ -17,45 +17,86 @@ allprojects {
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
task "generatePngs"() {
|
||||
group = 'Custom'
|
||||
|
||||
mkdir layout.buildDirectory.dir('generated_resources')
|
||||
["mipmap-mdpi", "mipmap-hdpi", "mipmap-xhdpi", "mipmap-xxhdpi", "mipmap-xxxhdpi", ].each {
|
||||
mkdir layout.buildDirectory.dir("generated_resources/${it}")
|
||||
}
|
||||
import javax.inject.Inject
|
||||
import org.gradle.api.DefaultTask
|
||||
import org.gradle.api.tasks.*
|
||||
import org.gradle.api.file.DirectoryProperty
|
||||
import org.gradle.process.ExecOperations
|
||||
|
||||
def css = project.hasProperty('wivrn_css') ? project.wivrn_css: "images/wivrn-local.css"
|
||||
abstract class GeneratePngsTask extends DefaultTask {
|
||||
@Inject
|
||||
abstract ExecOperations getExecOps()
|
||||
|
||||
exec {
|
||||
executable = 'rsvg-convert'
|
||||
args = [ "images/wivrn.svg", "-w", "48", "-h", "48", "-o", layout.buildDirectory.file('generated_resources/mipmap-mdpi/ic_wivrn_launcher.png').get().asFile, '--stylesheet=' + css ]
|
||||
}
|
||||
@InputFile
|
||||
abstract RegularFileProperty getSvg()
|
||||
|
||||
exec {
|
||||
executable = 'rsvg-convert'
|
||||
args = [ "images/wivrn.svg", "-w", "72", "-h", "72", "-o", layout.buildDirectory.file('generated_resources/mipmap-hdpi/ic_wivrn_launcher.png').get().asFile, '--stylesheet=' + css ]
|
||||
}
|
||||
@InputFile
|
||||
@Optional
|
||||
abstract RegularFileProperty getCss()
|
||||
|
||||
exec {
|
||||
executable = 'rsvg-convert'
|
||||
args = [ "images/wivrn.svg", "-w", "96", "-h", "96", "-o", layout.buildDirectory.file('generated_resources/mipmap-xhdpi/ic_wivrn_launcher.png').get().asFile, '--stylesheet=' + css ]
|
||||
}
|
||||
@OutputDirectory
|
||||
abstract DirectoryProperty getOutputDir()
|
||||
|
||||
exec {
|
||||
executable = 'rsvg-convert'
|
||||
args = [ "images/wivrn.svg", "-w", "144", "-h", "144", "-o", layout.buildDirectory.file('generated_resources/mipmap-xxhdpi/ic_wivrn_launcher.png').get().asFile, '--stylesheet=' + css ]
|
||||
}
|
||||
@TaskAction
|
||||
void generate() {
|
||||
def outDir = getOutputDir().get().asFile
|
||||
outDir.mkdirs()
|
||||
|
||||
exec {
|
||||
executable = 'rsvg-convert'
|
||||
args = [ "images/wivrn.svg", "-w", "192", "-h", "192", "-o", layout.buildDirectory.file('generated_resources/mipmap-xxxhdpi/ic_wivrn_launcher.png').get().asFile, '--stylesheet=' + css ]
|
||||
// Map of density → size
|
||||
def dpiConfigs = [
|
||||
"mipmap-mdpi" : 48,
|
||||
"mipmap-hdpi" : 72,
|
||||
"mipmap-xhdpi" : 96,
|
||||
"mipmap-xxhdpi" : 144,
|
||||
"mipmap-xxxhdpi": 192
|
||||
]
|
||||
|
||||
def cssFile = getCss().isPresent() ? getCss().get().asFile : null
|
||||
|
||||
dpiConfigs.each { dpi, size ->
|
||||
def dpiDir = new File(outDir, dpi)
|
||||
dpiDir.mkdirs()
|
||||
|
||||
def outputFile = new File(dpiDir, "ic_wivrn_launcher.png")
|
||||
|
||||
def argsList = [
|
||||
getSvg().get().asFile.absolutePath,
|
||||
"-w", size.toString(),
|
||||
"-h", size.toString(),
|
||||
"-o", outputFile.absolutePath
|
||||
]
|
||||
if (cssFile != null) {
|
||||
argsList.add("--stylesheet=${cssFile.absolutePath}")
|
||||
}
|
||||
|
||||
execOps.exec {
|
||||
executable = "rsvg-convert"
|
||||
args = argsList
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("generatePngs", GeneratePngsTask) {
|
||||
group = "Custom"
|
||||
|
||||
// configure defaults
|
||||
svg.set(layout.projectDirectory.file("images/wivrn.svg"))
|
||||
outputDir.set(layout.buildDirectory.dir("generated_resources"))
|
||||
|
||||
if (project.hasProperty("wivrn_css")) {
|
||||
css.set(layout.projectDirectory.file(project.wivrn_css))
|
||||
} else {
|
||||
css.set(layout.projectDirectory.file("images/wivrn-local.css"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
android {
|
||||
namespace "org.meumeu.wivrn"
|
||||
ndkVersion "28.1.13356709"
|
||||
namespace = "org.meumeu.wivrn"
|
||||
ndkVersion = "28.1.13356709"
|
||||
|
||||
lint {
|
||||
disable += "ExpiredTargetSdkVersion"
|
||||
@@ -106,7 +147,7 @@ android {
|
||||
keyAlias "default_key"
|
||||
storePassword signingKeyPassword // Set in gradle.properties
|
||||
keyPassword signingKeyPassword
|
||||
enableV2Signing true
|
||||
enableV2Signing = true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -114,7 +155,7 @@ android {
|
||||
buildTypes {
|
||||
if (project.hasProperty("signingKeyPassword")) {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
signingConfig = signingConfigs.release
|
||||
}
|
||||
}
|
||||
|
||||
@@ -183,7 +224,7 @@ android {
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
version '3.30.3'
|
||||
version = '3.30.3'
|
||||
path 'CMakeLists.txt'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ file(GLOB LOCAL_SOURCE CONFIGURE_DEPENDS
|
||||
|
||||
file(GLOB_RECURSE VULKAN_SHADERS CONFIGURE_DEPENDS "*.glsl")
|
||||
target_sources(wivrn PRIVATE ${LOCAL_SOURCE} ${VULKAN_SHADERS})
|
||||
wivrn_compile_glsl(wivrn ${VULKAN_SHADERS})
|
||||
wivrn_compile_glsl(wivrn SHADERS ${VULKAN_SHADERS})
|
||||
|
||||
target_link_libraries(wivrn
|
||||
Boost::locale
|
||||
@@ -184,6 +184,9 @@ if(USE_ANDROID_VALIDATION_LAYER)
|
||||
file(COPY
|
||||
${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI}
|
||||
DESTINATION ${CMAKE_ANDROID_LIB_DIRECTORIES})
|
||||
else()
|
||||
# silence "Manually-specified variables were not used by the project" warning
|
||||
set(_unused ${CMAKE_ANDROID_LIB_DIRECTORIES})
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
+40
-53
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "application.h"
|
||||
#include "asset.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "scene.h"
|
||||
@@ -26,9 +26,9 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/files.h"
|
||||
#include "utils/i18n.h"
|
||||
#include "vk/check.h"
|
||||
#include "wifi_lock.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/actionset.h"
|
||||
#include "xr/check.h"
|
||||
#include "xr/htc_exts.h"
|
||||
@@ -71,7 +71,6 @@ struct interaction_profile
|
||||
std::string profile_name;
|
||||
std::vector<std::string> required_extensions;
|
||||
XrVersion min_version = XR_MAKE_VERSION(1, 0, 0);
|
||||
XrVersion max_version = XR_MAKE_VERSION(2, 0, 0); // exclusive
|
||||
std::vector<std::string> input_sources;
|
||||
bool available;
|
||||
};
|
||||
@@ -139,7 +138,6 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/facebook/touch_controller_pro",
|
||||
.required_extensions = {XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME},
|
||||
.max_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/left/output/haptic_trigger_fb",
|
||||
@@ -252,7 +250,6 @@ static std::vector<interaction_profile> interaction_profiles{
|
||||
interaction_profile{
|
||||
.profile_name = "/interaction_profiles/meta/touch_controller_plus",
|
||||
.required_extensions = {XR_META_TOUCH_CONTROLLER_PLUS_EXTENSION_NAME},
|
||||
.max_version = XR_MAKE_VERSION(1, 1, 0),
|
||||
.input_sources = {
|
||||
"/user/hand/left/output/haptic",
|
||||
"/user/hand/right/output/haptic",
|
||||
@@ -761,13 +758,12 @@ void application::initialize_vulkan()
|
||||
spdlog::info(" {} (version {})", extension_name, spec_version);
|
||||
|
||||
vk_device_extensions.push_back(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_IMG_FILTER_CUBIC_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
|
||||
|
||||
#ifdef __ANDROID__
|
||||
vk_device_extensions.push_back(VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME);
|
||||
@@ -882,28 +878,23 @@ void application::initialize_vulkan()
|
||||
.ppEnabledExtensionNames = vk_device_extensions.data(),
|
||||
.pEnabledFeatures = &device_features,
|
||||
},
|
||||
vk::PhysicalDeviceFragmentShadingRateFeaturesKHR{},
|
||||
#ifdef __ANDROID__
|
||||
vk::PhysicalDeviceSamplerYcbcrConversionFeaturesKHR{
|
||||
.samplerYcbcrConversion = VK_TRUE,
|
||||
.samplerYcbcrConversion = true,
|
||||
},
|
||||
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR{
|
||||
.timelineSemaphore = true,
|
||||
},
|
||||
#endif
|
||||
};
|
||||
|
||||
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
|
||||
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
|
||||
if (utils::contains(vk_device_extensions, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME))
|
||||
{
|
||||
auto [feat, fragment_feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
|
||||
auto & create_feat = device_create_info.get<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
|
||||
create_feat.primitiveFragmentShadingRate = fragment_feat.primitiveFragmentShadingRate;
|
||||
create_feat.attachmentFragmentShadingRate = fragment_feat.attachmentFragmentShadingRate;
|
||||
spdlog::info("Fragment shading rate features: primitive={} attachment={}",
|
||||
create_feat.primitiveFragmentShadingRate,
|
||||
create_feat.attachmentFragmentShadingRate);
|
||||
auto [_, feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
auto & create_feat = device_create_info.get<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
create_feat.timelineSemaphore = feat.timelineSemaphore;
|
||||
}
|
||||
else
|
||||
{
|
||||
device_create_info.unlink<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
|
||||
device_create_info.unlink<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
}
|
||||
|
||||
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
|
||||
@@ -997,8 +988,7 @@ void application::initialize_actions()
|
||||
for (auto & profile: interaction_profiles)
|
||||
{
|
||||
profile.available = std::ranges::all_of(profile.required_extensions, [&](auto & ext) { return xr_instance.has_extension(ext); }) and
|
||||
profile.min_version <= api_version and
|
||||
profile.max_version > api_version;
|
||||
profile.min_version <= api_version;
|
||||
|
||||
if (profile.profile_name.ends_with("khr/simple_controller"))
|
||||
{
|
||||
@@ -1333,50 +1323,47 @@ void application::initialize()
|
||||
vk_cmdpool = vk::raii::CommandPool{vk_device, cmdpool_create_info};
|
||||
|
||||
initialize_actions();
|
||||
load_locale();
|
||||
}
|
||||
|
||||
void application::load_locale()
|
||||
{
|
||||
gen.add_messages_domain("wivrn");
|
||||
std::locale loc = gen("");
|
||||
|
||||
messages_info.encoding = "UTF-8";
|
||||
if (config->locale.empty())
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
jni::klass java_util_Locale("java/util/Locale");
|
||||
auto default_locale = java_util_Locale.call<jni::object<"java/util/Locale">>("getDefault");
|
||||
jni::klass java_util_Locale("java/util/Locale");
|
||||
auto default_locale = java_util_Locale.call<jni::object<"java/util/Locale">>("getDefault");
|
||||
|
||||
// if (auto language = default_locale.call<jni::string>("toString"))
|
||||
if (auto language = default_locale.call<jni::string>("getLanguage"))
|
||||
messages_info.language = language;
|
||||
|
||||
if (auto country = default_locale.call<jni::string>("getCountry"))
|
||||
messages_info.country = country;
|
||||
|
||||
messages_info.encoding = "UTF-8";
|
||||
// if (auto language = default_locale.call<jni::string>("toString"))
|
||||
if (auto language = default_locale.call<jni::string>("getLanguage"))
|
||||
messages_info.language = language;
|
||||
|
||||
if (auto country = default_locale.call<jni::string>("getCountry"))
|
||||
messages_info.country = country;
|
||||
#else
|
||||
auto & facet = std::use_facet<boost::locale::info>(loc);
|
||||
messages_info.language = facet.language();
|
||||
messages_info.country = facet.country();
|
||||
messages_info.encoding = "UTF-8";
|
||||
auto & facet = std::use_facet<boost::locale::info>(loc);
|
||||
messages_info.language = facet.language();
|
||||
messages_info.country = facet.country();
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
auto pos = config->locale.find("_");
|
||||
messages_info.language = config->locale.substr(0, pos);
|
||||
if (pos != std::string::npos)
|
||||
messages_info.country = config->locale.substr(pos + 1);
|
||||
}
|
||||
|
||||
spdlog::info("Current locale: language {}, country {}, encoding {}", messages_info.language, messages_info.country, messages_info.encoding);
|
||||
|
||||
messages_info.paths.push_back("locale");
|
||||
|
||||
messages_info.domains.push_back(boost::locale::gnu_gettext::messages_info::domain("wivrn"));
|
||||
messages_info.callback = [](const std::string & file_name, const std::string & encoding) {
|
||||
std::vector<char> buffer;
|
||||
try
|
||||
{
|
||||
asset file(file_name);
|
||||
buffer.resize(file.size());
|
||||
memcpy(buffer.data(), file.data(), file.size());
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
|
||||
return buffer;
|
||||
};
|
||||
|
||||
messages_info.callback = open_locale_file;
|
||||
loc = std::locale(loc, boost::locale::gnu_gettext::create_messages_facet<char>(messages_info));
|
||||
|
||||
std::locale::global(loc);
|
||||
|
||||
@@ -417,4 +417,6 @@ public:
|
||||
{
|
||||
return instance().messages_info;
|
||||
}
|
||||
|
||||
void load_locale();
|
||||
};
|
||||
|
||||
@@ -181,9 +181,6 @@ configuration::configuration(xr::system & system)
|
||||
if (auto val = root["enable_stream_gui"]; val.is_bool())
|
||||
enable_stream_gui = val.get_bool();
|
||||
|
||||
if (auto val = root["sgsr"]; val.is_object())
|
||||
parse_sgsr_options(val.get_object());
|
||||
|
||||
if (auto val = root["openxr_post_processing"]; val.is_object())
|
||||
parse_openxr_post_processing_options(val.get_object());
|
||||
|
||||
@@ -221,6 +218,9 @@ configuration::configuration(xr::system & system)
|
||||
|
||||
if (auto val = root["first_run"]; val.is_bool())
|
||||
first_run = val.get_bool();
|
||||
|
||||
if (auto val = root["locale"]; val.is_string())
|
||||
locale = val.get_string().value();
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
@@ -231,31 +231,11 @@ configuration::configuration(xr::system & system)
|
||||
preferred_refresh_rate.reset();
|
||||
minimum_refresh_rate.reset();
|
||||
resolution_scale = 1.4;
|
||||
sgsr = {};
|
||||
openxr_post_processing = {};
|
||||
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
||||
}
|
||||
}
|
||||
|
||||
void configuration::parse_sgsr_options(simdjson::simdjson_result<simdjson::dom::object> sgsr_root)
|
||||
{
|
||||
sgsr = {};
|
||||
if (auto val = sgsr_root["enabled"]; val.is_bool())
|
||||
sgsr.enabled = val.get_bool();
|
||||
|
||||
if (auto val = sgsr_root["upscaling_factor"]; val.is_double())
|
||||
sgsr.upscaling_factor = val.get_double();
|
||||
|
||||
if (auto val = sgsr_root["use_edge_direction"]; val.is_bool())
|
||||
sgsr.use_edge_direction = val.get_bool();
|
||||
|
||||
if (auto val = sgsr_root["edge_threshold"]; val.is_double())
|
||||
sgsr.edge_threshold = val.get_double();
|
||||
|
||||
if (auto val = sgsr_root["edge_sharpness"]; val.is_double())
|
||||
sgsr.edge_sharpness = val.get_double();
|
||||
}
|
||||
|
||||
void configuration::parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> openxr_post_processing_root)
|
||||
{
|
||||
openxr_post_processing = {};
|
||||
@@ -271,17 +251,6 @@ static std::ostream & operator<<(std::ostream & stream, feature f)
|
||||
return stream << "\"" << magic_enum::enum_name(f) << "\"";
|
||||
}
|
||||
|
||||
static std::ostream & write_sgsr(std::ofstream & stream, const configuration::sgsr_settings & sgsr)
|
||||
{
|
||||
stream << "{\"enabled\":" << std::boolalpha << sgsr.enabled;
|
||||
stream << ",\"upscaling_factor\":" << sgsr.upscaling_factor;
|
||||
stream << ",\"use_edge_direction\":" << std::boolalpha << sgsr.use_edge_direction;
|
||||
stream << ",\"edge_threshold\":" << sgsr.edge_threshold;
|
||||
stream << ",\"edge_sharpness\":" << sgsr.edge_sharpness;
|
||||
stream << "}";
|
||||
return stream;
|
||||
}
|
||||
|
||||
static std::ostream & write_openxr_post_processing(std::ofstream & stream, const configuration::openxr_post_processing_settings & openxr_post_processing)
|
||||
{
|
||||
stream << "{\"super_sampling\":" << openxr_post_processing.super_sampling;
|
||||
@@ -324,8 +293,6 @@ void configuration::save()
|
||||
if (minimum_refresh_rate)
|
||||
json << ",\"minimum_refresh_rate\":" << *minimum_refresh_rate;
|
||||
json << ",\"resolution_scale\":" << resolution_scale;
|
||||
json << ",\"sgsr\":";
|
||||
write_sgsr(json, sgsr);
|
||||
json << ",\"openxr_post_processing\":";
|
||||
write_openxr_post_processing(json, openxr_post_processing);
|
||||
json << ",\"passthrough_enabled\":" << std::boolalpha << passthrough_enabled;
|
||||
@@ -340,5 +307,6 @@ void configuration::save()
|
||||
json << ",\"override_foveation_pitch\":" << override_foveation_pitch;
|
||||
json << ",\"override_foveation_distance\":" << override_foveation_distance;
|
||||
json << ",\"first_run\":" << std::boolalpha << first_run;
|
||||
json << ",\"locale\":" << json_string(locale);
|
||||
json << "}";
|
||||
}
|
||||
|
||||
+2
-12
@@ -58,17 +58,6 @@ public:
|
||||
|
||||
bool enable_stream_gui = true;
|
||||
|
||||
// Snapdragon Game Super Resolution
|
||||
struct sgsr_settings
|
||||
{
|
||||
bool enabled = false;
|
||||
float upscaling_factor = 1.5;
|
||||
bool use_edge_direction = true;
|
||||
float edge_threshold = 4.0;
|
||||
float edge_sharpness = 2.0;
|
||||
};
|
||||
sgsr_settings sgsr{};
|
||||
|
||||
// XR_FB_composition_layer_settings extension flags
|
||||
struct openxr_post_processing_settings
|
||||
{
|
||||
@@ -85,6 +74,8 @@ public:
|
||||
|
||||
bool first_run = true;
|
||||
|
||||
std::string locale;
|
||||
|
||||
bool check_feature(feature f) const;
|
||||
void set_feature(feature f, bool state);
|
||||
|
||||
@@ -92,7 +83,6 @@ private:
|
||||
mutable std::mutex mutex;
|
||||
std::map<feature, bool> features;
|
||||
|
||||
void parse_sgsr_options(simdjson::simdjson_result<simdjson::dom::object> root);
|
||||
void parse_openxr_post_processing_options(simdjson::simdjson_result<simdjson::dom::object> root);
|
||||
|
||||
public:
|
||||
|
||||
@@ -59,8 +59,11 @@ const char * mime(wivrn::video_codec codec)
|
||||
return "video/hevc";
|
||||
case c::av1:
|
||||
return "video/av01";
|
||||
case c::raw:
|
||||
break;
|
||||
}
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void check(media_status_t status, const char * msg)
|
||||
@@ -72,6 +75,26 @@ void check(media_status_t status, const char * msg)
|
||||
}
|
||||
}
|
||||
|
||||
struct android_blit_handle : public decoder::blit_handle
|
||||
{
|
||||
std::shared_ptr<wivrn::android::decoder::mapped_hardware_buffer> vk_data;
|
||||
std::shared_ptr<AImageReader> image_reader;
|
||||
AImage_ptr aimage;
|
||||
android_blit_handle(
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info,
|
||||
vk::ImageView image_view,
|
||||
vk::Image image,
|
||||
vk::ImageLayout & current_layout,
|
||||
decltype(vk_data) vk_data,
|
||||
decltype(image_reader) image_reader,
|
||||
decltype(aimage) aimage) :
|
||||
decoder::blit_handle(feedback, view_info, image_view, image, current_layout),
|
||||
vk_data(vk_data),
|
||||
image_reader(image_reader),
|
||||
aimage(std::move(aimage)) {}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace wivrn::android
|
||||
@@ -85,7 +108,7 @@ decoder::decoder(
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> weak_scene,
|
||||
shard_accumulator * accumulator) :
|
||||
description(description), stream_index(stream_index), fps(fps), device(device), weak_scene(weak_scene), accumulator(accumulator)
|
||||
wivrn::decoder(description), stream_index(stream_index), fps(fps), device(device), weak_scene(weak_scene), accumulator(accumulator)
|
||||
{
|
||||
spdlog::info("hbm_mutex.native_handle() = {}", (void *)hbm_mutex.native_handle());
|
||||
|
||||
@@ -222,7 +245,7 @@ void decoder::push_data(std::span<std::span<const uint8_t>> data, uint64_t frame
|
||||
current_input_buffer = input_buffer{};
|
||||
}
|
||||
|
||||
void decoder::frame_completed(wivrn::from_headset::feedback & feedback, const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info)
|
||||
void decoder::frame_completed(const wivrn::from_headset::feedback & feedback, const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info)
|
||||
{
|
||||
if (not media_codec)
|
||||
{
|
||||
@@ -255,7 +278,7 @@ void decoder::on_image_available(AImageReader * reader)
|
||||
assert(reader == image_reader.get());
|
||||
// Executed on image reader thread
|
||||
|
||||
decltype(blit_handle::aimage) image;
|
||||
decltype(android_blit_handle::aimage) image;
|
||||
try
|
||||
{
|
||||
AImage * tmp;
|
||||
@@ -280,13 +303,13 @@ void decoder::on_image_available(AImageReader * reader)
|
||||
|
||||
auto vk_data = map_hardware_buffer(image.get());
|
||||
|
||||
auto handle = std::make_shared<decoder::blit_handle>(
|
||||
auto handle = std::make_shared<android_blit_handle>(
|
||||
info->feedback,
|
||||
info->view_info,
|
||||
vk_data->image_view,
|
||||
*vk_data->image_view,
|
||||
*vk_data->vimage,
|
||||
&vk_data->layout,
|
||||
vk_data,
|
||||
vk_data->layout,
|
||||
std::move(vk_data),
|
||||
image_reader,
|
||||
std::move(image));
|
||||
|
||||
@@ -388,7 +411,8 @@ std::shared_ptr<decoder::mapped_hardware_buffer> decoder::map_hardware_buffer(AI
|
||||
if (!*ycbcr_sampler || memcmp(&ahb_format, &format_properties, sizeof(format_properties)))
|
||||
{
|
||||
memcpy(&ahb_format, &format_properties, sizeof(format_properties));
|
||||
extent = {buffer_desc.width, buffer_desc.height};
|
||||
extent_ = {buffer_desc.width, buffer_desc.height};
|
||||
spdlog::info("decoded image size: {}x{}", buffer_desc.width, buffer_desc.height);
|
||||
create_sampler(buffer_desc, ahb_format);
|
||||
hardware_buffer_map.clear();
|
||||
// TODO tell the reprojector to recreate the pipeline
|
||||
@@ -514,11 +538,6 @@ void decoder::on_media_output_available(AMediaCodec * media_codec, void * userda
|
||||
});
|
||||
}
|
||||
|
||||
void decoder::blit_handle::deleter::operator()(AImage * aimage)
|
||||
{
|
||||
AImage_delete(aimage);
|
||||
}
|
||||
|
||||
static bool hardware_accelerated(AMediaCodec * media_codec)
|
||||
{
|
||||
// MediaCodecInfo has isHardwareAccelerated, but this does not exist in NDK.
|
||||
@@ -542,11 +561,10 @@ static bool hardware_accelerated(AMediaCodec * media_codec)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::vector<wivrn::video_codec> decoder::supported_codecs()
|
||||
void decoder::supported_codecs(std::vector<wivrn::video_codec> & result)
|
||||
{
|
||||
std::vector<wivrn::video_codec> result;
|
||||
// Make sure we update this code when codecs are changed
|
||||
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 3);
|
||||
static_assert(magic_enum::enum_count<wivrn::video_codec>() == 4);
|
||||
|
||||
// In order or preference, from preferred to least preferred
|
||||
for (auto codec: {
|
||||
@@ -563,8 +581,6 @@ std::vector<wivrn::video_codec> decoder::supported_codecs()
|
||||
|
||||
spdlog::info("video codec {}: {}supported", magic_enum::enum_name(codec), supported ? "" : "NOT ");
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
} // namespace wivrn::android
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "decoder/decoder.h"
|
||||
#include "utils/sync_queue.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <functional>
|
||||
@@ -59,31 +60,12 @@ class stream;
|
||||
|
||||
namespace wivrn::android
|
||||
{
|
||||
class decoder
|
||||
class decoder : public wivrn::decoder
|
||||
{
|
||||
public:
|
||||
struct mapped_hardware_buffer;
|
||||
|
||||
struct blit_handle
|
||||
{
|
||||
struct deleter
|
||||
{
|
||||
void operator()(AImage *);
|
||||
};
|
||||
wivrn::from_headset::feedback feedback;
|
||||
wivrn::to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
vk::raii::ImageView & image_view;
|
||||
vk::Image image = nullptr;
|
||||
vk::ImageLayout * current_layout = nullptr;
|
||||
|
||||
std::shared_ptr<mapped_hardware_buffer> vk_data;
|
||||
|
||||
std::shared_ptr<AImageReader> image_reader;
|
||||
AImage_ptr aimage;
|
||||
};
|
||||
|
||||
private:
|
||||
wivrn::to_headset::video_stream_description::item description;
|
||||
uint8_t stream_index;
|
||||
float fps;
|
||||
|
||||
@@ -92,7 +74,6 @@ private:
|
||||
vk::AndroidHardwareBufferFormatPropertiesANDROID ahb_format;
|
||||
vk::raii::SamplerYcbcrConversion ycbcr_conversion = nullptr;
|
||||
vk::raii::Sampler ycbcr_sampler = nullptr;
|
||||
vk::Extent2D extent{};
|
||||
|
||||
std::mutex hbm_mutex;
|
||||
std::shared_ptr<AImageReader> image_reader;
|
||||
@@ -146,33 +127,20 @@ public:
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * accumulator);
|
||||
|
||||
decoder(const decoder &) = delete;
|
||||
decoder(decoder &&) = delete;
|
||||
~decoder();
|
||||
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial);
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
|
||||
|
||||
void frame_completed(
|
||||
wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
|
||||
|
||||
const auto & desc() const
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
vk::Sampler sampler()
|
||||
vk::Sampler sampler() override
|
||||
{
|
||||
return *ycbcr_sampler;
|
||||
}
|
||||
|
||||
vk::Extent2D image_size()
|
||||
{
|
||||
return extent;
|
||||
}
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
static void supported_codecs(std::vector<wivrn::video_codec> &);
|
||||
};
|
||||
|
||||
} // namespace wivrn::android
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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 "decoder.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "decoder/android/android_decoder.h"
|
||||
#else
|
||||
#include "decoder/ffmpeg/ffmpeg_decoder.h"
|
||||
#endif
|
||||
#include "decoder/raw_decoder.h"
|
||||
|
||||
wivrn::decoder::~decoder() = default;
|
||||
|
||||
std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & phys_dev,
|
||||
uint32_t vk_queue_family_index,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * acc)
|
||||
{
|
||||
switch (description.codec)
|
||||
{
|
||||
case h264:
|
||||
case h265:
|
||||
case av1:
|
||||
#ifdef __ANDROID__
|
||||
return std::make_shared<wivrn::android::decoder>(
|
||||
device,
|
||||
phys_dev,
|
||||
description,
|
||||
fps,
|
||||
stream_index,
|
||||
scene,
|
||||
acc);
|
||||
#else
|
||||
return std::make_shared<wivrn::ffmpeg::decoder>(
|
||||
device,
|
||||
phys_dev,
|
||||
description,
|
||||
stream_index,
|
||||
scene,
|
||||
acc);
|
||||
#endif
|
||||
case raw:
|
||||
return std::make_shared<wivrn::raw_decoder>(
|
||||
device,
|
||||
phys_dev,
|
||||
vk_queue_family_index,
|
||||
description,
|
||||
stream_index,
|
||||
scene,
|
||||
acc);
|
||||
}
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
std::vector<wivrn::video_codec> wivrn::decoder::supported_codecs()
|
||||
{
|
||||
std::vector<wivrn::video_codec> res;
|
||||
#ifdef __ANDROID__
|
||||
android::decoder::supported_codecs(res);
|
||||
#else
|
||||
ffmpeg::decoder::supported_codecs(res);
|
||||
#endif
|
||||
res.push_back(video_codec::raw);
|
||||
return res;
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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 "wivrn_packets.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <span>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
namespace scenes
|
||||
{
|
||||
class stream;
|
||||
}
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class shard_accumulator;
|
||||
class decoder
|
||||
{
|
||||
public:
|
||||
struct blit_handle
|
||||
{
|
||||
wivrn::from_headset::feedback feedback;
|
||||
wivrn::to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
vk::ImageView image_view = nullptr;
|
||||
vk::Image image = nullptr;
|
||||
vk::ImageLayout & current_layout;
|
||||
vk::Semaphore semaphore = nullptr;
|
||||
uint64_t * semaphore_val = nullptr;
|
||||
};
|
||||
|
||||
const wivrn::to_headset::video_stream_description::item description;
|
||||
|
||||
protected:
|
||||
decoder(const wivrn::to_headset::video_stream_description::item & description) :
|
||||
description(description) {}
|
||||
vk::Extent2D extent_; // Must be populated when sampler is set
|
||||
|
||||
public:
|
||||
static std::shared_ptr<decoder> make(
|
||||
vk::raii::Device &,
|
||||
vk::raii::PhysicalDevice &,
|
||||
uint32_t vk_queue_family_index,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream>,
|
||||
shard_accumulator *);
|
||||
virtual ~decoder();
|
||||
virtual void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) = 0;
|
||||
|
||||
virtual void frame_completed(
|
||||
const from_headset::feedback & feedback,
|
||||
const to_headset::video_stream_data_shard::view_info_t & view_info) = 0;
|
||||
|
||||
virtual vk::Sampler sampler() = 0;
|
||||
const vk::Extent2D extent()
|
||||
{
|
||||
return extent_;
|
||||
}
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
};
|
||||
} // namespace wivrn
|
||||
@@ -56,29 +56,60 @@ static AVCodecID codec_id(wivrn::video_codec codec)
|
||||
return AV_CODEC_ID_HEVC;
|
||||
case c::av1:
|
||||
return AV_CODEC_ID_AV1;
|
||||
case c::raw:
|
||||
break;
|
||||
}
|
||||
assert(false);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
decoder::blit_handle::~blit_handle()
|
||||
struct decoder::ffmpeg_blit_handle : public wivrn::decoder::blit_handle
|
||||
{
|
||||
std::unique_lock lock(self->mutex);
|
||||
if (image_index < 0)
|
||||
return;
|
||||
int image_index;
|
||||
wivrn::ffmpeg::decoder * self;
|
||||
|
||||
self->free_images.push_back(image_index);
|
||||
}
|
||||
ffmpeg_blit_handle(
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info,
|
||||
vk::ImageView image_view,
|
||||
vk::Image image,
|
||||
vk::ImageLayout & current_layout,
|
||||
int image_index,
|
||||
wivrn::ffmpeg::decoder * self) :
|
||||
wivrn::decoder::blit_handle{
|
||||
feedback,
|
||||
view_info,
|
||||
image_view,
|
||||
image,
|
||||
current_layout,
|
||||
},
|
||||
image_index(image_index),
|
||||
self(self)
|
||||
{}
|
||||
|
||||
~ffmpeg_blit_handle()
|
||||
{
|
||||
std::unique_lock lock(self->mutex);
|
||||
if (image_index < 0)
|
||||
return;
|
||||
|
||||
self->free_images.push_back(image_index);
|
||||
}
|
||||
};
|
||||
|
||||
decoder::decoder(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * accumulator) :
|
||||
device(device), description(description), codec(nullptr, free_codec_context), sws(nullptr, sws_freeContext), weak_scene(scene), accumulator(accumulator)
|
||||
wivrn::decoder(description),
|
||||
device(device),
|
||||
codec(nullptr, free_codec_context),
|
||||
sws(nullptr, sws_freeContext),
|
||||
weak_scene(scene),
|
||||
accumulator(accumulator)
|
||||
{
|
||||
free_images.resize(image_count);
|
||||
|
||||
@@ -108,7 +139,7 @@ decoder::decoder(
|
||||
decoded_images[i].image = image_allocation(device, image_info, alloc_info);
|
||||
|
||||
decoded_images[i].image.map();
|
||||
extent = vk::Extent2D{description.width, description.height};
|
||||
extent_ = vk::Extent2D{description.width, description.height};
|
||||
|
||||
vk::ImageSubresource resource;
|
||||
resource.aspectMask = vk::ImageAspectFlagBits::eColor;
|
||||
@@ -221,12 +252,12 @@ void decoder::frame_completed(const wivrn::from_headset::feedback & feedback, co
|
||||
if (res == 0)
|
||||
throw std::runtime_error{"sws_scale failed"};
|
||||
|
||||
auto handle = std::make_shared<decoder::blit_handle>(
|
||||
auto handle = std::make_shared<ffmpeg_blit_handle>(
|
||||
feedback,
|
||||
view_info,
|
||||
decoded_images[index].image_view,
|
||||
(vk::Image)decoded_images[index].image,
|
||||
&decoded_images[index].current_layout,
|
||||
*decoded_images[index].image_view,
|
||||
decoded_images[index].image,
|
||||
decoded_images[index].current_layout,
|
||||
index,
|
||||
this);
|
||||
|
||||
@@ -234,13 +265,11 @@ void decoder::frame_completed(const wivrn::from_headset::feedback & feedback, co
|
||||
scene->push_blit_handle(accumulator, std::move(handle));
|
||||
}
|
||||
|
||||
std::vector<wivrn::video_codec> decoder::supported_codecs()
|
||||
void decoder::supported_codecs(std::vector<wivrn::video_codec> & res)
|
||||
{
|
||||
return {
|
||||
wivrn::video_codec::h264,
|
||||
wivrn::video_codec::h265,
|
||||
wivrn::video_codec::av1,
|
||||
};
|
||||
res.push_back(wivrn::video_codec::h264);
|
||||
res.push_back(wivrn::video_codec::h265);
|
||||
res.push_back(wivrn::video_codec::av1);
|
||||
}
|
||||
|
||||
} // namespace wivrn::ffmpeg
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "decoder/decoder.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <memory>
|
||||
@@ -46,24 +47,10 @@ class stream;
|
||||
|
||||
namespace wivrn::ffmpeg
|
||||
{
|
||||
class decoder
|
||||
class decoder : public wivrn::decoder
|
||||
{
|
||||
public:
|
||||
struct blit_handle
|
||||
{
|
||||
wivrn::from_headset::feedback feedback;
|
||||
wivrn::to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
vk::raii::ImageView & image_view;
|
||||
vk::Image image = nullptr;
|
||||
vk::ImageLayout * current_layout = nullptr;
|
||||
|
||||
int image_index;
|
||||
decoder * self;
|
||||
|
||||
~blit_handle();
|
||||
};
|
||||
|
||||
private:
|
||||
struct ffmpeg_blit_handle;
|
||||
static const int image_count = 12;
|
||||
struct image
|
||||
{
|
||||
@@ -78,11 +65,8 @@ private:
|
||||
vk::raii::Sampler rgb_sampler = nullptr;
|
||||
|
||||
std::array<image, image_count> decoded_images;
|
||||
vk::Extent2D extent{};
|
||||
std::vector<int> free_images;
|
||||
|
||||
wivrn::to_headset::video_stream_description::item description;
|
||||
|
||||
std::unique_ptr<AVCodecContext, void (*)(AVCodecContext *)> codec;
|
||||
std::unique_ptr<SwsContext, void (*)(SwsContext *)> sws;
|
||||
std::vector<uint8_t> packet;
|
||||
@@ -96,35 +80,21 @@ public:
|
||||
decoder(vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * accumulator);
|
||||
|
||||
decoder(const decoder &) = delete;
|
||||
decoder(decoder &&) = delete;
|
||||
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial);
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
|
||||
|
||||
void frame_completed(
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
|
||||
|
||||
const auto & desc() const
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
vk::Sampler sampler()
|
||||
vk::Sampler sampler() override
|
||||
{
|
||||
return *rgb_sampler;
|
||||
}
|
||||
|
||||
vk::Extent2D image_size()
|
||||
{
|
||||
return extent;
|
||||
}
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
static void supported_codecs(std::vector<wivrn::video_codec> &);
|
||||
};
|
||||
} // namespace wivrn::ffmpeg
|
||||
|
||||
@@ -0,0 +1,353 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "raw_decoder.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "scenes/stream.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
struct raw_blit_handle : public wivrn::decoder::blit_handle
|
||||
{
|
||||
std::atomic_bool & free;
|
||||
|
||||
raw_blit_handle(
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info,
|
||||
vk::ImageView image_view,
|
||||
vk::Image image,
|
||||
vk::ImageLayout & current_layout,
|
||||
vk::Semaphore semaphore,
|
||||
uint64_t & semaphore_val,
|
||||
std::atomic_bool & free) :
|
||||
wivrn::decoder::blit_handle{feedback, view_info, image_view, image, current_layout, semaphore, &semaphore_val},
|
||||
free(free) {}
|
||||
~raw_blit_handle()
|
||||
{
|
||||
free = true;
|
||||
};
|
||||
};
|
||||
|
||||
vk::raii::Sampler make_sampler(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::SamplerYcbcrConversion & ycbcr_conversion,
|
||||
to_headset::video_stream_description::channels_t channels)
|
||||
{
|
||||
vk::StructureChain info{
|
||||
vk::SamplerCreateInfo{
|
||||
.magFilter = vk::Filter::eNearest,
|
||||
.minFilter = vk::Filter::eNearest,
|
||||
.mipmapMode = vk::SamplerMipmapMode::eNearest,
|
||||
.addressModeU = vk::SamplerAddressMode::eClampToEdge,
|
||||
.addressModeV = vk::SamplerAddressMode::eClampToEdge,
|
||||
.addressModeW = vk::SamplerAddressMode::eClampToEdge,
|
||||
.maxAnisotropy = 1,
|
||||
},
|
||||
vk::SamplerYcbcrConversionInfo{
|
||||
.conversion = *ycbcr_conversion,
|
||||
},
|
||||
};
|
||||
switch (channels)
|
||||
{
|
||||
case wivrn::to_headset::video_stream_description::channels_t::colour:
|
||||
break;
|
||||
case wivrn::to_headset::video_stream_description::channels_t::alpha:
|
||||
info.unlink<vk::SamplerYcbcrConversionInfo>();
|
||||
break;
|
||||
}
|
||||
return vk::raii::Sampler(device, info.get());
|
||||
}
|
||||
} // namespace
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
raw_decoder::raw_decoder(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
uint32_t vk_queue_family_index,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * accumulator) :
|
||||
decoder(description),
|
||||
device(device),
|
||||
ycbcr_conversion(device,
|
||||
{
|
||||
.format = vk::Format::eG8B8R82Plane420Unorm,
|
||||
.ycbcrModel = vk::SamplerYcbcrModelConversion(description.color_model.value_or(VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709)),
|
||||
.ycbcrRange = vk::SamplerYcbcrRange(description.range.value_or(VK_SAMPLER_YCBCR_RANGE_ITU_FULL)),
|
||||
.chromaFilter = vk::Filter::eNearest,
|
||||
}),
|
||||
sampler_(make_sampler(device, ycbcr_conversion, description.channels)),
|
||||
command_pool(device, vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
|
||||
.queueFamilyIndex = vk_queue_family_index,
|
||||
}),
|
||||
cmd(device.allocateCommandBuffers(vk::CommandBufferAllocateInfo{
|
||||
.commandPool = *command_pool,
|
||||
.commandBufferCount = 1,
|
||||
})[0]
|
||||
.release()),
|
||||
fence(device, vk::FenceCreateInfo{.flags = vk::FenceCreateFlagBits::eSignaled}),
|
||||
weak_scene(scene),
|
||||
accumulator(accumulator)
|
||||
{
|
||||
extent_ = vk::Extent2D{
|
||||
.width = description.width,
|
||||
.height = description.height,
|
||||
};
|
||||
vk::DeviceSize buffer_size = description.width * description.height;
|
||||
vk::Format format{};
|
||||
switch (description.channels)
|
||||
{
|
||||
case to_headset::video_stream_description::channels_t::colour:
|
||||
buffer_size += (description.width * description.height) / 2;
|
||||
format = vk::Format::eG8B8R82Plane420Unorm;
|
||||
break;
|
||||
case to_headset::video_stream_description::channels_t::alpha:
|
||||
format = vk::Format::eR8Unorm;
|
||||
break;
|
||||
}
|
||||
for (auto & i: input)
|
||||
{
|
||||
i = buffer_allocation(
|
||||
device,
|
||||
{
|
||||
.size = buffer_size,
|
||||
.usage = vk::BufferUsageFlagBits::eTransferSrc,
|
||||
},
|
||||
{
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
"raw stream buffer");
|
||||
}
|
||||
input_pos = (uint8_t *)input[0].map();
|
||||
|
||||
for (auto & item: image_pool)
|
||||
{
|
||||
item.image = image_allocation(
|
||||
device,
|
||||
vk::ImageCreateInfo{
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = format,
|
||||
.extent = {
|
||||
.width = description.width,
|
||||
.height = description.height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = vk::ImageUsageFlagBits::eSampled | vk::ImageUsageFlagBits::eTransferDst,
|
||||
},
|
||||
{
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
"raw image");
|
||||
|
||||
vk::SamplerYcbcrConversionInfo conv{
|
||||
.conversion = *ycbcr_conversion,
|
||||
};
|
||||
vk::ImageViewCreateInfo view_info{
|
||||
.pNext = format == vk::Format::eG8B8R82Plane420Unorm ? &conv : nullptr,
|
||||
.image = item.image,
|
||||
.viewType = vk::ImageViewType::e2D,
|
||||
.format = format,
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
item.view_full = vk::raii::ImageView(device, view_info);
|
||||
|
||||
item.semaphore = vk::raii::Semaphore(
|
||||
device,
|
||||
vk::StructureChain{
|
||||
vk::SemaphoreCreateInfo{},
|
||||
vk::SemaphoreTypeCreateInfo{
|
||||
.semaphoreType = vk::SemaphoreType::eTimeline,
|
||||
},
|
||||
}
|
||||
.get());
|
||||
}
|
||||
}
|
||||
|
||||
void raw_decoder::push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial)
|
||||
{
|
||||
if (frame_index != current_frame)
|
||||
{
|
||||
input_pos = (uint8_t *)input[0].map();
|
||||
current_frame = frame_index;
|
||||
}
|
||||
for (const auto & item: data)
|
||||
{
|
||||
memcpy(input_pos, item.data(), item.size_bytes());
|
||||
input_pos += item.size();
|
||||
}
|
||||
}
|
||||
|
||||
void raw_decoder::frame_completed(
|
||||
const from_headset::feedback & feedback,
|
||||
const to_headset::video_stream_data_shard::view_info_t & view_info)
|
||||
{
|
||||
auto item = get_free();
|
||||
if (not item)
|
||||
{
|
||||
spdlog::warn("No image available in pool, discard frame");
|
||||
return;
|
||||
}
|
||||
|
||||
auto handle = std::make_shared<raw_blit_handle>(
|
||||
feedback,
|
||||
view_info,
|
||||
*item->view_full,
|
||||
item->image,
|
||||
item->current_layout,
|
||||
*item->semaphore,
|
||||
item->semaphore_val,
|
||||
item->free);
|
||||
|
||||
auto res = device.waitForFences(*fence, true, UINT64_MAX);
|
||||
if (res != vk::Result::eSuccess)
|
||||
spdlog::warn("waitForFences failed");
|
||||
|
||||
cmd.reset();
|
||||
cmd.begin({.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit});
|
||||
|
||||
if (item->current_layout != vk::ImageLayout::eTransferDstOptimal)
|
||||
{
|
||||
item->current_layout = vk::ImageLayout::eTransferDstOptimal;
|
||||
vk::ImageMemoryBarrier barrier{
|
||||
.srcAccessMask = vk::AccessFlagBits::eNone,
|
||||
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
|
||||
.oldLayout = vk::ImageLayout::eUndefined,
|
||||
.newLayout = item->current_layout,
|
||||
.image = item->image,
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
cmd.pipelineBarrier(
|
||||
vk::PipelineStageFlagBits::eAllCommands,
|
||||
vk::PipelineStageFlagBits::eTransfer,
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
barrier);
|
||||
}
|
||||
|
||||
std::array regions{
|
||||
vk::BufferImageCopy{
|
||||
.imageSubresource = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::ePlane0,
|
||||
.layerCount = 1,
|
||||
},
|
||||
.imageExtent = {
|
||||
.width = description.width,
|
||||
.height = description.height,
|
||||
.depth = 1,
|
||||
},
|
||||
},
|
||||
vk::BufferImageCopy{
|
||||
.bufferOffset = vk::DeviceSize(description.width * description.height),
|
||||
.imageSubresource = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::ePlane1,
|
||||
.layerCount = 1,
|
||||
},
|
||||
.imageExtent = {
|
||||
.width = description.width / 2u,
|
||||
.height = description.height / 2u,
|
||||
.depth = 1,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
cmd.copyBufferToImage(
|
||||
input[0],
|
||||
item->image,
|
||||
item->current_layout,
|
||||
description.channels == to_headset::video_stream_description::channels_t::colour ? 2 : 1,
|
||||
regions.data());
|
||||
|
||||
vk::ImageMemoryBarrier barrier{
|
||||
.srcAccessMask = vk::AccessFlagBits::eMemoryWrite,
|
||||
.dstAccessMask = vk::AccessFlagBits::eMemoryRead,
|
||||
.oldLayout = item->current_layout,
|
||||
.newLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
|
||||
.image = item->image,
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
item->current_layout = barrier.newLayout;
|
||||
cmd.pipelineBarrier(
|
||||
vk::PipelineStageFlagBits::eTransfer,
|
||||
vk::PipelineStageFlagBits::eFragmentShader,
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
barrier);
|
||||
|
||||
cmd.end();
|
||||
|
||||
device.resetFences(*fence);
|
||||
application::get_queue().lock()->submit(
|
||||
vk::StructureChain{
|
||||
vk::SubmitInfo{
|
||||
.commandBufferCount = 1,
|
||||
.pCommandBuffers = &cmd,
|
||||
.signalSemaphoreCount = 1,
|
||||
.pSignalSemaphores = &*item->semaphore,
|
||||
},
|
||||
vk::TimelineSemaphoreSubmitInfo{
|
||||
.signalSemaphoreValueCount = 1,
|
||||
.pSignalSemaphoreValues = &++item->semaphore_val,
|
||||
},
|
||||
}
|
||||
.get(),
|
||||
*fence);
|
||||
|
||||
if (auto scene = weak_scene.lock())
|
||||
scene->push_blit_handle(accumulator, std::move(handle));
|
||||
|
||||
std::swap(input[0], input[1]);
|
||||
input_pos = (uint8_t *)input[0].map();
|
||||
}
|
||||
|
||||
raw_decoder::image * raw_decoder::get_free()
|
||||
{
|
||||
for (auto & item: image_pool)
|
||||
{
|
||||
if (item.free.exchange(false))
|
||||
return &item;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<wivrn::video_codec> raw_decoder::supported_codecs()
|
||||
{
|
||||
return {video_codec::raw};
|
||||
}
|
||||
} // namespace wivrn
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "decoder.h"
|
||||
|
||||
#include "vk/allocation.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class raw_decoder : public decoder
|
||||
{
|
||||
private:
|
||||
static const int image_count = 5;
|
||||
struct image
|
||||
{
|
||||
image_allocation image;
|
||||
vk::raii::ImageView view_full = nullptr;
|
||||
vk::ImageLayout current_layout = vk::ImageLayout::eUndefined;
|
||||
std::atomic_bool free = true;
|
||||
vk::raii::Semaphore semaphore = nullptr;
|
||||
uint64_t semaphore_val = 0;
|
||||
};
|
||||
|
||||
vk::raii::Device & device;
|
||||
vk::raii::SamplerYcbcrConversion ycbcr_conversion;
|
||||
vk::raii::Sampler sampler_;
|
||||
|
||||
vk::raii::CommandPool command_pool;
|
||||
vk::CommandBuffer cmd;
|
||||
vk::raii::Fence fence;
|
||||
|
||||
std::array<image, image_count> image_pool;
|
||||
|
||||
std::weak_ptr<scenes::stream> weak_scene;
|
||||
shard_accumulator * accumulator;
|
||||
|
||||
uint64_t current_frame = 0;
|
||||
std::array<buffer_allocation, 2> input;
|
||||
uint8_t * input_pos;
|
||||
from_headset::feedback feedback;
|
||||
to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
|
||||
public:
|
||||
raw_decoder(vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
uint32_t vk_queue_family_index,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
shard_accumulator * accumulator);
|
||||
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
|
||||
|
||||
void frame_completed(
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
|
||||
|
||||
vk::Sampler sampler() override
|
||||
{
|
||||
return *sampler_;
|
||||
}
|
||||
|
||||
vk::Extent2D image_size()
|
||||
{
|
||||
return {
|
||||
description.width,
|
||||
description.height,
|
||||
};
|
||||
}
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
|
||||
private:
|
||||
image * get_free();
|
||||
};
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -186,7 +186,7 @@ void shard_accumulator::try_submit_frame(uint16_t shard_idx)
|
||||
payload.emplace_back(data_shards[idx]->payload);
|
||||
|
||||
bool frame_complete = last_idx == data_shards.size() and data_shards.back()->flags & video_stream_data_shard::end_of_frame;
|
||||
decoder->push_data(payload, data_shards[shard_idx]->frame_idx, not frame_complete);
|
||||
decoder_->push_data(payload, data_shards[shard_idx]->frame_idx, not frame_complete);
|
||||
|
||||
if (not frame_complete)
|
||||
return;
|
||||
@@ -206,7 +206,7 @@ void shard_accumulator::try_submit_frame(uint16_t shard_idx)
|
||||
}
|
||||
|
||||
// Try to extract a frame
|
||||
decoder->frame_completed(current.feedback, *data_shards.front()->view_info);
|
||||
decoder_->frame_completed(current.feedback, *data_shards.front()->view_info);
|
||||
|
||||
send_feedback(current.feedback);
|
||||
|
||||
|
||||
@@ -19,32 +19,30 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "decoder/android/android_decoder.h"
|
||||
using decoder_impl = ::wivrn::android::decoder;
|
||||
#else
|
||||
#include "decoder/ffmpeg/ffmpeg_decoder.h"
|
||||
using decoder_impl = ::wivrn::ffmpeg::decoder;
|
||||
#endif
|
||||
|
||||
#include "decoder.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
namespace xr
|
||||
{
|
||||
class instance;
|
||||
}
|
||||
|
||||
namespace scenes
|
||||
{
|
||||
class stream;
|
||||
}
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
class shard_accumulator
|
||||
{
|
||||
std::shared_ptr<decoder_impl> decoder;
|
||||
std::shared_ptr<decoder> decoder_;
|
||||
|
||||
public:
|
||||
using data_shard = wivrn::to_headset::video_stream_data_shard;
|
||||
@@ -82,11 +80,12 @@ public:
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
xr::instance & instance,
|
||||
uint32_t vk_queue_family_index,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
uint8_t stream_index) :
|
||||
decoder(std::make_shared<decoder_impl>(device, physical_device, description, fps, stream_index, scene, this)),
|
||||
decoder_(decoder::make(device, physical_device, vk_queue_family_index, description, fps, stream_index, scene, this)),
|
||||
current(stream_index),
|
||||
next(stream_index),
|
||||
weak_scene(scene),
|
||||
@@ -99,20 +98,20 @@ public:
|
||||
|
||||
auto & desc() const
|
||||
{
|
||||
return decoder->desc();
|
||||
return decoder_->description;
|
||||
}
|
||||
|
||||
vk::Sampler sampler()
|
||||
{
|
||||
return decoder->sampler();
|
||||
return decoder_->sampler();
|
||||
}
|
||||
|
||||
vk::Extent2D image_size()
|
||||
const vk::Extent2D extent()
|
||||
{
|
||||
return decoder->image_size();
|
||||
return decoder_->extent();
|
||||
}
|
||||
|
||||
using blit_handle = decoder_impl::blit_handle;
|
||||
using blit_handle = decoder::blit_handle;
|
||||
|
||||
private:
|
||||
void try_submit_frame(std::optional<uint16_t> shard_idx);
|
||||
|
||||
+127
-47
@@ -16,6 +16,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
#include "imgui_impl.h"
|
||||
#include "implot.h"
|
||||
|
||||
@@ -25,6 +26,7 @@
|
||||
#include "image_loader.h"
|
||||
#include "openxr/openxr.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "utils/strings.h"
|
||||
#include "vulkan/vulkan_enums.hpp"
|
||||
#include "vulkan/vulkan_handles.hpp"
|
||||
#include "vulkan/vulkan_to_string.hpp"
|
||||
@@ -43,8 +45,6 @@
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <string_view>
|
||||
|
||||
#include "IconsFontAwesome6.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <android/font.h>
|
||||
#include <android/font_matcher.h>
|
||||
@@ -178,6 +178,31 @@ static float distance_to_window(ImGuiWindow * window, ImVec2 position)
|
||||
return std::hypot(dx, dy);
|
||||
}
|
||||
|
||||
static const std::array layout_bindings = {
|
||||
vk::DescriptorSetLayoutBinding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
}};
|
||||
|
||||
imgui_textures::imgui_textures(
|
||||
vk::raii::PhysicalDevice physical_device,
|
||||
vk::raii::Device & device,
|
||||
uint32_t queue_family_index,
|
||||
thread_safe<vk::raii::Queue> & queue) :
|
||||
physical_device(physical_device),
|
||||
device(device),
|
||||
queue(queue),
|
||||
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
|
||||
command_pool(device,
|
||||
vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = queue_family_index,
|
||||
}),
|
||||
descriptor_pool(device, ds_layout, layout_bindings)
|
||||
{}
|
||||
|
||||
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
|
||||
{
|
||||
if (!in.active)
|
||||
@@ -289,14 +314,6 @@ imgui_context::imgui_frame & imgui_context::get_frame(vk::Image destination)
|
||||
return frame;
|
||||
}
|
||||
|
||||
static const std::array layout_bindings = {
|
||||
vk::DescriptorSetLayoutBinding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
}};
|
||||
|
||||
imgui_context::imgui_context(
|
||||
vk::raii::PhysicalDevice physical_device,
|
||||
vk::raii::Device & device,
|
||||
@@ -305,18 +322,13 @@ imgui_context::imgui_context(
|
||||
std::span<controller> controllers_,
|
||||
xr::swapchain & swapchain,
|
||||
std::vector<viewport> layers) :
|
||||
physical_device(physical_device),
|
||||
device(device),
|
||||
imgui_textures(
|
||||
physical_device,
|
||||
device,
|
||||
queue_family_index,
|
||||
queue),
|
||||
queue_family_index(queue_family_index),
|
||||
queue(queue),
|
||||
ds_layout(device, vk::DescriptorSetLayoutCreateInfo{.bindingCount = layout_bindings.size(), .pBindings = layout_bindings.data()}),
|
||||
descriptor_pool(device, ds_layout, layout_bindings),
|
||||
renderpass(create_renderpass(device, swapchain.format(), true)),
|
||||
command_pool(device,
|
||||
vk::CommandPoolCreateInfo{
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer | vk::CommandPoolCreateFlagBits::eTransient,
|
||||
.queueFamilyIndex = queue_family_index,
|
||||
}),
|
||||
command_buffers(swapchain.images().size()),
|
||||
size(swapchain.extent().width, swapchain.extent().height),
|
||||
format(swapchain.format()),
|
||||
@@ -490,22 +502,22 @@ static std::vector<std::string> find_font(std::u16string sample_text, const std:
|
||||
|
||||
void imgui_context::initialize_fonts()
|
||||
{
|
||||
std::u16string sample_text = u"Hello world";
|
||||
|
||||
const auto & locale = application::get_messages_info();
|
||||
auto it = glyph_set_per_language.find(locale.language + "_" + locale.country);
|
||||
if (it == glyph_set_per_language.end())
|
||||
it = glyph_set_per_language.find(locale.language);
|
||||
|
||||
if (it != glyph_set_per_language.end())
|
||||
for (char16_t c: it->second)
|
||||
sample_text += c;
|
||||
|
||||
// Load Fonts
|
||||
auto fonts = find_font(sample_text, application::get_messages_info().language);
|
||||
for (auto & i: fonts)
|
||||
std::vector<std::string> fonts;
|
||||
for (auto & [code, glyphs]: glyph_set_per_language)
|
||||
{
|
||||
spdlog::info("Font {}", i);
|
||||
std::u16string sample_text = u"Hello world";
|
||||
|
||||
for (char16_t c: glyphs)
|
||||
sample_text += c;
|
||||
auto language = code.substr(0, code.find("_"));
|
||||
|
||||
// Load Fonts
|
||||
for (auto && i: find_font(sample_text, language))
|
||||
{
|
||||
spdlog::info("Font for {} {}", code, i);
|
||||
if (not std::ranges::contains(fonts, i))
|
||||
fonts.push_back(std::move(i));
|
||||
}
|
||||
}
|
||||
|
||||
asset font_awesome_regular("Font Awesome 6 Free-Regular-400.otf");
|
||||
@@ -1020,12 +1032,12 @@ imgui_context::~imgui_context()
|
||||
ImGui::DestroyContext(context);
|
||||
}
|
||||
|
||||
ImTextureID imgui_context::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
|
||||
ImTextureID imgui_textures::load_texture(const std::string & filename, vk::raii::Sampler && sampler)
|
||||
{
|
||||
return load_texture(std::span<const std::byte>{asset{filename}}, std::move(sampler));
|
||||
}
|
||||
|
||||
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
|
||||
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler)
|
||||
{
|
||||
bool srgb = true;
|
||||
image_loader loader(physical_device, device, queue, command_pool);
|
||||
@@ -1061,7 +1073,7 @@ ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes
|
||||
return id;
|
||||
}
|
||||
|
||||
ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes)
|
||||
ImTextureID imgui_textures::load_texture(const std::span<const std::byte> & bytes)
|
||||
{
|
||||
return load_texture(
|
||||
bytes,
|
||||
@@ -1079,7 +1091,7 @@ ImTextureID imgui_context::load_texture(const std::span<const std::byte> & bytes
|
||||
});
|
||||
}
|
||||
|
||||
ImTextureID imgui_context::load_texture(const std::string & filename)
|
||||
ImTextureID imgui_textures::load_texture(const std::string & filename)
|
||||
{
|
||||
return load_texture(
|
||||
filename,
|
||||
@@ -1097,15 +1109,8 @@ ImTextureID imgui_context::load_texture(const std::string & filename)
|
||||
});
|
||||
}
|
||||
|
||||
void imgui_context::free_texture(ImTextureID texture)
|
||||
void imgui_textures::free_texture(ImTextureID texture)
|
||||
{
|
||||
// Make sure we are done using the texture
|
||||
std::vector<vk::Fence> fences;
|
||||
for (auto & f: command_buffers)
|
||||
fences.push_back(*f.fence);
|
||||
if (auto result = device.waitForFences(fences, true, 1'000'000'000); result != vk::Result::eSuccess)
|
||||
spdlog::error("vkWaitForfences: {}", vk::to_string(result));
|
||||
|
||||
textures.erase(texture);
|
||||
}
|
||||
|
||||
@@ -1182,3 +1187,78 @@ void imgui_context::tooltip(std::string_view text)
|
||||
viewport->Pos = pos_backup;
|
||||
viewport->Size = size_backup;
|
||||
}
|
||||
|
||||
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
|
||||
void ScrollWhenDragging()
|
||||
{
|
||||
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
|
||||
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
|
||||
|
||||
ImGuiContext & g = *ImGui::GetCurrentContext();
|
||||
ImGuiWindow * window = g.CurrentWindow;
|
||||
ImGuiID id = window->GetID("##scrolldraggingoverlay");
|
||||
ImGui::KeepAliveID(id);
|
||||
|
||||
static int active_id;
|
||||
static ImVec2 cumulated_delta;
|
||||
|
||||
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
|
||||
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
|
||||
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
|
||||
{
|
||||
active_id = id;
|
||||
|
||||
// Don't scroll on the first step, in case the active controller just changed
|
||||
delta = {};
|
||||
cumulated_delta = {};
|
||||
}
|
||||
|
||||
if (not g.IO.MouseDown[mouse_button])
|
||||
active_id = 0;
|
||||
|
||||
if (active_id == id)
|
||||
{
|
||||
if (delta.x != 0.0f)
|
||||
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
|
||||
if (delta.y != 0.0f)
|
||||
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
|
||||
|
||||
cumulated_delta += delta;
|
||||
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
|
||||
ImGui::ClearActiveID();
|
||||
}
|
||||
|
||||
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
|
||||
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
|
||||
}
|
||||
|
||||
void CenterTextH(const std::string & text)
|
||||
{
|
||||
float win_width = ImGui::GetWindowSize().x;
|
||||
float text_width = ImGui::CalcTextSize(text.c_str()).x;
|
||||
ImGui::SetCursorPosX((win_width - text_width) / 2);
|
||||
|
||||
ImGui::Text("%s", text.c_str());
|
||||
}
|
||||
|
||||
void CenterTextHV(const std::string & text)
|
||||
{
|
||||
ImVec2 size = ImGui::GetWindowSize();
|
||||
|
||||
std::vector<std::string> lines = utils::split(text);
|
||||
|
||||
float text_height = 0;
|
||||
for (const auto & i: lines)
|
||||
text_height += ImGui::CalcTextSize(i.c_str()).y;
|
||||
|
||||
ImGui::SetCursorPosY((size.y - text_height) / 2);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
|
||||
for (const auto & i: lines)
|
||||
{
|
||||
float text_width = ImGui::CalcTextSize(i.c_str()).x;
|
||||
ImGui::SetCursorPosX((size.x - text_width) / 2);
|
||||
ImGui::Text("%s", i.c_str());
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
|
||||
+37
-20
@@ -36,14 +36,8 @@
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
class imgui_context
|
||||
class imgui_textures
|
||||
{
|
||||
struct command_buffer
|
||||
{
|
||||
vk::raii::CommandBuffer command_buffer = nullptr;
|
||||
vk::raii::Fence fence = nullptr;
|
||||
};
|
||||
|
||||
struct texture_data
|
||||
{
|
||||
vk::raii::Sampler sampler;
|
||||
@@ -51,6 +45,38 @@ class imgui_context
|
||||
std::shared_ptr<vk::raii::DescriptorSet> descriptor_set;
|
||||
};
|
||||
|
||||
protected:
|
||||
vk::raii::PhysicalDevice physical_device;
|
||||
vk::raii::Device & device;
|
||||
thread_safe<vk::raii::Queue> & queue;
|
||||
vk::raii::DescriptorSetLayout ds_layout;
|
||||
vk::raii::CommandPool command_pool;
|
||||
|
||||
private:
|
||||
growable_descriptor_pool descriptor_pool;
|
||||
std::unordered_map<ImTextureID, texture_data> textures;
|
||||
|
||||
public:
|
||||
imgui_textures(
|
||||
vk::raii::PhysicalDevice physical_device,
|
||||
vk::raii::Device & device,
|
||||
uint32_t queue_family_index,
|
||||
thread_safe<vk::raii::Queue> & queue);
|
||||
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::string & filename);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes);
|
||||
void free_texture(ImTextureID);
|
||||
};
|
||||
|
||||
class imgui_context : public imgui_textures
|
||||
{
|
||||
struct command_buffer
|
||||
{
|
||||
vk::raii::CommandBuffer command_buffer = nullptr;
|
||||
vk::raii::Fence fence = nullptr;
|
||||
};
|
||||
|
||||
public:
|
||||
struct imgui_frame
|
||||
{
|
||||
@@ -117,18 +143,10 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
vk::raii::PhysicalDevice physical_device;
|
||||
vk::raii::Device & device;
|
||||
uint32_t queue_family_index;
|
||||
thread_safe<vk::raii::Queue> & queue;
|
||||
|
||||
vk::raii::Pipeline pipeline = nullptr;
|
||||
vk::raii::DescriptorSetLayout ds_layout;
|
||||
growable_descriptor_pool descriptor_pool;
|
||||
vk::raii::RenderPass renderpass;
|
||||
vk::raii::CommandPool command_pool;
|
||||
|
||||
std::unordered_map<ImTextureID, texture_data> textures;
|
||||
|
||||
std::vector<imgui_frame> frames;
|
||||
imgui_frame & get_frame(vk::Image destination);
|
||||
@@ -207,11 +225,6 @@ public:
|
||||
// Convert position from viewport coordinates to real-world
|
||||
glm::vec3 rw_from_vp(const ImVec2 & position);
|
||||
|
||||
ImTextureID load_texture(const std::string & filename, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::string & filename);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes, vk::raii::Sampler && sampler);
|
||||
ImTextureID load_texture(const std::span<const std::byte> & bytes);
|
||||
void free_texture(ImTextureID);
|
||||
void set_current();
|
||||
|
||||
bool is_modal_popup_shown() const;
|
||||
@@ -221,3 +234,7 @@ public:
|
||||
void set_controllers_enabled(bool value);
|
||||
void tooltip(std::string_view text);
|
||||
};
|
||||
|
||||
void ScrollWhenDragging();
|
||||
void CenterTextH(const std::string & text);
|
||||
void CenterTextHV(const std::string & text);
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <glm/gtc/matrix_access.hpp>
|
||||
#include <glm/gtc/type_ptr.hpp>
|
||||
#include <glm/gtx/quaternion.hpp>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <ranges>
|
||||
#include <spdlog/spdlog.h>
|
||||
@@ -43,8 +42,6 @@
|
||||
#include <vulkan/vulkan_enums.hpp>
|
||||
#include <vulkan/vulkan_structs.hpp>
|
||||
|
||||
extern const std::map<std::string, std::vector<uint32_t>> shaders;
|
||||
|
||||
// TODO move in lobby?
|
||||
vk::Format scene_renderer::find_usable_image_format(
|
||||
vk::raii::PhysicalDevice physical_device,
|
||||
|
||||
+1
-1
@@ -47,8 +47,8 @@ scene::scene(key, const meta & current_meta, std::span<const vk::Format> support
|
||||
device(application::instance().vk_device),
|
||||
physical_device(application::instance().vk_physical_device),
|
||||
queue(application::instance().vk_queue),
|
||||
commandpool(application::instance().vk_cmdpool),
|
||||
queue_family_index(application::instance().vk_queue_family_index),
|
||||
commandpool(application::instance().vk_cmdpool),
|
||||
current_meta(current_meta)
|
||||
{
|
||||
swapchain_format = vk::Format::eUndefined;
|
||||
|
||||
+4
-1
@@ -86,13 +86,16 @@ protected:
|
||||
XrViewConfigurationType viewconfig;
|
||||
bool focused = false;
|
||||
|
||||
public:
|
||||
vk::raii::Instance & vk_instance;
|
||||
vk::raii::Device & device;
|
||||
vk::raii::PhysicalDevice & physical_device;
|
||||
thread_safe<vk::raii::Queue> & queue;
|
||||
vk::raii::CommandPool & commandpool;
|
||||
uint32_t queue_family_index;
|
||||
|
||||
protected:
|
||||
vk::raii::CommandPool & commandpool;
|
||||
|
||||
const meta & current_meta;
|
||||
|
||||
std::optional<scene_renderer> renderer;
|
||||
|
||||
@@ -0,0 +1,284 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
#include "app_launcher.h"
|
||||
|
||||
#include "constants.h"
|
||||
#include "imgui.h"
|
||||
#include "imgui_internal.h"
|
||||
#include "scenes/stream.h"
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/ranges.h"
|
||||
|
||||
#include <imspinner.h>
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
#include <uni_algo/case.h>
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
// Display a button with an image and a text centred horizontally
|
||||
static bool icon(
|
||||
const std::string & text,
|
||||
ImTextureRef tex_ref,
|
||||
const ImVec2 & image_size,
|
||||
ImGuiButtonFlags flags = 0,
|
||||
const ImVec2 & size_arg = ImVec2(0, 0),
|
||||
const ImVec2 & uv0 = ImVec2(0, 0),
|
||||
const ImVec2 & uv1 = ImVec2(1, 1),
|
||||
const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
|
||||
{
|
||||
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
|
||||
ImGuiWindow * window = ImGui::GetCurrentWindow();
|
||||
const ImGuiStyle & style = ImGui::GetStyle();
|
||||
|
||||
if (window->SkipItems)
|
||||
return false;
|
||||
|
||||
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
|
||||
|
||||
ImVec2 size = ImGui::CalcItemSize(
|
||||
size_arg,
|
||||
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
|
||||
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
|
||||
|
||||
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
|
||||
|
||||
ImRect image_pos(
|
||||
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
|
||||
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
|
||||
|
||||
ImRect label_pos(
|
||||
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
|
||||
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
|
||||
|
||||
ImGui::ItemSize(bb);
|
||||
|
||||
ImGuiID id = window->GetID(text.c_str());
|
||||
if (!ImGui::ItemAdd(bb, id))
|
||||
return false;
|
||||
|
||||
bool hovered, held;
|
||||
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
|
||||
|
||||
// Render
|
||||
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
|
||||
: ImGuiCol_Button);
|
||||
ImGui::RenderNavCursor(bb, id);
|
||||
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
|
||||
|
||||
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
|
||||
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
|
||||
|
||||
return pressed;
|
||||
}
|
||||
|
||||
app_launcher::app_launcher(
|
||||
scenes::stream & stream,
|
||||
std::string server_name) :
|
||||
server_name(std::move(server_name)),
|
||||
stream(stream),
|
||||
textures(
|
||||
stream.physical_device,
|
||||
stream.device,
|
||||
stream.queue_family_index,
|
||||
stream.queue)
|
||||
{
|
||||
try
|
||||
{
|
||||
default_icon = textures.load_texture("default_icon.ktx2");
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
default_icon = textures.load_texture("default_icon.png");
|
||||
}
|
||||
}
|
||||
|
||||
app_launcher::~app_launcher()
|
||||
{
|
||||
stream.device.waitIdle();
|
||||
for (const auto & [app_id, app_icon]: app_icons)
|
||||
textures.free_texture(app_icon);
|
||||
textures.free_texture(default_icon);
|
||||
}
|
||||
|
||||
app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const std::string & cancel)
|
||||
{
|
||||
auto res = clicked::None;
|
||||
auto t0 = std::chrono::steady_clock::now();
|
||||
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
|
||||
t0 - start_time < 10s and
|
||||
stream.current_state() != scenes::stream::state::streaming;
|
||||
|
||||
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
|
||||
|
||||
auto apps = applications.lock();
|
||||
|
||||
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
||||
if (server_name.empty())
|
||||
CenterTextH(_("Connected to WiVRn server"));
|
||||
else
|
||||
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
|
||||
ImGui::PopFont();
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
|
||||
if (apps->empty())
|
||||
{
|
||||
CenterTextHV(_("Start an application on the server to start streaming."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
|
||||
ImGui::BeginDisabled(app_starting);
|
||||
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, cancel_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
|
||||
|
||||
ImGui::Indent(20);
|
||||
if (server_name.empty())
|
||||
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
|
||||
else
|
||||
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
|
||||
ImGui::Unindent();
|
||||
|
||||
float icon_width = 400;
|
||||
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
|
||||
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
|
||||
|
||||
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
|
||||
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
|
||||
|
||||
ImGui::Indent((usable_window_width - icon_line_width) / 2);
|
||||
|
||||
for (const auto [index, app]: utils::enumerate(*apps))
|
||||
{
|
||||
ImTextureID texture = [&]() -> ImTextureID {
|
||||
if (app.image.empty())
|
||||
return default_icon;
|
||||
else
|
||||
{
|
||||
auto it = app_icons.find(app.id);
|
||||
if (it == app_icons.end())
|
||||
{
|
||||
// Don't load too many textures at the same time to keep the GUI responsive
|
||||
if (std::chrono::steady_clock::now() - t0 > 10ms)
|
||||
return default_icon;
|
||||
|
||||
try
|
||||
{
|
||||
it = app_icons.emplace(app.id, textures.load_texture(app.image)).first;
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
|
||||
|
||||
app.image.clear();
|
||||
return default_icon;
|
||||
}
|
||||
}
|
||||
return it->second;
|
||||
}
|
||||
}();
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, 0);
|
||||
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
|
||||
{
|
||||
res = clicked::Start;
|
||||
start_time = t0;
|
||||
stream.start_application(app.id);
|
||||
}
|
||||
imgui_ctx.vibrate_on_hover();
|
||||
ImGui::PopStyleColor(); // ImGuiCol_Button
|
||||
|
||||
if ((index + 1) % icons_per_line)
|
||||
ImGui::SameLine();
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
|
||||
for (const auto & [app_id, app_icon]: app_icons)
|
||||
{
|
||||
if (not std::ranges::contains(*apps, app_id, &app::id))
|
||||
to_be_removed.emplace_back(app_id, app_icon);
|
||||
}
|
||||
for (const auto & [app_id, app_icon]: to_be_removed)
|
||||
{
|
||||
imgui_ctx.free_texture(app_icon);
|
||||
app_icons.erase(app_id);
|
||||
}
|
||||
|
||||
ScrollWhenDragging();
|
||||
ImGui::EndChild();
|
||||
ImGui::EndDisabled();
|
||||
|
||||
if (app_starting)
|
||||
{
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
|
||||
ImSpinner::SpinnerAng("App starting spinner",
|
||||
200, // Radius
|
||||
40, // Thickness
|
||||
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
|
||||
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
|
||||
6, // Velocity
|
||||
0.75f * 2 * M_PI // Angle
|
||||
);
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() - cancel_size - ImVec2{50, 50});
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
|
||||
if (ImGui::Button(cancel.c_str()))
|
||||
res = clicked::Cancel;
|
||||
imgui_ctx.vibrate_on_hover();
|
||||
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
|
||||
ImGui::PopStyleVar(2);
|
||||
return res;
|
||||
}
|
||||
|
||||
void app_launcher::operator()(to_headset::application_list && apps)
|
||||
{
|
||||
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
|
||||
return una::casesens::collate_utf8(l.name, r.name) < 0;
|
||||
});
|
||||
|
||||
auto locked = applications.lock();
|
||||
|
||||
locked->clear();
|
||||
locked->reserve(apps.applications.size());
|
||||
for (const auto & i: apps.applications)
|
||||
{
|
||||
locked->push_back(app{
|
||||
.id = std::move(i.id),
|
||||
.name = std::move(i.name),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void app_launcher::operator()(to_headset::application_icon && icon)
|
||||
{
|
||||
auto locked = applications.lock();
|
||||
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
|
||||
it->image = std::move(icon.image);
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "imgui.h"
|
||||
#include "render/imgui_impl.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <chrono>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace scenes
|
||||
{
|
||||
class stream;
|
||||
}
|
||||
|
||||
class app_launcher
|
||||
{
|
||||
struct app
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::vector<std::byte> image;
|
||||
};
|
||||
|
||||
std::chrono::steady_clock::time_point start_time{};
|
||||
std::string server_name;
|
||||
scenes::stream & stream;
|
||||
imgui_textures textures;
|
||||
ImTextureID default_icon;
|
||||
std::unordered_map<std::string, ImTextureID> app_icons;
|
||||
// Last application list received from server
|
||||
thread_safe<std::vector<app>> applications;
|
||||
|
||||
public:
|
||||
app_launcher(scenes::stream &, std::string server_name);
|
||||
~app_launcher();
|
||||
enum clicked
|
||||
{
|
||||
None,
|
||||
Cancel,
|
||||
Start,
|
||||
};
|
||||
// cancel: text to display on the quit/disconnect/cancel button
|
||||
clicked draw_gui(imgui_context &, const std::string & cancel);
|
||||
|
||||
void operator()(wivrn::to_headset::application_list && apps);
|
||||
void operator()(wivrn::to_headset::application_icon && icon);
|
||||
};
|
||||
@@ -0,0 +1,364 @@
|
||||
/*
|
||||
* 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 "blitter.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "vk/pipeline.h"
|
||||
#include "vk/shader.h"
|
||||
#include "vk/specialization_constants.h"
|
||||
#include <format>
|
||||
#include <ranges>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
static const uint32_t num_views = 2;
|
||||
|
||||
blitter::blitter(vk::raii::Device & device, size_t view) :
|
||||
device(device), view(view)
|
||||
{
|
||||
}
|
||||
|
||||
void blitter::reset(const to_headset::video_stream_description & desc)
|
||||
{
|
||||
using channels_t = to_headset::video_stream_description::channels_t;
|
||||
this->desc = desc;
|
||||
|
||||
current = {};
|
||||
target = image_allocation();
|
||||
image_view = nullptr;
|
||||
rp = nullptr;
|
||||
fb = nullptr;
|
||||
sampler = nullptr;
|
||||
pipelines.clear();
|
||||
passthrough_rgb = passthrough_a = -1;
|
||||
|
||||
auto w = desc.width / num_views;
|
||||
for (auto [i, item]: utils::enumerate(desc.items))
|
||||
{
|
||||
if (item.offset_x <= view * w and
|
||||
item.offset_y == 0 and
|
||||
item.offset_x + item.width * item.subsampling >= (view + 1) * w and
|
||||
item.height * item.subsampling >= desc.height)
|
||||
{
|
||||
spdlog::info("Stream {} is eligible for blit-less path on view {}", i, view);
|
||||
switch (item.channels)
|
||||
{
|
||||
case channels_t::colour:
|
||||
passthrough_rgb = i;
|
||||
break;
|
||||
case channels_t::alpha:
|
||||
passthrough_a = i;
|
||||
break;
|
||||
}
|
||||
const bool alpha = item.channels == to_headset::video_stream_description::channels_t::alpha;
|
||||
auto & r = alpha ? current.rect_a : current.rect_rgb;
|
||||
r = vk::Rect2D{
|
||||
.offset = {
|
||||
.x = int32_t(view * w) - item.offset_x,
|
||||
.y = 0,
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if (passthrough_rgb != -1 and passthrough_a != -1)
|
||||
return;
|
||||
|
||||
target = image_allocation(
|
||||
device,
|
||||
vk::ImageCreateInfo{
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = vk::Format::eB8G8R8A8Srgb,
|
||||
.extent = {
|
||||
.width = w,
|
||||
.height = desc.height,
|
||||
.depth = 1,
|
||||
},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 1,
|
||||
.usage = vk::ImageUsageFlagBits::eSampled | vk::ImageUsageFlagBits::eColorAttachment,
|
||||
},
|
||||
{
|
||||
.usage = VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
std::format("blit image {}", view));
|
||||
|
||||
image_view = device.createImageView(vk::ImageViewCreateInfo{
|
||||
.image = vk::Image(target),
|
||||
.viewType = vk::ImageViewType::e2D,
|
||||
.format = target.info().format,
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = 1,
|
||||
}});
|
||||
|
||||
// render pass
|
||||
{
|
||||
vk::AttachmentReference color_ref{
|
||||
.attachment = 0,
|
||||
.layout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
|
||||
vk::SubpassDescription subpass{
|
||||
.pipelineBindPoint = vk::PipelineBindPoint::eGraphics,
|
||||
.colorAttachmentCount = 1,
|
||||
.pColorAttachments = &color_ref,
|
||||
};
|
||||
|
||||
vk::AttachmentDescription color_desc{
|
||||
.format = target.info().format,
|
||||
.loadOp = vk::AttachmentLoadOp::eDontCare,
|
||||
.finalLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
|
||||
};
|
||||
|
||||
rp = device.createRenderPass(vk::RenderPassCreateInfo{
|
||||
.attachmentCount = 1,
|
||||
.pAttachments = &color_desc,
|
||||
.subpassCount = 1,
|
||||
.pSubpasses = &subpass,
|
||||
});
|
||||
}
|
||||
|
||||
fb = device.createFramebuffer(
|
||||
vk::FramebufferCreateInfo{
|
||||
.renderPass = *rp,
|
||||
.attachmentCount = 1,
|
||||
.pAttachments = &*image_view,
|
||||
.width = w,
|
||||
.height = desc.height,
|
||||
.layers = 1,
|
||||
});
|
||||
|
||||
sampler = device.createSampler(vk::SamplerCreateInfo{
|
||||
.magFilter = vk::Filter::eLinear,
|
||||
.minFilter = vk::Filter::eLinear,
|
||||
.addressModeU = vk::SamplerAddressMode::eClampToBorder,
|
||||
.addressModeV = vk::SamplerAddressMode::eClampToBorder,
|
||||
.addressModeW = vk::SamplerAddressMode::eClampToBorder,
|
||||
.borderColor = vk::BorderColor::eFloatOpaqueBlack,
|
||||
});
|
||||
|
||||
pipelines.resize(desc.items.size());
|
||||
for (auto [i, item]: utils::enumerate(desc.items))
|
||||
{
|
||||
pipelines[i].used = item.offset_x < (view + 1) * w and
|
||||
item.offset_x + item.width * item.subsampling > view * w;
|
||||
}
|
||||
|
||||
current.rgb = *image_view;
|
||||
current.sampler_rgb = *sampler;
|
||||
current.rect_rgb = vk::Rect2D{.extent = {w, desc.height}};
|
||||
current.layout_rgb = vk::ImageLayout::eShaderReadOnlyOptimal;
|
||||
}
|
||||
|
||||
void blitter::begin(vk::raii::CommandBuffer & cmd)
|
||||
{
|
||||
assert(not desc.items.empty());
|
||||
if (*fb == VK_NULL_HANDLE)
|
||||
{
|
||||
current.rgb = nullptr;
|
||||
current.a = nullptr;
|
||||
current.sampler_rgb = nullptr;
|
||||
current.sampler_a = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
current.rgb = *image_view;
|
||||
current.sampler_rgb = *sampler;
|
||||
|
||||
cmd.beginRenderPass(
|
||||
{
|
||||
.renderPass = *rp,
|
||||
.framebuffer = *fb,
|
||||
.renderArea = {
|
||||
.offset = {0, 0},
|
||||
.extent = {target.info().extent.width, target.info().extent.height},
|
||||
},
|
||||
},
|
||||
vk::SubpassContents::eInline);
|
||||
}
|
||||
|
||||
void blitter::push_image(vk::raii::CommandBuffer & cmd, uint8_t stream, vk::Sampler sampler, const vk::Extent2D & extent_, vk::ImageView image, vk::ImageLayout layout)
|
||||
{
|
||||
if (stream == passthrough_rgb)
|
||||
{
|
||||
current.rgb = image;
|
||||
current.sampler_rgb = sampler;
|
||||
current.layout_rgb = layout;
|
||||
current.rect_rgb.extent = vk::Extent2D{
|
||||
extent_.width * desc.items[stream].subsampling,
|
||||
extent_.height * desc.items[stream].subsampling,
|
||||
};
|
||||
return;
|
||||
}
|
||||
if (stream == passthrough_a)
|
||||
{
|
||||
current.a = image;
|
||||
current.sampler_a = sampler;
|
||||
current.layout_a = layout;
|
||||
current.rect_a.extent = vk::Extent2D{
|
||||
extent_.width * desc.items[stream].subsampling,
|
||||
extent_.height * desc.items[stream].subsampling,
|
||||
};
|
||||
return;
|
||||
}
|
||||
if (pipelines.empty())
|
||||
return;
|
||||
|
||||
assert(stream < pipelines.size());
|
||||
auto & p = pipelines[stream];
|
||||
if (not p.used)
|
||||
return;
|
||||
|
||||
const auto & extent = target.info().extent;
|
||||
const auto & description = desc.items[stream];
|
||||
if (not *p.pipeline)
|
||||
{
|
||||
const bool alpha = description.channels == to_headset::video_stream_description::channels_t::alpha;
|
||||
vk::DescriptorSetLayoutBinding sampler_layout_binding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
.pImmutableSamplers = &sampler,
|
||||
};
|
||||
|
||||
p.set_layout = device.createDescriptorSetLayout(vk::DescriptorSetLayoutCreateInfo{
|
||||
.flags = vk::DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR,
|
||||
.bindingCount = 1,
|
||||
.pBindings = &sampler_layout_binding,
|
||||
});
|
||||
|
||||
auto vert_constants = make_specialization_constants(
|
||||
float(description.width) / extent_.width,
|
||||
float(description.height) / extent_.height);
|
||||
|
||||
auto frag_constants = make_specialization_constants(
|
||||
VkBool32(alpha));
|
||||
|
||||
// Create graphics pipeline
|
||||
vk::raii::ShaderModule vertex_shader = load_shader(device, "stream.vert");
|
||||
vk::raii::ShaderModule fragment_shader = load_shader(device, "stream.frag");
|
||||
|
||||
p.layout = device.createPipelineLayout(vk::PipelineLayoutCreateInfo{
|
||||
.setLayoutCount = 1,
|
||||
.pSetLayouts = &*p.set_layout,
|
||||
});
|
||||
|
||||
vk::pipeline_builder pipeline_info{
|
||||
.Stages = {{
|
||||
.stage = vk::ShaderStageFlagBits::eVertex,
|
||||
.module = *vertex_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = vert_constants,
|
||||
},
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eFragment,
|
||||
.module = *fragment_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = frag_constants,
|
||||
}},
|
||||
.VertexBindingDescriptions = {},
|
||||
.VertexAttributeDescriptions = {},
|
||||
.InputAssemblyState = {{
|
||||
.topology = vk::PrimitiveTopology::eTriangleStrip,
|
||||
}},
|
||||
// With vk::DynamicState::eViewport, vk::DynamicState::eScissor the number of viewports
|
||||
// and scissors is still used, put a vector with one element
|
||||
.Viewports = {{}},
|
||||
.Scissors = {{}},
|
||||
.RasterizationState = {{
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
.lineWidth = 1,
|
||||
}},
|
||||
.MultisampleState = {{
|
||||
.rasterizationSamples = vk::SampleCountFlagBits::e1,
|
||||
}},
|
||||
.ColorBlendAttachments = {
|
||||
{.colorWriteMask = alpha ? vk::ColorComponentFlagBits::eA
|
||||
: vk::ColorComponentFlagBits::eA | vk::ColorComponentFlagBits::eR | vk::ColorComponentFlagBits::eG | vk::ColorComponentFlagBits::eB}},
|
||||
.DynamicStates = {vk::DynamicState::eViewport, vk::DynamicState::eScissor},
|
||||
.layout = *p.layout,
|
||||
.renderPass = *rp,
|
||||
.subpass = 0,
|
||||
};
|
||||
|
||||
p.pipeline = device.createGraphicsPipeline(application::get_pipeline_cache(), pipeline_info);
|
||||
spdlog::info("Created blit pipeline for stream {}, view {}", stream, view);
|
||||
}
|
||||
|
||||
cmd.bindPipeline(vk::PipelineBindPoint::eGraphics, *p.pipeline);
|
||||
|
||||
vk::DescriptorImageInfo image_info{
|
||||
.imageView = image,
|
||||
.imageLayout = layout,
|
||||
};
|
||||
cmd.pushDescriptorSetKHR(
|
||||
vk::PipelineBindPoint::eGraphics,
|
||||
*p.layout,
|
||||
0,
|
||||
vk::WriteDescriptorSet{
|
||||
.dstBinding = 0,
|
||||
.descriptorCount = 1,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.pImageInfo = &image_info,
|
||||
});
|
||||
|
||||
int x0 = description.offset_x - view * extent.width;
|
||||
int y0 = description.offset_y;
|
||||
int x1 = x0 + description.width * description.subsampling;
|
||||
int y1 = y0 + description.height * description.subsampling;
|
||||
|
||||
cmd.setViewport(
|
||||
0,
|
||||
vk::Viewport{
|
||||
.x = (float)x0,
|
||||
.y = (float)y0,
|
||||
.width = float(description.width * description.subsampling),
|
||||
.height = float(description.height * description.subsampling),
|
||||
.minDepth = 0,
|
||||
.maxDepth = 1,
|
||||
});
|
||||
|
||||
x0 = std::clamp<int>(x0, 0, extent.width);
|
||||
x1 = std::clamp<int>(x1, 0, extent.width);
|
||||
y0 = std::clamp<int>(y0, 0, extent.height);
|
||||
y1 = std::clamp<int>(y1, 0, extent.height);
|
||||
|
||||
cmd.setScissor(
|
||||
0,
|
||||
vk::Rect2D{
|
||||
.offset = {.x = x0, .y = y0},
|
||||
.extent = {.width = uint32_t(x1 - x0), .height = uint32_t(y1 - y0)},
|
||||
});
|
||||
cmd.draw(3, 1, 0, 0);
|
||||
}
|
||||
|
||||
blitter::output blitter::end(vk::raii::CommandBuffer & cmd)
|
||||
{
|
||||
if (*fb)
|
||||
cmd.endRenderPass();
|
||||
return current;
|
||||
}
|
||||
|
||||
} // namespace wivrn
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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 "vk/allocation.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class blitter
|
||||
{
|
||||
public:
|
||||
struct output
|
||||
{
|
||||
vk::ImageView rgb;
|
||||
vk::Sampler sampler_rgb;
|
||||
vk::Rect2D rect_rgb;
|
||||
vk::ImageLayout layout_rgb;
|
||||
vk::ImageView a;
|
||||
vk::Sampler sampler_a;
|
||||
vk::Rect2D rect_a;
|
||||
vk::ImageLayout layout_a;
|
||||
};
|
||||
|
||||
private:
|
||||
vk::raii::Device & device;
|
||||
size_t view;
|
||||
to_headset::video_stream_description desc;
|
||||
// indices to simply passthrough, if -1 image needs to be blitted
|
||||
int passthrough_rgb = -1;
|
||||
int passthrough_a = -1;
|
||||
image_allocation target;
|
||||
vk::raii::ImageView image_view = nullptr;
|
||||
vk::raii::RenderPass rp = nullptr;
|
||||
vk::raii::Framebuffer fb = nullptr;
|
||||
vk::raii::Sampler sampler = nullptr;
|
||||
struct pipeline_t
|
||||
{
|
||||
vk::raii::DescriptorSetLayout set_layout = nullptr;
|
||||
vk::raii::PipelineLayout layout = nullptr;
|
||||
vk::raii::Pipeline pipeline = nullptr;
|
||||
bool used = false; // true if we need this image for blitting
|
||||
};
|
||||
std::vector<pipeline_t> pipelines;
|
||||
output current;
|
||||
|
||||
public:
|
||||
blitter(vk::raii::Device & device, size_t view);
|
||||
|
||||
void reset(const to_headset::video_stream_description & desc);
|
||||
void begin(vk::raii::CommandBuffer &);
|
||||
void push_image(vk::raii::CommandBuffer & buf, uint8_t stream, vk::Sampler sampler, const vk::Extent2D &, vk::ImageView image, vk::ImageLayout);
|
||||
output end(vk::raii::CommandBuffer &);
|
||||
};
|
||||
} // namespace wivrn
|
||||
+1
-12
@@ -572,7 +572,7 @@ void scenes::lobby::render(const XrFrameState & frame_state)
|
||||
{
|
||||
auto session = async_session.get();
|
||||
if (session)
|
||||
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod);
|
||||
next_scene = stream::create(std::move(session), 1'000'000'000.f / frame_state.predictedDisplayPeriod, server_name);
|
||||
|
||||
async_session.reset();
|
||||
}
|
||||
@@ -923,15 +923,6 @@ void scenes::lobby::on_focused()
|
||||
about_picture = imgui_ctx->load_texture(image + ".png");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
default_icon = imgui_ctx->load_texture("default_icon.ktx2");
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
default_icon = imgui_ctx->load_texture("default_icon.png");
|
||||
}
|
||||
|
||||
setup_passthrough();
|
||||
session.set_refresh_rate(application::get_config().preferred_refresh_rate.value_or(0));
|
||||
multicast = application::get_wifi_lock().get_multicast_lock();
|
||||
@@ -952,8 +943,6 @@ void scenes::lobby::on_unfocused()
|
||||
renderer->wait_idle(); // Must be before the scene data because the renderer uses its descriptor sets
|
||||
|
||||
about_picture = 0;
|
||||
default_icon = 0;
|
||||
app_icons.clear();
|
||||
imgui_ctx.reset();
|
||||
world.clear(); // Must be cleared before the renderer so that the descriptor sets are freed before their pools
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "wifi_lock.h"
|
||||
#include "wivrn_config.h"
|
||||
#include "wivrn_discover.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include "xr/face_tracker.h"
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <openxr/openxr.h>
|
||||
@@ -127,9 +126,6 @@ class lobby : public scene_impl<lobby>
|
||||
tab last_current_tab = tab::server_list;
|
||||
int optional_feature_index = 0; // Which step of the first run screen are we in
|
||||
ImTextureID about_picture;
|
||||
ImTextureID default_icon;
|
||||
std::unordered_map<std::string, ImTextureID> app_icons;
|
||||
std::optional<XrTime> timestamp_start_application;
|
||||
|
||||
virtual_keyboard keyboard;
|
||||
|
||||
|
||||
+42
-343
@@ -17,6 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <uni_algo/case.h>
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
|
||||
#ifdef __ANDROID__
|
||||
@@ -29,15 +30,13 @@
|
||||
#include "imgui.h"
|
||||
#include "imgui_internal.h"
|
||||
#include "lobby.h"
|
||||
#include "stream.h"
|
||||
#include "scenes/stream.h"
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/overloaded.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "version.h"
|
||||
#include "xr/body_tracker.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
#include <filesystem>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <imspinner.h>
|
||||
@@ -51,81 +50,6 @@
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
// https://github.com/ocornut/imgui/issues/3379#issuecomment-2943903877
|
||||
static void ScrollWhenDragging()
|
||||
{
|
||||
ImVec2 delta{0.0f, -ImGui::GetIO().MouseDelta.y};
|
||||
const ImGuiMouseButton mouse_button = ImGuiMouseButton_Left;
|
||||
|
||||
ImGuiContext & g = *ImGui::GetCurrentContext();
|
||||
ImGuiWindow * window = g.CurrentWindow;
|
||||
ImGuiID id = window->GetID("##scrolldraggingoverlay");
|
||||
ImGui::KeepAliveID(id);
|
||||
|
||||
static int active_id;
|
||||
static ImVec2 cumulated_delta;
|
||||
|
||||
bool HoveredIdAllowOverlap_backup = std::exchange(g.HoveredIdAllowOverlap, true);
|
||||
bool ActiveIdAllowOverlap_backup = std::exchange(g.ActiveIdAllowOverlap, true);
|
||||
if (active_id == 0 and ImGui::ItemHoverable(window->Rect(), 0, g.CurrentItemFlags) and ImGui::IsMouseClicked(mouse_button, ImGuiInputFlags_None, /*id*/ ImGuiKeyOwner_Any))
|
||||
{
|
||||
active_id = id;
|
||||
|
||||
// Don't scroll on the first step, in case the active controller just changed
|
||||
delta = {};
|
||||
cumulated_delta = {};
|
||||
}
|
||||
|
||||
if (not g.IO.MouseDown[mouse_button])
|
||||
active_id = 0;
|
||||
|
||||
if (active_id == id)
|
||||
{
|
||||
if (delta.x != 0.0f)
|
||||
ImGui::SetScrollX(window, window->Scroll.x + delta.x);
|
||||
if (delta.y != 0.0f)
|
||||
ImGui::SetScrollY(window, window->Scroll.y + delta.y);
|
||||
|
||||
cumulated_delta += delta;
|
||||
if (std::max(std::abs(cumulated_delta.x), std::abs(cumulated_delta.y)) > 50)
|
||||
ImGui::ClearActiveID();
|
||||
}
|
||||
|
||||
g.HoveredIdAllowOverlap = HoveredIdAllowOverlap_backup;
|
||||
g.ActiveIdAllowOverlap = ActiveIdAllowOverlap_backup;
|
||||
}
|
||||
|
||||
static void CenterTextH(const std::string & text)
|
||||
{
|
||||
float win_width = ImGui::GetWindowSize().x;
|
||||
float text_width = ImGui::CalcTextSize(text.c_str()).x;
|
||||
ImGui::SetCursorPosX((win_width - text_width) / 2);
|
||||
|
||||
ImGui::Text("%s", text.c_str());
|
||||
}
|
||||
|
||||
static void CenterTextHV(const std::string & text)
|
||||
{
|
||||
ImVec2 size = ImGui::GetWindowSize();
|
||||
|
||||
std::vector<std::string> lines = utils::split(text);
|
||||
|
||||
float text_height = 0;
|
||||
for (const auto & i: lines)
|
||||
text_height += ImGui::CalcTextSize(i.c_str()).y;
|
||||
|
||||
ImGui::SetCursorPosY((size.y - text_height) / 2);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {0, 0});
|
||||
for (const auto & i: lines)
|
||||
{
|
||||
float text_width = ImGui::CalcTextSize(i.c_str()).x;
|
||||
ImGui::SetCursorPosX((size.x - text_width) / 2);
|
||||
ImGui::Text("%s", i.c_str());
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
|
||||
static void InputText(const char * label, std::string & text, const ImVec2 & size, ImGuiInputTextFlags flags)
|
||||
{
|
||||
auto callback = [](ImGuiInputTextCallbackData * data) -> int {
|
||||
@@ -141,7 +65,7 @@ static void InputText(const char * label, std::string & text, const ImVec2 & siz
|
||||
return 0;
|
||||
};
|
||||
|
||||
ImGui::InputTextEx(label, nullptr, text.data(), text.size(), size, flags | ImGuiInputTextFlags_CallbackResize, callback, &text);
|
||||
ImGui::InputTextEx(label, nullptr, text.data(), text.size() + 1, size, flags | ImGuiInputTextFlags_CallbackResize, callback, &text);
|
||||
}
|
||||
|
||||
static void display_recentering_tip(imgui_context & ctx, const std::string & tip)
|
||||
@@ -174,54 +98,6 @@ static void display_recentering_tip(imgui_context & ctx, const std::string & tip
|
||||
ImGui::PopFont();
|
||||
}
|
||||
|
||||
// Display a button with an image and a text centred horizontally
|
||||
static bool icon(const std::string & text, ImTextureRef tex_ref, const ImVec2 & image_size, ImGuiButtonFlags flags = 0, const ImVec2 & size_arg = ImVec2(0, 0), const ImVec2 & uv0 = ImVec2(0, 0), const ImVec2 & uv1 = ImVec2(1, 1), const ImVec4 & tint_col = ImVec4(1, 1, 1, 1))
|
||||
{
|
||||
// Based on ImGui::ButtonEx and ImGui::ImageButtonEx
|
||||
ImGuiWindow * window = ImGui::GetCurrentWindow();
|
||||
const ImGuiStyle & style = ImGui::GetStyle();
|
||||
|
||||
if (window->SkipItems)
|
||||
return false;
|
||||
|
||||
const ImVec2 label_size = ImGui::CalcTextSize(text.c_str(), nullptr, true);
|
||||
|
||||
ImVec2 size = ImGui::CalcItemSize(
|
||||
size_arg,
|
||||
std::max(image_size.x, label_size.x) + style.FramePadding.x * 2.0f,
|
||||
image_size.y + style.ItemInnerSpacing.y + label_size.y + style.FramePadding.y * 2.0f);
|
||||
|
||||
const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
|
||||
|
||||
ImRect image_pos(
|
||||
{(bb.Min.x + bb.Max.x - image_size.x) / 2, bb.Min.y + style.FramePadding.y},
|
||||
{(bb.Min.x + bb.Max.x + image_size.x) / 2, bb.Min.y + style.FramePadding.y + image_size.y});
|
||||
|
||||
ImRect label_pos(
|
||||
{bb.Min.x + style.FramePadding.x, image_pos.Max.y + style.ItemInnerSpacing.y},
|
||||
{bb.Max.x - style.FramePadding.x, bb.Max.y - style.FramePadding.y});
|
||||
|
||||
ImGui::ItemSize(bb);
|
||||
|
||||
ImGuiID id = window->GetID(text.c_str());
|
||||
if (!ImGui::ItemAdd(bb, id))
|
||||
return false;
|
||||
|
||||
bool hovered, held;
|
||||
bool pressed = ImGui::ButtonBehavior(bb, id, &hovered, &held, flags);
|
||||
|
||||
// Render
|
||||
const ImU32 col = ImGui::GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered
|
||||
: ImGuiCol_Button);
|
||||
ImGui::RenderNavCursor(bb, id);
|
||||
ImGui::RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding);
|
||||
|
||||
window->DrawList->AddImage(tex_ref, image_pos.Min, image_pos.Max, uv0, uv1, ImGui::GetColorU32(tint_col));
|
||||
ImGui::RenderTextClipped(label_pos.Min, label_pos.Max, text.c_str(), NULL, &label_size, style.ButtonTextAlign, &bb);
|
||||
|
||||
return pressed;
|
||||
}
|
||||
|
||||
std::string openxr_post_processing_flag_name(XrCompositionLayerSettingsFlagsFB flag)
|
||||
{
|
||||
switch (flag)
|
||||
@@ -247,7 +123,6 @@ void scenes::lobby::gui_connecting(locked_notifiable<pin_request_data> & pin_req
|
||||
if (next_scene)
|
||||
{
|
||||
current_tab = tab::connected;
|
||||
timestamp_start_application.reset();
|
||||
ImGui::CloseCurrentPopup();
|
||||
return;
|
||||
}
|
||||
@@ -383,144 +258,14 @@ void scenes::lobby::gui_connected(XrTime predicted_display_time)
|
||||
if (not next_scene)
|
||||
{
|
||||
current_tab = tab::server_list;
|
||||
|
||||
for (const auto & [app_id, app_icon]: app_icons)
|
||||
imgui_ctx->free_texture(app_icon);
|
||||
app_icons.clear();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
||||
if (server_name.empty())
|
||||
CenterTextH(_("Connected to WiVRn server"));
|
||||
else
|
||||
CenterTextH(fmt::format(_F("Connected to {}"), server_name));
|
||||
ImGui::PopFont();
|
||||
|
||||
auto disconnect = _("Disconnect");
|
||||
auto disconnect_size = ImGui::CalcTextSize(disconnect.c_str());
|
||||
|
||||
auto apps = next_scene->get_applications();
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, {20, 20});
|
||||
if (apps->empty())
|
||||
{
|
||||
CenterTextHV(_("Start an application on the server to start streaming."));
|
||||
}
|
||||
else
|
||||
{
|
||||
bool app_starting = timestamp_start_application and (predicted_display_time - *timestamp_start_application < 10'000'000'000);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
|
||||
ImGui::BeginDisabled(app_starting);
|
||||
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0, app_starting ? ImGuiWindowFlags_NoScrollWithMouse : 0);
|
||||
|
||||
ImGui::Indent(20);
|
||||
if (server_name.empty())
|
||||
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
|
||||
else
|
||||
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
|
||||
ImGui::Unindent();
|
||||
|
||||
float icon_width = 400;
|
||||
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
|
||||
float usable_window_width = ImGui::GetWindowSize().x - ImGui::GetCurrentWindow()->ScrollbarSizes.x;
|
||||
|
||||
int icons_per_line = (usable_window_width + icon_spacing) / (icon_width + icon_spacing);
|
||||
float icon_line_width = icons_per_line * icon_width + (icons_per_line - 1) * icon_spacing;
|
||||
|
||||
ImGui::Indent((usable_window_width - icon_line_width) / 2);
|
||||
|
||||
auto t0 = std::chrono::steady_clock::now();
|
||||
for (const auto [index, app]: utils::enumerate(*apps))
|
||||
{
|
||||
ImTextureID texture = [&]() -> ImTextureID {
|
||||
if (app.image.empty())
|
||||
return default_icon;
|
||||
else
|
||||
{
|
||||
auto it = app_icons.find(app.id);
|
||||
if (it == app_icons.end())
|
||||
{
|
||||
// Don't load too many textures at the same time to keep the GUI responsive
|
||||
if (std::chrono::steady_clock::now() - t0 > 10ms)
|
||||
return default_icon;
|
||||
|
||||
try
|
||||
{
|
||||
it = app_icons.emplace(app.id, imgui_ctx->load_texture(app.image)).first;
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Unable to load icon for \"{}\": {}", app.id, e.what());
|
||||
|
||||
app.image.clear();
|
||||
return default_icon;
|
||||
}
|
||||
}
|
||||
return it->second;
|
||||
}
|
||||
}();
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, 0);
|
||||
if (icon(app.name + "##" + app.id, texture, {256, 256}, ImGuiButtonFlags_PressedOnClickRelease, {icon_width, 0}))
|
||||
{
|
||||
timestamp_start_application = predicted_display_time;
|
||||
next_scene->start_application(app.id);
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::PopStyleColor(); // ImGuiCol_Button
|
||||
|
||||
if (index % 3 != 2)
|
||||
ImGui::SameLine();
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
std::vector<std::pair<std::string, ImTextureID>> to_be_removed;
|
||||
for (const auto & [app_id, app_icon]: app_icons)
|
||||
{
|
||||
if (not std::ranges::contains(*apps, app_id, &scenes::stream::app::id))
|
||||
to_be_removed.emplace_back(app_id, app_icon);
|
||||
}
|
||||
for (const auto & [app_id, app_icon]: to_be_removed)
|
||||
{
|
||||
imgui_ctx->free_texture(app_icon);
|
||||
app_icons.erase(app_id);
|
||||
}
|
||||
|
||||
ScrollWhenDragging();
|
||||
ImGui::EndChild();
|
||||
ImGui::EndDisabled();
|
||||
|
||||
if (app_starting)
|
||||
{
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() / 2 - ImVec2{200, 200} - ImGui::GetStyle().FramePadding);
|
||||
ImSpinner::SpinnerAng("App starting spinner",
|
||||
200, // Radius
|
||||
40, // Thickness
|
||||
ImColor{1.f, 1.f, 1.f, 1.f}, // Colour
|
||||
ImColor{1.f, 1.f, 1.f, 0.f}, // Background
|
||||
6, // Velocity
|
||||
0.75f * 2 * M_PI // Angle
|
||||
);
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(); // ImGuiStyleVar_WindowPadding
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() - disconnect_size - ImVec2{50, 50});
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
|
||||
if (ImGui::Button(disconnect.c_str()))
|
||||
if (next_scene->apps.draw_gui(*imgui_ctx, _("Disconnect")) == app_launcher::Cancel)
|
||||
{
|
||||
next_scene.reset();
|
||||
current_tab = tab::server_list;
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::PopStyleColor(3); // ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive
|
||||
}
|
||||
|
||||
void scenes::lobby::gui_new_server()
|
||||
@@ -794,6 +539,43 @@ void scenes::lobby::gui_settings()
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(20, 20));
|
||||
|
||||
{
|
||||
auto language_name = [&](const std::locale & loc = std::locale()) {
|
||||
return boost::locale::pgettext("language selection, replace with the name of the language", "English", loc);
|
||||
};
|
||||
std::vector<std::tuple<std::string, std::locale, std::string>> languages;
|
||||
for (const auto & msg_info: get_locales())
|
||||
{
|
||||
std::string code = msg_info.language;
|
||||
if (not msg_info.country.empty())
|
||||
code += "_" + msg_info.country;
|
||||
std::locale loc(std::locale(), boost::locale::gnu_gettext::create_messages_facet<char>(msg_info));
|
||||
languages.emplace_back(language_name(loc), loc, std::move(code));
|
||||
}
|
||||
std::ranges::sort(languages, [](auto & l, auto & r) {
|
||||
return una::casesens::collate_utf8(std::get<0>(l), std::get<0>(r)) < 0;
|
||||
});
|
||||
if (ImGui::BeginCombo(_S("Language"), config.locale.empty() ? _S("System language") : language_name().c_str()))
|
||||
{
|
||||
if (ImGui::Selectable(_S("System language"), config.locale.empty(), ImGuiSelectableFlags_SelectOnRelease))
|
||||
{
|
||||
config.locale.clear();
|
||||
config.save();
|
||||
application::instance().load_locale();
|
||||
}
|
||||
for (const auto & [lang, locale, code]: languages)
|
||||
{
|
||||
if (ImGui::Selectable(lang.c_str(), code == config.locale, ImGuiSelectableFlags_SelectOnRelease))
|
||||
{
|
||||
config.locale = code;
|
||||
config.save();
|
||||
application::instance().load_locale();
|
||||
}
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
}
|
||||
|
||||
if (instance.has_extension(XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME))
|
||||
{
|
||||
const auto & refresh_rates = session.get_refresh_rates();
|
||||
@@ -1060,89 +842,6 @@ void scenes::lobby::gui_post_processing()
|
||||
ImGui::Unindent();
|
||||
}
|
||||
|
||||
{
|
||||
// SGSR
|
||||
{
|
||||
if (ImGui::Checkbox(_S("Enable Snapdragon Game Super Resolution"), &config.sgsr.enabled))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
{
|
||||
if (application::get_openxr_post_processing_supported())
|
||||
imgui_ctx->tooltip(_("On this headset, this setting has been fully superseded by the native Sharpening setting above.\nOnly enable if you know what you're doing."));
|
||||
else
|
||||
imgui_ctx->tooltip(_("Client-side upscaling and sharpening, adds a performance cost on the headset"));
|
||||
}
|
||||
if (application::get_openxr_post_processing_supported())
|
||||
{
|
||||
ImGui::SameLine();
|
||||
ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
ImGui::BeginDisabled(not config.sgsr.enabled);
|
||||
ImGui::Indent();
|
||||
{
|
||||
const auto current = config.sgsr.upscaling_factor;
|
||||
const auto width = stream_view.recommendedImageRectWidth * config.resolution_scale;
|
||||
const auto height = stream_view.recommendedImageRectHeight * config.resolution_scale;
|
||||
auto intScale = int(current * 100);
|
||||
const auto slider = ImGui::SliderInt(
|
||||
_("Upscaling factor").append("##upscaling_factor").c_str(),
|
||||
&intScale,
|
||||
100,
|
||||
200,
|
||||
fmt::format(_F("%d%% - {}x{} per eye"), int(width * current), int(height * current)).c_str());
|
||||
if (slider)
|
||||
{
|
||||
config.sgsr.upscaling_factor = intScale * 0.01;
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (width * current > stream_view.maxImageRectWidth or height * current > stream_view.maxImageRectHeight)
|
||||
{
|
||||
ImGui::TextColored(ImColor(0xf9, 0x73, 0x06) /*orange*/, ICON_FA_TRIANGLE_EXCLAMATION);
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("%s", fmt::format(_F("Resolution larger than {}x{} may not be supported by the headset"), stream_view.maxImageRectWidth, stream_view.maxImageRectHeight).c_str());
|
||||
}
|
||||
}
|
||||
{
|
||||
if (ImGui::Checkbox(_S("Use edge direction"), &config.sgsr.use_edge_direction))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_("Adds an additional performance cost"));
|
||||
}
|
||||
{
|
||||
const float current = config.sgsr.edge_threshold;
|
||||
int intScale = int(current);
|
||||
if (ImGui::SliderInt(_S("Edge threshold"), &intScale, 1, 16, "%d.0"))
|
||||
{
|
||||
config.sgsr.edge_threshold = float(intScale);
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(fmt::format(_F("Recommended: {:.1f}"), 4.0));
|
||||
}
|
||||
{
|
||||
if (ImGui::SliderFloat(_S("Edge sharpness"), &config.sgsr.edge_sharpness, 1.0, 2.0, "%.2f"))
|
||||
{
|
||||
config.save();
|
||||
}
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(fmt::format(_F("Recommended: {:.1f}"), 2.0));
|
||||
}
|
||||
ImGui::Unindent();
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
|
||||
@@ -1370,7 +1069,7 @@ void scenes::lobby::gui_licenses()
|
||||
ImGui::Text("%s", _("Licenses").c_str());
|
||||
ImGui::PopFont();
|
||||
|
||||
const auto components = {"WiVRn", "FontAwesome", "openxr-loader", "simdjson", "SGSR"};
|
||||
const auto components = {"WiVRn", "FontAwesome", "openxr-loader", "simdjson"};
|
||||
if (not license)
|
||||
{
|
||||
selected_item = *components.begin();
|
||||
|
||||
+70
-310
@@ -38,9 +38,6 @@
|
||||
#include "utils/contains.h"
|
||||
#include "utils/named_thread.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "vk/pipeline.h"
|
||||
#include "vk/shader.h"
|
||||
#include "vk/specialization_constants.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <algorithm>
|
||||
#include <mutex>
|
||||
@@ -48,6 +45,11 @@
|
||||
#include <thread>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
#include "wivrn_config.h"
|
||||
#if WIVRN_FEATURE_RENDERDOC
|
||||
#include "vk/renderdoc.h"
|
||||
#endif
|
||||
|
||||
using namespace wivrn;
|
||||
|
||||
// clang-format off
|
||||
@@ -149,8 +151,10 @@ static const std::array supported_depth_formats{
|
||||
vk::Format::eX8D24UnormPack32,
|
||||
};
|
||||
|
||||
scenes::stream::stream() :
|
||||
scene_impl<stream>(supported_color_formats, supported_depth_formats)
|
||||
scenes::stream::stream(std::string server_name) :
|
||||
scene_impl<stream>(supported_color_formats, supported_depth_formats),
|
||||
apps{*this, std::move(server_name)},
|
||||
blitters{blitter(device, 0), blitter(device, 1)}
|
||||
{
|
||||
}
|
||||
|
||||
@@ -182,9 +186,9 @@ static from_headset::visibility_mask_changed::masks get_visibility_mask(xr::inst
|
||||
return res;
|
||||
}
|
||||
|
||||
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps)
|
||||
std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_session> network_session, float guessed_fps, std::string server_name)
|
||||
{
|
||||
std::shared_ptr<stream> self{new stream};
|
||||
std::shared_ptr<stream> self{new stream{std::move(server_name)}};
|
||||
self->network_session = std::move(network_session);
|
||||
|
||||
self->network_session->send_control([&]() {
|
||||
@@ -296,7 +300,7 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
if (not(config.check_feature(feature::microphone)))
|
||||
info.microphone = {};
|
||||
|
||||
info.supported_codecs = decoder_impl::supported_codecs();
|
||||
info.supported_codecs = decoder::supported_codecs();
|
||||
return info;
|
||||
}());
|
||||
|
||||
@@ -727,6 +731,8 @@ bool scenes::stream::is_gui_interactable() const
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::foveation_settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
return true;
|
||||
|
||||
case gui_status::hidden:
|
||||
@@ -774,107 +780,11 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
.variant = application::get_messages_info().variant,
|
||||
});
|
||||
|
||||
gui_status = stream::gui_status::hidden;
|
||||
application::pop_scene();
|
||||
}
|
||||
|
||||
assert(swapchain);
|
||||
for (auto & i: decoders)
|
||||
{
|
||||
if (auto sampler = i.decoder->sampler(); sampler and not *i.blit_pipeline)
|
||||
{
|
||||
// Create blit pipeline
|
||||
// Create VkDescriptorSetLayout with an immutable sampler
|
||||
vk::DescriptorSetLayoutBinding sampler_layout_binding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
.pImmutableSamplers = &sampler,
|
||||
};
|
||||
|
||||
vk::DescriptorSetLayoutCreateInfo layout_info{
|
||||
.bindingCount = 1,
|
||||
.pBindings = &sampler_layout_binding,
|
||||
};
|
||||
|
||||
i.descriptor_set_layout = vk::raii::DescriptorSetLayout(device, layout_info);
|
||||
i.descriptor_set = device.allocateDescriptorSets(
|
||||
vk::DescriptorSetAllocateInfo{
|
||||
.descriptorPool = *blit_descriptor_pool,
|
||||
.descriptorSetCount = 1,
|
||||
.pSetLayouts = &*i.descriptor_set_layout,
|
||||
})[0]
|
||||
.release();
|
||||
|
||||
const auto & description = i.decoder->desc();
|
||||
vk::Extent2D image_size = i.decoder->image_size();
|
||||
spdlog::info("useful size: {}x{} with buffer {}x{}",
|
||||
description.width,
|
||||
description.height,
|
||||
image_size.width,
|
||||
image_size.height);
|
||||
|
||||
auto vert_constants = make_specialization_constants(
|
||||
float(description.width) / image_size.width,
|
||||
float(description.height) / image_size.height);
|
||||
|
||||
auto frag_constants = make_specialization_constants(
|
||||
VkBool32(need_srgb_conversion(guess_model())),
|
||||
VkBool32(i.alpha()));
|
||||
|
||||
// Create graphics pipeline
|
||||
vk::raii::ShaderModule vertex_shader = load_shader(device, "stream.vert");
|
||||
vk::raii::ShaderModule fragment_shader = load_shader(device, "stream.frag");
|
||||
|
||||
vk::PipelineLayoutCreateInfo pipeline_layout_info{
|
||||
.setLayoutCount = 1,
|
||||
.pSetLayouts = &*i.descriptor_set_layout,
|
||||
};
|
||||
|
||||
i.blit_pipeline_layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
|
||||
|
||||
vk::pipeline_builder pipeline_info{
|
||||
.Stages = {{
|
||||
.stage = vk::ShaderStageFlagBits::eVertex,
|
||||
.module = *vertex_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = vert_constants,
|
||||
},
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eFragment,
|
||||
.module = *fragment_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = frag_constants,
|
||||
}},
|
||||
.VertexBindingDescriptions = {},
|
||||
.VertexAttributeDescriptions = {},
|
||||
.InputAssemblyState = {{
|
||||
.topology = vk::PrimitiveTopology::eTriangleStrip,
|
||||
}},
|
||||
// With vk::DynamicState::eViewport, vk::DynamicState::eScissor the number of viewports
|
||||
// and scissors is still used, put a vector with one element
|
||||
.Viewports = {{}},
|
||||
.Scissors = {{}},
|
||||
.RasterizationState = {{
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
.lineWidth = 1,
|
||||
}},
|
||||
.MultisampleState = {{
|
||||
.rasterizationSamples = vk::SampleCountFlagBits::e1,
|
||||
}},
|
||||
.ColorBlendAttachments = {
|
||||
{.colorWriteMask = i.alpha() ? vk::ColorComponentFlagBits::eA
|
||||
: vk::ColorComponentFlagBits::eA | vk::ColorComponentFlagBits::eR | vk::ColorComponentFlagBits::eG | vk::ColorComponentFlagBits::eB}},
|
||||
.DynamicStates = {vk::DynamicState::eViewport, vk::DynamicState::eScissor},
|
||||
.layout = *i.blit_pipeline_layout,
|
||||
.renderPass = *blit_render_pass,
|
||||
.subpass = 0,
|
||||
};
|
||||
|
||||
i.blit_pipeline = vk::raii::Pipeline(device, application::get_pipeline_cache(), pipeline_info);
|
||||
}
|
||||
}
|
||||
|
||||
if (device.waitForFences(*fence, VK_TRUE, UINT64_MAX) == vk::Result::eTimeout)
|
||||
throw std::runtime_error("Vulkan fence timeout");
|
||||
|
||||
@@ -905,11 +815,13 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
|
||||
std::array<int, view_count> image_indices;
|
||||
|
||||
#if WIVRN_FEATURE_RENDERDOC
|
||||
renderdoc_begin(*vk_instance);
|
||||
#endif
|
||||
command_buffer.reset();
|
||||
|
||||
vk::CommandBufferBeginInfo begin_info;
|
||||
begin_info.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit;
|
||||
command_buffer.begin(begin_info);
|
||||
command_buffer.begin(vk::CommandBufferBeginInfo{
|
||||
.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit,
|
||||
});
|
||||
|
||||
// Keep a reference to the resources needed to blit the images until vkWaitForFences
|
||||
|
||||
@@ -924,10 +836,9 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
std::array<wivrn::to_headset::foveation_parameter, 2> foveation{};
|
||||
bool use_alpha = false;
|
||||
|
||||
// Blit images from the decoders
|
||||
for (auto [i, blit_handle]: std::views::zip(decoders, current_blit_handles))
|
||||
for (auto & blit_handle: current_blit_handles)
|
||||
{
|
||||
if (not blit_handle or not *i.blit_pipeline)
|
||||
if (not blit_handle)
|
||||
continue;
|
||||
|
||||
blit_handle->feedback.blitted = instance.now();
|
||||
@@ -941,27 +852,12 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
foveation = blit_handle->view_info.foveation;
|
||||
use_alpha = blit_handle->view_info.alpha;
|
||||
|
||||
vk::DescriptorImageInfo image_info{
|
||||
.imageView = *blit_handle->image_view,
|
||||
.imageLayout = vk::ImageLayout::eGeneral,
|
||||
};
|
||||
|
||||
vk::WriteDescriptorSet descriptor_write{
|
||||
.dstSet = i.descriptor_set,
|
||||
.dstBinding = 0,
|
||||
.dstArrayElement = 0,
|
||||
.descriptorCount = 1,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.pImageInfo = &image_info,
|
||||
};
|
||||
|
||||
device.updateDescriptorSets(descriptor_write, {});
|
||||
if (*blit_handle->current_layout != vk::ImageLayout::eGeneral)
|
||||
if (blit_handle->current_layout == vk::ImageLayout::eUndefined)
|
||||
{
|
||||
vk::ImageMemoryBarrier barrier{
|
||||
.srcAccessMask = vk::AccessFlagBits::eNone,
|
||||
.dstAccessMask = vk::AccessFlagBits::eMemoryRead,
|
||||
.oldLayout = *blit_handle->current_layout,
|
||||
.oldLayout = vk::ImageLayout::eUndefined,
|
||||
.newLayout = vk::ImageLayout::eGeneral,
|
||||
.image = blit_handle->image,
|
||||
.subresourceRange = {
|
||||
@@ -972,76 +868,22 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
};
|
||||
|
||||
command_buffer.pipelineBarrier(vk::PipelineStageFlagBits::eAllCommands, vk::PipelineStageFlagBits::eAllCommands, {}, {}, {}, barrier);
|
||||
*blit_handle->current_layout = vk::ImageLayout::eGeneral;
|
||||
blit_handle->current_layout = vk::ImageLayout::eGeneral;
|
||||
}
|
||||
}
|
||||
|
||||
uint16_t x_offset = 0;
|
||||
for (auto & out: decoder_output)
|
||||
// Blit images from the decoders
|
||||
std::array<blitter::output, view_count> blitted;
|
||||
for (auto [i, b]: utils::enumerate(blitters))
|
||||
{
|
||||
vk::Extent2D decoder_out_size{
|
||||
.width = decoder_out_image.info().extent.width,
|
||||
.height = decoder_out_image.info().extent.height,
|
||||
};
|
||||
command_buffer.beginRenderPass(
|
||||
{
|
||||
.renderPass = *blit_render_pass,
|
||||
.framebuffer = *out.frame_buffer,
|
||||
.renderArea = {
|
||||
.offset = {0, 0},
|
||||
.extent = decoder_out_size,
|
||||
},
|
||||
.clearValueCount = 0,
|
||||
},
|
||||
vk::SubpassContents::eInline);
|
||||
|
||||
for (const auto & decoder: decoders)
|
||||
b.begin(command_buffer);
|
||||
for (auto [j, blit_handle]: utils::enumerate(current_blit_handles))
|
||||
{
|
||||
if (not *decoder.blit_pipeline)
|
||||
if (not blit_handle)
|
||||
continue;
|
||||
if (decoder.alpha() and not use_alpha)
|
||||
continue;
|
||||
|
||||
command_buffer.bindPipeline(vk::PipelineBindPoint::eGraphics, *decoder.blit_pipeline);
|
||||
|
||||
const auto & description = decoder.decoder->desc();
|
||||
int x0 = description.offset_x - x_offset;
|
||||
int y0 = description.offset_y;
|
||||
int x1 = x0 + description.width * description.subsampling;
|
||||
int y1 = y0 + description.height * description.subsampling;
|
||||
|
||||
vk::Viewport viewport{
|
||||
.x = (float)x0,
|
||||
.y = (float)y0,
|
||||
.width = float(description.width * description.subsampling),
|
||||
.height = float(description.height * description.subsampling),
|
||||
.minDepth = 0,
|
||||
.maxDepth = 1,
|
||||
};
|
||||
|
||||
x0 = std::clamp<int>(x0, 0, decoder_out_size.width);
|
||||
x1 = std::clamp<int>(x1, 0, decoder_out_size.width);
|
||||
y0 = std::clamp<int>(y0, 0, decoder_out_size.height);
|
||||
y1 = std::clamp<int>(y1, 0, decoder_out_size.height);
|
||||
|
||||
vk::Rect2D scissor{
|
||||
.offset = {.x = x0, .y = y0},
|
||||
.extent = {.width = (uint32_t)(x1 - x0), .height = (uint32_t)(y1 - y0)},
|
||||
};
|
||||
|
||||
command_buffer.setViewport(0, viewport);
|
||||
command_buffer.setScissor(0, scissor);
|
||||
|
||||
command_buffer.bindDescriptorSets(
|
||||
vk::PipelineBindPoint::eGraphics,
|
||||
*decoder.blit_pipeline_layout,
|
||||
0,
|
||||
decoder.descriptor_set,
|
||||
nullptr);
|
||||
command_buffer.draw(3, 1, 0, 0);
|
||||
b.push_image(command_buffer, j, decoders[j].decoder->sampler(), decoders[j].decoder->extent(), blit_handle->image_view, blit_handle->current_layout);
|
||||
}
|
||||
command_buffer.endRenderPass();
|
||||
x_offset += decoder_out_size.width;
|
||||
blitted[i] = b.end(command_buffer);
|
||||
}
|
||||
|
||||
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 1);
|
||||
@@ -1052,7 +894,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
int32_t max_height = 0;
|
||||
for (size_t i = 0; i < view_count; ++i)
|
||||
{
|
||||
extents[i] = reprojector->defoveated_size(foveation[i]);
|
||||
extents[i] = defoveator->defoveated_size(foveation[i]);
|
||||
max_width = std::max(max_width, extents[i].width);
|
||||
max_height = std::max(max_height, extents[i].height);
|
||||
}
|
||||
@@ -1082,14 +924,39 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
// defoveate the image
|
||||
int image_index = swapchain.acquire();
|
||||
swapchain.wait();
|
||||
reprojector->reproject(command_buffer, foveation, image_index);
|
||||
defoveator->defoveate(command_buffer, foveation, blitted, image_index);
|
||||
|
||||
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 2);
|
||||
|
||||
command_buffer.end();
|
||||
vk::SubmitInfo submit_info;
|
||||
submit_info.setCommandBuffers(*command_buffer);
|
||||
|
||||
std::vector<vk::Semaphore> semaphores;
|
||||
std::vector<uint64_t> semaphore_vals;
|
||||
std::vector<vk::PipelineStageFlags> wait_stages;
|
||||
for (auto b: current_blit_handles)
|
||||
{
|
||||
if (b and b->semaphore)
|
||||
{
|
||||
assert(b->semaphore_val);
|
||||
semaphores.push_back(b->semaphore);
|
||||
semaphore_vals.push_back(*b->semaphore_val);
|
||||
wait_stages.push_back(vk::PipelineStageFlagBits::eFragmentShader);
|
||||
}
|
||||
}
|
||||
submit_info.setWaitDstStageMask(wait_stages);
|
||||
submit_info.setWaitSemaphores(semaphores);
|
||||
vk::TimelineSemaphoreSubmitInfo sem_info{
|
||||
.waitSemaphoreValueCount = uint32_t(semaphore_vals.size()),
|
||||
.pWaitSemaphoreValues = semaphore_vals.data(),
|
||||
};
|
||||
submit_info.pNext = &sem_info;
|
||||
|
||||
queue.lock()->submit(submit_info, *fence);
|
||||
#if WIVRN_FEATURE_RENDERDOC
|
||||
renderdoc_end(*vk_instance);
|
||||
#endif
|
||||
swapchain.release();
|
||||
|
||||
std::vector<XrCompositionLayerProjectionView> layer_view(view_count);
|
||||
@@ -1137,6 +1004,8 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
break;
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
dimming = dimming + frame_state.predictedDisplayPeriod / (1e9 * constants::stream::fade_duration);
|
||||
break;
|
||||
}
|
||||
@@ -1222,12 +1091,14 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
case gui_status::hidden:
|
||||
case gui_status::compact:
|
||||
case gui_status::overlay_only:
|
||||
gui_status = gui_status::stats;
|
||||
gui_status = next_gui_status;
|
||||
break;
|
||||
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::foveation_settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
gui_status = gui_status::hidden;
|
||||
break;
|
||||
}
|
||||
@@ -1256,116 +1127,15 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
|
||||
}
|
||||
|
||||
video_stream_description = description;
|
||||
|
||||
const uint32_t video_width = description.width / view_count;
|
||||
const uint32_t video_height = description.height;
|
||||
|
||||
// Create renderpass
|
||||
{
|
||||
vk::AttachmentDescription color_desc{
|
||||
.format = vk::Format::eA8B8G8R8SrgbPack32,
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.loadOp = vk::AttachmentLoadOp::eDontCare,
|
||||
.storeOp = vk::AttachmentStoreOp::eStore,
|
||||
.initialLayout = vk::ImageLayout::eUndefined,
|
||||
.finalLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
|
||||
};
|
||||
|
||||
vk::AttachmentReference color_ref{
|
||||
.attachment = 0,
|
||||
.layout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
|
||||
vk::SubpassDescription subpass{
|
||||
.pipelineBindPoint = vk::PipelineBindPoint::eGraphics,
|
||||
};
|
||||
subpass.setColorAttachments(color_ref);
|
||||
|
||||
vk::RenderPassCreateInfo renderpass_info{
|
||||
.flags = {},
|
||||
};
|
||||
renderpass_info.setAttachments(color_desc);
|
||||
renderpass_info.setSubpasses(subpass);
|
||||
|
||||
blit_render_pass = vk::raii::RenderPass(device, renderpass_info);
|
||||
}
|
||||
|
||||
// Create outputs for the decoders
|
||||
{
|
||||
vk::ImageCreateInfo image_info{
|
||||
.flags = vk::ImageCreateFlags{},
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = vk::Format::eA8B8G8R8SrgbPack32,
|
||||
.extent = {video_width, video_height, 1},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = view_count,
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.tiling = vk::ImageTiling::eOptimal,
|
||||
.usage = vk::ImageUsageFlagBits::eSampled | vk::ImageUsageFlagBits::eColorAttachment,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
.initialLayout = vk::ImageLayout::eUndefined,
|
||||
};
|
||||
|
||||
VmaAllocationCreateInfo alloc_info{
|
||||
.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
};
|
||||
|
||||
decoder_out_image = image_allocation{device, image_info, alloc_info};
|
||||
|
||||
vk::ImageViewCreateInfo image_view_info{
|
||||
.image = vk::Image{decoder_out_image},
|
||||
.viewType = vk::ImageViewType::e2D,
|
||||
.format = image_info.format,
|
||||
.components = {},
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
|
||||
for (uint32_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
auto & output = decoder_output[view];
|
||||
|
||||
image_view_info.subresourceRange.baseArrayLayer = view;
|
||||
output.image_view = vk::raii::ImageView(device, image_view_info);
|
||||
|
||||
output.frame_buffer = vk::raii::Framebuffer(
|
||||
device,
|
||||
vk::FramebufferCreateInfo{
|
||||
.renderPass = *blit_render_pass,
|
||||
.attachmentCount = 1,
|
||||
.pAttachments = &*output.image_view,
|
||||
.width = image_info.extent.width,
|
||||
.height = image_info.extent.height,
|
||||
.layers = 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
vk::DescriptorPoolSize pool_size{
|
||||
.type = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = uint32_t(2 * description.items.size()),
|
||||
};
|
||||
blit_descriptor_pool = vk::raii::DescriptorPool(
|
||||
device,
|
||||
vk::DescriptorPoolCreateInfo{
|
||||
.maxSets = uint32_t(2 * description.items.size()),
|
||||
.poolSizeCount = 1,
|
||||
.pPoolSizes = &pool_size,
|
||||
});
|
||||
}
|
||||
for (auto & b: blitters)
|
||||
b.reset(description);
|
||||
|
||||
for (const auto & [stream_index, item]: utils::enumerate(description.items))
|
||||
{
|
||||
spdlog::info("Creating decoder size {}x{} offset {},{}", item.width, item.height, item.offset_x, item.offset_y);
|
||||
|
||||
decoders.push_back(accumulator_images{
|
||||
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, item, description.fps, shared_from_this(), stream_index),
|
||||
.decoder = std::make_unique<shard_accumulator>(device, physical_device, instance, queue_family_index, item, description.fps, shared_from_this(), stream_index),
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1378,15 +1148,6 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint
|
||||
const uint32_t video_width = video_stream_description->width / view_count;
|
||||
const uint32_t video_height = video_stream_description->height;
|
||||
|
||||
const configuration::sgsr_settings sgsr = application::get_config().sgsr;
|
||||
if (sgsr.enabled)
|
||||
{
|
||||
const float upscaling_factor = sgsr.upscaling_factor;
|
||||
spdlog::info("Using SGSR with an upscale factor of {}", upscaling_factor);
|
||||
swapchain_width *= upscaling_factor;
|
||||
swapchain_height *= upscaling_factor;
|
||||
}
|
||||
|
||||
auto views = system.view_configuration_views(viewconfig);
|
||||
|
||||
swapchain = xr::swapchain(session, device, swapchain_format, swapchain_width, swapchain_height, 1, views.size());
|
||||
@@ -1403,10 +1164,9 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint
|
||||
for (auto & image: swapchain.images())
|
||||
swapchain_images.push_back(image.image);
|
||||
|
||||
reprojector.emplace(
|
||||
defoveator.emplace(
|
||||
device,
|
||||
physical_device,
|
||||
decoder_out_image,
|
||||
swapchain_images,
|
||||
extent,
|
||||
swapchain.format());
|
||||
|
||||
+19
-32
@@ -19,12 +19,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "app_launcher.h"
|
||||
#include "audio/audio.h"
|
||||
#include "decoder/shard_accumulator.h"
|
||||
#include "render/imgui_impl.h"
|
||||
#include "scene.h"
|
||||
#include "scenes/blitter.h"
|
||||
#include "scenes/input_profile.h"
|
||||
#include "stream_reprojection.h"
|
||||
#include "stream_defoveator.h"
|
||||
#include "utils/thread_safe.h"
|
||||
#include "wifi_lock.h"
|
||||
#include "wivrn_client.h"
|
||||
@@ -48,12 +50,7 @@ public:
|
||||
};
|
||||
static const size_t image_buffer_size = 3;
|
||||
|
||||
struct app
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::vector<std::byte> image;
|
||||
};
|
||||
app_launcher apps;
|
||||
|
||||
private:
|
||||
static const size_t view_count = 2;
|
||||
@@ -63,10 +60,6 @@ private:
|
||||
struct accumulator_images
|
||||
{
|
||||
std::unique_ptr<wivrn::shard_accumulator> decoder;
|
||||
vk::raii::DescriptorSetLayout descriptor_set_layout = nullptr;
|
||||
vk::DescriptorSet descriptor_set = nullptr;
|
||||
vk::raii::PipelineLayout blit_pipeline_layout = nullptr;
|
||||
vk::raii::Pipeline blit_pipeline = nullptr;
|
||||
// latest frames, rolling buffer
|
||||
std::array<std::shared_ptr<wivrn::shard_accumulator::blit_handle>, image_buffer_size> latest_frames;
|
||||
|
||||
@@ -97,19 +90,10 @@ private:
|
||||
std::shared_mutex decoder_mutex;
|
||||
std::optional<to_headset::video_stream_description> video_stream_description;
|
||||
std::vector<accumulator_images> decoders; // Locked by decoder_mutex
|
||||
vk::raii::DescriptorPool blit_descriptor_pool = nullptr;
|
||||
vk::raii::RenderPass blit_render_pass = nullptr;
|
||||
|
||||
image_allocation decoder_out_image;
|
||||
std::array<blitter, view_count> blitters;
|
||||
|
||||
struct renderpass_output
|
||||
{
|
||||
vk::raii::ImageView image_view = nullptr;
|
||||
vk::raii::Framebuffer frame_buffer = nullptr;
|
||||
};
|
||||
std::array<renderpass_output, view_count> decoder_output;
|
||||
|
||||
std::optional<stream_reprojection> reprojector;
|
||||
std::optional<stream_defoveator> defoveator;
|
||||
|
||||
vk::raii::Fence fence = nullptr;
|
||||
vk::raii::CommandBuffer command_buffer = nullptr;
|
||||
@@ -148,13 +132,16 @@ private:
|
||||
compact,
|
||||
stats,
|
||||
settings,
|
||||
foveation_settings
|
||||
foveation_settings,
|
||||
applications,
|
||||
application_launcher,
|
||||
};
|
||||
|
||||
bool is_gui_interactable() const;
|
||||
|
||||
std::atomic<gui_status> gui_status = gui_status::hidden;
|
||||
enum gui_status last_gui_status = gui_status::hidden;
|
||||
enum gui_status next_gui_status = gui_status::stats;
|
||||
XrTime gui_status_last_change;
|
||||
float dimming = 0;
|
||||
|
||||
@@ -182,15 +169,18 @@ private:
|
||||
// Keep a reference to the resources needed to blit the images until vkWaitForFences
|
||||
std::vector<std::shared_ptr<wivrn::shard_accumulator::blit_handle>> current_blit_handles;
|
||||
|
||||
// Last application list received from server
|
||||
thread_safe<std::vector<app>> applications;
|
||||
XrTime running_application_req = 0;
|
||||
thread_safe<to_headset::running_applications> running_applications;
|
||||
|
||||
stream();
|
||||
stream(std::string server_name);
|
||||
|
||||
public:
|
||||
~stream();
|
||||
|
||||
static std::shared_ptr<stream> create(std::unique_ptr<wivrn_session> session, float guessed_fps);
|
||||
static std::shared_ptr<stream> create(
|
||||
std::unique_ptr<wivrn_session> session,
|
||||
float guessed_fps,
|
||||
std::string server_name);
|
||||
|
||||
void render(const XrFrameState &) override;
|
||||
void on_focused() override;
|
||||
@@ -210,6 +200,7 @@ public:
|
||||
void operator()(to_headset::refresh_rate_change &&);
|
||||
void operator()(to_headset::application_list &&);
|
||||
void operator()(to_headset::application_icon &&);
|
||||
void operator()(to_headset::running_applications &&);
|
||||
void operator()(audio_data &&);
|
||||
|
||||
void push_blit_handle(wivrn::shard_accumulator * decoder, std::shared_ptr<wivrn::shard_accumulator::blit_handle> handle);
|
||||
@@ -226,11 +217,6 @@ public:
|
||||
return !exiting;
|
||||
}
|
||||
|
||||
auto get_applications()
|
||||
{
|
||||
return applications.lock();
|
||||
}
|
||||
|
||||
void start_application(std::string appid);
|
||||
|
||||
static meta & get_meta_scene();
|
||||
@@ -317,6 +303,7 @@ private:
|
||||
void gui_compact_view();
|
||||
void gui_settings();
|
||||
void gui_foveation_settings(float predicted_display_period);
|
||||
void gui_applications();
|
||||
void draw_gui(XrTime predicted_display_time, XrDuration predicted_display_period);
|
||||
};
|
||||
} // namespace scenes
|
||||
|
||||
@@ -0,0 +1,452 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "stream_defoveator.h"
|
||||
#include "application.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "vk/pipeline.h"
|
||||
#include "vk/shader.h"
|
||||
#include "vk/specialization_constants.h"
|
||||
#include <array>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtx/quaternion.hpp>
|
||||
#include <vk_mem_alloc.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
struct stream_defoveator::vertex
|
||||
{
|
||||
// output image position
|
||||
alignas(8) glm::vec2 position;
|
||||
// input texture coordinates
|
||||
alignas(8) glm::uvec2 uv;
|
||||
};
|
||||
|
||||
struct vert_pc
|
||||
{
|
||||
glm::ivec4 rgb_rect;
|
||||
glm::ivec4 a_rect;
|
||||
};
|
||||
|
||||
void stream_defoveator::ensure_vertices(size_t num_vertices)
|
||||
{
|
||||
vk::BufferCreateInfo create_info{
|
||||
.size = num_vertices * sizeof(vertex) * view_count,
|
||||
.usage = vk::BufferUsageFlagBits::eVertexBuffer,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
};
|
||||
|
||||
if (create_info.size <= buffer.info().size)
|
||||
return;
|
||||
|
||||
VmaAllocationCreateInfo alloc_info{
|
||||
.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
|
||||
};
|
||||
|
||||
buffer = buffer_allocation(device, create_info, alloc_info);
|
||||
vertices_size = num_vertices * sizeof(vertex);
|
||||
}
|
||||
|
||||
stream_defoveator::vertex * stream_defoveator::get_vertices(size_t view)
|
||||
{
|
||||
assert(buffer);
|
||||
return reinterpret_cast<vertex *>(reinterpret_cast<uintptr_t>(buffer.map()) + view * vertices_size);
|
||||
}
|
||||
|
||||
stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a)
|
||||
{
|
||||
auto & target = a ? pipeline_a[view] : pipeline_rgb[view];
|
||||
if (*target.pipeline)
|
||||
return target;
|
||||
|
||||
std::array samplers{rgb, a};
|
||||
int32_t alpha = a ? 1 : 0;
|
||||
|
||||
// Create VkDescriptorSetLayout
|
||||
std::array layout_binding{
|
||||
vk::DescriptorSetLayoutBinding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = uint32_t(alpha + 1),
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
.pImmutableSamplers = samplers.data(),
|
||||
},
|
||||
};
|
||||
|
||||
target.descriptor_set_layout = device.createDescriptorSetLayout(vk::DescriptorSetLayoutCreateInfo{
|
||||
.bindingCount = layout_binding.size(),
|
||||
.pBindings = layout_binding.data(),
|
||||
});
|
||||
|
||||
target.ds = device.allocateDescriptorSets(vk::DescriptorSetAllocateInfo{
|
||||
.descriptorPool = *ds_pool,
|
||||
.descriptorSetCount = 1,
|
||||
.pSetLayouts = &*target.descriptor_set_layout,
|
||||
})[0]
|
||||
.release();
|
||||
|
||||
// pipeline layout
|
||||
vk::PushConstantRange pc_range{
|
||||
.stageFlags = vk::ShaderStageFlagBits::eVertex,
|
||||
.size = sizeof(vert_pc),
|
||||
};
|
||||
|
||||
vk::PipelineLayoutCreateInfo pipeline_layout_info{
|
||||
.setLayoutCount = 1,
|
||||
.pSetLayouts = &*target.descriptor_set_layout,
|
||||
.pushConstantRangeCount = 1,
|
||||
.pPushConstantRanges = &pc_range,
|
||||
};
|
||||
|
||||
target.layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
|
||||
|
||||
const auto & vk_device_extensions = application::get_vk_device_extensions();
|
||||
|
||||
// Vertex shader
|
||||
vk::raii::ShaderModule vertex_shader = load_shader(device, "reprojection.vert");
|
||||
|
||||
// Fragment shader
|
||||
auto specialization = make_specialization_constants(
|
||||
int32_t(alpha),
|
||||
VkBool32(need_srgb_conversion(guess_model())));
|
||||
vk::raii::ShaderModule fragment_shader = load_shader(device, "reprojection.frag");
|
||||
|
||||
vk::pipeline_builder pipeline_info{
|
||||
.flags = {},
|
||||
.Stages = {
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eVertex,
|
||||
.module = *vertex_shader,
|
||||
.pName = "main",
|
||||
},
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eFragment,
|
||||
.module = *fragment_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = specialization,
|
||||
},
|
||||
},
|
||||
.VertexBindingDescriptions = {
|
||||
{
|
||||
.binding = 0,
|
||||
.stride = sizeof(vertex),
|
||||
.inputRate = vk::VertexInputRate::eVertex,
|
||||
},
|
||||
},
|
||||
.VertexAttributeDescriptions = {
|
||||
{
|
||||
.location = 0,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Sfloat,
|
||||
.offset = offsetof(vertex, position),
|
||||
},
|
||||
{
|
||||
.location = 1,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Uint,
|
||||
.offset = offsetof(vertex, uv),
|
||||
},
|
||||
},
|
||||
.InputAssemblyState = {{
|
||||
.topology = vk::PrimitiveTopology::eTriangleStrip,
|
||||
}},
|
||||
.Viewports = {{}},
|
||||
.Scissors = {{}},
|
||||
.RasterizationState = {{
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
.lineWidth = 1,
|
||||
}},
|
||||
.MultisampleState = {{
|
||||
.rasterizationSamples = vk::SampleCountFlagBits::e1,
|
||||
}},
|
||||
.ColorBlendState = {.flags = {}},
|
||||
.ColorBlendAttachments = {{
|
||||
.colorWriteMask = vk::ColorComponentFlagBits::eR | vk::ColorComponentFlagBits::eG | vk::ColorComponentFlagBits::eB | vk::ColorComponentFlagBits::eA,
|
||||
}},
|
||||
.DynamicStates = {vk::DynamicState::eViewport, vk::DynamicState::eScissor},
|
||||
.layout = *target.layout,
|
||||
.renderPass = *renderpass,
|
||||
.subpass = 0,
|
||||
};
|
||||
|
||||
target.pipeline = device.createGraphicsPipeline(application::get_pipeline_cache(), pipeline_info);
|
||||
return target;
|
||||
}
|
||||
|
||||
stream_defoveator::stream_defoveator(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
std::vector<vk::Image> output_images_,
|
||||
vk::Extent2D output_extent,
|
||||
vk::Format format) :
|
||||
device(device),
|
||||
physical_device(physical_device),
|
||||
output_images(std::move(output_images_)),
|
||||
output_extent(output_extent)
|
||||
{
|
||||
// Create renderpass
|
||||
vk::AttachmentDescription attachment{
|
||||
.format = format,
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.loadOp = vk::AttachmentLoadOp::eDontCare,
|
||||
.storeOp = vk::AttachmentStoreOp::eStore,
|
||||
.finalLayout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
|
||||
vk::AttachmentReference color_ref{
|
||||
.attachment = 0,
|
||||
.layout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
vk::SubpassDescription subpass{
|
||||
.pipelineBindPoint = vk::PipelineBindPoint::eGraphics,
|
||||
.colorAttachmentCount = 1,
|
||||
.pColorAttachments = &color_ref,
|
||||
};
|
||||
|
||||
vk::StructureChain renderpass_info{
|
||||
vk::RenderPassCreateInfo{
|
||||
.attachmentCount = 1,
|
||||
.pAttachments = &attachment,
|
||||
.subpassCount = 1,
|
||||
.pSubpasses = &subpass,
|
||||
},
|
||||
};
|
||||
|
||||
renderpass = vk::raii::RenderPass(device, renderpass_info.get());
|
||||
|
||||
vk::DescriptorPoolSize pool_size{
|
||||
.type = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = view_count * 4,
|
||||
};
|
||||
|
||||
ds_pool = device.createDescriptorPool(vk::DescriptorPoolCreateInfo{
|
||||
.maxSets = view_count * 2,
|
||||
.poolSizeCount = 1,
|
||||
.pPoolSizes = &pool_size,
|
||||
});
|
||||
|
||||
// Create image views and framebuffers
|
||||
output_image_views.reserve(output_images.size() * view_count);
|
||||
framebuffers.reserve(output_images.size() * view_count);
|
||||
for (vk::Image image: output_images)
|
||||
{
|
||||
for (uint32_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
vk::ImageViewCreateInfo iv_info{
|
||||
.image = image,
|
||||
.viewType = vk::ImageViewType::e2DArray,
|
||||
.format = format,
|
||||
.components = {
|
||||
.r = vk::ComponentSwizzle::eIdentity,
|
||||
.g = vk::ComponentSwizzle::eIdentity,
|
||||
.b = vk::ComponentSwizzle::eIdentity,
|
||||
.a = vk::ComponentSwizzle::eIdentity,
|
||||
},
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = view,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
|
||||
output_image_views.emplace_back(device, iv_info);
|
||||
|
||||
vk::FramebufferCreateInfo fb_create_info{
|
||||
.renderPass = *renderpass,
|
||||
.width = output_extent.width,
|
||||
.height = output_extent.height,
|
||||
.layers = 1,
|
||||
};
|
||||
fb_create_info.setAttachments(*output_image_views.back());
|
||||
|
||||
framebuffers.emplace_back(device, fb_create_info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
|
||||
{
|
||||
// strips are constructed like this:
|
||||
// 0 2 4
|
||||
// 1 3 5 5*
|
||||
// there is one such line per value in y
|
||||
// the last element is repeated to break the line
|
||||
return (2 * (p.x.size() + 1) + 1) * p.y.size();
|
||||
}
|
||||
|
||||
void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
|
||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||
std::span<wivrn::blitter::output> inputs,
|
||||
int destination)
|
||||
{
|
||||
if (destination < 0 || destination >= (int)output_images.size())
|
||||
throw std::runtime_error("Invalid destination image index");
|
||||
|
||||
ensure_vertices(std::max(required_vertices(foveation[0]), required_vertices(foveation[1])));
|
||||
|
||||
for (size_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
const auto out_size = defoveated_size(foveation[view]);
|
||||
auto vertices = get_vertices(view);
|
||||
const auto & [px, py] = foveation[view];
|
||||
assert(px.size() % 2 == 1);
|
||||
assert(py.size() % 2 == 1);
|
||||
const int n_ratio_y = (py.size() - 1) / 2;
|
||||
const int n_ratio_x = (px.size() - 1) / 2;
|
||||
|
||||
command_buffer.setScissor(
|
||||
0,
|
||||
vk::Rect2D{
|
||||
.extent = {.width = uint32_t(out_size.width), .height = uint32_t(out_size.height)},
|
||||
});
|
||||
command_buffer.setViewport(
|
||||
0,
|
||||
vk::Viewport{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = float(out_size.width),
|
||||
.height = float(out_size.height),
|
||||
.minDepth = 0,
|
||||
.maxDepth = 1,
|
||||
});
|
||||
|
||||
glm::uvec2 in(0);
|
||||
glm::vec2 out(-0.5 * out_size.width, -0.5 * out_size.height); // pixel coordinates
|
||||
glm::vec2 out_pixel_size(2. / out_size.width,
|
||||
2. / out_size.height);
|
||||
for (auto [iy, n_out_y]: utils::enumerate_range(py))
|
||||
{
|
||||
// number of output pixels per source pixels
|
||||
const int ratio_y = std::abs(n_ratio_y - int(iy)) + 1;
|
||||
in.x = 0;
|
||||
out.x = -0.5 * out_size.width;
|
||||
for (auto [ix, n_out_x]: utils::enumerate_range(px))
|
||||
{
|
||||
const int ratio_x = std::abs(n_ratio_x - int(ix)) + 1;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size,
|
||||
.uv = in,
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size,
|
||||
.uv = (in + glm::uvec2(0, n_out_y)),
|
||||
};
|
||||
in.x += n_out_x;
|
||||
out.x += n_out_x * ratio_x;
|
||||
}
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size,
|
||||
.uv = in,
|
||||
};
|
||||
in.y += n_out_y;
|
||||
out.y += n_out_y * ratio_y;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size,
|
||||
.uv = in,
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size,
|
||||
.uv = in,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
for (size_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
vk::RenderPassBeginInfo begin_info{
|
||||
.renderPass = *renderpass,
|
||||
.framebuffer = *framebuffers[destination * view_count + view],
|
||||
.renderArea = {
|
||||
.offset = {0, 0},
|
||||
.extent = output_extent,
|
||||
},
|
||||
};
|
||||
|
||||
const auto & input = inputs[view];
|
||||
auto & pipeline = ensure_pipeline(view, input.sampler_rgb, input.sampler_a);
|
||||
|
||||
std::array image_info{
|
||||
vk::DescriptorImageInfo{
|
||||
.sampler = input.sampler_rgb,
|
||||
.imageView = input.rgb,
|
||||
.imageLayout = input.layout_rgb,
|
||||
},
|
||||
vk::DescriptorImageInfo{
|
||||
.sampler = input.sampler_a,
|
||||
.imageView = input.a,
|
||||
.imageLayout = input.layout_a,
|
||||
},
|
||||
};
|
||||
|
||||
std::array descriptor_writes{
|
||||
vk::WriteDescriptorSet{
|
||||
.dstSet = pipeline.ds,
|
||||
.dstBinding = 0,
|
||||
.descriptorCount = input.sampler_a ? 2u : 1u,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.pImageInfo = image_info.data(),
|
||||
},
|
||||
};
|
||||
|
||||
vert_pc pc{
|
||||
.rgb_rect = glm::ivec4(input.rect_rgb.offset.x,
|
||||
input.rect_rgb.offset.y,
|
||||
input.rect_rgb.extent.width,
|
||||
input.rect_rgb.extent.height),
|
||||
.a_rect = glm::ivec4(input.rect_a.offset.x,
|
||||
input.rect_a.offset.y,
|
||||
input.rect_a.extent.width,
|
||||
input.rect_a.extent.height),
|
||||
};
|
||||
|
||||
device.updateDescriptorSets(descriptor_writes, {});
|
||||
|
||||
command_buffer.beginRenderPass(begin_info, vk::SubpassContents::eInline);
|
||||
command_buffer.bindPipeline(vk::PipelineBindPoint::eGraphics, *pipeline.pipeline);
|
||||
command_buffer.bindDescriptorSets(vk::PipelineBindPoint::eGraphics, *pipeline.layout, 0, pipeline.ds, {});
|
||||
command_buffer.pushConstants<vert_pc>(*pipeline.layout, vk::ShaderStageFlagBits::eVertex, 0, pc);
|
||||
command_buffer.bindVertexBuffers(0, vk::Buffer(buffer), vertices_size * view);
|
||||
command_buffer.draw(required_vertices(foveation[view]), 1, 0, 0);
|
||||
command_buffer.endRenderPass();
|
||||
}
|
||||
}
|
||||
|
||||
static uint16_t count_pixels(const std::vector<uint16_t> & param)
|
||||
{
|
||||
uint16_t res = 0;
|
||||
const int n_ratio = (param.size() - 1) / 2;
|
||||
for (auto [i, n_out]: utils::enumerate_range(param))
|
||||
{
|
||||
// number of output pixels per source pixels
|
||||
const int ratio = std::abs(n_ratio - int(i)) + 1;
|
||||
res += ratio * n_out;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
XrExtent2Di stream_defoveator::defoveated_size(const wivrn::to_headset::foveation_parameter & view) const
|
||||
{
|
||||
return {
|
||||
count_pixels(view.x),
|
||||
count_pixels(view.y),
|
||||
};
|
||||
}
|
||||
@@ -19,40 +19,35 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "blitter.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
class stream_reprojection
|
||||
class stream_defoveator
|
||||
{
|
||||
struct vertex;
|
||||
const uint32_t view_count;
|
||||
static const uint32_t view_count = 2;
|
||||
// Vertex buffer
|
||||
buffer_allocation buffer;
|
||||
size_t vertices_size = 0;
|
||||
|
||||
vk::raii::Device & device;
|
||||
vk::raii::PhysicalDevice & physical_device;
|
||||
|
||||
// Graphic pipeline
|
||||
vk::raii::DescriptorSetLayout descriptor_set_layout = nullptr;
|
||||
vk::raii::DescriptorPool descriptor_pool = nullptr;
|
||||
vk::raii::PipelineLayout layout = nullptr;
|
||||
vk::raii::RenderPass renderpass = nullptr;
|
||||
vk::raii::Pipeline pipeline = nullptr;
|
||||
|
||||
// Allowed sizes for variable shading rate
|
||||
// indices are for x, y
|
||||
// 0 is 1 pixel
|
||||
// 1 is 2 or 3 pixels
|
||||
// 2 is 4 pixels or more
|
||||
int32_t fragment_sizes[3][3] = {};
|
||||
|
||||
// Source image
|
||||
vk::raii::Sampler sampler = nullptr;
|
||||
std::vector<vk::raii::ImageView> input_image_views;
|
||||
std::vector<vk::DescriptorSet> descriptor_sets;
|
||||
vk::Extent2D input_extent;
|
||||
vk::raii::DescriptorPool ds_pool = nullptr;
|
||||
struct pipeline_t
|
||||
{
|
||||
vk::raii::DescriptorSetLayout descriptor_set_layout = nullptr;
|
||||
vk::DescriptorSet ds;
|
||||
vk::raii::PipelineLayout layout = nullptr;
|
||||
vk::raii::Pipeline pipeline = nullptr;
|
||||
};
|
||||
pipeline_t pipeline_rgb[view_count];
|
||||
pipeline_t pipeline_a[view_count];
|
||||
|
||||
// Destination images
|
||||
std::vector<vk::Image> output_images;
|
||||
@@ -63,22 +58,22 @@ class stream_reprojection
|
||||
void ensure_vertices(size_t num_vertices);
|
||||
vertex * get_vertices(size_t view);
|
||||
|
||||
int32_t shading_rate(int pixels_x, int pixels_y);
|
||||
pipeline_t & ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a);
|
||||
|
||||
public:
|
||||
stream_reprojection(
|
||||
stream_defoveator(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
image_allocation & input_image,
|
||||
std::vector<vk::Image> output_images,
|
||||
vk::Extent2D output_extent,
|
||||
vk::Format format);
|
||||
|
||||
stream_reprojection(const stream_reprojection &) = delete;
|
||||
stream_defoveator(const stream_defoveator &) = delete;
|
||||
|
||||
void reproject(
|
||||
void defoveate(
|
||||
vk::raii::CommandBuffer & command_buffer,
|
||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||
std::span<wivrn::blitter::output> inputs,
|
||||
int destination);
|
||||
|
||||
XrExtent2Di defoveated_size(const wivrn::to_headset::foveation_parameter &) const;
|
||||
@@ -603,6 +603,85 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
|
||||
});
|
||||
}
|
||||
|
||||
void scenes::stream::gui_applications()
|
||||
{
|
||||
auto now = instance.now();
|
||||
if (now - running_application_req > 1'000'000'000)
|
||||
{
|
||||
running_application_req = now;
|
||||
network_session->send_control(from_headset::get_running_applications{});
|
||||
}
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 10);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {10, 10});
|
||||
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
||||
CenterTextH(_("Running XR applications:"));
|
||||
ImGui::PopFont();
|
||||
auto apps = running_applications.lock();
|
||||
ImVec2 button_size(ImGui::GetWindowSize().x - ImGui::GetCursorPosX() - 20, 0);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(ImGui::GetStyle().ItemSpacing.x, 20));
|
||||
ImGui::Spacing();
|
||||
std::ranges::sort(apps->applications, [](auto & l, auto & r) {
|
||||
if (l.overlay == r.overlay)
|
||||
return false;
|
||||
return r.overlay;
|
||||
});
|
||||
bool overlay = false;
|
||||
for (const auto & app: apps->applications)
|
||||
{
|
||||
if (app.overlay and not overlay)
|
||||
{
|
||||
ImGui::Separator();
|
||||
CenterTextH(_S("Overlays"));
|
||||
overlay = true;
|
||||
}
|
||||
int colors = 1;
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32_BLACK_TRANS);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 0);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(10, 20));
|
||||
if (app.active or app.overlay)
|
||||
{
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonActive, IM_COL32_BLACK_TRANS);
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, IM_COL32_BLACK_TRANS);
|
||||
colors += 2;
|
||||
}
|
||||
ImGui::SetNextItemAllowOverlap();
|
||||
const bool clicked = RadioButtonWithoutCheckBox(
|
||||
std::format("{}{}##{}", app.active ? ICON_FA_CHEVRON_RIGHT " " : " ", app.name, app.id).c_str(),
|
||||
app.active,
|
||||
button_size);
|
||||
if (clicked and not(app.active or app.overlay))
|
||||
{
|
||||
network_session->send_control(from_headset::set_active_application{.id = app.id});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
}
|
||||
ImGui::PopStyleColor(colors);
|
||||
ImGui::PopStyleVar(2);
|
||||
|
||||
ImGui::SameLine();
|
||||
auto right = ImGui::GetWindowSize().x;
|
||||
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 10);
|
||||
ImGui::SetCursorPosX(right - ImGui::CalcTextSize(ICON_FA_XMARK).x - ImGui::GetStyle().FramePadding.x - 40);
|
||||
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.8f, 0.2f, 0.2f, 0.40f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.8f, 0.2f, 0.2f, 1.00f));
|
||||
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(1.0f, 0.1f, 0.1f, 1.00f));
|
||||
if (ImGui::Button(std::format(ICON_FA_XMARK "##{}", app.id).c_str()))
|
||||
network_session->send_control(from_headset::stop_application{.id = app.id});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::PopStyleColor(3);
|
||||
|
||||
if (ImGui::IsItemHovered())
|
||||
imgui_ctx->tooltip(_S("Request to quit, may be ignored by the application"));
|
||||
}
|
||||
|
||||
auto btn = _("Start");
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() - ImGui::CalcTextSize(btn.c_str()) - ImVec2(50, 50));
|
||||
if (ImGui::Button(btn.c_str()))
|
||||
gui_status = gui_status::application_launcher;
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
ImGui::PopStyleVar(3);
|
||||
}
|
||||
|
||||
// Return the vector v such that dot(v, x) > 0 iff x is on the side where the composition layer is visible
|
||||
static glm::vec4 compute_ray_limits(const XrPosef & pose, float margin = 0)
|
||||
{
|
||||
@@ -642,6 +721,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
break;
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
break;
|
||||
}
|
||||
imgui_ctx->set_controllers_enabled(interactable);
|
||||
@@ -662,6 +743,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
if (gui_status != last_gui_status)
|
||||
{
|
||||
last_gui_status = gui_status;
|
||||
if (is_gui_interactable())
|
||||
next_gui_status = gui_status;
|
||||
gui_status_last_change = predicted_display_time;
|
||||
|
||||
// Override session state if the GUI is interactable
|
||||
@@ -708,6 +791,8 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
case gui_status::compact:
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
case gui_status::application_launcher:
|
||||
imgui_ctx->layers()[0].orientation = head_position->second * head_gui_orientation;
|
||||
imgui_ctx->layers()[0].position = head_position->first + M * head_gui_position;
|
||||
break;
|
||||
@@ -748,11 +833,18 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
|
||||
case gui_status::stats:
|
||||
case gui_status::settings:
|
||||
case gui_status::applications:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
|
||||
always_auto_resize = false;
|
||||
display_tabs = true;
|
||||
break;
|
||||
case gui_status::application_launcher:
|
||||
ImGui::SetNextWindowPos(margin_around_window);
|
||||
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->Size - margin_around_window * 2);
|
||||
always_auto_resize = false;
|
||||
display_tabs = false;
|
||||
break;
|
||||
}
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ChildBorderSize, 0);
|
||||
@@ -804,6 +896,17 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
case gui_status::foveation_settings:
|
||||
gui_foveation_settings(predicted_display_period * 1.e-9f);
|
||||
break;
|
||||
|
||||
case gui_status::applications:
|
||||
ImGui::SetCursorPos({tab_width + 20, 20});
|
||||
ImGui::BeginChild("Main", ImVec2(ImGui::GetWindowSize().x - ImGui::GetCursorPosX(), 0));
|
||||
gui_applications();
|
||||
ImGui::EndChild();
|
||||
break;
|
||||
|
||||
case gui_status::application_launcher:
|
||||
if (apps.draw_gui(*imgui_ctx, _("Cancel")) != app_launcher::None)
|
||||
gui_status = gui_status::applications;
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(2); // ImGuiStyleVar_WindowPadding, ImGuiStyleVar_FrameRounding
|
||||
@@ -822,6 +925,9 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
||||
RadioButtonWithoutCheckBox(ICON_FA_GEARS " " + _("Settings"), gui_status, gui_status::settings, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
RadioButtonWithoutCheckBox(ICON_FA_LIST " " + _("Applications"), gui_status, gui_status::applications, {tab_width, 0});
|
||||
imgui_ctx->vibrate_on_hover();
|
||||
|
||||
int n_items_at_end = 4;
|
||||
ImGui::SetCursorPosY(ImGui::GetContentRegionMax().y - n_items_at_end * ImGui::GetCurrentContext()->FontSize - (n_items_at_end * 2) * style.FramePadding.y - (n_items_at_end - 1) * style.ItemSpacing.y - style.WindowPadding.y);
|
||||
|
||||
|
||||
@@ -106,31 +106,19 @@ void scenes::stream::send_feedback(const wivrn::from_headset::feedback & feedbac
|
||||
}
|
||||
}
|
||||
|
||||
void scenes::stream::operator()(to_headset::application_list && apps)
|
||||
void scenes::stream::operator()(to_headset::application_list && l)
|
||||
{
|
||||
std::ranges::sort(apps.applications, [](auto & l, auto & r) {
|
||||
return una::casesens::collate_utf8(l.name, r.name) < 0;
|
||||
});
|
||||
|
||||
auto locked = applications.lock();
|
||||
|
||||
locked->clear();
|
||||
locked->reserve(apps.applications.size());
|
||||
for (const auto & i: apps.applications)
|
||||
{
|
||||
locked->push_back(app{
|
||||
.id = std::move(i.id),
|
||||
.name = std::move(i.name),
|
||||
});
|
||||
}
|
||||
apps(std::move(l));
|
||||
}
|
||||
|
||||
void scenes::stream::operator()(to_headset::application_icon && icon)
|
||||
{
|
||||
auto locked = applications.lock();
|
||||
apps(std::move(icon));
|
||||
}
|
||||
|
||||
if (auto it = std::ranges::find(*locked, icon.id, &app::id); it != locked->end())
|
||||
it->image = std::move(icon.image);
|
||||
void scenes::stream::operator()(to_headset::running_applications && apps)
|
||||
{
|
||||
*running_applications.lock() = std::move(apps);
|
||||
}
|
||||
|
||||
void scenes::stream::start_application(std::string appid)
|
||||
|
||||
@@ -1,551 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "stream_reprojection.h"
|
||||
#include "application.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "vk/pipeline.h"
|
||||
#include "vk/shader.h"
|
||||
#include "vk/specialization_constants.h"
|
||||
#include <array>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtx/quaternion.hpp>
|
||||
#include <vk_mem_alloc.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
struct stream_reprojection::vertex
|
||||
{
|
||||
// output image position
|
||||
alignas(8) glm::vec2 position;
|
||||
// input texture coordinates
|
||||
alignas(8) glm::vec2 uv;
|
||||
int32_t shading_rate;
|
||||
};
|
||||
|
||||
void stream_reprojection::ensure_vertices(size_t num_vertices)
|
||||
{
|
||||
vk::BufferCreateInfo create_info{
|
||||
.size = num_vertices * sizeof(vertex) * view_count,
|
||||
.usage = vk::BufferUsageFlagBits::eVertexBuffer,
|
||||
.sharingMode = vk::SharingMode::eExclusive,
|
||||
};
|
||||
|
||||
if (create_info.size <= buffer.info().size)
|
||||
return;
|
||||
|
||||
VmaAllocationCreateInfo alloc_info{
|
||||
.requiredFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
|
||||
};
|
||||
|
||||
buffer = buffer_allocation(device, create_info, alloc_info);
|
||||
vertices_size = num_vertices * sizeof(vertex);
|
||||
}
|
||||
|
||||
stream_reprojection::vertex * stream_reprojection::get_vertices(size_t view)
|
||||
{
|
||||
assert(buffer);
|
||||
return reinterpret_cast<vertex *>(reinterpret_cast<uintptr_t>(buffer.map()) + view * vertices_size);
|
||||
}
|
||||
|
||||
stream_reprojection::stream_reprojection(
|
||||
vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
image_allocation & input_image,
|
||||
std::vector<vk::Image> output_images_,
|
||||
vk::Extent2D output_extent,
|
||||
vk::Format format) :
|
||||
view_count(input_image.info().arrayLayers),
|
||||
device(device),
|
||||
input_extent{
|
||||
.width = input_image.info().extent.width,
|
||||
.height = input_image.info().extent.height,
|
||||
},
|
||||
output_images(std::move(output_images_)),
|
||||
output_extent(output_extent)
|
||||
{
|
||||
vk::SamplerCreateInfo sampler_info{
|
||||
.magFilter = vk::Filter::eLinear,
|
||||
.minFilter = vk::Filter::eLinear,
|
||||
.mipmapMode = vk::SamplerMipmapMode::eNearest,
|
||||
.addressModeU = vk::SamplerAddressMode::eClampToBorder,
|
||||
.addressModeV = vk::SamplerAddressMode::eClampToBorder,
|
||||
.addressModeW = vk::SamplerAddressMode::eClampToBorder,
|
||||
.mipLodBias = 0.0f,
|
||||
.anisotropyEnable = VK_FALSE,
|
||||
.maxAnisotropy = 1,
|
||||
.compareEnable = VK_FALSE,
|
||||
.compareOp = vk::CompareOp::eNever,
|
||||
.minLod = 0.0f,
|
||||
.maxLod = 0.0f,
|
||||
.borderColor = vk::BorderColor::eFloatOpaqueBlack,
|
||||
.unnormalizedCoordinates = VK_FALSE,
|
||||
};
|
||||
|
||||
if (utils::contains(application::get_vk_device_extensions(), VK_IMG_FILTER_CUBIC_EXTENSION_NAME))
|
||||
sampler_info.magFilter = vk::Filter::eCubicIMG;
|
||||
|
||||
sampler = vk::raii::Sampler(device, sampler_info);
|
||||
|
||||
// Create VkDescriptorSetLayout
|
||||
vk::DescriptorSetLayoutBinding layout_binding{
|
||||
.binding = 0,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
};
|
||||
|
||||
vk::DescriptorSetLayoutCreateInfo layout_info;
|
||||
layout_info.setBindings(layout_binding);
|
||||
|
||||
descriptor_set_layout = vk::raii::DescriptorSetLayout(device, layout_info);
|
||||
|
||||
std::array pool_size{
|
||||
vk::DescriptorPoolSize{
|
||||
.type = vk::DescriptorType::eCombinedImageSampler,
|
||||
.descriptorCount = (uint32_t)view_count,
|
||||
},
|
||||
};
|
||||
|
||||
vk::DescriptorPoolCreateInfo pool_info{
|
||||
.maxSets = view_count,
|
||||
.poolSizeCount = pool_size.size(),
|
||||
.pPoolSizes = pool_size.data(),
|
||||
};
|
||||
|
||||
descriptor_pool = vk::raii::DescriptorPool(device, pool_info);
|
||||
|
||||
// Create image views and descriptor sets
|
||||
for (uint32_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
vk::ImageViewCreateInfo iv_info{
|
||||
.image = input_image,
|
||||
.viewType = vk::ImageViewType::e2D,
|
||||
.format = input_image.info().format,
|
||||
.components = {
|
||||
.r = vk::ComponentSwizzle::eIdentity,
|
||||
.g = vk::ComponentSwizzle::eIdentity,
|
||||
.b = vk::ComponentSwizzle::eIdentity,
|
||||
.a = vk::ComponentSwizzle::eIdentity,
|
||||
},
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = view,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
|
||||
vk::ImageView input_image_view = *input_image_views.emplace_back(device, iv_info);
|
||||
|
||||
vk::DescriptorSetAllocateInfo ds_info{
|
||||
.descriptorPool = *descriptor_pool,
|
||||
.descriptorSetCount = 1,
|
||||
.pSetLayouts = &*descriptor_set_layout,
|
||||
};
|
||||
|
||||
auto descriptor_set = descriptor_sets.emplace_back(device.allocateDescriptorSets(ds_info)[0].release());
|
||||
|
||||
vk::DescriptorImageInfo image_info{
|
||||
.sampler = *sampler,
|
||||
.imageView = input_image_view,
|
||||
.imageLayout = vk::ImageLayout::eShaderReadOnlyOptimal,
|
||||
};
|
||||
|
||||
device.updateDescriptorSets(
|
||||
vk::WriteDescriptorSet{
|
||||
.dstSet = descriptor_set,
|
||||
.dstBinding = 0,
|
||||
.dstArrayElement = 0,
|
||||
.descriptorCount = 1,
|
||||
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
|
||||
.pImageInfo = &image_info,
|
||||
},
|
||||
{});
|
||||
}
|
||||
|
||||
// Create renderpass
|
||||
vk::AttachmentReference color_ref{
|
||||
.attachment = 0,
|
||||
.layout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
|
||||
vk::AttachmentDescription attachment{
|
||||
.format = format,
|
||||
.samples = vk::SampleCountFlagBits::e1,
|
||||
.loadOp = vk::AttachmentLoadOp::eDontCare,
|
||||
.storeOp = vk::AttachmentStoreOp::eStore,
|
||||
.initialLayout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
.finalLayout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
};
|
||||
|
||||
vk::SubpassDescription subpass{
|
||||
.pipelineBindPoint = vk::PipelineBindPoint::eGraphics,
|
||||
};
|
||||
subpass.setColorAttachments(color_ref);
|
||||
|
||||
vk::StructureChain renderpass_info{
|
||||
vk::RenderPassCreateInfo{
|
||||
.attachmentCount = 1,
|
||||
.pAttachments = &attachment,
|
||||
.subpassCount = 1,
|
||||
.pSubpasses = &subpass,
|
||||
},
|
||||
};
|
||||
|
||||
renderpass = vk::raii::RenderPass(device, renderpass_info.get());
|
||||
|
||||
const auto & vk_device_extensions = application::get_vk_device_extensions();
|
||||
bool fragment_shading_rate = false;
|
||||
if (utils::contains(vk_device_extensions, VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME) and
|
||||
utils::contains(vk_device_extensions, VK_KHR_FRAGMENT_SHADING_RATE_EXTENSION_NAME))
|
||||
{
|
||||
const auto & [prop, rate_prop] = physical_device.getProperties2<vk::PhysicalDeviceProperties2, vk::PhysicalDeviceFragmentShadingRatePropertiesKHR>();
|
||||
const auto & [feat, fragment_feat] = physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
|
||||
fragment_shading_rate = rate_prop.fragmentShadingRateNonTrivialCombinerOps and
|
||||
fragment_feat.primitiveFragmentShadingRate and
|
||||
fragment_feat.attachmentFragmentShadingRate;
|
||||
}
|
||||
|
||||
// Vertex shader
|
||||
vk::raii::ShaderModule vertex_shader = load_shader(device, fragment_shading_rate ? "reprojection_vsr.vert" : "reprojection.vert");
|
||||
|
||||
// Fragment shader
|
||||
|
||||
const configuration::sgsr_settings & sgsr = application::get_config().sgsr;
|
||||
auto sgsr_specialization = make_specialization_constants(
|
||||
VkBool32(sgsr.use_edge_direction),
|
||||
float(sgsr.edge_threshold / 255.f),
|
||||
float(sgsr.edge_sharpness));
|
||||
|
||||
vk::raii::ShaderModule fragment_shader = load_shader(device, sgsr.enabled ? "reprojection_sgsr.frag" : "reprojection.frag");
|
||||
|
||||
// Create graphics pipeline
|
||||
vk::PipelineLayoutCreateInfo pipeline_layout_info;
|
||||
pipeline_layout_info.setSetLayouts(*descriptor_set_layout);
|
||||
|
||||
layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
|
||||
|
||||
vk::pipeline_builder pipeline_info_builder{
|
||||
.flags = {},
|
||||
.Stages = {
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eVertex,
|
||||
.module = *vertex_shader,
|
||||
.pName = "main",
|
||||
},
|
||||
{
|
||||
.stage = vk::ShaderStageFlagBits::eFragment,
|
||||
.module = *fragment_shader,
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = sgsr.enabled ? sgsr_specialization.info() : nullptr,
|
||||
},
|
||||
},
|
||||
.VertexBindingDescriptions = {
|
||||
{
|
||||
.binding = 0,
|
||||
.stride = sizeof(vertex),
|
||||
.inputRate = vk::VertexInputRate::eVertex,
|
||||
},
|
||||
},
|
||||
.VertexAttributeDescriptions = {
|
||||
{
|
||||
.location = 0,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Sfloat,
|
||||
.offset = offsetof(vertex, position),
|
||||
},
|
||||
{
|
||||
.location = 1,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32G32Sfloat,
|
||||
.offset = offsetof(vertex, uv),
|
||||
},
|
||||
{
|
||||
.location = 2,
|
||||
.binding = 0,
|
||||
.format = vk::Format::eR32Sint,
|
||||
.offset = offsetof(vertex, shading_rate),
|
||||
},
|
||||
},
|
||||
.InputAssemblyState = {{
|
||||
.topology = vk::PrimitiveTopology::eTriangleStrip,
|
||||
}},
|
||||
.Viewports = {{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = (float)output_extent.width,
|
||||
.height = (float)output_extent.height,
|
||||
.minDepth = 0,
|
||||
.maxDepth = 1,
|
||||
}},
|
||||
.Scissors = {{
|
||||
.offset = {.x = 0, .y = 0},
|
||||
.extent = output_extent,
|
||||
}},
|
||||
.RasterizationState = {{
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
.lineWidth = 1,
|
||||
}},
|
||||
.MultisampleState = {{
|
||||
.rasterizationSamples = vk::SampleCountFlagBits::e1,
|
||||
}},
|
||||
.ColorBlendState = {.flags = {}},
|
||||
.ColorBlendAttachments = {{
|
||||
.colorWriteMask = vk::ColorComponentFlagBits::eR | vk::ColorComponentFlagBits::eG | vk::ColorComponentFlagBits::eB | vk::ColorComponentFlagBits::eA,
|
||||
}},
|
||||
.layout = *layout,
|
||||
.renderPass = *renderpass,
|
||||
.subpass = 0,
|
||||
};
|
||||
|
||||
vk::GraphicsPipelineCreateInfo pipeline_info(pipeline_info_builder);
|
||||
|
||||
// Variable fragment shading
|
||||
std::array combiner{
|
||||
vk::FragmentShadingRateCombinerOpKHR::eMax,
|
||||
vk::FragmentShadingRateCombinerOpKHR::eMax,
|
||||
};
|
||||
vk::PipelineFragmentShadingRateStateCreateInfoKHR shading{
|
||||
.fragmentSize = vk::Extent2D{1, 1},
|
||||
.combinerOps = combiner,
|
||||
};
|
||||
if (fragment_shading_rate)
|
||||
{
|
||||
pipeline_info.pNext = &shading;
|
||||
|
||||
spdlog::info("Available fragment shading rates:");
|
||||
for (const auto rate: physical_device.getFragmentShadingRatesKHR())
|
||||
{
|
||||
if (rate.sampleCounts & vk::SampleCountFlagBits::e1)
|
||||
{
|
||||
spdlog::info("\tfragment size: {}x{}", rate.fragmentSize.width, rate.fragmentSize.height);
|
||||
int flags = 0;
|
||||
if (rate.fragmentSize.width == 4)
|
||||
flags |= 8;
|
||||
else if (rate.fragmentSize.width == 2)
|
||||
flags |= 4;
|
||||
if (rate.fragmentSize.height == 4)
|
||||
flags |= 2;
|
||||
else if (rate.fragmentSize.height == 2)
|
||||
flags |= 1;
|
||||
for (int y = std::bit_width(rate.fragmentSize.height) - 1; y < 3; ++y)
|
||||
{
|
||||
for (int x = std::bit_width(rate.fragmentSize.width) - 1; x < 3; ++x)
|
||||
{
|
||||
if (fragment_sizes[x][y] == 0)
|
||||
fragment_sizes[x][y] = flags;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pipeline = vk::raii::Pipeline(device, application::get_pipeline_cache(), pipeline_info);
|
||||
|
||||
// Create image views and framebuffers
|
||||
output_image_views.reserve(output_images.size() * view_count);
|
||||
framebuffers.reserve(output_images.size() * view_count);
|
||||
for (vk::Image image: output_images)
|
||||
{
|
||||
for (uint32_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
vk::ImageViewCreateInfo iv_info{
|
||||
.image = image,
|
||||
.viewType = vk::ImageViewType::e2DArray,
|
||||
.format = format,
|
||||
.components = {
|
||||
.r = vk::ComponentSwizzle::eIdentity,
|
||||
.g = vk::ComponentSwizzle::eIdentity,
|
||||
.b = vk::ComponentSwizzle::eIdentity,
|
||||
.a = vk::ComponentSwizzle::eIdentity,
|
||||
},
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = view,
|
||||
.layerCount = 1,
|
||||
},
|
||||
};
|
||||
|
||||
output_image_views.emplace_back(device, iv_info);
|
||||
|
||||
vk::FramebufferCreateInfo fb_create_info{
|
||||
.renderPass = *renderpass,
|
||||
.width = output_extent.width,
|
||||
.height = output_extent.height,
|
||||
.layers = 1,
|
||||
};
|
||||
fb_create_info.setAttachments(*output_image_views.back());
|
||||
|
||||
framebuffers.emplace_back(device, fb_create_info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p)
|
||||
{
|
||||
// strips are constructed like this:
|
||||
// 0 2 4
|
||||
// 1 3 5 5*
|
||||
// there is one such line per value in y
|
||||
// the last element is repeated to break the line
|
||||
return (2 * (p.x.size() + 1) + 1) * p.y.size();
|
||||
}
|
||||
|
||||
int32_t stream_reprojection::shading_rate(int pixels_x, int pixels_y)
|
||||
{
|
||||
int x = 0;
|
||||
if (pixels_x >= 2)
|
||||
x = 1;
|
||||
if (pixels_x >= 4)
|
||||
x = 2;
|
||||
int y = 0;
|
||||
if (pixels_y >= 2)
|
||||
y = 1;
|
||||
if (pixels_y >= 4)
|
||||
y = 2;
|
||||
return fragment_sizes[x][y];
|
||||
}
|
||||
|
||||
void stream_reprojection::reproject(vk::raii::CommandBuffer & command_buffer,
|
||||
const std::array<wivrn::to_headset::foveation_parameter, 2> & foveation,
|
||||
int destination)
|
||||
{
|
||||
if (destination < 0 || destination >= (int)output_images.size())
|
||||
throw std::runtime_error("Invalid destination image index");
|
||||
|
||||
ensure_vertices(std::max(required_vertices(foveation[0]), required_vertices(foveation[1])));
|
||||
|
||||
for (size_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
auto vertices = get_vertices(view);
|
||||
const auto & [px, py] = foveation[view];
|
||||
assert(px.size() % 2 == 1);
|
||||
assert(py.size() % 2 == 1);
|
||||
const int n_ratio_y = (py.size() - 1) / 2;
|
||||
const int n_ratio_x = (px.size() - 1) / 2;
|
||||
|
||||
glm::vec2 in(0), out(0); // pixel coordinates
|
||||
glm::vec2 in_pixel_size(1. / input_extent.width,
|
||||
1. / input_extent.height);
|
||||
glm::vec2 out_pixel_size(2. / output_extent.width,
|
||||
2. / output_extent.height);
|
||||
for (auto [iy, n_out_y]: utils::enumerate_range(py))
|
||||
{
|
||||
// number of output pixels per source pixels
|
||||
const int ratio_y = std::abs(n_ratio_y - int(iy)) + 1;
|
||||
in.x = 0;
|
||||
out.x = 0;
|
||||
for (auto [ix, n_out_x]: utils::enumerate_range(px))
|
||||
{
|
||||
const int ratio_x = std::abs(n_ratio_x - int(ix)) + 1;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
.shading_rate = shading_rate(ratio_x, ratio_y),
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size - glm::vec2(1),
|
||||
.uv = (in + glm::vec2(0, n_out_y)) * in_pixel_size,
|
||||
.shading_rate = shading_rate(ratio_x, ratio_y),
|
||||
};
|
||||
in.x += n_out_x;
|
||||
out.x += n_out_x * ratio_x;
|
||||
}
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
in.y += n_out_y;
|
||||
out.y += n_out_y * ratio_y;
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
*vertices++ = {
|
||||
.position = out * out_pixel_size - glm::vec2(1),
|
||||
.uv = in * in_pixel_size,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
command_buffer.pipelineBarrier(
|
||||
vk::PipelineStageFlagBits::eTopOfPipe,
|
||||
vk::PipelineStageFlagBits::eColorAttachmentOutput,
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
vk::ImageMemoryBarrier{
|
||||
.srcAccessMask = {},
|
||||
.dstAccessMask = vk::AccessFlagBits::eColorAttachmentWrite,
|
||||
.oldLayout = vk::ImageLayout::eUndefined,
|
||||
.newLayout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
.image = output_images[destination],
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.levelCount = 1,
|
||||
.layerCount = view_count,
|
||||
},
|
||||
});
|
||||
|
||||
for (size_t view = 0; view < view_count; ++view)
|
||||
{
|
||||
vk::RenderPassBeginInfo begin_info{
|
||||
.renderPass = *renderpass,
|
||||
.framebuffer = *framebuffers[destination * view_count + view],
|
||||
.renderArea = {
|
||||
.offset = {0, 0},
|
||||
.extent = output_extent,
|
||||
},
|
||||
};
|
||||
|
||||
command_buffer.beginRenderPass(begin_info, vk::SubpassContents::eInline);
|
||||
command_buffer.bindPipeline(vk::PipelineBindPoint::eGraphics, *pipeline);
|
||||
command_buffer.bindDescriptorSets(vk::PipelineBindPoint::eGraphics, *layout, 0, descriptor_sets[view], {});
|
||||
command_buffer.bindVertexBuffers(0, vk::Buffer(buffer), vertices_size * view);
|
||||
command_buffer.draw(required_vertices(foveation[view]), 1, 0, 0);
|
||||
command_buffer.endRenderPass();
|
||||
}
|
||||
}
|
||||
|
||||
static uint16_t count_pixels(const std::vector<uint16_t> & param)
|
||||
{
|
||||
uint16_t res = 0;
|
||||
const int n_ratio = (param.size() - 1) / 2;
|
||||
for (auto [i, n_out]: utils::enumerate_range(param))
|
||||
{
|
||||
// number of output pixels per source pixels
|
||||
const int ratio = std::abs(n_ratio - int(i)) + 1;
|
||||
res += ratio * n_out;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
XrExtent2Di stream_reprojection::defoveated_size(const wivrn::to_headset::foveation_parameter & view) const
|
||||
{
|
||||
return {
|
||||
count_pixels(view.x),
|
||||
count_pixels(view.y),
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,83 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#version 450
|
||||
#extension GL_ARB_shading_language_include : require
|
||||
#define VSR 0
|
||||
#include "reprojection.glsl.inc"
|
||||
|
||||
#ifdef VERT_SHADER
|
||||
|
||||
layout (location = 0) in vec2 vPosition;
|
||||
layout (location = 1) in uvec2 vUV;
|
||||
|
||||
layout(location = 0) out vec4 outUV;
|
||||
|
||||
layout(push_constant) uniform pc
|
||||
{
|
||||
ivec4 rgb_rect;
|
||||
ivec4 a_rect;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vPosition, 0.0, 1.0);
|
||||
vec2 uv = vUV;
|
||||
outUV.xy = (uv + rgb_rect.xy) / rgb_rect.zw;
|
||||
outUV.zw = (uv + a_rect.xy) / a_rect.zw;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FRAG_SHADER
|
||||
|
||||
layout(constant_id = 0) const int alpha = 1;
|
||||
layout(constant_id = 1) const bool do_srgb = false;
|
||||
|
||||
layout(set = 0, binding = 0) uniform sampler2D rgb[alpha + 1];
|
||||
|
||||
layout(location = 0) in vec4 inUV;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
float sRGB_to_linear(float x)
|
||||
{
|
||||
if (x <= 0.04045)
|
||||
return x / 12.92;
|
||||
return pow((x + 0.055) / 1.055, 2.4);
|
||||
}
|
||||
|
||||
vec4 sRGB_to_linear_rgba(vec4 x)
|
||||
{
|
||||
return vec4(
|
||||
sRGB_to_linear(x.r),
|
||||
sRGB_to_linear(x.g),
|
||||
sRGB_to_linear(x.b),
|
||||
x.a);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
if (alpha == 1)
|
||||
outColor = vec4(texture(rgb[0], inUV.xy).rgb, texture(rgb[1], inUV.zw).r);
|
||||
else
|
||||
outColor = texture(rgb[0], inUV.xy).rgba;
|
||||
|
||||
if (do_srgb)
|
||||
{
|
||||
outColor = sRGB_to_linear_rgba(outColor);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef VERT_SHADER
|
||||
|
||||
#if VSR
|
||||
#extension GL_EXT_fragment_shading_rate: enable
|
||||
#endif
|
||||
|
||||
|
||||
layout (location = 0) in vec2 vPosition;
|
||||
layout (location = 1) in vec2 vUV;
|
||||
layout (location = 2) in int vShadingRate;
|
||||
|
||||
layout(location = 0) out vec2 outUV;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vPosition, 0.0, 1.0);
|
||||
outUV = vUV;
|
||||
#if VSR
|
||||
gl_PrimitiveShadingRateEXT = vShadingRate;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FRAG_SHADER
|
||||
|
||||
layout(set = 0, binding = 0) uniform sampler2D texSampler;
|
||||
|
||||
layout(location = 0) in vec2 inUV;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outColor = texture(texSampler, inUV).rgba;
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -1,179 +0,0 @@
|
||||
/*
|
||||
* Snapdragon™ Game Super Resolution
|
||||
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* https://github.com/SnapdragonStudios/snapdragon-gsr
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. Neither the name of the copyright holder nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#version 450
|
||||
|
||||
precision mediump float;
|
||||
precision highp int;
|
||||
|
||||
#define OperationMode 1
|
||||
|
||||
layout (constant_id = 0) const bool use_edge_direction = true;
|
||||
layout (constant_id = 1) const float edge_threshold = 4.0/255.0;
|
||||
layout (constant_id = 2) const float edge_sharpness = 2.0;
|
||||
|
||||
layout(set = 0, binding = 0) uniform mediump sampler2D texSampler;
|
||||
|
||||
layout(location = 0) in highp vec2 inUV;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
float fastLanczos2(float x)
|
||||
{
|
||||
float wA = x-4.0;
|
||||
float wB = x*wA-wA;
|
||||
wA *= wA;
|
||||
return wB*wA;
|
||||
}
|
||||
|
||||
vec2 weightY(float dx, float dy, float c, vec3 data)
|
||||
{
|
||||
float std = data.x;
|
||||
vec2 dir = data.yz;
|
||||
|
||||
float edgeDis = ((dx*dir.y)+(dy*dir.x));
|
||||
float x = (((dx*dx)+(dy*dy))+((edgeDis*edgeDis)*((clamp(((c*c)*std),0.0,1.0)*0.7)+-1.0)));
|
||||
|
||||
float w = fastLanczos2(x);
|
||||
return vec2(w, w * c);
|
||||
}
|
||||
|
||||
vec2 weightYned(float dx, float dy, float c, float std)
|
||||
{
|
||||
float x = ((dx*dx)+(dy* dy))* 0.55 + clamp(abs(c)*std, 0.0, 1.0);
|
||||
|
||||
float w = fastLanczos2(x);
|
||||
return vec2(w, w * c);
|
||||
}
|
||||
|
||||
vec2 edgeDirection(vec4 left, vec4 right)
|
||||
{
|
||||
vec2 dir;
|
||||
float RxLz = (right.x + (-left.z));
|
||||
float RwLy = (right.w + (-left.y));
|
||||
vec2 delta;
|
||||
delta.x = (RxLz + RwLy);
|
||||
delta.y = (RxLz + (-RwLy));
|
||||
float lengthInv = inversesqrt((delta.x * delta.x+ 3.075740e-05) + (delta.y * delta.y));
|
||||
dir.x = (delta.x * lengthInv);
|
||||
dir.y = (delta.y * lengthInv);
|
||||
return dir;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 color = textureLod(texSampler,inUV,0.0).xyzw;
|
||||
float alpha = color.a;
|
||||
|
||||
if (OperationMode == 1)
|
||||
color.a = 0.0;
|
||||
|
||||
if (OperationMode != 4)
|
||||
{
|
||||
vec2 dim = textureSize(texSampler, 0);
|
||||
vec4 viewportInfo = vec4(1/dim.x, 1/dim.y, dim.x, dim.y);
|
||||
|
||||
highp vec2 imgCoord = ((inUV.xy*viewportInfo.zw)+vec2(-0.5,0.5));
|
||||
highp vec2 imgCoordPixel = floor(imgCoord);
|
||||
highp vec2 coord = (imgCoordPixel*viewportInfo.xy);
|
||||
vec2 pl = (imgCoord+(-imgCoordPixel));
|
||||
vec4 left = textureGather(texSampler,coord, OperationMode);
|
||||
|
||||
float edgeVote = abs(left.z - left.y) + abs(color[OperationMode] - left.y) + abs(color[OperationMode] - left.z) ;
|
||||
if(edgeVote > edge_threshold)
|
||||
{
|
||||
coord.x += viewportInfo.x;
|
||||
|
||||
vec4 right = textureGather(texSampler,coord + vec2(viewportInfo.x, 0.0), OperationMode);
|
||||
vec4 upDown;
|
||||
upDown.xy = textureGather(texSampler,coord + vec2(0.0, -viewportInfo.y),OperationMode).wz;
|
||||
upDown.zw = textureGather(texSampler,coord + vec2(0.0, viewportInfo.y), OperationMode).yx;
|
||||
|
||||
float mean = (left.y+left.z+right.x+right.w)*0.25;
|
||||
left = left - vec4(mean);
|
||||
right = right - vec4(mean);
|
||||
upDown = upDown - vec4(mean);
|
||||
color.w =color[OperationMode] - mean;
|
||||
|
||||
float sum = (((((abs(left.x)+abs(left.y))+abs(left.z))+abs(left.w))+(((abs(right.x)+abs(right.y))+abs(right.z))+abs(right.w)))+(((abs(upDown.x)+abs(upDown.y))+abs(upDown.z))+abs(upDown.w)));
|
||||
float sumMean = 1.014185e+01/sum;
|
||||
float std = (sumMean*sumMean);
|
||||
|
||||
vec2 aWY;
|
||||
if (use_edge_direction) {
|
||||
vec3 data = vec3(std, edgeDirection(left, right));
|
||||
aWY = weightY(pl.x, pl.y+1.0, upDown.x,data);
|
||||
aWY += weightY(pl.x-1.0, pl.y+1.0, upDown.y,data);
|
||||
aWY += weightY(pl.x-1.0, pl.y-2.0, upDown.z,data);
|
||||
aWY += weightY(pl.x, pl.y-2.0, upDown.w,data);
|
||||
aWY += weightY(pl.x+1.0, pl.y-1.0, left.x,data);
|
||||
aWY += weightY(pl.x, pl.y-1.0, left.y,data);
|
||||
aWY += weightY(pl.x, pl.y, left.z,data);
|
||||
aWY += weightY(pl.x+1.0, pl.y, left.w,data);
|
||||
aWY += weightY(pl.x-1.0, pl.y-1.0, right.x,data);
|
||||
aWY += weightY(pl.x-2.0, pl.y-1.0, right.y,data);
|
||||
aWY += weightY(pl.x-2.0, pl.y, right.z,data);
|
||||
aWY += weightY(pl.x-1.0, pl.y, right.w,data);
|
||||
} else {
|
||||
aWY = weightYned(pl.x, pl.y+1.0, upDown.x,std);
|
||||
aWY += weightYned(pl.x-1.0, pl.y+1.0, upDown.y,std);
|
||||
aWY += weightYned(pl.x-1.0, pl.y-2.0, upDown.z,std);
|
||||
aWY += weightYned(pl.x, pl.y-2.0, upDown.w,std);
|
||||
aWY += weightYned(pl.x+1.0, pl.y-1.0, left.x,std);
|
||||
aWY += weightYned(pl.x, pl.y-1.0, left.y,std);
|
||||
aWY += weightYned(pl.x, pl.y, left.z,std);
|
||||
aWY += weightYned(pl.x+1.0, pl.y, left.w,std);
|
||||
aWY += weightYned(pl.x-1.0, pl.y-1.0, right.x,std);
|
||||
aWY += weightYned(pl.x-2.0, pl.y-1.0, right.y,std);
|
||||
aWY += weightYned(pl.x-2.0, pl.y, right.z,std);
|
||||
aWY += weightYned(pl.x-1.0, pl.y, right.w,std);
|
||||
}
|
||||
|
||||
float finalY = aWY.y/aWY.x;
|
||||
float maxY = max(max(left.y,left.z),max(right.x,right.w));
|
||||
float minY = min(min(left.y,left.z),min(right.x,right.w));
|
||||
float deltaY = clamp(edge_sharpness*finalY, minY, maxY) -color.w;
|
||||
|
||||
//smooth high contrast input
|
||||
deltaY = clamp(deltaY, -23.0 / 255.0, 23.0 / 255.0);
|
||||
|
||||
color.x = clamp((color.x+deltaY),0.0,1.0);
|
||||
color.y = clamp((color.y+deltaY),0.0,1.0);
|
||||
color.z = clamp((color.z+deltaY),0.0,1.0);
|
||||
}
|
||||
}
|
||||
|
||||
outColor = vec4(color.rgb, alpha);
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
#version 450
|
||||
#extension GL_ARB_shading_language_include : require
|
||||
#define VSR 1
|
||||
#include "reprojection.glsl.inc"
|
||||
|
||||
@@ -45,40 +45,16 @@ void main()
|
||||
|
||||
#ifdef FRAG_SHADER
|
||||
layout(binding = 0) uniform sampler2D texSampler;
|
||||
layout(constant_id = 0) const bool do_srgb = true;
|
||||
layout(constant_id = 1) const bool is_alpha = false;
|
||||
layout(constant_id = 0) const bool is_alpha = false;
|
||||
|
||||
layout(location = 0) in vec2 inUV;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
float sRGB_to_linear(float x)
|
||||
{
|
||||
if (x <= 0.04045)
|
||||
return x / 12.92;
|
||||
return pow((x + 0.055) / 1.055, 2.4);
|
||||
}
|
||||
|
||||
vec4 sRGB_to_linear_rgba(vec4 x)
|
||||
{
|
||||
return vec4(
|
||||
sRGB_to_linear(x.r),
|
||||
sRGB_to_linear(x.g),
|
||||
sRGB_to_linear(x.b),
|
||||
x.r);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
if (do_srgb)
|
||||
{
|
||||
outColor = sRGB_to_linear_rgba(texture(texSampler, inUV));
|
||||
}
|
||||
else
|
||||
{
|
||||
outColor = texture(texSampler, inUV);
|
||||
outColor.a = outColor.r;
|
||||
}
|
||||
outColor = texture(texSampler, inUV);
|
||||
outColor.a = outColor.r;
|
||||
if (!is_alpha)
|
||||
{
|
||||
outColor.a = 1;
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2024 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2024 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 "i18n.h"
|
||||
|
||||
#include "asset.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
extern std::map<std::string, std::vector<int>> glyph_set_per_language;
|
||||
|
||||
std::vector<boost::locale::gnu_gettext::messages_info> get_locales()
|
||||
{
|
||||
boost::locale::gnu_gettext::messages_info messages_info;
|
||||
messages_info.paths.push_back("locale");
|
||||
messages_info.encoding = "UTF-8";
|
||||
|
||||
messages_info.domains.push_back(boost::locale::gnu_gettext::messages_info::domain("wivrn"));
|
||||
messages_info.callback = open_locale_file;
|
||||
std::vector<boost::locale::gnu_gettext::messages_info> res;
|
||||
|
||||
messages_info.language = "en";
|
||||
messages_info.country = "US";
|
||||
res.push_back(messages_info);
|
||||
|
||||
for (const auto & [code, glyphs]: glyph_set_per_language)
|
||||
{
|
||||
auto pos = code.find("_");
|
||||
messages_info.language = code.substr(0, pos);
|
||||
if (pos == std::string::npos)
|
||||
messages_info.country = "";
|
||||
else
|
||||
messages_info.country = code.substr(pos + 1);
|
||||
res.push_back(messages_info);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
std::vector<char> open_locale_file(const std::string & file_name, const std::string & encoding)
|
||||
{
|
||||
std::vector<char> buffer;
|
||||
try
|
||||
{
|
||||
asset file(file_name);
|
||||
buffer.resize(file.size());
|
||||
memcpy(buffer.data(), file.data(), file.size());
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
|
||||
return buffer;
|
||||
}
|
||||
@@ -23,3 +23,6 @@
|
||||
#define _F(x) fmt::runtime(boost::locale::gettext(x))
|
||||
#define _S(x) boost::locale::gettext(x).c_str()
|
||||
#define _cS(c, x) boost::locale::pgettext(c, x).c_str()
|
||||
|
||||
std::vector<boost::locale::gnu_gettext::messages_info> get_locales();
|
||||
std::vector<char> open_locale_file(const std::string & file_name, const std::string & encoding);
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
#include "renderdoc.h"
|
||||
#include "renderdoc_app.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <iostream>
|
||||
|
||||
static RENDERDOC_API_1_0_0 * renderdoc_init()
|
||||
{
|
||||
RENDERDOC_API_1_0_0 * renderdoc_api = nullptr;
|
||||
auto renderdoc_module = dlopen("librenderdoc.so", RTLD_NOW | RTLD_NOLOAD);
|
||||
if (not renderdoc_module)
|
||||
return nullptr;
|
||||
auto * func = reinterpret_cast<pRENDERDOC_GetAPI>(dlsym(renderdoc_module, "RENDERDOC_GetAPI"));
|
||||
if (!func)
|
||||
{
|
||||
std::cerr << "Failed to load RENDERDOC_GetAPI function." << std::endl;
|
||||
return nullptr;
|
||||
}
|
||||
if (!func(eRENDERDOC_API_Version_1_0_0, reinterpret_cast<void **>(&renderdoc_api)))
|
||||
{
|
||||
std::cerr << "Failed to obtain RenderDoc 1.0.0 API." << std::endl;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int major, minor, patch;
|
||||
renderdoc_api->GetAPIVersion(&major, &minor, &patch);
|
||||
return renderdoc_api;
|
||||
}
|
||||
|
||||
static RENDERDOC_API_1_0_0 * get_renderdoc()
|
||||
{
|
||||
static RENDERDOC_API_1_0_0 * renderdoc_api = renderdoc_init();
|
||||
return renderdoc_api;
|
||||
}
|
||||
|
||||
void wivrn::renderdoc_begin(VkInstance inst)
|
||||
{
|
||||
if (auto renderdoc_api = get_renderdoc())
|
||||
renderdoc_api->StartFrameCapture(RENDERDOC_DEVICEPOINTER_FROM_VKINSTANCE(inst), nullptr);
|
||||
}
|
||||
void wivrn::renderdoc_end(VkInstance inst)
|
||||
{
|
||||
if (auto renderdoc_api = get_renderdoc())
|
||||
renderdoc_api->EndFrameCapture(RENDERDOC_DEVICEPOINTER_FROM_VKINSTANCE(inst), nullptr);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <vulkan/vulkan.h>
|
||||
namespace wivrn
|
||||
{
|
||||
void renderdoc_begin(VkInstance);
|
||||
void renderdoc_end(VkInstance);
|
||||
} // namespace wivrn
|
||||
@@ -18,12 +18,13 @@
|
||||
*/
|
||||
|
||||
#include "shader.h"
|
||||
#include "wivrn_shaders.h"
|
||||
|
||||
vk::raii::ShaderModule load_shader(vk::raii::Device & device, const std::vector<uint32_t> & spirv)
|
||||
{
|
||||
vk::ShaderModuleCreateInfo create_info{
|
||||
.codeSize = spirv.size() * sizeof(uint32_t),
|
||||
.pCode = data(spirv),
|
||||
.pCode = spirv.data(),
|
||||
};
|
||||
|
||||
return vk::raii::ShaderModule{device, create_info};
|
||||
|
||||
@@ -19,12 +19,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
extern const std::map<std::string, std::vector<uint32_t>> shaders;
|
||||
|
||||
vk::raii::ShaderModule load_shader(vk::raii::Device & device, const std::vector<uint32_t> & spirv);
|
||||
vk::raii::ShaderModule load_shader(vk::raii::Device & device, const std::string & name);
|
||||
|
||||
+102
-16
@@ -19,12 +19,15 @@
|
||||
|
||||
#include "instance.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "xr/details/enumerate.h"
|
||||
#include "xr/htc_exts.h"
|
||||
#include "xr/to_string.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <openxr/openxr.h>
|
||||
@@ -42,7 +45,54 @@ static XrBool32 debug_callback(
|
||||
return XR_FALSE;
|
||||
}
|
||||
|
||||
static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & info)
|
||||
namespace
|
||||
{
|
||||
struct version_info
|
||||
{
|
||||
std::set<const char *, std::less<>> promoted_extensions;
|
||||
std::set<const char *, std::less<>> removed_extensions;
|
||||
bool shall_request(std::string_view extension) const
|
||||
{
|
||||
return not(promoted_extensions.contains(extension) or removed_extensions.contains(extension));
|
||||
}
|
||||
static const std::map<XrVersion, version_info> versions;
|
||||
|
||||
static const version_info * get(XrVersion version)
|
||||
{
|
||||
auto it = versions.find(XR_MAKE_VERSION(XR_VERSION_MAJOR(version), XR_VERSION_MINOR(version), 0));
|
||||
if (it == versions.end())
|
||||
return nullptr;
|
||||
return &it->second;
|
||||
}
|
||||
};
|
||||
const std::map<XrVersion, version_info> version_info::versions = {{
|
||||
XR_MAKE_VERSION(1, 1, 0),
|
||||
{
|
||||
.promoted_extensions = {
|
||||
XR_KHR_LOCATE_SPACES_EXTENSION_NAME,
|
||||
XR_KHR_MAINTENANCE1_EXTENSION_NAME,
|
||||
XR_EXT_HP_MIXED_REALITY_CONTROLLER_EXTENSION_NAME,
|
||||
XR_EXT_LOCAL_FLOOR_EXTENSION_NAME,
|
||||
XR_EXT_PALM_POSE_EXTENSION_NAME,
|
||||
XR_EXT_SAMSUNG_ODYSSEY_CONTROLLER_EXTENSION_NAME,
|
||||
XR_EXT_UUID_EXTENSION_NAME,
|
||||
XR_BD_CONTROLLER_INTERACTION_EXTENSION_NAME,
|
||||
XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME,
|
||||
XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME,
|
||||
XR_ML_ML2_CONTROLLER_INTERACTION_EXTENSION_NAME,
|
||||
XR_VARJO_QUAD_VIEWS_EXTENSION_NAME,
|
||||
},
|
||||
.removed_extensions = {
|
||||
// Extensions that are included, but actually different
|
||||
XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME,
|
||||
XR_META_TOUCH_CONTROLLER_PLUS_EXTENSION_NAME,
|
||||
},
|
||||
},
|
||||
}};
|
||||
|
||||
} // namespace
|
||||
|
||||
static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & info, std::vector<const char *> & in_extensions)
|
||||
{
|
||||
XrResult res;
|
||||
for (XrVersion version: {
|
||||
@@ -50,11 +100,47 @@ static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & i
|
||||
XR_API_VERSION_1_0,
|
||||
})
|
||||
{
|
||||
switch (guess_model())
|
||||
{
|
||||
case model::htc_vive_focus_3:
|
||||
case model::htc_vive_xr_elite:
|
||||
case model::htc_vive_focus_vision:
|
||||
if (version > XR_API_VERSION_1_0)
|
||||
{
|
||||
spdlog::info("skip OpenXR 1.1 for HTC");
|
||||
continue;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
std::vector<const char *> extensions;
|
||||
info.applicationInfo.apiVersion = version;
|
||||
auto v_info = version_info::get(version);
|
||||
if (v_info)
|
||||
{
|
||||
std::ranges::copy_if(
|
||||
in_extensions,
|
||||
std::back_inserter(extensions),
|
||||
[v_info](const char * ext) { return v_info->shall_request(ext); });
|
||||
info.enabledExtensionNames = extensions.data();
|
||||
info.enabledExtensionCount = extensions.size();
|
||||
}
|
||||
else
|
||||
{
|
||||
info.enabledExtensionNames = in_extensions.data();
|
||||
info.enabledExtensionCount = in_extensions.size();
|
||||
}
|
||||
XrInstance inst;
|
||||
res = xrCreateInstance(&info, &inst);
|
||||
if (XR_SUCCEEDED(res))
|
||||
{
|
||||
if (v_info)
|
||||
{
|
||||
extensions.insert(extensions.end(), v_info->promoted_extensions.begin(), v_info->promoted_extensions.end());
|
||||
std::swap(in_extensions, extensions);
|
||||
}
|
||||
return {version, inst};
|
||||
}
|
||||
spdlog::info("Failed to create OpenXR instance version {}: {}",
|
||||
xr::to_string(version),
|
||||
xr::to_string(res));
|
||||
@@ -129,20 +215,6 @@ xr::instance::instance(std::string_view application_name, std::vector<const char
|
||||
#endif
|
||||
}
|
||||
|
||||
spdlog::info("Using OpenXR extensions:");
|
||||
for (auto & i: extensions)
|
||||
{
|
||||
uint32_t version = 0;
|
||||
for (auto & j: all_extensions)
|
||||
{
|
||||
if (!strcmp(j.extensionName, i))
|
||||
version = j.extensionVersion;
|
||||
}
|
||||
|
||||
loaded_extensions.emplace(i, version);
|
||||
spdlog::info(" {}", i);
|
||||
}
|
||||
|
||||
XrInstanceCreateInfo create_info{
|
||||
.type = XR_TYPE_INSTANCE_CREATE_INFO,
|
||||
.enabledApiLayerCount = (uint32_t)layers.size(),
|
||||
@@ -161,7 +233,21 @@ xr::instance::instance(std::string_view application_name, std::vector<const char
|
||||
create_info.next = &instanceCreateInfoAndroid;
|
||||
#endif
|
||||
|
||||
std::tie(api_version, id) = create_instance(create_info);
|
||||
std::tie(api_version, id) = create_instance(create_info, extensions);
|
||||
|
||||
spdlog::info("Using OpenXR extensions:");
|
||||
for (auto i: extensions)
|
||||
{
|
||||
uint32_t version = 0;
|
||||
for (auto & j: all_extensions)
|
||||
{
|
||||
if (!strcmp(j.extensionName, i))
|
||||
version = j.extensionVersion;
|
||||
}
|
||||
|
||||
loaded_extensions.emplace(i, version);
|
||||
spdlog::info(" {}", i);
|
||||
}
|
||||
|
||||
if (debug_utils_found)
|
||||
{
|
||||
|
||||
+55
-9
@@ -1,5 +1,8 @@
|
||||
set(_THIS_MODULE_BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
function(compile_glsl_aux shader_stage shader_name glsl_filename output)
|
||||
find_program(HEXDUMP hexdump REQUIRED)
|
||||
|
||||
function(compile_glsl_aux shader_stage shader_name glsl_filename output target_env)
|
||||
|
||||
string(TOUPPER ${shader_stage} shader_stage_upper)
|
||||
cmake_path(REPLACE_FILENAME output "${shader_name}.spv" OUTPUT_VARIABLE SPV_FILE)
|
||||
@@ -11,9 +14,28 @@ function(compile_glsl_aux shader_stage shader_name glsl_filename output)
|
||||
")
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${SPV_FILE}"
|
||||
COMMAND Vulkan::glslangValidator -V -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -x -o "${SPV_FILE}"
|
||||
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"
|
||||
DEPENDS "${glsl_filename}"
|
||||
DEPFILE "${SPV_FILE}.d"
|
||||
VERBATIM
|
||||
)
|
||||
if (WIVRN_OPTIMIZE_SHADERS)
|
||||
add_custom_command(
|
||||
OUTPUT "${SPV_FILE}-opt"
|
||||
COMMAND spirv-opt --target-env=${target_env} -O "${SPV_FILE}-nopt" -o "${SPV_FILE}-opt"
|
||||
DEPENDS "${SPV_FILE}-nopt"
|
||||
VERBATIM
|
||||
)
|
||||
set(_spv "${SPV_FILE}-opt")
|
||||
else()
|
||||
set(_spv "${SPV_FILE}-nopt")
|
||||
endif()
|
||||
set(_format "/4 \"0x%02X, \"")
|
||||
add_custom_command(
|
||||
OUTPUT "${SPV_FILE}"
|
||||
COMMAND "${HEXDUMP}" -ve "${_format}" ${_spv} > "${SPV_FILE}"
|
||||
DEPENDS "${_spv}"
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
@@ -30,33 +52,57 @@ endfunction()
|
||||
|
||||
|
||||
function(wivrn_compile_glsl target)
|
||||
set(options)
|
||||
set(oneValueArgs TARGET_ENV NAMESPACE)
|
||||
set(multiValueArgs SHADERS)
|
||||
cmake_parse_arguments(_args "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
if(NOT _args_TARGET_ENV)
|
||||
set(_args_TARGET_ENV vulkan1.0)
|
||||
endif()
|
||||
|
||||
if (_args_NAMESPACE)
|
||||
set(_namespace_begin "namespace ${_args_NAMESPACE} {")
|
||||
set(_namespace_end "}")
|
||||
endif()
|
||||
|
||||
cmake_path(APPEND OUTPUT "${CMAKE_CURRENT_BINARY_DIR}" "${target}_shaders.cpp")
|
||||
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${target}_shaders.h" "\
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
${_namespace_begin}
|
||||
extern const std::map<std::string, std::vector<uint32_t>> shaders;
|
||||
${_namespace_end}")
|
||||
|
||||
file(WRITE ${OUTPUT} "\
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
${_namespace_begin}
|
||||
extern const std::map<std::string, std::vector<uint32_t>> shaders = {
|
||||
")
|
||||
|
||||
foreach(in_file IN LISTS ARGN)
|
||||
if (in_file MATCHES "\.\(vert|frag|tesc|tese|geom|comp\)\.glsl$")
|
||||
foreach(in_file IN LISTS _args_SHADERS)
|
||||
if (in_file MATCHES "\.\(vert|frag|tesc|tese|geom|comp\)\(\.glsl\)?$")
|
||||
set(shader_stage ${CMAKE_MATCH_1})
|
||||
cmake_path(GET in_file STEM LAST_ONLY shader_name)
|
||||
compile_glsl_aux(${shader_stage} ${shader_name} ${in_file} ${OUTPUT})
|
||||
compile_glsl_aux(${shader_stage} ${shader_name} ${in_file} ${OUTPUT} ${_args_TARGET_ENV})
|
||||
else()
|
||||
cmake_path(GET in_file STEM LAST_ONLY shader_name)
|
||||
compile_glsl_aux(vert ${shader_name}.vert ${in_file} ${OUTPUT})
|
||||
compile_glsl_aux(frag ${shader_name}.frag ${in_file} ${OUTPUT})
|
||||
compile_glsl_aux(vert ${shader_name}.vert ${in_file} ${OUTPUT} ${_args_TARGET_ENV})
|
||||
compile_glsl_aux(frag ${shader_name}.frag ${in_file} ${OUTPUT} ${_args_TARGET_ENV})
|
||||
endif()
|
||||
|
||||
|
||||
endforeach()
|
||||
|
||||
file(APPEND ${OUTPUT} "};")
|
||||
file(APPEND ${OUTPUT} "};${_namespace_end}")
|
||||
|
||||
target_sources(${target} PRIVATE ${OUTPUT})
|
||||
target_include_directories(${target} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
endfunction()
|
||||
|
||||
@@ -13,7 +13,6 @@ execute_process(
|
||||
|
||||
if (GIT_DESC)
|
||||
string(STRIP ${GIT_DESC} GIT_DESC)
|
||||
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
|
||||
message(STATUS "Setting version to ${GIT_DESC} from git")
|
||||
else()
|
||||
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
|
||||
|
||||
@@ -7,7 +7,6 @@ else()
|
||||
endif()
|
||||
|
||||
if (GIT_DESC)
|
||||
string(REGEX REPLACE "^v([0-9])" "\\1" GIT_DESC ${GIT_DESC})
|
||||
configure_file(version.cpp.in version.cpp)
|
||||
else ()
|
||||
add_custom_target(wivrn-version ALL
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
#include <bit>
|
||||
#include <cairo.h>
|
||||
#include <fstream>
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <cctype>
|
||||
#include <iterator>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
extern const char git_version[];
|
||||
@@ -24,4 +27,12 @@ namespace wivrn
|
||||
|
||||
extern const char git_commit[];
|
||||
const char git_commit[] = "@GIT_COMMIT@";
|
||||
|
||||
const char* display_version()
|
||||
{
|
||||
if (std::size(git_version) > 2 and git_version[0] == 'v' and isdigit(git_version[1]))
|
||||
return git_version + 1;
|
||||
else
|
||||
return git_version;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,6 @@ namespace wivrn
|
||||
{
|
||||
extern const char git_version[];
|
||||
extern const char git_commit[];
|
||||
|
||||
const char * display_version();
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
// Default port for server to listen, both TCP and UDP
|
||||
static const int default_port = 9757;
|
||||
} // namespace wivrn
|
||||
|
||||
#cmakedefine01 WIVRN_USE_NVENC
|
||||
#cmakedefine01 WIVRN_USE_VAAPI
|
||||
#cmakedefine01 WIVRN_USE_VULKAN_ENCODE
|
||||
@@ -30,6 +36,7 @@
|
||||
#cmakedefine01 WIVRN_USE_PULSEAUDIO
|
||||
|
||||
#cmakedefine01 WIVRN_FEATURE_DEBUG_GUI
|
||||
#cmakedefine01 WIVRN_FEATURE_RENDERDOC
|
||||
#cmakedefine01 WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
|
||||
#cmakedefine01 WIVRN_FEATURE_SOLARXR
|
||||
|
||||
|
||||
+34
-6
@@ -38,10 +38,7 @@
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
// Default port for server to listen, both TCP and UDP
|
||||
static const int default_port = 9757;
|
||||
|
||||
static constexpr int protocol_revision = 1;
|
||||
static constexpr int protocol_revision = 2;
|
||||
|
||||
enum class device_id : uint8_t
|
||||
{
|
||||
@@ -168,6 +165,7 @@ enum video_codec
|
||||
h265,
|
||||
hevc = h265,
|
||||
av1,
|
||||
raw,
|
||||
};
|
||||
|
||||
struct audio_data
|
||||
@@ -234,6 +232,7 @@ struct headset_info_packet
|
||||
bool hand_tracking;
|
||||
bool eye_gaze;
|
||||
bool palm_pose;
|
||||
bool user_presence;
|
||||
bool passthrough;
|
||||
face_type face_tracking;
|
||||
uint32_t num_generic_trackers;
|
||||
@@ -460,6 +459,19 @@ struct start_app
|
||||
std::string app_id;
|
||||
};
|
||||
|
||||
struct get_running_applications
|
||||
{};
|
||||
|
||||
struct set_active_application
|
||||
{
|
||||
uint32_t id;
|
||||
};
|
||||
|
||||
struct stop_application
|
||||
{
|
||||
uint32_t id;
|
||||
};
|
||||
|
||||
using packets = std::variant<
|
||||
crypto_handshake,
|
||||
pin_check_1,
|
||||
@@ -482,7 +494,10 @@ using packets = std::variant<
|
||||
user_presence_changed,
|
||||
override_foveation_center,
|
||||
get_application_list,
|
||||
start_app>;
|
||||
start_app,
|
||||
get_running_applications,
|
||||
set_active_application,
|
||||
stop_application>;
|
||||
} // namespace from_headset
|
||||
|
||||
namespace to_headset
|
||||
@@ -690,6 +705,18 @@ struct application_icon
|
||||
std::vector<std::byte> image; // In PNG
|
||||
};
|
||||
|
||||
struct running_applications
|
||||
{
|
||||
struct application
|
||||
{
|
||||
std::string name;
|
||||
uint32_t id;
|
||||
bool overlay;
|
||||
bool active;
|
||||
};
|
||||
std::vector<application> applications;
|
||||
};
|
||||
|
||||
using packets = std::variant<
|
||||
crypto_handshake,
|
||||
pin_check_2,
|
||||
@@ -704,6 +731,7 @@ using packets = std::variant<
|
||||
tracking_control,
|
||||
refresh_rate_change,
|
||||
application_list,
|
||||
application_icon>;
|
||||
application_icon,
|
||||
running_applications>;
|
||||
} // namespace to_headset
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -16,6 +16,7 @@ add_executable(wivrn-dashboard
|
||||
rectangle_partitionner.cpp
|
||||
adb.cpp
|
||||
apk_installer.cpp
|
||||
firewall.cpp
|
||||
vulkan_info.cpp
|
||||
)
|
||||
|
||||
|
||||
@@ -42,9 +42,7 @@ bool apk_installer::isTagged() const
|
||||
|
||||
QString apk_installer::currentVersion() const
|
||||
{
|
||||
if (wivrn::git_version[0] == 'v')
|
||||
return &wivrn::git_version[1];
|
||||
return wivrn::git_version;
|
||||
return wivrn::display_version();
|
||||
}
|
||||
|
||||
QCoro::Task<> apk_installer::doRefreshLatestVersion()
|
||||
|
||||
@@ -0,0 +1,209 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "firewall.h"
|
||||
|
||||
#include "escape_sandbox.h"
|
||||
#include "utils/flatpak.h"
|
||||
#include "wivrn_config.h"
|
||||
|
||||
#include <QDBusInterface>
|
||||
#include <QDBusMetaType>
|
||||
#include <QDBusReply>
|
||||
#include <QDebug>
|
||||
#include <QStandardPaths>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
class firewall::Impl : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
virtual bool need_setup()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
virtual void do_setup() {}
|
||||
Q_SIGNALS:
|
||||
void needSetupChanged(bool);
|
||||
};
|
||||
|
||||
class ufw : public firewall::Impl
|
||||
{
|
||||
std::unique_ptr<QProcess> pkexec;
|
||||
static const std::filesystem::path conf;
|
||||
|
||||
public:
|
||||
bool need_setup() override
|
||||
{
|
||||
return not std::filesystem::exists(
|
||||
(wivrn::is_flatpak() ? "/run/host" : "/") / conf);
|
||||
}
|
||||
|
||||
void do_setup() override
|
||||
{
|
||||
pkexec = escape_sandbox("pkexec",
|
||||
"sh",
|
||||
"-c",
|
||||
"printf '[WiVRn]\\ntitle=WiVRn server\ndescription=WiVRn OpenXR streaming server\nports=" + std::to_string(wivrn::default_port) + "\n' > /" + conf.string() + " && ufw allow wivrn");
|
||||
pkexec->setProcessChannelMode(QProcess::MergedChannels);
|
||||
pkexec->start();
|
||||
|
||||
QObject::connect(pkexec.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
|
||||
if (exit_status != QProcess::NormalExit or exit_code)
|
||||
qWarning() << "ufw configuration exited with status" << exit_status << "and code" << exit_code;
|
||||
needSetupChanged(need_setup());
|
||||
pkexec.release()->deleteLater();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const std::filesystem::path ufw::conf = "etc/ufw/applications.d/wivrn";
|
||||
|
||||
class firewalld : public firewall::Impl
|
||||
{
|
||||
QDBusInterface fw = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1", QDBusConnection::systemBus());
|
||||
QDBusInterface zone = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1", "org.fedoraproject.FirewallD1.zone", QDBusConnection::systemBus());
|
||||
QDBusInterface conf = QDBusInterface("org.fedoraproject.FirewallD1", "/org/fedoraproject/FirewallD1/config", "org.fedoraproject.FirewallD1.config", QDBusConnection::systemBus());
|
||||
|
||||
public:
|
||||
bool enabled()
|
||||
{
|
||||
return fw.isValid();
|
||||
}
|
||||
|
||||
bool need_setup() override
|
||||
{
|
||||
QDBusReply<QStringList> res = zone.call("getServices", "");
|
||||
if (not res.isValid())
|
||||
{
|
||||
qWarning() << "Failed to list enabled firewalld services" << res.error();
|
||||
return false;
|
||||
}
|
||||
return not res.value().contains("wivrn");
|
||||
}
|
||||
|
||||
void do_setup() override
|
||||
{
|
||||
if (QDBusReply<void> res = fw.call("authorizeAll"); not res.isValid())
|
||||
{
|
||||
qWarning() << "Failed to get firewalld authorization: " << res.error();
|
||||
return;
|
||||
}
|
||||
// Check if configuration needs to be created
|
||||
QDBusReply<QStringList> res = conf.call("getServiceNames");
|
||||
if (not res.isValid())
|
||||
{
|
||||
qWarning() << "Failed to list firewalld services: " << res.error();
|
||||
return;
|
||||
}
|
||||
if (not res.value().contains("wivrn"))
|
||||
{
|
||||
qInfo() << "Creating firewalld wivrn service";
|
||||
QMap<QString, QVariant> map;
|
||||
|
||||
map["short"] = QString("WiVRn");
|
||||
map["description"] = QString("OpenXR streaming service");
|
||||
{
|
||||
QList<QVariant> ports;
|
||||
for (auto proto: {"tcp", "udp"})
|
||||
{
|
||||
QDBusArgument port;
|
||||
port.beginStructure();
|
||||
port << QString::number(wivrn::default_port) << QString(proto);
|
||||
port.endStructure();
|
||||
ports.push_back(QVariant::fromValue(port));
|
||||
}
|
||||
map["ports"] = ports;
|
||||
}
|
||||
if (QDBusReply<void> res = conf.call("addService2", "wivrn", map);
|
||||
not res.isValid())
|
||||
{
|
||||
qWarning() << "Failed to create firewalld wivrn service: " << res.error();
|
||||
return;
|
||||
}
|
||||
}
|
||||
QDBusReply<QString> default_zone = fw.call("getDefaultZone");
|
||||
if (not default_zone.isValid())
|
||||
{
|
||||
qWarning() << "Failed to get firewalld default zone: " << default_zone.error();
|
||||
return;
|
||||
}
|
||||
|
||||
QDBusReply<QDBusObjectPath> zone_path = conf.call("getZoneByName", default_zone.value());
|
||||
if (not zone_path.isValid())
|
||||
{
|
||||
qWarning() << "Failed to get firewalld zone " << default_zone.value() << " configuration: " << default_zone.error();
|
||||
return;
|
||||
}
|
||||
|
||||
QDBusInterface zone_conf = QDBusInterface("org.fedoraproject.FirewallD1", zone_path.value().path(), "org.fedoraproject.FirewallD1.config.zone", QDBusConnection::systemBus());
|
||||
|
||||
if (QDBusReply<void> res = zone_conf.call("addService", "wivrn"); not res.isValid())
|
||||
{
|
||||
qWarning() << "Failed to enable firewalld wivrn service: " << res.error();
|
||||
return;
|
||||
}
|
||||
|
||||
if (QDBusReply<void> res = fw.call("reload"); not res.isValid())
|
||||
qWarning() << "Failed to reload firewalld configuration: " << res.error();
|
||||
needSetupChanged(false);
|
||||
}
|
||||
};
|
||||
|
||||
std::unique_ptr<firewall::Impl> make_impl()
|
||||
{
|
||||
if (auto fwd = std::make_unique<firewalld>(); fwd->enabled())
|
||||
return fwd;
|
||||
|
||||
if (wivrn::is_flatpak())
|
||||
{
|
||||
if (not QStandardPaths::findExecutable(
|
||||
"ufw",
|
||||
QStringList({"/run/host/usr/sbin", "/run/host/usr/bin"}))
|
||||
.isEmpty())
|
||||
return std::make_unique<ufw>();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (not QStandardPaths::findExecutable("ufw").isEmpty())
|
||||
return std::make_unique<ufw>();
|
||||
}
|
||||
|
||||
return std::make_unique<firewall::Impl>();
|
||||
}
|
||||
|
||||
firewall::firewall() :
|
||||
impl(make_impl())
|
||||
{
|
||||
connect(impl.get(), &firewall::Impl::needSetupChanged, this, &firewall::needSetupChanged);
|
||||
}
|
||||
|
||||
firewall::~firewall() = default;
|
||||
|
||||
bool firewall::needSetup()
|
||||
{
|
||||
return impl->need_setup();
|
||||
}
|
||||
|
||||
void firewall::doSetup()
|
||||
{
|
||||
return impl->do_setup();
|
||||
}
|
||||
|
||||
#include "firewall.moc"
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QProcess>
|
||||
#include <QtQml/qqmlregistration.h>
|
||||
|
||||
class firewall : public QObject
|
||||
{
|
||||
public:
|
||||
class Impl;
|
||||
Q_OBJECT
|
||||
QML_NAMED_ELEMENT(Firewall)
|
||||
QML_SINGLETON
|
||||
|
||||
Q_PROPERTY(bool needSetup READ needSetup NOTIFY needSetupChanged)
|
||||
|
||||
private:
|
||||
std::unique_ptr<Impl> impl;
|
||||
|
||||
public:
|
||||
firewall();
|
||||
~firewall();
|
||||
bool needSetup();
|
||||
Q_INVOKABLE void doSetup();
|
||||
|
||||
Q_SIGNALS:
|
||||
void needSetupChanged(bool);
|
||||
};
|
||||
@@ -69,6 +69,16 @@
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="25.9" date="2025-09-17">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.9</url>
|
||||
<description>
|
||||
<ul>
|
||||
<li>GPU usage reduction on headset</li>
|
||||
<li>Disable face and body tracking when not used</li>
|
||||
<li>Fix black screen on Unreal Engine games</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="25.8" date="2025-08-10">
|
||||
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.8</url>
|
||||
<description>
|
||||
|
||||
+122
-102
@@ -25,12 +25,28 @@ Kirigami.ApplicationWindow {
|
||||
icon.source: Qt.resolvedUrl("wivrn.svg")
|
||||
onActivated: root.visible = !root.visible
|
||||
}
|
||||
|
||||
Component{
|
||||
id: error_template
|
||||
Kirigami.InlineMessage{
|
||||
visible: true
|
||||
property string where
|
||||
property string message
|
||||
|
||||
Layout.fillWidth: true
|
||||
text: where + (where ? "\n" : "") + message
|
||||
type: Kirigami.MessageType.Error
|
||||
showCloseButton: true
|
||||
}
|
||||
}
|
||||
|
||||
onClosing: Qt.quit()
|
||||
|
||||
Core.Settings {
|
||||
id: settings
|
||||
property alias first_run: root.first_run
|
||||
property alias last_run_version: root.last_run_version
|
||||
property bool show_system_checks: true
|
||||
}
|
||||
property bool first_run: true
|
||||
property string last_run_version
|
||||
@@ -62,7 +78,7 @@ Kirigami.ApplicationWindow {
|
||||
|
||||
if (root.first_run && started) {
|
||||
console.log("First run");
|
||||
root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"));
|
||||
root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject());
|
||||
root.first_run = false;
|
||||
}
|
||||
}
|
||||
@@ -72,18 +88,21 @@ Kirigami.ApplicationWindow {
|
||||
switch_pairing.checked = WivrnServer.pairingEnabled;
|
||||
}
|
||||
|
||||
// function onHeadsetConnectedChanged(value) {
|
||||
// if (value != root.prev_headset_connected) {
|
||||
// root.prev_headset_connected = value;
|
||||
//
|
||||
// if (value && root.pageStack.depth == 1)
|
||||
// root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"));
|
||||
// }
|
||||
// }
|
||||
|
||||
function onJsonConfigurationChanged() {
|
||||
config.load(WivrnServer);
|
||||
}
|
||||
|
||||
function onServerError(info) {
|
||||
console.log(info.where);
|
||||
console.log(info.message);
|
||||
messages.append(error_template.createObject(
|
||||
null,
|
||||
{
|
||||
where: info.where,
|
||||
message: info.message
|
||||
}
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
@@ -102,93 +121,102 @@ Kirigami.ApplicationWindow {
|
||||
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
|
||||
// type: Kirigami.MessageType.Warning
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: !WivrnServer.capSysNice
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
onTriggered: WivrnServer.grant_cap_sys_nice()
|
||||
Repeater{
|
||||
model: ObjectModel {
|
||||
id: messages
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The server does not have CAP_SYS_NICE capabilities.")
|
||||
// type: Kirigami.MessageType.Warning
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: settings.show_system_checks && !WivrnServer.capSysNice
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
onTriggered: WivrnServer.grant_cap_sys_nice()
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
id: restart_capsysnice
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: false
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18nc("restart the server", "Restart now")
|
||||
onTriggered: {
|
||||
WivrnServer.restart_server();
|
||||
restart_capsysnice.visible = false;
|
||||
}
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Firewall may not allow port 9757.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: settings.show_system_checks && Firewall.needSetup
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
onTriggered: Firewall.doSetup()
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
|
||||
type: Kirigami.MessageType.Error
|
||||
showCloseButton: true
|
||||
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("More info")
|
||||
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
|
||||
Kirigami.InlineMessage {
|
||||
id: restart_capsysnice
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted.")
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: false
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18nc("restart the server", "Restart now")
|
||||
onTriggered: {
|
||||
WivrnServer.restart_server();
|
||||
restart_capsysnice.visible = false;
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
id: message_failed_to_start
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Server failed to start")
|
||||
type: Kirigami.MessageType.Error
|
||||
showCloseButton: true
|
||||
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Open server logs")
|
||||
onTriggered: WivrnServer.open_server_logs()
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
|
||||
type: Kirigami.MessageType.Error
|
||||
showCloseButton: true
|
||||
visible: VulkanInfo.driverId == "NvidiaProprietary" && VulkanInfo.driverVersionCode < 2371043328 /* Version 565.77 */
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("More info")
|
||||
onTriggered: Qt.openUrlExternally("https://github.com/WiVRn/WiVRn/issues/180")
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
// RowLayout {
|
||||
// Controls.Button {
|
||||
// text: "refresh latest version"
|
||||
// onClicked: ApkInstaller.refreshLatestVersion()
|
||||
// }
|
||||
// Controls.Label {
|
||||
// text: "current version " + ApkInstaller.currentVersion + "\nlatest version " + ApkInstaller.latestVersion
|
||||
// }
|
||||
// }
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: VulkanInfo.driverId == "AmdProprietary" || VulkanInfo.driverId == "AmdOpenSource"
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
id: message_failed_to_start
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Server failed to start")
|
||||
type: Kirigami.MessageType.Error
|
||||
showCloseButton: true
|
||||
// visible: WivrnServer.serverStatus == WivrnServer.FailedToStart
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Open server logs")
|
||||
onTriggered: WivrnServer.open_server_logs()
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
columns: 2
|
||||
@@ -325,14 +353,14 @@ Kirigami.ApplicationWindow {
|
||||
Kirigami.Action {
|
||||
text: i18n("Wizard")
|
||||
icon.name: "tools-wizard-symbolic"
|
||||
onTriggered: root.pageStack.push(Qt.resolvedUrl("WizardPage.qml"))
|
||||
onTriggered: root.pageStack.push(Qt.createComponent("WizardPage.qml").createObject())
|
||||
visible: root.pageStack.depth == 1
|
||||
enabled: root.server_started
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: i18n("Install the app")
|
||||
icon.name: "install-symbolic"
|
||||
onTriggered: root.pageStack.push(Qt.resolvedUrl("ApkInstallPage.qml"))
|
||||
onTriggered: root.pageStack.push(Qt.createComponent("ApkInstallPage.qml").createObject())
|
||||
visible: root.pageStack.depth == 1
|
||||
enabled: root.server_started && Adb.adbInstalled
|
||||
tooltip: {
|
||||
@@ -343,32 +371,24 @@ Kirigami.ApplicationWindow {
|
||||
return "";
|
||||
}
|
||||
},
|
||||
// Kirigami.Action {
|
||||
// text: i18n("Statistics")
|
||||
// icon.name: "office-chart-line-symbolic"
|
||||
// onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetStatsPage.qml"))
|
||||
// visible: root.pageStack.depth == 1
|
||||
// enabled: root.server_started && Adb.adbInstalled && WivrnServer.headsetConnected
|
||||
// },
|
||||
|
||||
Kirigami.Action {
|
||||
text: i18n("Headsets")
|
||||
icon.name: "item-symbolic"
|
||||
onTriggered: root.pageStack.push(Qt.resolvedUrl("HeadsetsPage.qml"))
|
||||
onTriggered: root.pageStack.push(Qt.createComponent("HeadsetsPage.qml").createObject())
|
||||
visible: root.pageStack.depth == 1
|
||||
enabled: root.server_started
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: i18n("Settings")
|
||||
icon.name: "settings-configure-symbolic"
|
||||
onTriggered: root.pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
|
||||
onTriggered: root.pageStack.push(Qt.createComponent("SettingsPage.qml").createObject())
|
||||
visible: root.pageStack.depth == 1
|
||||
enabled: root.server_started
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: i18n("Troubleshoot")
|
||||
icon.name: "help-contents-symbolic"
|
||||
onTriggered: root.pageStack.push(Qt.resolvedUrl("TroubleshootPage.qml"))
|
||||
onTriggered: root.pageStack.push(Qt.createComponent("TroubleshootPage.qml").createObject())
|
||||
enabled: root.pageStack.depth == 1
|
||||
}
|
||||
]
|
||||
|
||||
@@ -22,6 +22,7 @@ Kirigami.ScrollablePage {
|
||||
Core.Settings {
|
||||
property alias adb_custom: settings.adb_custom
|
||||
property alias adb_location: settings.adb_location
|
||||
property alias show_system_checks: show_system_checks.checked
|
||||
}
|
||||
property bool adb_custom
|
||||
property string adb_location
|
||||
@@ -129,15 +130,9 @@ Kirigami.ScrollablePage {
|
||||
},
|
||||
{
|
||||
width: 0.5,
|
||||
height: 0.75,
|
||||
height: 1,
|
||||
offset_x: 0.5,
|
||||
offset_y: 0
|
||||
},
|
||||
{
|
||||
width: 0.5,
|
||||
height: 0.25,
|
||||
offset_x: 0.5,
|
||||
offset_y: 0.75
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -154,15 +149,9 @@ Kirigami.ScrollablePage {
|
||||
},
|
||||
{
|
||||
width: 0.5,
|
||||
height: 0.75,
|
||||
height: 1,
|
||||
offset_x: 0,
|
||||
offset_y: 0
|
||||
},
|
||||
{
|
||||
width: 0.5,
|
||||
height: 0.25,
|
||||
offset_x: 0,
|
||||
offset_y: 0.75
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -320,6 +309,10 @@ Kirigami.ScrollablePage {
|
||||
level: 1
|
||||
type: Kirigami.Heading.Type.Primary
|
||||
}
|
||||
Controls.CheckBox {
|
||||
id: show_system_checks
|
||||
text: i18n("Check system configuration on start")
|
||||
}
|
||||
Controls.CheckBox {
|
||||
id: debug_gui
|
||||
text: i18n("Enable debug window")
|
||||
@@ -484,6 +477,7 @@ Kirigami.ScrollablePage {
|
||||
scale_slider.value = Math.round(100 - config.scale * 100);
|
||||
manual_foveation.checked = true;
|
||||
} else {
|
||||
scale_slider.value = 50;
|
||||
manual_foveation.checked = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,15 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
TroubleshootCard {
|
||||
title: i18n("I cannot see my computer in the WiVRn app")
|
||||
details: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
|
||||
details: i18n("If you have a firewall, make sure that port 5353/UDP is open.")
|
||||
}
|
||||
TroubleshootCard {
|
||||
title: i18n("Connecting remains stuck on \"Connection to ...\"")
|
||||
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
|
||||
}
|
||||
TroubleshootCard {
|
||||
title: i18n("Connection fails with \"no route to host\"")
|
||||
details: i18n("If you have a firewall, make sure that port 9757 is open both for TCP and UDP.")
|
||||
}
|
||||
TroubleshootCard {
|
||||
title: i18n("I have an \"Incompatible WiVRn server\" error on my headset")
|
||||
|
||||
@@ -390,7 +390,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
BetterLabel {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("If the server is not visible or the connection fails, check that port 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
|
||||
text: i18n("If the server is not visible or the connection fails, check that ports 5353 (UDP) and 9757 (TCP and UDP) are open in your firewall.")
|
||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||
}
|
||||
Item {
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#if WIVRN_CHECK_CAPSYSNICE
|
||||
#include <sys/capability.h>
|
||||
@@ -256,6 +257,7 @@ void wivrn_server::on_server_dbus_registered()
|
||||
server_properties_interface = std::make_unique<OrgFreedesktopDBusPropertiesInterface>("io.github.wivrn.Server", "/io/github/wivrn/Server", QDBusConnection::sessionBus(), this);
|
||||
|
||||
connect(server_properties_interface.get(), &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, &wivrn_server::on_server_properties_changed);
|
||||
connect(server_interface.get(), &IoGithubWivrnServerInterface::ServerError, [this](const QString & w, const QString & m) { serverError(serverErrorData(w, m)); });
|
||||
|
||||
serverStatusChanged(m_serverStatus = Status::Started);
|
||||
refresh_server_properties();
|
||||
|
||||
@@ -122,6 +122,23 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class serverErrorData
|
||||
{
|
||||
Q_GADGET
|
||||
QML_VALUE_TYPE(serverError)
|
||||
|
||||
Q_PROPERTY(QString where MEMBER m_where CONSTANT)
|
||||
Q_PROPERTY(QString message MEMBER m_message CONSTANT)
|
||||
|
||||
QString m_where;
|
||||
QString m_message;
|
||||
|
||||
public:
|
||||
serverErrorData() = default;
|
||||
serverErrorData(QString where, QString message) :
|
||||
m_where(where), m_message(message) {}
|
||||
};
|
||||
|
||||
class wivrn_server : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -380,4 +397,5 @@ Q_SIGNALS:
|
||||
void supportedCodecsChanged(QStringList);
|
||||
void steamCommandChanged(QString);
|
||||
void serverLogsChanged(QString);
|
||||
void serverError(serverErrorData);
|
||||
};
|
||||
|
||||
@@ -73,5 +73,10 @@
|
||||
</property>
|
||||
<property name="PairingEnabled" type="b" access="read"/>
|
||||
<property name="EncryptionEnabled" type="b" access="read"/>
|
||||
|
||||
<signal name="ServerError">
|
||||
<arg type="s" name="where"/>
|
||||
<arg type="s" name="message"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
@@ -8,6 +8,8 @@ Files are read from
|
||||
|
||||
Files later in the list replace top-level values from previous ones.
|
||||
|
||||
If you installed WiVRn from a flatpack, the config is in `$HOME/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json`.
|
||||
|
||||
All elements are optional and have default values.
|
||||
|
||||
## `scale`
|
||||
@@ -44,7 +46,7 @@ Bit depth of the video. 8-bit is supported by all encoders. 10-bit is supported
|
||||
## `encoders`
|
||||
A list of encoders to use.
|
||||
|
||||
Default value: 3 encoders in order 1/8th, 3/8th and 4/8th of the image.
|
||||
Default value: one encoder per eye
|
||||
|
||||
WiVRn has the ability to split the video in blocks that are 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.
|
||||
@@ -61,8 +63,8 @@ Identifier of the encoder, one of
|
||||
### `codec`
|
||||
Default value: first supported by both headset and encoder of `av1`, `h264`, `h265`.
|
||||
|
||||
One of `h264`, `h265` or `av1`.
|
||||
Not all encoders support every codec, `x264` and `vulkan` only support `h264`.
|
||||
One of `h264`, `h265`, `av1`, `raw`.
|
||||
Not all encoders support every codec, `x264` and `vulkan` only support `h264`. For `raw` codec, only `raw` encoder can be used.
|
||||
|
||||
### `width`, `height`, `offset_x`, `offset_y` (advanced)
|
||||
Default values: full image (`width` = 1, `height` = 1, `offset_x` = 0, `offset_y` = 0)
|
||||
@@ -158,7 +160,8 @@ Json object of additional options to pass directly to ffmpeg `avcodec_open2`'s `
|
||||
|
||||
## `encoder-passthrough`
|
||||
|
||||
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets.
|
||||
The single encoder used for passthrough (transparency), contains the same elements as the other encoders, except for width/height and offsets which are ignored.
|
||||
Default values are those computed for the first encoder.
|
||||
|
||||
## `application`
|
||||
Default value: unset
|
||||
|
||||
+2
-1
@@ -10,8 +10,9 @@ If using Lokalize, make sure to erase the "Default mailing list" in the settings
|
||||
# Adding a new language
|
||||
|
||||
* Run `tools/update_messages.sh LANG` where LANG is the 2 letter [ISO 639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code, this will create files in the `locale` directory for the new language. Fill in the fields, `git add` the files, commit and file a pull request.
|
||||
* (optional) Edit the `tools/check_po.py`, add to the `countries` mapping a value with the language code on the left and the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) code of a flag on the right. The flag will only be used for continuous integration messages.
|
||||
|
||||
# Editing existing translations
|
||||
|
||||
Run the `tools/update_messages.sh [lang...]` script with the list of languages you wish to edit, this will add the lines for the missing translations, edit them, then `git add` the files for the language you just edited, commit and file a pull request.
|
||||
|
||||
Note: when running wivrn-dashboard from the build folder, it will load translation files from system install so local modifications won't be loaded. You can override it by setting `XDG_DATA_DIRS=<build-dir>/dashboard/share/:$XDG_DATA_DIRS for `wivrn-dashboard`
|
||||
|
||||
Vendored
+741
@@ -0,0 +1,741 @@
|
||||
/******************************************************************************
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019-2024 Baldur Karlsson
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Documentation for the API is available at https://renderdoc.org/docs/in_application_api.html
|
||||
//
|
||||
|
||||
#if !defined(RENDERDOC_NO_STDINT)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
|
||||
#define RENDERDOC_CC __cdecl
|
||||
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
#define RENDERDOC_CC
|
||||
#elif defined(__APPLE__)
|
||||
#define RENDERDOC_CC
|
||||
#else
|
||||
#error "Unknown platform"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Constants not used directly in below API
|
||||
|
||||
// This is a GUID/magic value used for when applications pass a path where shader debug
|
||||
// information can be found to match up with a stripped shader.
|
||||
// the define can be used like so: const GUID RENDERDOC_ShaderDebugMagicValue =
|
||||
// RENDERDOC_ShaderDebugMagicValue_value
|
||||
#define RENDERDOC_ShaderDebugMagicValue_struct \
|
||||
{ \
|
||||
0xeab25520, 0x6670, 0x4865, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
|
||||
}
|
||||
|
||||
// as an alternative when you want a byte array (assuming x86 endianness):
|
||||
#define RENDERDOC_ShaderDebugMagicValue_bytearray \
|
||||
{ \
|
||||
0x20, 0x55, 0xb2, 0xea, 0x70, 0x66, 0x65, 0x48, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
|
||||
}
|
||||
|
||||
// truncated version when only a uint64_t is available (e.g. Vulkan tags):
|
||||
#define RENDERDOC_ShaderDebugMagicValue_truncated 0x48656670eab25520ULL
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc capture options
|
||||
//
|
||||
|
||||
typedef enum RENDERDOC_CaptureOption
|
||||
{
|
||||
// Allow the application to enable vsync
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - The application can enable or disable vsync at will
|
||||
// 0 - vsync is force disabled
|
||||
eRENDERDOC_Option_AllowVSync = 0,
|
||||
|
||||
// Allow the application to enable fullscreen
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - The application can enable or disable fullscreen at will
|
||||
// 0 - fullscreen is force disabled
|
||||
eRENDERDOC_Option_AllowFullscreen = 1,
|
||||
|
||||
// Record API debugging events and messages
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Enable built-in API debugging features and records the results into
|
||||
// the capture, which is matched up with events on replay
|
||||
// 0 - no API debugging is forcibly enabled
|
||||
eRENDERDOC_Option_APIValidation = 2,
|
||||
eRENDERDOC_Option_DebugDeviceMode = 2, // deprecated name of this enum
|
||||
|
||||
// Capture CPU callstacks for API events
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Enables capturing of callstacks
|
||||
// 0 - no callstacks are captured
|
||||
eRENDERDOC_Option_CaptureCallstacks = 3,
|
||||
|
||||
// When capturing CPU callstacks, only capture them from actions.
|
||||
// This option does nothing without the above option being enabled
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Only captures callstacks for actions.
|
||||
// Ignored if CaptureCallstacks is disabled
|
||||
// 0 - Callstacks, if enabled, are captured for every event.
|
||||
eRENDERDOC_Option_CaptureCallstacksOnlyDraws = 4,
|
||||
eRENDERDOC_Option_CaptureCallstacksOnlyActions = 4,
|
||||
|
||||
// Specify a delay in seconds to wait for a debugger to attach, after
|
||||
// creating or injecting into a process, before continuing to allow it to run.
|
||||
//
|
||||
// 0 indicates no delay, and the process will run immediately after injection
|
||||
//
|
||||
// Default - 0 seconds
|
||||
//
|
||||
eRENDERDOC_Option_DelayForDebugger = 5,
|
||||
|
||||
// Verify buffer access. This includes checking the memory returned by a Map() call to
|
||||
// detect any out-of-bounds modification, as well as initialising buffers with undefined contents
|
||||
// to a marker value to catch use of uninitialised memory.
|
||||
//
|
||||
// NOTE: This option is only valid for OpenGL and D3D11. Explicit APIs such as D3D12 and Vulkan do
|
||||
// not do the same kind of interception & checking and undefined contents are really undefined.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Verify buffer access
|
||||
// 0 - No verification is performed, and overwriting bounds may cause crashes or corruption in
|
||||
// RenderDoc.
|
||||
eRENDERDOC_Option_VerifyBufferAccess = 6,
|
||||
|
||||
// The old name for eRENDERDOC_Option_VerifyBufferAccess was eRENDERDOC_Option_VerifyMapWrites.
|
||||
// This option now controls the filling of uninitialised buffers with 0xdddddddd which was
|
||||
// previously always enabled
|
||||
eRENDERDOC_Option_VerifyMapWrites = eRENDERDOC_Option_VerifyBufferAccess,
|
||||
|
||||
// Hooks any system API calls that create child processes, and injects
|
||||
// RenderDoc into them recursively with the same options.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - Hooks into spawned child processes
|
||||
// 0 - Child processes are not hooked by RenderDoc
|
||||
eRENDERDOC_Option_HookIntoChildren = 7,
|
||||
|
||||
// By default RenderDoc only includes resources in the final capture necessary
|
||||
// for that frame, this allows you to override that behaviour.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - all live resources at the time of capture are included in the capture
|
||||
// and available for inspection
|
||||
// 0 - only the resources referenced by the captured frame are included
|
||||
eRENDERDOC_Option_RefAllResources = 8,
|
||||
|
||||
// **NOTE**: As of RenderDoc v1.1 this option has been deprecated. Setting or
|
||||
// getting it will be ignored, to allow compatibility with older versions.
|
||||
// In v1.1 the option acts as if it's always enabled.
|
||||
//
|
||||
// By default RenderDoc skips saving initial states for resources where the
|
||||
// previous contents don't appear to be used, assuming that writes before
|
||||
// reads indicate previous contents aren't used.
|
||||
//
|
||||
// Default - disabled
|
||||
//
|
||||
// 1 - initial contents at the start of each captured frame are saved, even if
|
||||
// they are later overwritten or cleared before being used.
|
||||
// 0 - unless a read is detected, initial contents will not be saved and will
|
||||
// appear as black or empty data.
|
||||
eRENDERDOC_Option_SaveAllInitials = 9,
|
||||
|
||||
// In APIs that allow for the recording of command lists to be replayed later,
|
||||
// RenderDoc may choose to not capture command lists before a frame capture is
|
||||
// triggered, to reduce overheads. This means any command lists recorded once
|
||||
// and replayed many times will not be available and may cause a failure to
|
||||
// capture.
|
||||
//
|
||||
// NOTE: This is only true for APIs where multithreading is difficult or
|
||||
// discouraged. Newer APIs like Vulkan and D3D12 will ignore this option
|
||||
// and always capture all command lists since the API is heavily oriented
|
||||
// around it and the overheads have been reduced by API design.
|
||||
//
|
||||
// 1 - All command lists are captured from the start of the application
|
||||
// 0 - Command lists are only captured if their recording begins during
|
||||
// the period when a frame capture is in progress.
|
||||
eRENDERDOC_Option_CaptureAllCmdLists = 10,
|
||||
|
||||
// Mute API debugging output when the API validation mode option is enabled
|
||||
//
|
||||
// Default - enabled
|
||||
//
|
||||
// 1 - Mute any API debug messages from being displayed or passed through
|
||||
// 0 - API debugging is displayed as normal
|
||||
eRENDERDOC_Option_DebugOutputMute = 11,
|
||||
|
||||
// Option to allow vendor extensions to be used even when they may be
|
||||
// incompatible with RenderDoc and cause corrupted replays or crashes.
|
||||
//
|
||||
// Default - inactive
|
||||
//
|
||||
// No values are documented, this option should only be used when absolutely
|
||||
// necessary as directed by a RenderDoc developer.
|
||||
eRENDERDOC_Option_AllowUnsupportedVendorExtensions = 12,
|
||||
|
||||
// Define a soft memory limit which some APIs may aim to keep overhead under where
|
||||
// possible. Anything above this limit will where possible be saved directly to disk during
|
||||
// capture.
|
||||
// This will cause increased disk space use (which may cause a capture to fail if disk space is
|
||||
// exhausted) as well as slower capture times.
|
||||
//
|
||||
// Not all memory allocations may be deferred like this so it is not a guarantee of a memory
|
||||
// limit.
|
||||
//
|
||||
// Units are in MBs, suggested values would range from 200MB to 1000MB.
|
||||
//
|
||||
// Default - 0 Megabytes
|
||||
eRENDERDOC_Option_SoftMemoryLimit = 13,
|
||||
} RENDERDOC_CaptureOption;
|
||||
|
||||
// Sets an option that controls how RenderDoc behaves on capture.
|
||||
//
|
||||
// Returns 1 if the option and value are valid
|
||||
// Returns 0 if either is invalid and the option is unchanged
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionF32)(RENDERDOC_CaptureOption opt, float val);
|
||||
|
||||
// Gets the current value of an option as a uint32_t
|
||||
//
|
||||
// If the option is invalid, 0xffffffff is returned
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionU32)(RENDERDOC_CaptureOption opt);
|
||||
|
||||
// Gets the current value of an option as a float
|
||||
//
|
||||
// If the option is invalid, -FLT_MAX is returned
|
||||
typedef float(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionF32)(RENDERDOC_CaptureOption opt);
|
||||
|
||||
typedef enum RENDERDOC_InputButton
|
||||
{
|
||||
// '0' - '9' matches ASCII values
|
||||
eRENDERDOC_Key_0 = 0x30,
|
||||
eRENDERDOC_Key_1 = 0x31,
|
||||
eRENDERDOC_Key_2 = 0x32,
|
||||
eRENDERDOC_Key_3 = 0x33,
|
||||
eRENDERDOC_Key_4 = 0x34,
|
||||
eRENDERDOC_Key_5 = 0x35,
|
||||
eRENDERDOC_Key_6 = 0x36,
|
||||
eRENDERDOC_Key_7 = 0x37,
|
||||
eRENDERDOC_Key_8 = 0x38,
|
||||
eRENDERDOC_Key_9 = 0x39,
|
||||
|
||||
// 'A' - 'Z' matches ASCII values
|
||||
eRENDERDOC_Key_A = 0x41,
|
||||
eRENDERDOC_Key_B = 0x42,
|
||||
eRENDERDOC_Key_C = 0x43,
|
||||
eRENDERDOC_Key_D = 0x44,
|
||||
eRENDERDOC_Key_E = 0x45,
|
||||
eRENDERDOC_Key_F = 0x46,
|
||||
eRENDERDOC_Key_G = 0x47,
|
||||
eRENDERDOC_Key_H = 0x48,
|
||||
eRENDERDOC_Key_I = 0x49,
|
||||
eRENDERDOC_Key_J = 0x4A,
|
||||
eRENDERDOC_Key_K = 0x4B,
|
||||
eRENDERDOC_Key_L = 0x4C,
|
||||
eRENDERDOC_Key_M = 0x4D,
|
||||
eRENDERDOC_Key_N = 0x4E,
|
||||
eRENDERDOC_Key_O = 0x4F,
|
||||
eRENDERDOC_Key_P = 0x50,
|
||||
eRENDERDOC_Key_Q = 0x51,
|
||||
eRENDERDOC_Key_R = 0x52,
|
||||
eRENDERDOC_Key_S = 0x53,
|
||||
eRENDERDOC_Key_T = 0x54,
|
||||
eRENDERDOC_Key_U = 0x55,
|
||||
eRENDERDOC_Key_V = 0x56,
|
||||
eRENDERDOC_Key_W = 0x57,
|
||||
eRENDERDOC_Key_X = 0x58,
|
||||
eRENDERDOC_Key_Y = 0x59,
|
||||
eRENDERDOC_Key_Z = 0x5A,
|
||||
|
||||
// leave the rest of the ASCII range free
|
||||
// in case we want to use it later
|
||||
eRENDERDOC_Key_NonPrintable = 0x100,
|
||||
|
||||
eRENDERDOC_Key_Divide,
|
||||
eRENDERDOC_Key_Multiply,
|
||||
eRENDERDOC_Key_Subtract,
|
||||
eRENDERDOC_Key_Plus,
|
||||
|
||||
eRENDERDOC_Key_F1,
|
||||
eRENDERDOC_Key_F2,
|
||||
eRENDERDOC_Key_F3,
|
||||
eRENDERDOC_Key_F4,
|
||||
eRENDERDOC_Key_F5,
|
||||
eRENDERDOC_Key_F6,
|
||||
eRENDERDOC_Key_F7,
|
||||
eRENDERDOC_Key_F8,
|
||||
eRENDERDOC_Key_F9,
|
||||
eRENDERDOC_Key_F10,
|
||||
eRENDERDOC_Key_F11,
|
||||
eRENDERDOC_Key_F12,
|
||||
|
||||
eRENDERDOC_Key_Home,
|
||||
eRENDERDOC_Key_End,
|
||||
eRENDERDOC_Key_Insert,
|
||||
eRENDERDOC_Key_Delete,
|
||||
eRENDERDOC_Key_PageUp,
|
||||
eRENDERDOC_Key_PageDn,
|
||||
|
||||
eRENDERDOC_Key_Backspace,
|
||||
eRENDERDOC_Key_Tab,
|
||||
eRENDERDOC_Key_PrtScrn,
|
||||
eRENDERDOC_Key_Pause,
|
||||
|
||||
eRENDERDOC_Key_Max,
|
||||
} RENDERDOC_InputButton;
|
||||
|
||||
// Sets which key or keys can be used to toggle focus between multiple windows
|
||||
//
|
||||
// If keys is NULL or num is 0, toggle keys will be disabled
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetFocusToggleKeys)(RENDERDOC_InputButton *keys, int num);
|
||||
|
||||
// Sets which key or keys can be used to capture the next frame
|
||||
//
|
||||
// If keys is NULL or num is 0, captures keys will be disabled
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureKeys)(RENDERDOC_InputButton *keys, int num);
|
||||
|
||||
typedef enum RENDERDOC_OverlayBits
|
||||
{
|
||||
// This single bit controls whether the overlay is enabled or disabled globally
|
||||
eRENDERDOC_Overlay_Enabled = 0x1,
|
||||
|
||||
// Show the average framerate over several seconds as well as min/max
|
||||
eRENDERDOC_Overlay_FrameRate = 0x2,
|
||||
|
||||
// Show the current frame number
|
||||
eRENDERDOC_Overlay_FrameNumber = 0x4,
|
||||
|
||||
// Show a list of recent captures, and how many captures have been made
|
||||
eRENDERDOC_Overlay_CaptureList = 0x8,
|
||||
|
||||
// Default values for the overlay mask
|
||||
eRENDERDOC_Overlay_Default = (eRENDERDOC_Overlay_Enabled | eRENDERDOC_Overlay_FrameRate |
|
||||
eRENDERDOC_Overlay_FrameNumber | eRENDERDOC_Overlay_CaptureList),
|
||||
|
||||
// Enable all bits
|
||||
eRENDERDOC_Overlay_All = ~0U,
|
||||
|
||||
// Disable all bits
|
||||
eRENDERDOC_Overlay_None = 0,
|
||||
} RENDERDOC_OverlayBits;
|
||||
|
||||
// returns the overlay bits that have been set
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetOverlayBits)();
|
||||
// sets the overlay bits with an and & or mask
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_MaskOverlayBits)(uint32_t And, uint32_t Or);
|
||||
|
||||
// this function will attempt to remove RenderDoc's hooks in the application.
|
||||
//
|
||||
// Note: that this can only work correctly if done immediately after
|
||||
// the module is loaded, before any API work happens. RenderDoc will remove its
|
||||
// injected hooks and shut down. Behaviour is undefined if this is called
|
||||
// after any API functions have been called, and there is still no guarantee of
|
||||
// success.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_RemoveHooks)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.4.1 headers.
|
||||
typedef pRENDERDOC_RemoveHooks pRENDERDOC_Shutdown;
|
||||
|
||||
// This function will unload RenderDoc's crash handler.
|
||||
//
|
||||
// If you use your own crash handler and don't want RenderDoc's handler to
|
||||
// intercede, you can call this function to unload it and any unhandled
|
||||
// exceptions will pass to the next handler.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_UnloadCrashHandler)();
|
||||
|
||||
// Sets the capture file path template
|
||||
//
|
||||
// pathtemplate is a UTF-8 string that gives a template for how captures will be named
|
||||
// and where they will be saved.
|
||||
//
|
||||
// Any extension is stripped off the path, and captures are saved in the directory
|
||||
// specified, and named with the filename and the frame number appended. If the
|
||||
// directory does not exist it will be created, including any parent directories.
|
||||
//
|
||||
// If pathtemplate is NULL, the template will remain unchanged
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// SetCaptureFilePathTemplate("my_captures/example");
|
||||
//
|
||||
// Capture #1 -> my_captures/example_frame123.rdc
|
||||
// Capture #2 -> my_captures/example_frame456.rdc
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFilePathTemplate)(const char *pathtemplate);
|
||||
|
||||
// returns the current capture path template, see SetCaptureFileTemplate above, as a UTF-8 string
|
||||
typedef const char *(RENDERDOC_CC *pRENDERDOC_GetCaptureFilePathTemplate)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.1.2 headers.
|
||||
typedef pRENDERDOC_SetCaptureFilePathTemplate pRENDERDOC_SetLogFilePathTemplate;
|
||||
typedef pRENDERDOC_GetCaptureFilePathTemplate pRENDERDOC_GetLogFilePathTemplate;
|
||||
|
||||
// returns the number of captures that have been made
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetNumCaptures)();
|
||||
|
||||
// This function returns the details of a capture, by index. New captures are added
|
||||
// to the end of the list.
|
||||
//
|
||||
// filename will be filled with the absolute path to the capture file, as a UTF-8 string
|
||||
// pathlength will be written with the length in bytes of the filename string
|
||||
// timestamp will be written with the time of the capture, in seconds since the Unix epoch
|
||||
//
|
||||
// Any of the parameters can be NULL and they'll be skipped.
|
||||
//
|
||||
// The function will return 1 if the capture index is valid, or 0 if the index is invalid
|
||||
// If the index is invalid, the values will be unchanged
|
||||
//
|
||||
// Note: when captures are deleted in the UI they will remain in this list, so the
|
||||
// capture path may not exist anymore.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCapture)(uint32_t idx, char *filename,
|
||||
uint32_t *pathlength, uint64_t *timestamp);
|
||||
|
||||
// Sets the comments associated with a capture file. These comments are displayed in the
|
||||
// UI program when opening.
|
||||
//
|
||||
// filePath should be a path to the capture file to add comments to. If set to NULL or ""
|
||||
// the most recent capture file created made will be used instead.
|
||||
// comments should be a NULL-terminated UTF-8 string to add as comments.
|
||||
//
|
||||
// Any existing comments will be overwritten.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFileComments)(const char *filePath,
|
||||
const char *comments);
|
||||
|
||||
// returns 1 if the RenderDoc UI is connected to this application, 0 otherwise
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsTargetControlConnected)();
|
||||
|
||||
// DEPRECATED: compatibility for code compiled against pre-1.1.1 headers.
|
||||
// This was renamed to IsTargetControlConnected in API 1.1.1, the old typedef is kept here for
|
||||
// backwards compatibility with old code, it is castable either way since it's ABI compatible
|
||||
// as the same function pointer type.
|
||||
typedef pRENDERDOC_IsTargetControlConnected pRENDERDOC_IsRemoteAccessConnected;
|
||||
|
||||
// This function will launch the Replay UI associated with the RenderDoc library injected
|
||||
// into the running application.
|
||||
//
|
||||
// if connectTargetControl is 1, the Replay UI will be launched with a command line parameter
|
||||
// to connect to this application
|
||||
// cmdline is the rest of the command line, as a UTF-8 string. E.g. a captures to open
|
||||
// if cmdline is NULL, the command line will be empty.
|
||||
//
|
||||
// returns the PID of the replay UI if successful, 0 if not successful.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_LaunchReplayUI)(uint32_t connectTargetControl,
|
||||
const char *cmdline);
|
||||
|
||||
// RenderDoc can return a higher version than requested if it's backwards compatible,
|
||||
// this function returns the actual version returned. If a parameter is NULL, it will be
|
||||
// ignored and the others will be filled out.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_GetAPIVersion)(int *major, int *minor, int *patch);
|
||||
|
||||
// Requests that the replay UI show itself (if hidden or not the current top window). This can be
|
||||
// used in conjunction with IsTargetControlConnected and LaunchReplayUI to intelligently handle
|
||||
// showing the UI after making a capture.
|
||||
//
|
||||
// This will return 1 if the request was successfully passed on, though it's not guaranteed that
|
||||
// the UI will be on top in all cases depending on OS rules. It will return 0 if there is no current
|
||||
// target control connection to make such a request, or if there was another error
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_ShowReplayUI)();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Capturing functions
|
||||
//
|
||||
|
||||
// A device pointer is a pointer to the API's root handle.
|
||||
//
|
||||
// This would be an ID3D11Device, HGLRC/GLXContext, ID3D12Device, etc
|
||||
typedef void *RENDERDOC_DevicePointer;
|
||||
|
||||
// A window handle is the OS's native window handle
|
||||
//
|
||||
// This would be an HWND, GLXDrawable, etc
|
||||
typedef void *RENDERDOC_WindowHandle;
|
||||
|
||||
// A helper macro for Vulkan, where the device handle cannot be used directly.
|
||||
//
|
||||
// Passing the VkInstance to this macro will return the RENDERDOC_DevicePointer to use.
|
||||
//
|
||||
// Specifically, the value needed is the dispatch table pointer, which sits as the first
|
||||
// pointer-sized object in the memory pointed to by the VkInstance. Thus we cast to a void** and
|
||||
// indirect once.
|
||||
#define RENDERDOC_DEVICEPOINTER_FROM_VKINSTANCE(inst) (*((void **)(inst)))
|
||||
|
||||
// This sets the RenderDoc in-app overlay in the API/window pair as 'active' and it will
|
||||
// respond to keypresses. Neither parameter can be NULL
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetActiveWindow)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// capture the next frame on whichever window and API is currently considered active
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_TriggerCapture)();
|
||||
|
||||
// capture the next N frames on whichever window and API is currently considered active
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_TriggerMultiFrameCapture)(uint32_t numFrames);
|
||||
|
||||
// When choosing either a device pointer or a window handle to capture, you can pass NULL.
|
||||
// Passing NULL specifies a 'wildcard' match against anything. This allows you to specify
|
||||
// any API rendering to a specific window, or a specific API instance rendering to any window,
|
||||
// or in the simplest case of one window and one API, you can just pass NULL for both.
|
||||
//
|
||||
// In either case, if there are two or more possible matching (device,window) pairs it
|
||||
// is undefined which one will be captured.
|
||||
//
|
||||
// Note: for headless rendering you can pass NULL for the window handle and either specify
|
||||
// a device pointer or leave it NULL as above.
|
||||
|
||||
// Immediately starts capturing API calls on the specified device pointer and window handle.
|
||||
//
|
||||
// If there is no matching thing to capture (e.g. no supported API has been initialised),
|
||||
// this will do nothing.
|
||||
//
|
||||
// The results are undefined (including crashes) if two captures are started overlapping,
|
||||
// even on separate devices and/oror windows.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_StartFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Returns whether or not a frame capture is currently ongoing anywhere.
|
||||
//
|
||||
// This will return 1 if a capture is ongoing, and 0 if there is no capture running
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsFrameCapturing)();
|
||||
|
||||
// Ends capturing immediately.
|
||||
//
|
||||
// This will return 1 if the capture succeeded, and 0 if there was an error capturing.
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_EndFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Ends capturing immediately and discard any data stored without saving to disk.
|
||||
//
|
||||
// This will return 1 if the capture was discarded, and 0 if there was an error or no capture
|
||||
// was in progress
|
||||
typedef uint32_t(RENDERDOC_CC *pRENDERDOC_DiscardFrameCapture)(RENDERDOC_DevicePointer device,
|
||||
RENDERDOC_WindowHandle wndHandle);
|
||||
|
||||
// Only valid to be called between a call to StartFrameCapture and EndFrameCapture. Gives a custom
|
||||
// title to the capture produced which will be displayed in the UI.
|
||||
//
|
||||
// If multiple captures are ongoing, this title will be applied to the first capture to end after
|
||||
// this call. The second capture to end will have no title, unless this function is called again.
|
||||
//
|
||||
// Calling this function has no effect if no capture is currently running, and if it is called
|
||||
// multiple times only the last title will be used.
|
||||
typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureTitle)(const char *title);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc API versions
|
||||
//
|
||||
|
||||
// RenderDoc uses semantic versioning (http://semver.org/).
|
||||
//
|
||||
// MAJOR version is incremented when incompatible API changes happen.
|
||||
// MINOR version is incremented when functionality is added in a backwards-compatible manner.
|
||||
// PATCH version is incremented when backwards-compatible bug fixes happen.
|
||||
//
|
||||
// Note that this means the API returned can be higher than the one you might have requested.
|
||||
// e.g. if you are running against a newer RenderDoc that supports 1.0.1, it will be returned
|
||||
// instead of 1.0.0. You can check this with the GetAPIVersion entry point
|
||||
typedef enum RENDERDOC_Version
|
||||
{
|
||||
eRENDERDOC_API_Version_1_0_0 = 10000, // RENDERDOC_API_1_0_0 = 1 00 00
|
||||
eRENDERDOC_API_Version_1_0_1 = 10001, // RENDERDOC_API_1_0_1 = 1 00 01
|
||||
eRENDERDOC_API_Version_1_0_2 = 10002, // RENDERDOC_API_1_0_2 = 1 00 02
|
||||
eRENDERDOC_API_Version_1_1_0 = 10100, // RENDERDOC_API_1_1_0 = 1 01 00
|
||||
eRENDERDOC_API_Version_1_1_1 = 10101, // RENDERDOC_API_1_1_1 = 1 01 01
|
||||
eRENDERDOC_API_Version_1_1_2 = 10102, // RENDERDOC_API_1_1_2 = 1 01 02
|
||||
eRENDERDOC_API_Version_1_2_0 = 10200, // RENDERDOC_API_1_2_0 = 1 02 00
|
||||
eRENDERDOC_API_Version_1_3_0 = 10300, // RENDERDOC_API_1_3_0 = 1 03 00
|
||||
eRENDERDOC_API_Version_1_4_0 = 10400, // RENDERDOC_API_1_4_0 = 1 04 00
|
||||
eRENDERDOC_API_Version_1_4_1 = 10401, // RENDERDOC_API_1_4_1 = 1 04 01
|
||||
eRENDERDOC_API_Version_1_4_2 = 10402, // RENDERDOC_API_1_4_2 = 1 04 02
|
||||
eRENDERDOC_API_Version_1_5_0 = 10500, // RENDERDOC_API_1_5_0 = 1 05 00
|
||||
eRENDERDOC_API_Version_1_6_0 = 10600, // RENDERDOC_API_1_6_0 = 1 06 00
|
||||
} RENDERDOC_Version;
|
||||
|
||||
// API version changelog:
|
||||
//
|
||||
// 1.0.0 - initial release
|
||||
// 1.0.1 - Bugfix: IsFrameCapturing() was returning false for captures that were triggered
|
||||
// by keypress or TriggerCapture, instead of Start/EndFrameCapture.
|
||||
// 1.0.2 - Refactor: Renamed eRENDERDOC_Option_DebugDeviceMode to eRENDERDOC_Option_APIValidation
|
||||
// 1.1.0 - Add feature: TriggerMultiFrameCapture(). Backwards compatible with 1.0.x since the new
|
||||
// function pointer is added to the end of the struct, the original layout is identical
|
||||
// 1.1.1 - Refactor: Renamed remote access to target control (to better disambiguate from remote
|
||||
// replay/remote server concept in replay UI)
|
||||
// 1.1.2 - Refactor: Renamed "log file" in function names to just capture, to clarify that these
|
||||
// are captures and not debug logging files. This is the first API version in the v1.0
|
||||
// branch.
|
||||
// 1.2.0 - Added feature: SetCaptureFileComments() to add comments to a capture file that will be
|
||||
// displayed in the UI program on load.
|
||||
// 1.3.0 - Added feature: New capture option eRENDERDOC_Option_AllowUnsupportedVendorExtensions
|
||||
// which allows users to opt-in to allowing unsupported vendor extensions to function.
|
||||
// Should be used at the user's own risk.
|
||||
// Refactor: Renamed eRENDERDOC_Option_VerifyMapWrites to
|
||||
// eRENDERDOC_Option_VerifyBufferAccess, which now also controls initialisation to
|
||||
// 0xdddddddd of uninitialised buffer contents.
|
||||
// 1.4.0 - Added feature: DiscardFrameCapture() to discard a frame capture in progress and stop
|
||||
// capturing without saving anything to disk.
|
||||
// 1.4.1 - Refactor: Renamed Shutdown to RemoveHooks to better clarify what is happening
|
||||
// 1.4.2 - Refactor: Renamed 'draws' to 'actions' in callstack capture option.
|
||||
// 1.5.0 - Added feature: ShowReplayUI() to request that the replay UI show itself if connected
|
||||
// 1.6.0 - Added feature: SetCaptureTitle() which can be used to set a title for a
|
||||
// capture made with StartFrameCapture() or EndFrameCapture()
|
||||
|
||||
typedef struct RENDERDOC_API_1_6_0
|
||||
{
|
||||
pRENDERDOC_GetAPIVersion GetAPIVersion;
|
||||
|
||||
pRENDERDOC_SetCaptureOptionU32 SetCaptureOptionU32;
|
||||
pRENDERDOC_SetCaptureOptionF32 SetCaptureOptionF32;
|
||||
|
||||
pRENDERDOC_GetCaptureOptionU32 GetCaptureOptionU32;
|
||||
pRENDERDOC_GetCaptureOptionF32 GetCaptureOptionF32;
|
||||
|
||||
pRENDERDOC_SetFocusToggleKeys SetFocusToggleKeys;
|
||||
pRENDERDOC_SetCaptureKeys SetCaptureKeys;
|
||||
|
||||
pRENDERDOC_GetOverlayBits GetOverlayBits;
|
||||
pRENDERDOC_MaskOverlayBits MaskOverlayBits;
|
||||
|
||||
// Shutdown was renamed to RemoveHooks in 1.4.1.
|
||||
// These unions allow old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
pRENDERDOC_Shutdown Shutdown;
|
||||
pRENDERDOC_RemoveHooks RemoveHooks;
|
||||
};
|
||||
pRENDERDOC_UnloadCrashHandler UnloadCrashHandler;
|
||||
|
||||
// Get/SetLogFilePathTemplate was renamed to Get/SetCaptureFilePathTemplate in 1.1.2.
|
||||
// These unions allow old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_SetLogFilePathTemplate SetLogFilePathTemplate;
|
||||
// current name
|
||||
pRENDERDOC_SetCaptureFilePathTemplate SetCaptureFilePathTemplate;
|
||||
};
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_GetLogFilePathTemplate GetLogFilePathTemplate;
|
||||
// current name
|
||||
pRENDERDOC_GetCaptureFilePathTemplate GetCaptureFilePathTemplate;
|
||||
};
|
||||
|
||||
pRENDERDOC_GetNumCaptures GetNumCaptures;
|
||||
pRENDERDOC_GetCapture GetCapture;
|
||||
|
||||
pRENDERDOC_TriggerCapture TriggerCapture;
|
||||
|
||||
// IsRemoteAccessConnected was renamed to IsTargetControlConnected in 1.1.1.
|
||||
// This union allows old code to continue compiling without changes
|
||||
union
|
||||
{
|
||||
// deprecated name
|
||||
pRENDERDOC_IsRemoteAccessConnected IsRemoteAccessConnected;
|
||||
// current name
|
||||
pRENDERDOC_IsTargetControlConnected IsTargetControlConnected;
|
||||
};
|
||||
pRENDERDOC_LaunchReplayUI LaunchReplayUI;
|
||||
|
||||
pRENDERDOC_SetActiveWindow SetActiveWindow;
|
||||
|
||||
pRENDERDOC_StartFrameCapture StartFrameCapture;
|
||||
pRENDERDOC_IsFrameCapturing IsFrameCapturing;
|
||||
pRENDERDOC_EndFrameCapture EndFrameCapture;
|
||||
|
||||
// new function in 1.1.0
|
||||
pRENDERDOC_TriggerMultiFrameCapture TriggerMultiFrameCapture;
|
||||
|
||||
// new function in 1.2.0
|
||||
pRENDERDOC_SetCaptureFileComments SetCaptureFileComments;
|
||||
|
||||
// new function in 1.4.0
|
||||
pRENDERDOC_DiscardFrameCapture DiscardFrameCapture;
|
||||
|
||||
// new function in 1.5.0
|
||||
pRENDERDOC_ShowReplayUI ShowReplayUI;
|
||||
|
||||
// new function in 1.6.0
|
||||
pRENDERDOC_SetCaptureTitle SetCaptureTitle;
|
||||
} RENDERDOC_API_1_6_0;
|
||||
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_2_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_3_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_0;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_1;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_2;
|
||||
typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_5_0;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// RenderDoc API entry point
|
||||
//
|
||||
// This entry point can be obtained via GetProcAddress/dlsym if RenderDoc is available.
|
||||
//
|
||||
// The name is the same as the typedef - "RENDERDOC_GetAPI"
|
||||
//
|
||||
// This function is not thread safe, and should not be called on multiple threads at once.
|
||||
// Ideally, call this once as early as possible in your application's startup, before doing
|
||||
// any API work, since some configuration functionality etc has to be done also before
|
||||
// initialising any APIs.
|
||||
//
|
||||
// Parameters:
|
||||
// version is a single value from the RENDERDOC_Version above.
|
||||
//
|
||||
// outAPIPointers will be filled out with a pointer to the corresponding struct of function
|
||||
// pointers.
|
||||
//
|
||||
// Returns:
|
||||
// 1 - if the outAPIPointers has been filled with a pointer to the API struct requested
|
||||
// 0 - if the requested version is not supported or the arguments are invalid.
|
||||
//
|
||||
typedef int(RENDERDOC_CC *pRENDERDOC_GetAPI)(RENDERDOC_Version version, void **outAPIPointers);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
Generated
+9
-9
@@ -5,11 +5,11 @@
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1751413152,
|
||||
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
|
||||
"lastModified": 1756770412,
|
||||
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
|
||||
"rev": "4524271976b625a4a605beefd893f270620fd751",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1751271578,
|
||||
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
|
||||
"lastModified": 1758690382,
|
||||
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
|
||||
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -36,11 +36,11 @@
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1751159883,
|
||||
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
|
||||
"lastModified": 1754788789,
|
||||
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
|
||||
"rev": "a73b9c743612e4244d865a2fdee11865283c04e6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -21,9 +21,26 @@
|
||||
pkgs.libpng
|
||||
pkgs.libarchive
|
||||
];
|
||||
extraNativeBuildInputs = [
|
||||
pkgs.util-linux
|
||||
];
|
||||
|
||||
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
|
||||
src = ./.;
|
||||
# Filter the directories and files we don't need to keep to avoid needless rebuilds
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type: let
|
||||
baseName = baseNameOf (toString name);
|
||||
in
|
||||
(lib.cleanSourceFilter name type) &&
|
||||
!(
|
||||
(type == "directory" && (
|
||||
baseName == ".direnv"
|
||||
|| baseName == ".cxx"
|
||||
|| lib.hasPrefix "build" baseName))
|
||||
|| baseName == ".envrc"
|
||||
);
|
||||
src = ./.;
|
||||
};
|
||||
version = "next";
|
||||
|
||||
# Because src is just a folder path and not a set from a fetcher, it doesn't need to be unpacked, so having a postUnpack throws an error.
|
||||
@@ -41,23 +58,12 @@
|
||||
# Keep in sync with CMakeLists.txt monado rev
|
||||
rev = builtins.readFile ./monado-rev;
|
||||
# Nix will output the correct hash when it doesn't match
|
||||
hash = "sha256-4P/ejRAitrYn8hXZPaDOcx27utfm+aVLjtqL6JxZYAg=";
|
||||
hash = "sha256-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs=";
|
||||
};
|
||||
};
|
||||
|
||||
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapQtApp "$out/bin/wivrn-dashboard" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.vulkan-loader ]}
|
||||
'';
|
||||
postFixup = null;
|
||||
|
||||
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
|
||||
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug")
|
||||
];
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
|
||||
}));
|
||||
in {
|
||||
packages = {
|
||||
|
||||
@@ -26,8 +26,9 @@ finish-args:
|
||||
# List applications from $XDG_DATA_DIRS
|
||||
- --filesystem=host-os:ro
|
||||
- --filesystem=xdg-data/applications:ro
|
||||
# List Steam games
|
||||
- --filesystem=xdg-data/Steam:ro
|
||||
# List flatpak Steam games
|
||||
- --filesystem=~/.steam:ro
|
||||
- --filesystem=~/.var/app/com.valvesoftware.Steam:ro
|
||||
# Pipewire
|
||||
- --filesystem=xdg-run/pipewire-0
|
||||
@@ -37,6 +38,10 @@ finish-args:
|
||||
# Let outside application access the WiVRn socket
|
||||
- --filesystem=xdg-run/wivrn:create
|
||||
- --own-name=io.github.wivrn.Server
|
||||
# Check firewall configuration
|
||||
- --filesystem=host-etc
|
||||
- --system-talk-name=org.fedoraproject.FirewallD1
|
||||
- --system-talk-name=org.fedoraproject.FirewallD1.config
|
||||
# QSystemTrayIcon
|
||||
- --talk-name=org.kde.StatusNotifierWatcher
|
||||
# Run processes outside of sandbox
|
||||
@@ -280,7 +285,7 @@ modules:
|
||||
sources:
|
||||
- type: git
|
||||
url: https://gitlab.com/znixian/OpenOVR.git
|
||||
tag: 538639b86c5c71223f11040b09479e5c0a83078c
|
||||
tag: cff07db75c4823afe93ed7027b03d5f7bc86f164
|
||||
|
||||
- name: xrizer
|
||||
buildsystem: simple
|
||||
|
||||
+150
-116
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
|
||||
"PO-Revision-Date: 2025-08-06 19:20+0200\n"
|
||||
"POT-Creation-Date: 2025-10-11 19:53+0200\n"
|
||||
"PO-Revision-Date: 2025-10-11 20:58+0200\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
@@ -17,49 +17,49 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Gtranslator 49.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Descargando APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Descargando APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Descarga cancelada"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "No se puede descargar el APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Instalando APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "Error al iniciar adb: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb salió anormalmente: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "El comando 'adb install' falló: código de salida %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalación completada con éxito"
|
||||
@@ -85,8 +85,8 @@ msgstr "Comprobando la última versión..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "No hay ningún APK precompilado disponible para esta versión."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB no está instalado."
|
||||
@@ -109,7 +109,7 @@ msgstr ""
|
||||
"propio cliente."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -135,7 +135,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Visores"
|
||||
@@ -180,7 +180,7 @@ msgstr "Renombrar"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
@@ -200,7 +200,7 @@ msgstr "Eliminar"
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Emparejamiento habilitado, PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Deshabilitar emparejamiento"
|
||||
@@ -217,7 +217,7 @@ msgstr ""
|
||||
"Habilita el emparejamiento para permitir que tu visor se conecte a este "
|
||||
"ordenador"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Habilitar emparejamiento"
|
||||
@@ -232,28 +232,33 @@ msgstr "Emparejar un nuevo visor"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estadísticas del visor"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "El servidor no tiene capacidades CAP_SYS_NICE."
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Arreglarlo"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "El firewall podría no permitir el puerto 9757."
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "La capacidad CAP_SYS_NICE se utilizará cuando el servidor se reinicie."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar ahora"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
@@ -261,12 +266,12 @@ msgstr ""
|
||||
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
|
||||
"versión actual es %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Más información"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -275,7 +280,7 @@ msgstr ""
|
||||
"Usa el controlador Mesa (radv) para las GPU AMD\n"
|
||||
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -285,76 +290,76 @@ msgstr ""
|
||||
"en VR.\n"
|
||||
"Instala xrizer o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "El servidor no pudo iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir registros del servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "En ejecución"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Emparejando"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar por USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr ""
|
||||
"No hay ningún visor conectado o tu visor no está en modo desarrollador."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Información de Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Asistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Solucionar problemas"
|
||||
@@ -377,23 +382,23 @@ msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Foveación manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Fuerza de foveación:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -414,65 +419,65 @@ msgstr ""
|
||||
"Los valores recomendados están entre 20% y 50% para visores sin seguimiento "
|
||||
"ocular y entre 50% y 70% para visores con seguimiento ocular."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Más débil"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Más fuerte"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Tasa de bits:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "Configuración del codificador:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "Manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Preajuste predeterminado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Preajuste de baja latencia"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Preajuste seguro"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -482,84 +487,89 @@ msgstr ""
|
||||
"clic cerca de un borde.\n"
|
||||
"Arrastra un borde para cambiar el tamaño o eliminar codificadores."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Codificador"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD y Intel GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (codificación por software)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Códec"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opciones avanzadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Comprobar configuración del sistema al iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Habilitar ventana de depuración"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -573,44 +583,44 @@ msgstr ""
|
||||
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
|
||||
"Una herramienta externa como motoc será necesaria para la calibración."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Ruta de adb personalizada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Ruta de adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Librería de compatibilidad para OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
|
||||
@@ -647,7 +657,7 @@ msgstr "Comando de lanzamiento de Steam copiado"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "No puedo encontrar la aplicación WiVRn en mi visor"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -661,21 +671,36 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "No puedo ver mi computadora en la aplicación WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
|
||||
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr "Si tienes un firewall, asegurate de tener el puerto 5353/UDP abierto."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "Conectando se queda atascado en \"Conexión a ...\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"Si tienes un firewall, asegurate de que el puerto 9757 esté abierto tanto \n"
|
||||
"para TCP como UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "La conexión falla con un \"no route to host\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
@@ -686,12 +711,12 @@ msgstr ""
|
||||
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
|
||||
"pagina \"About\"</li><li>La versión del servidor es <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "Tengo un error de \"El emparejamiento está desactivado\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
@@ -700,22 +725,22 @@ msgstr ""
|
||||
"Si has reinstalado el servidor o el cliente o si quieres conectar otro "
|
||||
"visor, debes habilitar el emparejamiento antes de conectar."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "El emparejamiento está actualmente habilitado con el PIN %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "El emparejamiento está actualmente desactivado."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "No tengo sonido en mi visor"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -724,12 +749,12 @@ msgstr ""
|
||||
"Cuando el visor esté conectado, selecciona \"WiVRn\" como dispositivo de "
|
||||
"salida de audio predeterminado para que las aplicaciones lo utilicen."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Reportar un problema"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Pregunta en Discord"
|
||||
@@ -740,9 +765,9 @@ msgid "Getting started"
|
||||
msgstr "Comenzando"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Atrás"
|
||||
@@ -762,8 +787,8 @@ msgstr ""
|
||||
"computadora."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Siguiente"
|
||||
@@ -861,12 +886,12 @@ msgstr ""
|
||||
"La aplicación que elijas se iniciará automáticamente cuando conectes tu "
|
||||
"visor."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Información importante"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
@@ -875,12 +900,12 @@ msgstr ""
|
||||
"WiVRn sustituye completamente a SteamVR, no deberías iniciar SteamVR "
|
||||
"mientras WiVRn esté en ejecución"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Inicia la aplicación WiVRn en tu visor"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -889,32 +914,41 @@ msgstr ""
|
||||
"Para conectarte por WiFi, inicia la aplicación WiVRn en tu visor, conéctate "
|
||||
"a \"%1\" y ingresa el PIN \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Para conectarte por USB, haz clic en \"Conectar por USB\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Solución de problemas"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Si el servidor no es visible o la conexión falla, verifica que el puerto "
|
||||
"5353 (UDP) y el 9757 (TCP y UDP) estén abiertos en tu firewall."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Saltar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Conexión establecida"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Tu visor está ahora conectado."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -923,22 +957,22 @@ msgstr ""
|
||||
"Para conectar otro visor, asegúrate de que el emparejamiento esté habilitado "
|
||||
"en el panel antes de conectar."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Finalizar"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+211
-174
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 15:49+0200\n"
|
||||
"PO-Revision-Date: 2025-08-10 17:11+0200\n"
|
||||
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
|
||||
"PO-Revision-Date: 2025-09-28 22:27+0200\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
@@ -14,12 +14,37 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Gtranslator 49.0\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Formato de swapchain no compatible"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado al servidor WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connectado a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
|
||||
"retransmisión"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión"
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatible: no hay campo de protocolo en TXT"
|
||||
@@ -43,97 +68,72 @@ msgstr "No se puede conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Calidad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "Conexión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexión a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Ingresa el PIN que se muestra en el panel de control"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado al servidor WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connectado a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
|
||||
"retransmisión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "Dirección"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "Puerto"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -141,32 +141,45 @@ msgstr ""
|
||||
"Inicia un servidor WiVRn en tu\n"
|
||||
"red local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "Conexión automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versión del servidor incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor no disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Español"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "Idioma"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "Idioma del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frecuencia de actualización"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automática"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -175,61 +188,61 @@ msgstr ""
|
||||
"aplicación.\n"
|
||||
"Puede causar parpadeos cuando ocurre un cambio."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Tasa mínima de refresco"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolución"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} por ojo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "La resolución mayor que {}x{} podría no ser compatible con el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activar micrófono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Entrada de audio sin procesar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Forzar la deshabilitación de filtros de audio, asi como la cancelación de "
|
||||
"ruido"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Esta función no es compatible con tu visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activar seguimiento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activar seguimiento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Habilitar seguimiento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -240,11 +253,11 @@ msgstr ""
|
||||
"si no el seguimiento corporal será medido por la posición de los controles y "
|
||||
"el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Habilitar seguimiento de cintura para abajo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -255,11 +268,11 @@ msgstr ""
|
||||
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
|
||||
"movimiento de Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Habilitar seguimiento de cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -267,19 +280,31 @@ msgstr ""
|
||||
"Solo es funcional si tiene habilitado el seguimiento de cintura para abajo.\n"
|
||||
"Puede ser necesario si está usando otro metodo para seguir la cintura"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Activar video passthrough en el lobby"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar ventana mientras se juega"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Permite que la ventana de configuración se muestre mientras se juega.\n"
|
||||
"Si se habilita, la ventana se activará al presionar ambos joysticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-procesamiento de OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Sobremuestreo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -288,11 +313,11 @@ msgstr ""
|
||||
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -301,171 +326,125 @@ msgstr ""
|
||||
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
|
||||
"visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"En este visor, está opción ha sido reemplazada totalmente por la nativa "
|
||||
"Opción de enfoque arriba.\n"
|
||||
"Sólo habilita esto si sabes lo que estás haciendo."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Sobreescalado y nitidez de lado del cliente, supone un mayor coste de "
|
||||
"rendimiento para el visor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Factor de sobreescalado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar la dirección del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Añade un coste de rendimiento adicional"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "Umbral del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recomendado: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez del borde"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "Tiempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tiempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "Tiempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tiempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "¿Habilitar micrófono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "¿Habilitar seguimiento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "¿Habilitar seguimiento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "¿Habilitar seguimiento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenido a WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "Sí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "Licencias"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Micrófono activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Micrófono desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Seguimiento de manos activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Seguimiento de manos desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Seguimiento ocular activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Seguimiento ocular desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Seguimiento facial activado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Seguimiento facial desactivado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Seguimiento corporal está habilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Seguimiento corporal está deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "Agregar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-procesamiento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "Depuración"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "Acerca de"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -473,7 +452,7 @@ msgstr ""
|
||||
"Pulsa el botón de agarre o pon tu palma hacia arriba\n"
|
||||
"para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
@@ -489,11 +468,11 @@ msgstr "Copia"
|
||||
msgid "Network"
|
||||
msgstr "Red"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "Descargar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Subir"
|
||||
|
||||
@@ -534,66 +513,86 @@ msgstr "Mostrado"
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latencia entre el movimiento y la imagen mostrada"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Reajustar el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Habilitar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altura {:.1f} °"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distancia {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Cambiar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa los joysticks para mover el centro de la fóvea"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pulsa A para guardar o B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicaciones XR ejecutandose:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "Superposiciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "Aplicaciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Vista compacta"
|
||||
|
||||
@@ -613,6 +612,44 @@ msgstr "No se puede verificar el PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "El emparejamiento está deshabilitado en el servidor."
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "En este visor, está opción ha sido reemplazada totalmente por la nativa "
|
||||
#~ "Opción de enfoque arriba.\n"
|
||||
#~ "Sólo habilita esto si sabes lo que estás haciendo."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "Sobreescalado y nitidez de lado del cliente, supone un mayor coste de "
|
||||
#~ "rendimiento para el visor"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Factor de sobreescalado"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Usar la dirección del borde"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Añade un coste de rendimiento adicional"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Umbral del borde"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Recomendado: {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Nitidez del borde"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Transmisión de video interrumpida"
|
||||
|
||||
|
||||
+157
-122
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
|
||||
"PO-Revision-Date: 2025-08-04 09:41+0200\n"
|
||||
"POT-Creation-Date: 2025-10-11 19:51+0200\n"
|
||||
"PO-Revision-Date: 2025-10-11 19:52+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -16,47 +16,47 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Téléchargement de l'APK : %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Téléchargement de l'APK : %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Téléchargement annulé"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Impossible de télécharger l'APK : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Installation de l'APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb n'a pas pu démarrer : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb a quitté de façon anormale : %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "La commande 'adb install' a échoué : code de retour %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Installation réussie"
|
||||
@@ -82,8 +82,8 @@ msgstr "Vérification de la dernière version..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Aucun APK précompilé n'est disponible pour cette version."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB n'est pas installé."
|
||||
@@ -106,7 +106,7 @@ msgstr ""
|
||||
"construire votre propre client."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -132,7 +132,7 @@ msgstr "Réinstaller WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Installer WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Casques"
|
||||
@@ -141,29 +141,29 @@ msgstr "Casques"
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 second ago"
|
||||
msgid_plural "Last connection: %1 seconds ago"
|
||||
msgstr[0] "Dernière connexion : il a y %1 seconde"
|
||||
msgstr[1] "Dernière connexion : il a y %1 secondes"
|
||||
msgstr[0] "Dernière connexion : il y a %1 seconde"
|
||||
msgstr[1] "Dernière connexion : il y a %1 secondes"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:31
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 minute ago"
|
||||
msgid_plural "Last connection: %1 minutes ago"
|
||||
msgstr[0] "Dernière connexion : il a y %1 minute"
|
||||
msgstr[1] "Dernière connexion : il a y %1 minutes"
|
||||
msgstr[0] "Dernière connexion : il y a %1 minute"
|
||||
msgstr[1] "Dernière connexion : il y a %1 minutes"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 hour ago"
|
||||
msgid_plural "Last connection: %1 hours ago"
|
||||
msgstr[0] "Dernière connexion : il a y %1 heure"
|
||||
msgstr[1] "Dernière connexion : il a y %1 heures"
|
||||
msgstr[0] "Dernière connexion : il y a %1 heure"
|
||||
msgstr[1] "Dernière connexion : il y a %1 heures"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:35
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 day ago"
|
||||
msgid_plural "Last connection: %1 days ago"
|
||||
msgstr[0] "Dernière connexion : il a y %1 jour"
|
||||
msgstr[1] "Dernière connexion : il a y %1 jours"
|
||||
msgstr[0] "Dernière connexion : il y a %1 jour"
|
||||
msgstr[1] "Dernière connexion : il y a %1 jours"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:40
|
||||
#, kde-format
|
||||
@@ -177,7 +177,7 @@ msgstr "Renommer"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
@@ -197,7 +197,7 @@ msgstr "Enlever"
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Appairage activé, PIN : %1 "
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Désactiver l'appairage"
|
||||
@@ -214,7 +214,7 @@ msgstr ""
|
||||
"Activez l'appairage pour autoriser votre casque à se connecter à cet "
|
||||
"ordinateur"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Activer l'appairage"
|
||||
@@ -229,29 +229,34 @@ msgstr "Appairer un nouveau casque"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "Le serveur n'a pas la capacité CAP_SYS_NICE"
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Corriger"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "Le pare-feu pourrait ne pas autoriser le port 9757."
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr ""
|
||||
"La capacité CAP_SYS_NICE sera utilisée quand le serveur sera redémarré."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Redémarrer"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
@@ -259,12 +264,12 @@ msgstr ""
|
||||
"Les GPUs NVIDIA nécessitent au moins le driver 565.77, la version actuelle "
|
||||
"est %1."
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Plus d'infos"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -273,7 +278,7 @@ msgstr ""
|
||||
"Utilisez le driver Mesa (redv) pour les GPUs AMD\n"
|
||||
"L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -283,75 +288,75 @@ msgstr ""
|
||||
"pourront pas charger le mode VR.\n"
|
||||
"Veuillez installer xrizer ou OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Le serveur n'a pas pu démarrer"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Ouvrir les logs du serveur"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Démarré"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Appairage"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN : %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Connexion par USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Application"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informations pour Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistant"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Installer l'appli"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Dépannage"
|
||||
@@ -374,23 +379,23 @@ msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Parcourir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Fovéation manuelle"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Intensité de fovéation :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -409,65 +414,65 @@ msgstr ""
|
||||
"Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi "
|
||||
"des yeux et entre 50% et 70% pour les casques avec suivi des yeux."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Faible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Fort"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Débit :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "Disposition :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "Manuelle"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Configuration prédéfinie : par défaut"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Configuration prédéfinie : basse latence"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Configuration prédéfinie : sure"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -477,85 +482,90 @@ msgstr ""
|
||||
"d'un bord.\n"
|
||||
"Déplacez un bord pour redimensionner ou supprimer un encodeur."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Encodeur :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (GPUs NVIDIA)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (GPUs AMD et Intel)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (encodage logiciel)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Vidéo)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr ""
|
||||
"\"Automatique\" utilisera l'accélération matérielle si elle est disponible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Paramètres avancés"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Vérifier les paramètres système au démarrage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Activer la fenêtre de débogage"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Activer le support des manettes SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -569,44 +579,44 @@ msgstr ""
|
||||
"WiVRn.\n"
|
||||
"Un utilitaire tiers tel que motoc est nécessaire pour la calibration."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Spécifier l'emplacement d'adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Emplacement d'adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Parcourir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Par défaut"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personnalisé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Compatibilité OpenVR :"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
|
||||
@@ -643,7 +653,7 @@ msgstr "Commande de lancement Steam copiée"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Je ne trouve pas l'application WiVRn sur mon casque"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -657,21 +667,37 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "Je ne vois pas mon ordinateur dans l'application WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr ""
|
||||
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
|
||||
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
|
||||
"Si vous avez un pare-feu, assurez-vous d'avoir autorisé le port 5353/UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "La connexion est bloquée à \"Connexion à ...\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"Si vous avez un pare-feu, assurez vous que le port 9757 soit ouvert en TCP "
|
||||
"et UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "La connexion échoue avec \"no route to host\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "J'ai une erreur « Serveur WiVRn incompatible »"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
@@ -682,12 +708,12 @@ msgstr ""
|
||||
"correspondre.</p><ul><li>La version de l'application sur le casque est dans "
|
||||
"la page « À propos »</li><li>La version du serveur est <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "J'ai une erreur « L'appairage est désactivé »"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
@@ -696,22 +722,22 @@ msgstr ""
|
||||
"Si vous avez réinstallé le serveur ou le client ou que vous voulez connecter "
|
||||
"un autre casque, activez l'appairage avant la connexion."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "L'appairage est activé avec le PIN %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "L'appairage est désactivé."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Je n'ai pas de son sur mon casque"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -720,12 +746,12 @@ msgstr ""
|
||||
"Quand le casque est connecté, sélectionnez \"WiVRn\" comme sortie audio par "
|
||||
"défaut pour que les applications l'utilisent."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Signaler un problème"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Demander sur Discord"
|
||||
@@ -736,9 +762,9 @@ msgid "Getting started"
|
||||
msgstr "Commencer"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Retour"
|
||||
@@ -758,8 +784,8 @@ msgstr ""
|
||||
"connecter à votre ordinateur."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Suivant"
|
||||
@@ -859,12 +885,12 @@ msgstr ""
|
||||
"L'application que vous choisissez sera démarrée automatiquement quand vous "
|
||||
"connectez votre casque."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Informations importantes"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
@@ -873,12 +899,12 @@ msgstr ""
|
||||
"WiVRn remplace entièrement SteamVR, il ne faut pas lancer SteamVR lorsque "
|
||||
"WiVRn est démarré."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Démarrez l'application WiVRn sur votre casque"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -887,32 +913,41 @@ msgstr ""
|
||||
"Pour vous connecter en WiFi, démarrez l'application WiVRn sur votre casque, "
|
||||
"connectez-vous à « %1 » et entrez le PIN « %2 »."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Pour vous connecter en USB, cliquez sur « Connexion par USB »"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Dépannage"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Si le serveur n'est pas visible ou que la connexion échoue, vérifiez que les "
|
||||
"ports 5353 (UDP) et 9757 (TCP et UDP) sont ouverts dans le pare-feu."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Passer"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Connexion établie"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Votre casque est maintenant connecté."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -921,22 +956,22 @@ msgstr ""
|
||||
"Pour connecter un autre casque, assurez-vous que l'appairage est activé dans "
|
||||
"le tableau de bord avant de vous connecter."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Finir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Terminé"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+202
-177
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-08-12 13:37+0200\n"
|
||||
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
|
||||
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
|
||||
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
|
||||
"Language-Team: French <>\n"
|
||||
"Language: French\n"
|
||||
@@ -15,10 +15,37 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Aucun format de swapchain supporté"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur pour commencer la transmission."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur {} ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Serveur WiVRn incompatible : pas de champ protocol dans le TXT"
|
||||
@@ -43,99 +70,72 @@ msgstr "Impossible de se connecter à {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Attente de connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualité"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Déconnecter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "Connexion en cours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connexion à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "Code PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entrez le code PIN affiché sur le tableau de bord"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connecté au serveur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connecté à {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur pour commencer la transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur le serveur ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Démarrez une application sur {} ou depuis la liste pour commencer la "
|
||||
"transmission."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "Adresse"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "TCP seulement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -143,32 +143,45 @@ msgstr ""
|
||||
"Démarrez un serveur WiVRn sur\n"
|
||||
"le réseau local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconnexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "Connexion"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Version du serveur incompatible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "Serveur non disponible"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Français"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "Langue système"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taux de rafraichissement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatique"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -177,59 +190,59 @@ msgstr ""
|
||||
"des performances mesurées.\n"
|
||||
"Peut causer des clignotements lors du changement de fréquence."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taux minimal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} par œil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Les résolutions plus grandes que {}x{} pourraient ne pas fonctionner"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "Activer le micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Utiliser les données brutes du micro"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Désactive les traitements tels que la suppression du bruit"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Activer le suivi des mains"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Cette fonctionnalité n'est pas supportée par le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Activer le suivi des yeux"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Activer le suivi du visage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Activer le suivi du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -240,11 +253,11 @@ msgstr ""
|
||||
"suivi des mouvements du casque.\n"
|
||||
"Sinon les positions seront déduites de celles des manettes et casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Activer le suivi du bas du corps"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -255,11 +268,11 @@ msgstr ""
|
||||
"paramètres\n"
|
||||
"de suivi de mouvements du casque."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Activer le suivi des hanches"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -267,15 +280,15 @@ msgstr ""
|
||||
"N'a d'effet que si le suivi du bas du corps est activé.\n"
|
||||
"Peut être utile si les hanches sont suivies via un autre moyen."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Activer la vue réelle dans l'accueil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:994
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Activer la fenêtre WiVRn lors de la transmission"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -285,15 +298,15 @@ msgstr ""
|
||||
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
|
||||
"sticks."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-traitement OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Suréchantillonnage"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -301,11 +314,11 @@ msgstr ""
|
||||
"Réduit le scintillement des contours à haut contraste.\n"
|
||||
"Utile quand la résolution d’entrée est haute comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Affinage de netteté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -313,171 +326,125 @@ msgstr ""
|
||||
"Améliore la clarté des contours à haut contraste et réduit le flou.\n"
|
||||
"Utile quand la résolution d’entrée est basse comparée à l’écran du casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Activer Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"Sur ce casque, ce paramètre a été supplanté par le réglage natif d’affinage "
|
||||
"de netteté ci-dessus.\n"
|
||||
"N’activer que si vous savez ce que vous faites."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1079
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Mise à l’échelle et affinage de netteté, ajoute un coût en performances pour "
|
||||
"le casque"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Échelle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
msgid "Use edge direction"
|
||||
msgstr "Utiliser la direction de contours"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1122
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Ajoute un coût additionnel en performances"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127
|
||||
msgid "Edge threshold"
|
||||
msgstr "Seuil de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recommandé : {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Netteté de contour"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "Temps CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1243
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Temps CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "Temps GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Temps GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1300
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Activer le micro ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1305
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Activer le suivi des yeux ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1310
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Activer le suivi du visage ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Activer le suivi du corps ?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1323
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bienvenue sur WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1354
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1687
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Le micro est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Le micro est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1697
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Le suivi des mains est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Le suivi des mains est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1707
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Le suivi des yeux est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Le suivi des yeux est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1721
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Le suivi du visage est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1722
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Le suivi du visage est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1732
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Le suivi du corps est activé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1733
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Le suivi du corps est désactivé"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "Ajouter un serveur"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "Serveurs"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2000
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-traitement"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2009
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2015
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2032
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -485,7 +452,7 @@ msgstr ""
|
||||
"Serrez la gâchette latérale ou pointez la paume\n"
|
||||
"vers le haut pour bouger la fenêtre principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2034
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
|
||||
|
||||
@@ -501,11 +468,11 @@ msgstr "Copie"
|
||||
msgid "Network"
|
||||
msgstr "Réseau"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "Téléchargement"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Téléversement"
|
||||
|
||||
@@ -546,66 +513,86 @@ msgstr "Affichage"
|
||||
msgid "Predicted"
|
||||
msgstr "Prédiction"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latence mouvement à photons estimée: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Serrez la gâchette latérale pour bouger la fenêtre"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Appuyez sur les deux sticks pour afficher la fenêtre de WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latence mouvements à photons"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Zone de fovéation manuelle"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Activer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Hauteur: {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distance {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "Réinitialiser"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Ajuster"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Utiliser le stick pour bouger le centre de fovéation"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A pour sauvegarder, B pour annuler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:795
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applications XR lancées :"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "Surcouches"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Demande de quitter, peut être ignoré par l'application"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "Statistiques"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:804
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "Applications"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Statistiques seules"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:807
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Vue compacte"
|
||||
|
||||
@@ -625,6 +612,44 @@ msgstr "Impossible de vérifier le code PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "L'appairage est désactivé sur le serveur"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Activer Snapdragon Game Super Resolution"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "Sur ce casque, ce paramètre a été supplanté par le réglage natif "
|
||||
#~ "d’affinage de netteté ci-dessus.\n"
|
||||
#~ "N’activer que si vous savez ce que vous faites."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "Mise à l’échelle et affinage de netteté, ajoute un coût en performances "
|
||||
#~ "pour le casque"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Échelle"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Utiliser la direction de contours"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Ajoute un coût additionnel en performances"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Seuil de contour"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Recommandé : {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Netteté de contour"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Flux vidéo interrompu"
|
||||
|
||||
|
||||
+198
-173
@@ -5,8 +5,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-08-12 13:41+0200\n"
|
||||
"POT-Creation-Date: 2025-09-27 16:57+0200\n"
|
||||
"PO-Revision-Date: 2025-09-27 16:57+0200\n"
|
||||
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
|
||||
"Language-Team: Italian <>\n"
|
||||
"Language: Italian\n"
|
||||
@@ -15,10 +15,36 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Nessun formato swapchain supportato"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connesso al server WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connesso a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Server WiVRn incompatibile: nessun campo protocollo in TXT"
|
||||
@@ -42,98 +68,72 @@ msgstr "Impossibile connettersi a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "In attesa di connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Alta qualità"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:814
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Sconnetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "Connessione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Connessione a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Digitare il PIN visibile sul server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Connesso al server WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Connesso a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Avvia un applicazione sul server per incominciare a trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione sul computer o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Avvia un applicazione su {} o scegli dalla lista per incominciare a "
|
||||
"trasmettere."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "Indirizzo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -141,32 +141,45 @@ msgstr ""
|
||||
"Avvia un server WiVRn sulla\n"
|
||||
"rete locale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "Connessione automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "Connetti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versione del server incompatibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "Server non disponibile"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Italiano"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "Lingua"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "Lingua del sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "Frequenza di aggiornamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatica"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -175,60 +188,60 @@ msgstr ""
|
||||
"misurate dell'applicazione.\n"
|
||||
"Può causare un flash quando avviene il cambiamento."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Frequenza minima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "Scala di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} per occhio"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"Le risoluzioni superiori a {}x{} potrebbero non essere supportate dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "Attiva il microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Usare dati grezzi del microfono"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Disattiva gli effetti come la cancellazione del rumore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Abilita il tracciamento delle mani"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Questa funzionalità non è supportata dal visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Abilita il tracciamento oculare"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Abilita il tracciamento facciale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Abilita il tracciamento del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -241,11 +254,11 @@ msgstr ""
|
||||
"controller e\n"
|
||||
"del visore."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Abilita il tracciamento del basso del corpo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -256,11 +269,11 @@ msgstr ""
|
||||
"impostazioni,\n"
|
||||
"sezione \"Tracking dei movimenti\"."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Abilitia il tracciamento delle anche"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -269,15 +282,15 @@ msgstr ""
|
||||
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
|
||||
"delle anche."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Abilita la visualizzazione reale in ingresso"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:994
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -285,15 +298,15 @@ msgstr ""
|
||||
"Abilita la finestra di configurazione quando il gioco viene trasmesso.\n"
|
||||
"Se selezionato, la finestra può essere attivata premendo entrambi gli stick."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Post-trattamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersamping"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -301,11 +314,11 @@ msgstr ""
|
||||
"Riduce i lampeggiamenti sui bordi ad alto contrasto.\n"
|
||||
"Utile quando la risoluzine d'entrata è alta in confronto a quella del visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Miglioramento della nitidezza"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -314,168 +327,125 @@ msgstr ""
|
||||
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
|
||||
"visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Attivare Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr "Su questo visore è consigliato usare il post-trattamento OpenXR."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1079
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Aumento della risoluzione e nitidezza sul visore, diminuisce le prestazioni "
|
||||
"sul visore"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Aumento di risoluzione"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usare la direzione dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1122
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Riduce le prestazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127
|
||||
msgid "Edge threshold"
|
||||
msgstr "Soglia dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Valore consigliato: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidezza dei bordi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1243
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1300
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Attivare il microfono?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1305
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Attivare il tracciamento oculare?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1310
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Attivare il tracciamento facciale?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Attivare il tracciamento del corpo?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1323
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Benvenuto su WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "Sì"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1354
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "Licenze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1687
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Microfono attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Microfono disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1697
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Tracciamento delle mani attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Tracciamento delle mani disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1707
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Tracciamento oculare attivo"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Tracciamento oculare disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1721
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Tracciamento facciale attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1722
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Tracciamento facciale disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1732
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Tracciamento del corpo attivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1733
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Tracciamento del corpo disattivato"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "Aggiungi server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "Elenco dei server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2000
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "Post-trattamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "Debug"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2009
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "Informazioni"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2015
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "Esci"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2032
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -483,7 +453,7 @@ msgstr ""
|
||||
"Premi il pulsante laterale o punta il palmo della\n"
|
||||
"mano verso l'alto per spostare la finestra principale"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2034
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra principale"
|
||||
|
||||
@@ -499,11 +469,11 @@ msgstr "Copia"
|
||||
msgid "Network"
|
||||
msgstr "Rete"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Upload"
|
||||
|
||||
@@ -544,66 +514,86 @@ msgstr "Visualizzato"
|
||||
msgid "Predicted"
|
||||
msgstr "Previsto"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Latenza stimata da movimento a fotoni: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Premi il pulsante laterale per spostare la finestra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Premi entrabli gli stick per mostrare la finestra di WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Latenza da movimento a fotoni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Centro di foveazione manuale"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Attiva"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Altezza {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Distanza {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "Reimposta"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Cambia"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Usa gli stick per spostare il centro di foveazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "A per salvare, B per annullare"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:795
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Applicazioni XR avviate:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Chiede di chiudere, può essere ignorato dall'applicazione"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "Avvio"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "Statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:804
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "Applicazioni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Solo statistiche"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:807
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Modalità compatta"
|
||||
|
||||
@@ -623,6 +613,41 @@ msgstr "Impossibile verificare il PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "L'associazione è disattivata sul server"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Attivare Snapdragon Game Super Resolution"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr "Su questo visore è consigliato usare il post-trattamento OpenXR."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "Aumento della risoluzione e nitidezza sul visore, diminuisce le "
|
||||
#~ "prestazioni sul visore"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Aumento di risoluzione"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Usare la direzione dei bordi"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Riduce le prestazioni"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Soglia dei bordi"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Valore consigliato: {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Nitidezza dei bordi"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Flusso video interrotto"
|
||||
|
||||
|
||||
+152
-117
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
|
||||
"POT-Creation-Date: 2025-10-12 09:30+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -12,47 +12,47 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "APKのダウンロード:%1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "APKのダウンロード:%1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "ダウンロードはキャンセルされました"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "APKをダウンロードできませんでした:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "APKをインストール中"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adbの起動に失敗しました:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adbは失敗しました:%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "「adb install」コマンドは失敗しました、コード%1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "インストール成功"
|
||||
@@ -78,8 +78,8 @@ msgstr "最新リリースを確認中"
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "現バージョンに対応したAPKはダウンロード不可です。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADBはインストールされていません。"
|
||||
@@ -100,7 +100,7 @@ msgstr ""
|
||||
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
|
||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする"
|
||||
msgid "Headset statistics"
|
||||
msgstr "HMDの統計情報"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "HMD"
|
||||
@@ -172,7 +172,7 @@ msgstr "名前変更"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "やめる"
|
||||
@@ -192,7 +192,7 @@ msgstr "削除"
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "ペアリング可能。暗証番号:%1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "ペアリングを無効化する"
|
||||
@@ -207,7 +207,7 @@ msgstr "HMDでWiVRnアプリを起動し、暗証版語を入力してくださ
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr "ペアリングを有効化し、HMDをパソコンに接続しましょう"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "ペアリングを有効化する"
|
||||
@@ -217,28 +217,33 @@ msgstr "ペアリングを有効化する"
|
||||
msgid "Pair a new headset"
|
||||
msgstr "新しいHMDをペアリングする"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "サーバーはCAP_SYS_NICE権限がありません。"
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "直す"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "ファイヤーウォールでポート9757が開いていないようです。"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です。"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "今すぐ再起動する"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
@@ -246,12 +251,12 @@ msgstr ""
|
||||
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
|
||||
"%1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "詳細情報"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -260,83 +265,84 @@ msgstr ""
|
||||
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
||||
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr "OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
||||
msgstr ""
|
||||
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
||||
"xrizerかOpenCompositeをインストールしましょう。"
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "サーバーは起動できませんでした"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "ログを見る"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "作動中"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "ペアリング"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "暗証番号:%1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USBで接続する"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません。"
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "アプリ"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "ストリーム情報"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "セットアップウィザード"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "アプリをインストール"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "問題解決"
|
||||
@@ -359,23 +365,23 @@ msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "検索"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "マニュアル・フォビエーション"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "フォビエーションの強さ"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -395,65 +401,65 @@ msgstr ""
|
||||
"お勧めの設定は、アイトラッキングを対応したHMDの場合は20%~50%、アイトラッキン"
|
||||
"グを対応しないHMDの場合は50%~70%です。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "弱"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "強"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "ビットレート"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbps"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "エンコーダー・レイアウト"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "マニュアル"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "デフォルト・プリセット"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "低遅延プリセット"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "安定プリセット"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -463,84 +469,89 @@ msgstr ""
|
||||
"う。\n"
|
||||
"角を引っ張って大きさの調整をできます。大きさゼロで削除となります。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "エンコーダー"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMDやIntel GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (ソフトエンコード)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "コーデック"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "詳細設定"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "起動時にパソコン設定を確認する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "デバッグ・ウィンドウを表示する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR・ライトハウス・トラッキング"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -553,44 +564,44 @@ msgstr ""
|
||||
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
|
||||
"キャリブレーションはmotocなどのソフトウェアで行います。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "特定なADBの場所"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "ADBの場所:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "検索する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "無し"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR実装ライブラリー"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
|
||||
@@ -625,7 +636,7 @@ msgstr "Steam用の起動オプションをコピーしました"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "HMDでWiVRnアプリが見つからない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -637,21 +648,36 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "WiVRnアプリでパソコンが表示されない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
|
||||
"(UDP)と9757(TCPとUDP両方)を開いてみましょう。"
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr "ファイヤーウォールでUDPポート5353が開いていることを確認しましょう。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "ずっと「接続中」"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"ファイヤーウォールでポート9757がTCPとUDPの両方で開いていることを確認しましょ"
|
||||
"う。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "「no route to host」で接続できない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "HMDに「互換性のないサーバー」"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
@@ -662,12 +688,12 @@ msgstr ""
|
||||
"p><ul><li>HMDアプリのバージョンは「WiVRnについて」タブに確認できます。</"
|
||||
"li><li>サーバーのバージョンは:<b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "HMDに「ペアリングが無効です」"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
@@ -676,22 +702,22 @@ msgstr ""
|
||||
"サーバーかクライエント更インストールした場合、または別のHMDを接続したい場合、"
|
||||
"ペアリングを有効化しましょう。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "ペアリングは有効です。暗証番号:%1"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "ペアリングは無効です。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "HMDから音が出ない"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -699,12 +725,12 @@ msgid ""
|
||||
msgstr ""
|
||||
"HMDが接続した状態で、デフォルト音声出力デバイスを「WiVRn」に設定しましょう。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "問題を報告する"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Discordで聞いてみる"
|
||||
@@ -715,9 +741,9 @@ msgid "Getting started"
|
||||
msgstr "はじめに"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "戻る"
|
||||
@@ -737,8 +763,8 @@ msgstr ""
|
||||
"るようにご案内します。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "次"
|
||||
@@ -774,8 +800,8 @@ msgid ""
|
||||
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
msgstr ""
|
||||
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/"
|
||||
"experiences/7959676140827574/\">Metaストア</a>にて配信中です。"
|
||||
"Quest 2、3、3S、Proの場合、<a href=\"https://www.meta.com/experiences/"
|
||||
"7959676140827574/\">Metaストア</a>にて配信中です。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
@@ -833,12 +859,12 @@ msgid ""
|
||||
"your headset."
|
||||
msgstr "接続すると、選択したアプリが自動的に起動します。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "警告"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
@@ -847,12 +873,12 @@ msgstr ""
|
||||
"WiVRnはSteamVRの変わりに使うものです。両方を同時に走らせないように気をつけま"
|
||||
"しょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "HMDでWiVRnアプリを起動しましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -861,54 +887,63 @@ msgstr ""
|
||||
"WiFiで接続するには、HMDのWiVRnアプリを使い、「%1」に接続し、暗証番号に「%2」"
|
||||
"を入れましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "問題解決"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353"
|
||||
"(UDP)と9757(TCPとUDPの両方)が開いていることを確認しましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "スキップ"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "接続確立"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "HMDに接続しました。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr "他のHMDを接続するには、ペアリングが有効なのかどうか確認しましょう。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "完了"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "完了しました"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "OpenComposite"
|
||||
|
||||
+168
-167
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
|
||||
"POT-Creation-Date: 2025-09-29 08:35+0900\n"
|
||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language: Japanese\n"
|
||||
@@ -10,10 +10,32 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "互換性のあるスワップチェーンは見つからなかった"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRnサーバーに接続しました。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{}に接続しました。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "VRアプリを起動してVRに入りましょう!"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "互換性のないサーバー(プロトコルのフィールドは欠落)"
|
||||
@@ -37,94 +59,72 @@ msgstr "{}に接続できませんでした:({}) {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "接続を待っています"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "ノーマル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "クオリティ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "無効"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "切断する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "やめる"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{}に接続中"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "暗証番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "パソコンで表示された暗証番号を入力してください"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRnサーバーに接続しました。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{}に接続しました。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "VRアプリを起動してVRに入りましょう!"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "パソコンでVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "{}でVRアプリを起動するか、ここからアプリを選択しましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "表示名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "アドレス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "ポート番号"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "TCPのみを使用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "やめる"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "保存する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -132,32 +132,45 @@ msgstr ""
|
||||
"ローカルネットワークでWiVRnサーバーを\n"
|
||||
"起動してみて下さい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動接続"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "接続する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "互換性のないサーバーです"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "サーバーは利用不可です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "日本語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "デバイス言語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -165,60 +178,60 @@ msgstr ""
|
||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||
"変更時にチラツキが発生する可能性があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低リフレッシュレート"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "解像度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - 目あたり{}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "マイクを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未処理のマイク音声"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "ハンドトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "アイトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -229,11 +242,11 @@ msgstr ""
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||
"とになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -243,11 +256,11 @@ msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||
"有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -255,19 +268,31 @@ msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "ロビーでパススルーを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "ストリーミング中の設定パネル"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -275,11 +300,11 @@ msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -287,169 +312,125 @@ msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Snapdragon Game Super Resolutionを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"この設定は、使用中のHMDでは非推奨です。OpenXRの方法を使用してください。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がりま"
|
||||
"す。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "アップスケーリング係数"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "エッジ方向を使用する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "HMDに対する要求性能が上がります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "エッジのしきい値"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推奨値:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "エッジのシャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "マイクを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "アイトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "フェースラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "ボディトラッキングを有効にしますか?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRnへようこそ!"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "はい"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "いいえ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "フェーストラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -457,7 +438,7 @@ msgstr ""
|
||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||
"手のひらを上向きにしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
@@ -473,11 +454,11 @@ msgstr "レンダー"
|
||||
msgid "Network"
|
||||
msgstr "ネットワーク"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "ダウンロード"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "アップロード"
|
||||
|
||||
@@ -518,66 +499,86 @@ msgstr "表示"
|
||||
msgid "Predicted"
|
||||
msgstr "予測時間"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "「Motion-to-photon」遅延"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "光学中心の調整"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "有効"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "仰角 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距離 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "編集"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "AかBを押してキャンセル。"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "XRアプリの実行"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "終了シグナルを送信する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "実行する"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "統計情報"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "アプリ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "統計オーバーレイ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "コンパクト・モード"
|
||||
|
||||
|
||||
+142
-97
@@ -10,57 +10,58 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-09 22:47+0200\n"
|
||||
"PO-Revision-Date: 2025-08-08 11:56-0300\n"
|
||||
"Last-Translator: myghi63 <myghi63@disroot.org>\n"
|
||||
"POT-Creation-Date: 2025-10-20 20:55+0200\n"
|
||||
"PO-Revision-Date: 2025-10-20 21:18+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 25.04.3\n"
|
||||
"X-Generator: Lokalize 25.08.2\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Baixando APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Baixando APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Download cancelado"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Não é possível baixar o APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Instalando APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "O adb não conseguiu iniciar: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb saiu anormalmente: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "O comando 'adb install' falhou: código de saída %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalação bem-sucedida"
|
||||
@@ -86,8 +87,8 @@ msgstr "Verificando a última versão..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Nenhum APK pré-compilado está disponível para esta versão."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB não está instalado."
|
||||
@@ -110,7 +111,7 @@ msgstr ""
|
||||
"próprio cliente."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -136,7 +137,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Headsets"
|
||||
@@ -201,7 +202,7 @@ msgstr "Remover"
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Pareamento ativado, PIN: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Desativar pareamento"
|
||||
@@ -217,7 +218,7 @@ msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr ""
|
||||
"Ative o pareamento para permitir que seu headset conecte-se a esse computador"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Ativar pareamento"
|
||||
@@ -232,40 +233,45 @@ msgstr "Parear um novo headset"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "O servidor não tem capabilities CAP_SYS_NICE."
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Conserte"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "O firewall pode não permitir a porta 9757."
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado."
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Mais informações"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -274,7 +280,7 @@ msgstr ""
|
||||
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -284,76 +290,76 @@ msgstr ""
|
||||
"conseguirão carregar em VR.\n"
|
||||
"Instale o xrizer ou o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Servidor falhou em iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir logs do servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Rodando"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Pareando"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar pela USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor."
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:326
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:333
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Resolver problemas"
|
||||
@@ -376,23 +382,23 @@ msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Foveação manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Força da foveação:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -413,65 +419,65 @@ msgstr ""
|
||||
"Os valores recomendados são entre 20% e 50% para headsets sem rastreamento "
|
||||
"ocular e entre 50% e 70% para fones de ouvido com rastreamento ocular."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Mais fraco"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Mais forte"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Taxa de bits:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "Layout do codificador:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "Manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Predefinição padrão"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Predefinição de baixa latência"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Predefinição segura"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -481,84 +487,89 @@ msgstr ""
|
||||
"perto de uma aresta.\n"
|
||||
"Arraste a aresta para redimensionar ou remover codificadores."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Codificador:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (GPUs NVIDIA)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (GPUs AMD e Intel)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (codificação por software)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vídeo Vulkan)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" usará aceleração de hardware se disponível"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opções avançadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Verificar configuração do sistema ao iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Ativar janela de depuração"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -571,44 +582,44 @@ msgstr ""
|
||||
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
|
||||
"Uma ferramenta externa como o motoc é necessária para calibração."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Caminho personalizado do adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Caminho do adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Default"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Desativado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Biblioteca de compatibilidade OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
|
||||
@@ -659,21 +670,37 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "Não consigo ver meu computador no aplicativo do WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr ""
|
||||
"Se o servidor não estiver visível ou a conexão falhar, verifique se a porta "
|
||||
"5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
|
||||
"Se você tem firewall, se certifique que a porta 5353/UDP esteja aberta."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "Conexão permanece travada em \"Conectando a ...\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"Se você tem firewall, certifique-se que a porta 9757 esteja aberta tanto "
|
||||
"para TCP quando UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "Conexão falha com \"no route to host\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "Eu tenho um erro de \"Servidor WiVRn incompatível\" no meu headset"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
@@ -684,12 +711,12 @@ msgstr ""
|
||||
"ser a mesma.</p><ul><li>A versão do aplicativo do headset está na página "
|
||||
"\"Sobre\"</li><li>A versão do servidor é <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "Eu tenho um erro de \"Pareamento está desabilitado\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
@@ -698,22 +725,22 @@ msgstr ""
|
||||
"Se você reinstalou o servidor ou o cliente ou se você quer conectar outro "
|
||||
"headset, você deve atviar o pareamento antes de conectar."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "Pareamento está atualmente ativado com o PIN %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "Pareamento está atualmente desativado."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Eu não tenho som no meu headset"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -722,12 +749,12 @@ msgstr ""
|
||||
"Quando o headset estiver conectado, selecione \"WiVRn\" como o dispositivo "
|
||||
"de saída default de áudio para as aplicações o usarem."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Relatar um problema"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Perguntar no Discord"
|
||||
@@ -898,6 +925,16 @@ msgstr "Para conectar pela USB, clique em \"Conectar pela USB\"."
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Resolver problemas"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Se o servidor não estiver visível ou a conexão falhar, verifique se as portas "
|
||||
"5353 "
|
||||
"(UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
@@ -932,12 +969,20 @@ msgstr "Terminar"
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:592
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:593
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "If the server is not visible or the connection fails, check that port "
|
||||
#~ "5353 (UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
#~ msgstr ""
|
||||
#~ "Se o servidor não estiver visível ou a conexão falhar, verifique se a "
|
||||
#~ "porta 5353 (UDP) e 9757 (TCP e UDP) estão abertas no seu firewall."
|
||||
|
||||
+187
-162
@@ -11,21 +11,45 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-16 14:15+0200\n"
|
||||
"PO-Revision-Date: 2025-08-17 20:58+0200\n"
|
||||
"Last-Translator: Claudio Sampaio <patola@gmail.com>\n"
|
||||
"POT-Creation-Date: 2025-09-27 17:11+0200\n"
|
||||
"PO-Revision-Date: 2025-09-27 22:14+0200\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Gtranslator 48.0\n"
|
||||
"X-Generator: Lokalize 25.08.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Language-Team: Brazilian Portuguese\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Sem formato de cadeia de troca suportado"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado ao servidor WiVRn"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Conectado a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
|
||||
"streaming."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Servidor WiVRn incompatível: sem campo protocolo no TXT"
|
||||
@@ -49,96 +73,72 @@ msgstr "Incapaz de conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Aguardando conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Qualidade"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Desabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:821
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Fechar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "Conexão"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Conexão a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Entre o PIN mostrado no painel"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Conectado ao servidor WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Conectado a {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Abra um aplicativo no servidor para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Abra um aplicativo no seu computador ou selecione um para iniciar o "
|
||||
"streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Abra um aplicativo em {} ou selecione um para iniciar o streaming."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "Endereço"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "Porta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "TCP somente"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -146,32 +146,45 @@ msgstr ""
|
||||
"Inicie um servidor WiVRn em sua\n"
|
||||
"rede local"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "Autoconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Versão de servidor incompatível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "Servidor não disponível"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Português (Brasil)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "Linguagem"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "Linguagem do Sistema"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "Taxa de atualização"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automático"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -179,60 +192,60 @@ msgstr ""
|
||||
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
|
||||
"Pode causar oscilações quando uma alteração ocorrer."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Taxa de atualização mínima"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "Escala de resolução"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} por olho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Resolução maior que {}x{} pode não ser suportada pelo headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "Ativar microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Áudio Não-processado de Microfone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Força a desativação de filtros de áudio tais como cancelamento de ruído"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Ativar rastreamento de mãos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Este recurso não é suportado pelo seu headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Ativar rastreamento ocular"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Ativar rastreamento facial"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Ativar rastreamento corporal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -244,11 +257,11 @@ msgstr ""
|
||||
"estimados\n"
|
||||
"com base nas posições do controle e do headset."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Ativar rastreamento corporal inferior"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -259,11 +272,11 @@ msgstr ""
|
||||
"Requer que 'Rastreamento corporal e das mãos' esteja ativado nas\n"
|
||||
"configurações de Rastreamento de Movimento do Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Ativar rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -271,15 +284,15 @@ msgstr ""
|
||||
"Só tem efeito com o rastreamento corporal inferior ativado\n"
|
||||
"Pode ser desejado ao usar outra fonte de rastreamento de quadril"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Habilitar repassagem de vídeo no lobby"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:994
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Habilitar janela na stream"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:997
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
@@ -288,15 +301,15 @@ msgstr ""
|
||||
"streamado.\n"
|
||||
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:445
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Pós-processamento OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:449
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:470
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -304,11 +317,11 @@ msgstr ""
|
||||
"Reduz flicker para arestas de alto contraste.\n"
|
||||
"Útil quando a resolução de entrada é alta comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:475
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Aumento de nitidez"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:496
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -316,171 +329,125 @@ msgstr ""
|
||||
"Melhora a clareza de arestas de alto contraste e minimiza o desfoque.\n"
|
||||
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1077
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"Neste headset, este ajuste foi completamente supersedido pelo ajuste de "
|
||||
"aumento de nitidez acima.\n"
|
||||
"Somente habilite se souber o que está fazendo."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1079
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
|
||||
"desempenho no headset"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1097
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Fator de upscaling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1116
|
||||
msgid "Use edge direction"
|
||||
msgstr "Usar direção da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1122
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Acrescenta um custo de desempenho"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127
|
||||
msgid "Edge threshold"
|
||||
msgstr "Limite da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1134 client/scenes/lobby_gui.cpp:1143
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Recomenadado: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1137
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Nitidez da aresta"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1239 client/scenes/lobby_gui.cpp:1247
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "Tempo de CPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1243
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Tempo de CPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "Tempo de GPU"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Tempo de GPU [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1300
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Habilitar o microfone?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1305
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Habilitar o rastreamento ocular?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1310
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Habilitar o rastreamento facial?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1315
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Habilitar o rastreamento corporal?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1323
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Bem vindo(a) ao WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "Sim"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1354
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "Não"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "Licenças"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1687
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "O microfone está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "O microfone está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1697
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "O rastreamento de mãos está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "O rastreamento de mãos está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1707
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "O rastreamento ocular está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "O rastreamento ocular está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1721
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "O rastreamento facial está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1722
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "O rastreamento facial está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1732
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "O rastreamento corporal está ativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1733
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "O rastreamento corporal está desativado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1749
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "Adicionar servidor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:809
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2000
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "Pós-processamento"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2004
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "Depurar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2009
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "Sobre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2015
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2032
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -488,7 +455,7 @@ msgstr ""
|
||||
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
|
||||
"para mover a janela principal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2034
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela principal"
|
||||
|
||||
@@ -558,7 +525,7 @@ msgstr "Movimento estimado para a latência de fótons: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pressione o botão de aderência para mover a janela"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:763
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
|
||||
|
||||
@@ -600,15 +567,35 @@ msgstr "Use os thumbsticks para mover o centro da foveação"
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Pressione A para salvar ou B para cancelar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:806
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Aplicativos XR rodando:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "Overlays"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "Estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:815
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "Aplicativos"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Overlay de estatísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:818
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Visualização compacta"
|
||||
|
||||
@@ -628,6 +615,44 @@ msgstr "Incapaz de verificar PIN"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Pareamento está desabilitado no servidor"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Habilitar Snapdragon Game Super Resolution"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "Neste headset, este ajuste foi completamente supersedido pelo ajuste de "
|
||||
#~ "aumento de nitidez acima.\n"
|
||||
#~ "Somente habilite se souber o que está fazendo."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "Upscaling e aumento de nitidez do lado do cliente, acrescenta um custo de "
|
||||
#~ "desempenho no headset"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Fator de upscaling"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Usar direção da aresta"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Acrescenta um custo de desempenho"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Limite da aresta"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Recomenadado: {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Nitidez da aresta"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "Fluxo de vídeo interrompido"
|
||||
|
||||
|
||||
@@ -0,0 +1,976 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-10-11 21:53+0400\n"
|
||||
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
|
||||
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
|
||||
"Language-Team: Russian <>\n"
|
||||
"Language: Russian\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "Загрузка APK: %1 Мб / %2 Мб"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "Загрузка APK: %1 Мб"
|
||||
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "Загрузка отменена"
|
||||
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "Невозможно загрузить APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "Установка APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "Не удалось запустить adb: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb завершился некорректно: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "Не удалось выполнить команду 'adb install': код возврата %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Установка прошла успешно"
|
||||
|
||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
||||
#, kde-format
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "Панель управления WiVRn"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
msgid "Install the WiVRn app on your headset"
|
||||
msgstr "Установите приложение WiVRn на вашем шлеме"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:41 dashboard/qml/WizardPage.qml:157
|
||||
#: dashboard/qml/WizardPage.qml:192
|
||||
#, kde-format
|
||||
msgid "Checking latest release..."
|
||||
msgstr "Проверяю новейшую версию..."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:43 dashboard/qml/WizardPage.qml:198
|
||||
#, kde-format
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "Нет прекомпилированного APK-файла для этой версии."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB не установлен."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Connect a headset and make sure developer mode is enabled."
|
||||
msgstr "Подключите шлем и удостоверьтесь что режим разработчика включен."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"Следуйте инструкциям в <a href=\"https://github.com/WiVRn/WiVRn/blob/master/"
|
||||
"docs/building.md#client-headset\">документации</a> чтобы собрать свой "
|
||||
"собственный клиент."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||
#, kde-format
|
||||
msgid "Select your headset"
|
||||
msgstr "Выберите свой шлем"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:46
|
||||
#, kde-format
|
||||
msgid "WiVRn is already installed on this device"
|
||||
msgstr "WiVRn уже установлен на этом устройстве"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Reinstall WiVRn"
|
||||
msgstr "Переустановить WiVRn"
|
||||
|
||||
#: dashboard/qml/DeviceCard.qml:54
|
||||
#, kde-format
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Установить WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Шлемы"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:29
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 second ago"
|
||||
msgid_plural "Last connection: %1 seconds ago"
|
||||
msgstr[0] "Последнее подключение: %1 секунду назад"
|
||||
msgstr[1] "Последнее подключение: %1 секунды назад"
|
||||
msgstr[2] "Последнее подключение: %1 секунд назад"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:31
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 minute ago"
|
||||
msgid_plural "Last connection: %1 minutes ago"
|
||||
msgstr[0] "Последнее подключение: %1 минуту назад"
|
||||
msgstr[1] "Последнее подключение: %1 минуты назад"
|
||||
msgstr[2] "Последнее подключение: %1 минут назад"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:33
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 hour ago"
|
||||
msgid_plural "Last connection: %1 hours ago"
|
||||
msgstr[0] "Последнее подключение: %1 час назад"
|
||||
msgstr[1] "Последнее подключение: %1 часа назад"
|
||||
msgstr[2] "Последнее подключение: %1 часов назад"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:35
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 day ago"
|
||||
msgid_plural "Last connection: %1 days ago"
|
||||
msgstr[0] "Последнее подключение: %1 день назад"
|
||||
msgstr[1] "Последнее подключение: %1 дня назад"
|
||||
msgstr[2] "Последнее подключение: %1 дней назад"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:40
|
||||
#, kde-format
|
||||
msgid "Rename headset"
|
||||
msgstr "Переименовать шлем"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:48 dashboard/qml/HeadsetsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Rename"
|
||||
msgstr "Переименовать"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Headset name…"
|
||||
msgstr "Название шлема…"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:128
|
||||
#, kde-format
|
||||
msgid "Remove"
|
||||
msgstr "Удалить"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:143
|
||||
#, kde-format
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "Сопряжение включено, ПИН: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "Выключить сопряжение"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "Запустите приложение WiVRn на вашем шлеме и используйте ПИН: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr ""
|
||||
"Включите сопряжение чтобы позволить вашему шлему присоединиться к этому "
|
||||
"компьютеру"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "Включить сопряжение"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:191
|
||||
#, kde-format
|
||||
msgid "Pair a new headset"
|
||||
msgstr "Сопрячь новый шлем"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Статистика шлема"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "Сервер не имеет CAP_SYS_NICE возможностей."
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Исправить"
|
||||
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "Брандмауэр может не разрешать порт 9757."
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr ""
|
||||
"CAP_SYS_NICE возможности будут использоваться после перезагрузки сервера."
|
||||
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Перезагрузить сейчас"
|
||||
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr "NVIDIA ГПУ требуют драйвер версии не ниже 565.77, текущая версия: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Больше информации"
|
||||
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
"Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO"
|
||||
msgstr ""
|
||||
"Используйте Mesa (radv) драйвер для AMD ГПУ\n"
|
||||
"Аппаратная кодировка с vaapi не работает с AMDVLK и AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr ""
|
||||
"OpenVR совместимости не обнаружено, игры из Steam не смогут загрузить VR.\n"
|
||||
"Установите xrizer или OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Не удалось запустить сервер"
|
||||
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Открыть логи сервера"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Запущено"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Сопряжение"
|
||||
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "ПИН: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Подключиться по USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "Нет подключенного шлема, либо ваш шлем не в режиме разработчика."
|
||||
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Отключиться"
|
||||
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Приложение"
|
||||
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam информация"
|
||||
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Мастер настройки"
|
||||
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Установить приложение"
|
||||
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Устранение неполадок"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:14
|
||||
#, kde-format
|
||||
msgctxt "don't start an application automatically"
|
||||
msgid "None"
|
||||
msgstr "Отсутствует"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:20
|
||||
#, kde-format
|
||||
msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Пользовательское"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Обзор"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Ручная фовеация"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Степень фовеации:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
"periphery and makes the decoding faster. This is better for fast paced "
|
||||
"games.\n"
|
||||
"\n"
|
||||
"A weaker foveation gives a uniform sharpness in the whole image.\n"
|
||||
"\n"
|
||||
"The recommended values are between 20% and 50% for headsets without eye "
|
||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
||||
msgstr ""
|
||||
"Более сильная фовеация делает изображение четче в центре чем в периферийном "
|
||||
"зрении и ускоряет декодирование. Это лучше для динамичных игр.\n"
|
||||
"\n"
|
||||
"Более слабая фовеации дает равномерную четкость на всем изображении.\n"
|
||||
"\n"
|
||||
"Рекомендуемые значения между 20% и 50% для шлемов без отслеживания движения "
|
||||
"глаз и между 50% и 70% для шлемов с отслеживанием движения глаз."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Слабее"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Сильнее"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Битрейт:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Мбит/с"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "Разметка кодировки:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "Автоматическая"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "Ручная"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Предустановка по умолчанию"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Предустановка с низкой задержкой"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Безопасная предустановка"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
"Drag an edge to resize or remove encoders."
|
||||
msgstr ""
|
||||
"Чтобы добавить новый кодировщик, разделите существующий кодировщик щелчком "
|
||||
"рядом с границей.\n"
|
||||
"Перетащите границу чтобы изменить размер или убрать кодировщики."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Кодировщик:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Авто"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA ГПУ)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD и Intel ГПУ)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (программное кодирование)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Авто\" будет использовать аппаратное ускорение если оно доступно"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Кодек:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Авто"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Расширенные настройки"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Проверить конфигурацию системы при запуске"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Включить окно отладки"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Включить поддержку устройств со SteamVR отслеживанием"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
"Requires SteamVR to be installed.\n"
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"Позволяет использовать контроллеры и трекеры на основе lighthouse.\n"
|
||||
"Требуется чтобы SteamVR был установлен.\n"
|
||||
"Устройства должны быть включены перед подключенем к WiVRn.\n"
|
||||
"Внешняя утилита, такая как motoc, необходима для калибрации."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Пользовательское расположение adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Расположение adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Обзор"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "По умолчанию"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Пользовательская"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Выключена"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Библиотека для совместимости со SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||
"General and paste this in \"Launch options\":"
|
||||
msgstr ""
|
||||
"Для Steam games, нажмите правой кнопкой мыши на игру в Steam, перейдите в "
|
||||
"Свойства > Общие и вставьте это в \"Параметры запуска\":"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Вставьте это в параметры запуска Steam для приложения которые вы хотите "
|
||||
"запустить"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
msgctxt "copy text to the clipboard"
|
||||
msgid "Copy"
|
||||
msgstr "Скопировать"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:30
|
||||
#, kde-format
|
||||
msgid "Copied Steam launch command"
|
||||
msgstr "Команда запуска Steam скопирована"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:20
|
||||
#, kde-format
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Я не могу найти приложение WiVRn на моем шлеме"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Если вы установили WiVRn по USB на шлем Meta, приложение находится в "
|
||||
"секции \"неизвестные источники\"."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "Я не вижу мой компьютер в приложении WiVRn"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr "Если у вас есть брандмауэр, убедитесь что порт 5353/UDP открыт."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr "Подключение зависло на \"Соединение с ...\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"Если у вас есть брандмауэр, убедитесь что порт 9757 открыт как для TCP так и "
|
||||
"для UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr "Соединение прерывается с \"no route to host\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "У меня появляется ошибка \"Несовместимый сервер WiVRn\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||
"server version is <b>%1</b></li></ul>"
|
||||
msgstr ""
|
||||
"<p>Версии приложения для шлема и сервера на вашем компьютере должны "
|
||||
"совпадать.</p><ul><li>Версия приложения для шлема находится на странице \"О "
|
||||
"приложении\"</li><li>Версия сервера: <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "У меня появляется ошибка \"Сопряжение выключено\""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"Если вы переустановили сервер или клиент, либо если вы хотите подключить "
|
||||
"другой шлем, вы должны включить сопряжение перед подключением."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "Сопряжение в данный момент включено и ПИН: %1."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "Сопряжение в данный момент выключено."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "На моем шлеме отсутствует звук"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
"device for applications to use it."
|
||||
msgstr ""
|
||||
"Когда шлем подключен, выберите \"WiVRn\" как устройство вывода звука по "
|
||||
"умолчанию, чтобы приложения использовали его."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "Сообщить о проблеме"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "Задать вопрос в Discord"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Getting started"
|
||||
msgstr "Начало работы"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:64
|
||||
#, kde-format
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Добро пожаловать в WiVRn"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This wizard will help you set up WiVRn on your headset and connect it to "
|
||||
"your computer."
|
||||
msgstr ""
|
||||
"Этот мастер настройки поможет вам настроить WiVRn на вашем шлеме и "
|
||||
"подключить его к вашему компьютеру."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Дальше"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
msgid "How to enable developer mode"
|
||||
msgstr "Как включить режим разработчика"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:119
|
||||
#, kde-format
|
||||
msgid "Follow the manufacturer's instructions below:"
|
||||
msgstr "Следуйте инструкциям производителя ниже:"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:142
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"In order to use WiVRn, you will have to install the client app on your "
|
||||
"headset.\n"
|
||||
"You can either install it from the Meta store or directly over USB."
|
||||
msgstr ""
|
||||
"Для того чтобы использовать WiVRn, вы должны будете установить приложение "
|
||||
"клиента на вашем шлеме.\n"
|
||||
"Вы можете либо установить его из Meta store, либо напрямую по USB."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:148
|
||||
#, kde-format
|
||||
msgid "Install from the Meta store"
|
||||
msgstr "Установить из Meta store"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:152
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
msgstr ""
|
||||
"Для Quest 2, 3, 3S, и Pro, вы можете получить приложение из <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"Более новая версия доступна: %1 → %2, приложение клиента в Meta store может "
|
||||
"быть несовместимым."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"This is a nightly build, the client app on the Meta store may not be "
|
||||
"compatible."
|
||||
msgstr ""
|
||||
"Это ночная сборка, приложение клиента в Meta store может быть несовместимым."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:181
|
||||
#, kde-format
|
||||
msgctxt "displayed between 'meta store' and 'install over USB' in the wizard"
|
||||
msgid "Or"
|
||||
msgstr "Или"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:187
|
||||
#, kde-format
|
||||
msgid "Install over USB"
|
||||
msgstr "Установить по USB"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ADB не установлен"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:219
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>No headset detected. Make sure that:\n"
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Шлемы не обнаружены. Убедитесь что:\n"
|
||||
"<ul><li>ADB udev правила установлены</li><li>Шлем находится в <a "
|
||||
"href=\"#\">режиме разработчика</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:280
|
||||
#, kde-format
|
||||
msgid "Select the application you want to start"
|
||||
msgstr "Выберите приложение которое вы хотите запустить"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:286
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"The application you choose will be started automatically when you connect "
|
||||
"your headset."
|
||||
msgstr ""
|
||||
"Приложение которое вы выберете будет запущено автоматически когда вы "
|
||||
"подключитесь к вашему шлему."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Важная информация"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn полностью заменяет SteamVR, вы не должны запускать SteamVR пока WiVRn "
|
||||
"работает."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Запустите приложение WiVRn на вашем шлеме"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"Чтобы подключиться по WiFi, запустите приложение WiVRn на вашем шлеме, "
|
||||
"подключитесь к \"%1\" и введите ПИН \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "Чтобы подключиться через USB, нажмите на \"Подключиться по USB\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Устранение неполадок"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Если сервер не виден или не удается установить соединение, проверьте что "
|
||||
"порты 5353 (UDP) и 9757 (TCP и UDP) открыты в вашем брандмауэре."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Пропустить"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Соединение установлено"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Ваш шлем теперь подключен."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"Чтобы подключить другой шлем, убедитесь что сопряжение активировано в панеле "
|
||||
"управления перед соединением."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Завершить"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Завершено"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
@@ -0,0 +1,604 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn package.
|
||||
# Alexander Afanasenko <aomiki.iki@gmail.com>, 2025.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-10-06 14:57+0400\n"
|
||||
"PO-Revision-Date: 2025-10-06 14:57+0400\n"
|
||||
"Last-Translator: Alexander Afanasenko <aomiki.iki@gmail.com>\n"
|
||||
"Language-Team: Russian <>\n"
|
||||
"Language: Russian\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Нет поддерживаемого формата цепочек обмена"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Подключение к серверу WiVRn установлено"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Подключен к {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Запустите приложение на сервере чтобы начать трансляцию."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "Запустите приложение на вашем компьютере или выберите его чтобы начать трансляцию."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Запустите приложение на {} или выберите его чтобы начать трансляцию."
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "Несовместимый сервер WiVRn: нет поля протокола в TXT"
|
||||
|
||||
#: client/scenes/lobby.cpp:188
|
||||
#, c++-format
|
||||
msgid "Incompatible WiVRn server protocol (client: {}, server: {})"
|
||||
msgstr "Несовместимый протокол сервера WiVRn (клиент: {}, сервер: {})"
|
||||
|
||||
#: client/scenes/lobby.cpp:203
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Невозможно разрешить имя хоста: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:290 client/scenes/lobby.cpp:296
|
||||
#, c++-format
|
||||
msgid "Cannot connect to {} ({}): {}"
|
||||
msgstr "Невозможно подключиться к {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:379
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Ожидание подключения"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Нормальное"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Качество"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Выключено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "Отключиться"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "Закрыть"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "Подключение"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Подключение к {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "ПИН"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Введите ПИН отображенный в панеле управления"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "Название"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "Адрес"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "Порт"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "Только TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"Запустите сервер WiVRn в вашей\n"
|
||||
"локальной сети"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "Автоматическое подключение"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "Подключиться"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Несовместимая версия сервера"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "Сервер недоступен"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Русский"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "Язык"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "Язык системы"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "Частота обновления"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Автоматическая"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
msgstr ""
|
||||
"Выберите частоту обновления основанную на измеренной производительности приложения.\n"
|
||||
"Может вызвать мерцание когда изменениет произойдет."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Минимальная частота обновления"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "Масштаб разрешения"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} на каждый глаз"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Разрешение больше чем {}x{} может не поддерживаться шлемом"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "Включить микрофон"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Необработанный звук с микрофона"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Принудительно отключить звуковые фильтры, такие как шумоподавление"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Включить отслеживание рук"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Эта функция не поддерживается вашим шлемом"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Включить отслеживание глаз"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Включить отслеживание лица"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Включить отслеживание тела"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
|
||||
"отслеживания движений,\n"
|
||||
"иначе данные тела будут угаданы из положения контроллера и шлема"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Включить отслеживание нижней части тела"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Оценить положение суставов нижней части тела используя Генеративные Ноги\n"
|
||||
"Требуется чтобы в Quest было включено 'Отслеживание рук и тела' в настройках "
|
||||
"отслеживания движений"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Включить отслеживание бедер"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Вступает в силу только с включенным отслеживанием нижней части тела\n"
|
||||
"Может пригодится когда используется другой источник отслеживания бедер"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Включить сквозную передачу видео в лобби"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Включить окно во время трансляции"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Позволяет отображать окно конфигурации во время трансляции игры.\n"
|
||||
"Если включено, окно активируется нажатием обоих джойстиков."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR постобработка"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Уменьшает мерцание для высококонтрастных границ.\n"
|
||||
"Полезно когда входное разрешение высокое по сравнение с экраном шлема"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Увеличение резкости"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Улучшить четкость высококонтрастных границ и противодействовать размытию.\n"
|
||||
"Полезно когда входное разрешение низкое по сравнение с экраном шлема"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "Время ЦПУ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "Время ЦПУ [мс]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "Время ГПУ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "Время ГПУ [мс]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Включить микрофон?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Включить отслеживание глаз?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Включить отслеживание лица?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Включить отслеживание тела?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Добро пожаловать в WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "Да"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "Нет"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "Лицензии"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Микрофон включен"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Микрофон выключен"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Отслеживание рук включено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Отслеживание рук выключено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Отслеживание глаз включено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Отслеживание глаз выключено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Отслеживание лица включено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Отслеживание лица выключено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Отслеживание тела включено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Отслеживание тела выключено"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "Добавить сервер"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "Список серверов"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "Постобработка"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "Отладка"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "О приложении"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "Выйти"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Нажмите кнопку захвата или поднимите ладонь\n"
|
||||
"чтобы переместить главное окно"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Нажмите кнопку захвата чтобы переместить главное окно"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:224
|
||||
msgid "Reproject"
|
||||
msgstr "Репроектирование"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:225
|
||||
msgid "Blit"
|
||||
msgstr "Блит"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227
|
||||
msgid "Network"
|
||||
msgstr "Сеть"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "Загрузка"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Выгрузка"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:297
|
||||
#, c++-format
|
||||
msgid "Decoder {}"
|
||||
msgstr "Декодер {}"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:309
|
||||
msgid "Timings [ms]"
|
||||
msgstr "Тайминги [мс]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:369
|
||||
msgid "Encode"
|
||||
msgstr "Кодирование"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:370
|
||||
msgid "Send"
|
||||
msgstr "Отправка"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:371
|
||||
msgid "Receive"
|
||||
msgstr "Получение"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:372
|
||||
msgid "Decode"
|
||||
msgstr "Декодирование"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:373
|
||||
msgid "Blitted"
|
||||
msgstr "Блиттированное"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:374
|
||||
msgid "Displayed"
|
||||
msgstr "Отображенное"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:375
|
||||
msgid "Predicted"
|
||||
msgstr "Прогнозируемое"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Расчетная задержка от движения к фотонам: {}мс"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Нажмите кнопку захвата чтобы передвинуть окно"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Нажмите оба джойстика чтобы показать окно WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Задержка от движения к фотонам"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Переопределение центра фовеации"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Включить"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Высота {:.1f} градусов"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Расстояние {:.2f} м"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "По умолчанию"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Изменить"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Используйте джойстики чтобы передвинуть центр фовеации"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Нажмите A чтобы сохранить или B чтобы отменить"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Запущенные XR приложения:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr "Оверлеи"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Запрос на выход, может быть проигнорирован приложением"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "Запустить"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "Метрики"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "Приложения"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Оверлей метрик"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "Компактный вид"
|
||||
|
||||
#: client/wivrn_client.cpp:98 client/wivrn_client.cpp:202
|
||||
msgid "Timeout"
|
||||
msgstr "Истекло время ожидания"
|
||||
|
||||
#: client/wivrn_client.cpp:149
|
||||
msgid "Incorrect PIN"
|
||||
msgstr "Неверный ПИН"
|
||||
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "Невозможно проверить ПИН"
|
||||
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Сопряжение выключено на сервере"
|
||||
+167
-152
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-08 20:41+0200\n"
|
||||
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-08-08 22:08+0200\n"
|
||||
"Last-Translator: eps <eps@bwsal.org>\n"
|
||||
"Language-Team: Slovak <>\n"
|
||||
@@ -18,7 +18,7 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Lokalize 25.04.3\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Žiadny podporovaný formát swapchainu"
|
||||
|
||||
@@ -46,96 +46,96 @@ msgstr "Nie je možné sa pripojiť k {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Čaká sa na pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:230
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normálna"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:233
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Vyššia kvalita"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
#: client/scenes/lobby_gui.cpp:237
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
|
||||
#: client/scenes/stream_gui.cpp:838
|
||||
msgid "Disconnect"
|
||||
msgstr "Odpojiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
|
||||
msgid "Close"
|
||||
msgstr "Zatvoriť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
msgid "Connection"
|
||||
msgstr "Pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
#: client/scenes/lobby_gui.cpp:274
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "Pripojenie k {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:302
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:324
|
||||
#: client/scenes/lobby_gui.cpp:326
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Zadajte PIN zobrazený v okne aplikácie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "Pripojené k WiVRn serveru"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
#: client/scenes/lobby_gui.cpp:399
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "Pripojené k {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:407
|
||||
#: client/scenes/lobby_gui.cpp:409
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Na serveri spustite aplikáciu, aby sa začalo streamovanie."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Na svojom počítači spustite aplikáciu alebo vyberte jednu na začatie "
|
||||
"streamovania."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
#: client/scenes/lobby_gui.cpp:423
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Spustite aplikáciu na {} alebo jednu vyberte pre začatie streamovania."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
#: client/scenes/lobby_gui.cpp:546
|
||||
msgid "Name"
|
||||
msgstr "Názov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
msgid "Address"
|
||||
msgstr "Adresa"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:564
|
||||
#: client/scenes/lobby_gui.cpp:566
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:572
|
||||
#: client/scenes/lobby_gui.cpp:574
|
||||
msgid "TCP only"
|
||||
msgstr "Iba TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:579
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Cancel"
|
||||
msgstr "Zrušiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:593
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Save"
|
||||
msgstr "Uložiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:646
|
||||
#: client/scenes/lobby_gui.cpp:648
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -143,32 +143,45 @@ msgstr ""
|
||||
"Spustite WiVRn server na svojej\n"
|
||||
"lokálnej sieti"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:678
|
||||
#: client/scenes/lobby_gui.cpp:680
|
||||
msgid "Autoconnect"
|
||||
msgstr "Automatické pripojenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:704
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
msgid "Connect"
|
||||
msgstr "Pripojiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Verzia servera nie je kompatibilná"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:716
|
||||
#: client/scenes/lobby_gui.cpp:718
|
||||
msgid "Server not available"
|
||||
msgstr "Server nie je dostupný"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Slovenčina"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
|
||||
msgid "System language"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:841
|
||||
msgid "Refresh rate"
|
||||
msgstr "Obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
|
||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automaticky"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:811
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -176,60 +189,60 @@ msgstr ""
|
||||
"Vyber obnovovaciu frekvenciu podľa výkonu aplikácie.\n"
|
||||
"Pri zmene sa môže obraz trochu trhať."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:828
|
||||
#: client/scenes/lobby_gui.cpp:867
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimálna obnovovacia frekvencia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:851
|
||||
#: client/scenes/lobby_gui.cpp:890
|
||||
msgid "Resolution scale"
|
||||
msgstr "Rozlíšenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1094
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - {}x{} na oko"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1105
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Rozlíšenie vyžšie ako {}x{} nemusí byť podporované vašim headsetom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
msgid "Enable microphone"
|
||||
msgstr "Zapnúť mikrofón"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
#: client/scenes/lobby_gui.cpp:920
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "Mikrofónu bez procesovaného zvuku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:887
|
||||
#: client/scenes/lobby_gui.cpp:926
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr ""
|
||||
"Vynúťené vypnutie zvukových filtrov, ako napríklad potlačenie okolného hluku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#: client/scenes/lobby_gui.cpp:933
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "Zapnúť sledovanie rúk"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:900 client/scenes/lobby_gui.cpp:912
|
||||
#: client/scenes/lobby_gui.cpp:924 client/scenes/lobby_gui.cpp:940
|
||||
#: client/scenes/lobby_gui.cpp:990
|
||||
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
|
||||
#: client/scenes/lobby_gui.cpp:1025
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Táto funkcia nieje podporovaná vašim headsetom"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
#: client/scenes/lobby_gui.cpp:945
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Zapnúť sledovanie očí"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:957
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Zapnúť sledovanie tváre"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:931
|
||||
#: client/scenes/lobby_gui.cpp:971
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Zapnúť sledovanie tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:985
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -239,11 +252,11 @@ msgstr ""
|
||||
"tracking settings,\n"
|
||||
"inak dáta o pozícii tela budú odhadované podla pozície headsetu a ovládačov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:960
|
||||
#: client/scenes/lobby_gui.cpp:995
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Zapnúť sledovanie spodnej části tela"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:966
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -253,11 +266,11 @@ msgstr ""
|
||||
"Vyžaduje, aby bolo v nastaveniach Quest movement tracking povolené „Hand and "
|
||||
"body tracking“"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:969
|
||||
#: client/scenes/lobby_gui.cpp:1004
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Povoliť sledovanie pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:975
|
||||
#: client/scenes/lobby_gui.cpp:1010
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -265,19 +278,29 @@ msgstr ""
|
||||
"Platí len pri zapnutom sledovaní dolnej časti tela\n"
|
||||
"Môže byť vhodné, ak sa používa iný zdroj sledovania pása"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:983
|
||||
#: client/scenes/lobby_gui.cpp:1018
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Povoliť passthrough video v hlavnom menu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1004 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:1029
|
||||
msgid "Enable in-stream window"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1032
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRPostprocesing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1008 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1028 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -285,11 +308,11 @@ msgstr ""
|
||||
"Zníženie blikania pri okrajoch z vysokým kontrastom.\n"
|
||||
"Užitočné, keď je vstupné rozlíšenie vysoké v porovnaní s displejom headsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1033 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Ostrosť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1053 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -297,171 +320,125 @@ msgstr ""
|
||||
"Zlepšuje jasnosť pri okrajoch z vysokým kontrastom a potlačuje rozmazanie.\n"
|
||||
"Užitočné, keď je vstupné rozlíšenie nízke v porovnaní s displejom headsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1062
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Zapnúť Snapdragon Game Super Resolution"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1070
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"V tomto headsete bolo toto nastavenie plne nahradené vyššie uvedeným "
|
||||
"natívnym nastavením doostrenia.\n"
|
||||
"Zapnite ho, len ak viete, čo robíte."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1072
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"Zvýšenie rozlíšenia a doostrenie na strane klienta zvyšuje náklady na výkon "
|
||||
"headsetu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1090
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Faktor upscalovania"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1109
|
||||
msgid "Use edge direction"
|
||||
msgstr "Použitie smeru okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1115
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Pridáva dodatočné náklady na výkon"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1120
|
||||
msgid "Edge threshold"
|
||||
msgstr "Hraničná hodnota okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1127 client/scenes/lobby_gui.cpp:1136
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Odporúčané: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1130
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Ostrosť okrajov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1232 client/scenes/lobby_gui.cpp:1240
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "CPU odozva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1236
|
||||
#: client/scenes/lobby_gui.cpp:1195
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU odozva [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1246 client/scenes/lobby_gui.cpp:1254
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "GPU odozva"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1250
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU odozva [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1293
|
||||
#: client/scenes/lobby_gui.cpp:1252
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Zapnúť mikrofón?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1298
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Povolenie sledovania očí?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1303
|
||||
#: client/scenes/lobby_gui.cpp:1262
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Povolenie sledovania tváre?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1308
|
||||
#: client/scenes/lobby_gui.cpp:1267
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Povoliť sledovanie tela?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1316
|
||||
#: client/scenes/lobby_gui.cpp:1275
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "Vitajte v WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1340
|
||||
#: client/scenes/lobby_gui.cpp:1299
|
||||
msgid "Yes"
|
||||
msgstr "Áno"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1347
|
||||
#: client/scenes/lobby_gui.cpp:1306
|
||||
msgid "No"
|
||||
msgstr "Nie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1366 client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
|
||||
msgid "Licenses"
|
||||
msgstr "Licencie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1680
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofón je zapnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1681
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofón je vypnutý"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1690
|
||||
#: client/scenes/lobby_gui.cpp:1660
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "Sledovanie rúk je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1661
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "Sledovanie rúk je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1700
|
||||
#: client/scenes/lobby_gui.cpp:1670
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Sledovanie očí je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1701
|
||||
#: client/scenes/lobby_gui.cpp:1671
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Sledovanie očí je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1714
|
||||
#: client/scenes/lobby_gui.cpp:1681
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Sledovanie tváre je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1715
|
||||
#: client/scenes/lobby_gui.cpp:1682
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Sledovanie tváre je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1725
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Sledovanie tela je zapnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1726
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Sledovanie tela je vypnuté"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1742
|
||||
#: client/scenes/lobby_gui.cpp:1709
|
||||
msgid "Add server"
|
||||
msgstr "Pridať server"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1987
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
msgid "Server list"
|
||||
msgstr "Zoznam serverov"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1990 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1993
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
msgid "Post-processing"
|
||||
msgstr "Postprocesing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1997
|
||||
#: client/scenes/lobby_gui.cpp:1964
|
||||
msgid "Debug"
|
||||
msgstr "Ladenie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2002
|
||||
#: client/scenes/lobby_gui.cpp:1969
|
||||
msgid "About"
|
||||
msgstr "O aplikácii"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2008
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
msgid "Exit"
|
||||
msgstr "Ukončiť"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2025
|
||||
#: client/scenes/lobby_gui.cpp:1992
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -469,7 +446,7 @@ msgstr ""
|
||||
"Stlačte tlačidlo grip alebo zdvihnite dlaň\n"
|
||||
"pre presunutie hlavného okna"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2027
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pre presunutie hlavného okna stlačte grip"
|
||||
|
||||
@@ -485,11 +462,11 @@ msgstr "blitovanie"
|
||||
msgid "Network"
|
||||
msgstr "Sieť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "Prijímanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Odosielanie"
|
||||
|
||||
@@ -530,66 +507,66 @@ msgstr "Zobrazený"
|
||||
msgid "Predicted"
|
||||
msgstr "Odhadovaný"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Odhadovaná odozva od pohybu po zobrazenie: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pre presunutie okna stlačte grip"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pre zobrazenie WiVRn okna stlačte oba joysticky"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Odozva od pohybu po zobrazenie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Prepísanie foveation centra"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Povoliť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Výška: {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Vzdialenosť: {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "Predvolené"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Zmeniť"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Pomocou joysticku nastavte foveation centrum"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Stlačte A pre uloženie alebo B pre zrušenie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
#: client/scenes/stream_gui.cpp:819
|
||||
msgid "Stats"
|
||||
msgstr "Štatistiky"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
#: client/scenes/stream_gui.cpp:828
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Štatistiky na obrazovke"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
#: client/scenes/stream_gui.cpp:831
|
||||
msgid "Compact view"
|
||||
msgstr "Kompaktný vzhľad"
|
||||
|
||||
@@ -608,3 +585,41 @@ msgstr "Nie je možné overiť PIN"
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Párovanie je na serveri vypnuté"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Zapnúť Snapdragon Game Super Resolution"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "V tomto headsete bolo toto nastavenie plne nahradené vyššie uvedeným "
|
||||
#~ "natívnym nastavením doostrenia.\n"
|
||||
#~ "Zapnite ho, len ak viete, čo robíte."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "Zvýšenie rozlíšenia a doostrenie na strane klienta zvyšuje náklady na "
|
||||
#~ "výkon headsetu"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Faktor upscalovania"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Použitie smeru okrajov"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Pridáva dodatočné náklady na výkon"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Hraničná hodnota okrajov"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Odporúčané: {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Ostrosť okrajov"
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 10:40+0300\n"
|
||||
"POT-Creation-Date: 2025-09-12 15:54+0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 17:09+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <fahri@uzun.pro>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -86,7 +86,7 @@ msgid "No precompiled APK is available for this version."
|
||||
msgstr "Bu sürüm için önceden derlenmiş APK yok."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/Main.qml:342
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "ADB yüklü değil."
|
||||
@@ -135,7 +135,7 @@ msgstr "WiVRn'i yeniden yükle"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "WiVRn'i yükle"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Gözlükler"
|
||||
@@ -180,7 +180,7 @@ msgstr "Yeniden Adlandır"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
@@ -310,7 +310,7 @@ msgstr "Eşleştirme"
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "USB ile bağlan"
|
||||
@@ -336,22 +336,22 @@ msgstr "Uygulama"
|
||||
msgid "Steam information"
|
||||
msgstr "Steam bilgisi"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:326
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Sihirbaz"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:333
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Uygulamayı yükle"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Sorun giderme"
|
||||
@@ -457,19 +457,19 @@ msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "Varsayılan ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:139
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "Düşük gecikmeli ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:158
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "Güvenli ön ayar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:181
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -480,84 +480,84 @@ msgstr ""
|
||||
"Kodlayıcıları yeniden boyutlandırmak veya kaldırmak için bir kenarı "
|
||||
"sürükleyin."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:208
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Kodlayıcı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:217
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:222
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:227
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD ve Intel GPU'ları)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:232
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (yazılım kodlaması)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:237
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:260
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Otomatik\", mevcutsa donanım hızlandırmayı kullanacaktır"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:266
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:273
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:277
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:281
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:307
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Gelişmiş seçenekler"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:313
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Hata ayıklama penceresini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:323
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -571,44 +571,44 @@ msgstr ""
|
||||
"Aygıtlar WiVRn'e bağlanmadan önce açık olmalıdır.\n"
|
||||
"Kalibrasyon için motoc gibi harici bir araç gereklidir."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:331
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Özel adb konumu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:342
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Adb konumu:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:351
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Gözat"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:361
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:375
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Özel"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:388
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR uyumluluk kitaplığı:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:414
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
||||
@@ -645,7 +645,7 @@ msgstr "Steam başlatma komutu kopyalandı"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "Gözlüğümde WiVRn uygulamasını bulamıyorum"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -659,7 +659,7 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "WiVRn uygulamasında bilgisayarımı göremiyorum"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
@@ -714,7 +714,7 @@ msgstr "Eşleştirme şu anda devre dışı."
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "Gözlüğümde ses yok"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
@@ -739,9 +739,9 @@ msgid "Getting started"
|
||||
msgstr "Başlangıç"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "Geri"
|
||||
@@ -761,8 +761,8 @@ msgstr ""
|
||||
"yardımcı olacaktır."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "İleri"
|
||||
@@ -860,12 +860,12 @@ msgstr ""
|
||||
"Seçtiğiniz uygulama, gözlüğünüzü bağladığınızda otomatik olarak "
|
||||
"başlayacaktır."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "Önemli bilgi"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
@@ -874,12 +874,12 @@ msgstr ""
|
||||
"WiVRn, SteamVR'nin yerini tamamen alır, WiVRn çalışırken SteamVR'yi "
|
||||
"başlatmamalısınız."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -888,32 +888,32 @@ msgstr ""
|
||||
"WiFi üzerinden bağlanmak için, gözlüğünüzde WiVRn uygulamasını başlatın, "
|
||||
"\"%1\"e bağlanın ve \"%2\" PIN'ini girin."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "USB üzerinden bağlanmak için \"USB ile bağlan\"a tıklayın."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "Sorun giderme"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "Atla"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "Bağlantı kuruldu"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "Gözlüğünüz şimdi bağlı."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
@@ -922,22 +922,22 @@ msgstr ""
|
||||
"Başka bir gözlük bağlamak için, bağlanmadan önce kontrol panelinde "
|
||||
"eşleştirmenin etkinleştirildiğinden emin olun."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "Bitir"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "Bitti"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#: dashboard/wivrn_server.cpp:592
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#: dashboard/wivrn_server.cpp:593
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+177
-160
@@ -8,9 +8,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-04 16:49+0300\n"
|
||||
"PO-Revision-Date: 2025-08-08 16:56+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <fahri@uzun.pro>\n"
|
||||
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
|
||||
"PO-Revision-Date: 2025-09-12 17:35+0300\n"
|
||||
"Last-Translator: Hüseyin Fahri Uzun <mail@fahriuzun.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -18,7 +18,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.6\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "Desteklenen swapchain formatı yok"
|
||||
|
||||
@@ -45,130 +45,143 @@ msgstr "Bağlanılamıyor {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Bağlantı için bekleniyor"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
#: client/scenes/lobby_gui.cpp:235
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "Kalite"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
#: client/scenes/lobby_gui.cpp:237
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
|
||||
#: client/scenes/stream_gui.cpp:838
|
||||
msgid "Disconnect"
|
||||
msgstr "Bağlantıyı Kes"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
|
||||
msgid "Close"
|
||||
msgstr "Kapat"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
#: client/scenes/lobby_gui.cpp:272
|
||||
msgid "Connection"
|
||||
msgstr "Bağlantı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:274
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "{} Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
#: client/scenes/lobby_gui.cpp:304
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
#: client/scenes/lobby_gui.cpp:326
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Gösterilen PIN'i gösterge paneline giriniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
#: client/scenes/lobby_gui.cpp:397
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "WiVRn sunucusuna bağlanıldı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#: client/scenes/lobby_gui.cpp:399
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "{} bağlanıldı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
#: client/scenes/lobby_gui.cpp:409
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Sunucuda bir uygulama başlatarak akışa başlayın."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
#: client/scenes/lobby_gui.cpp:421
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Bilgisayarınızda bir uygulama başlatın veya akış başlatmak için bir uygulama "
|
||||
"seçin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#: client/scenes/lobby_gui.cpp:423
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"{} üzerinde bir uygulama başlatın veya akış başlatmak için bir tane seçin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
#: client/scenes/lobby_gui.cpp:546
|
||||
msgid "Name"
|
||||
msgstr "Ad"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
msgid "Address"
|
||||
msgstr "Adres"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
#: client/scenes/lobby_gui.cpp:566
|
||||
msgid "Port"
|
||||
msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:574
|
||||
msgid "TCP only"
|
||||
msgstr "Sadece TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
#: client/scenes/lobby_gui.cpp:581
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
#: client/scenes/lobby_gui.cpp:595
|
||||
msgid "Save"
|
||||
msgstr "Kaydet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
#: client/scenes/lobby_gui.cpp:648
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"Yerel ağınızda\n"
|
||||
"bir WiVRn sunucusu başlatın."
|
||||
"bir WiVRn sunucusu başlatın"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:680
|
||||
msgid "Autoconnect"
|
||||
msgstr "Oto Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
#: client/scenes/lobby_gui.cpp:706
|
||||
msgid "Connect"
|
||||
msgstr "Bağlan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "Uyumsuz sunucu versiyonu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
#: client/scenes/lobby_gui.cpp:718
|
||||
msgid "Server not available"
|
||||
msgstr "Sunucu mevcut değil"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:800
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "Türkçe"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
|
||||
msgid "System language"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:841
|
||||
msgid "Refresh rate"
|
||||
msgstr "Tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Otomatik"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -176,60 +189,60 @@ msgstr ""
|
||||
"Ölçülen uygulama performansına göre yenileme hızını seçin.\n"
|
||||
"Değişiklik olduğunda titremeye neden olabilir."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:867
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "Minimum tazeleme oranı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:890
|
||||
msgid "Resolution scale"
|
||||
msgstr "Çözünürlük ölçeği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#: client/scenes/lobby_gui.cpp:894
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "göz başına %d%% - {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
|
||||
#: client/scenes/lobby_gui.cpp:905
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
"{}x{} 'den daha büyük çözünürlükler gözlük tarafından desteklenmeyebilir."
|
||||
"{}x{} 'den daha büyük çözünürlükler gözlük tarafından desteklenmeyebilir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
msgid "Enable microphone"
|
||||
msgstr "Mikrofonu aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:920
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "İşlenmemiş Mikrofon Sesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
#: client/scenes/lobby_gui.cpp:926
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Gürültü engelleme gibi ses filtrelerini zorla devre dışı bırak"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:933
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "El izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:939 client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:963 client/scenes/lobby_gui.cpp:980
|
||||
#: client/scenes/lobby_gui.cpp:1025
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir."
|
||||
msgstr "Bu özellik gözlüğünüz tarafından desteklenmemektedir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
#: client/scenes/lobby_gui.cpp:945
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Göz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:957
|
||||
msgid "Enable face tracking"
|
||||
msgstr "Yüz takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
#: client/scenes/lobby_gui.cpp:971
|
||||
msgid "Enable body tracking"
|
||||
msgstr "Vücut takibi aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
#: client/scenes/lobby_gui.cpp:985
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -238,13 +251,13 @@ msgstr ""
|
||||
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
|
||||
"etkinleştirilmesi gerekir,\n"
|
||||
"aksi takdirde vücut verileri kontrol cihazı ve başlık konumlarından tahmin "
|
||||
"edilecektir."
|
||||
"edilecektir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
#: client/scenes/lobby_gui.cpp:995
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Alt vücut izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -254,11 +267,11 @@ msgstr ""
|
||||
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
|
||||
"etkinleştirilmesi gerekir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:1004
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "Kalça izlemeyi etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
#: client/scenes/lobby_gui.cpp:1010
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -266,203 +279,169 @@ msgstr ""
|
||||
"Sadece alt vücut izleme etkinleştirildiğinde geçerlidir\n"
|
||||
"Başka bir kalça izleme kaynağı kullanıldığında tercih edilebilir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
#: client/scenes/lobby_gui.cpp:1018
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "Lobide video geçişini etkinleştir"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:1029
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "Akış penceresinde aktif et"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1032
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Oyun akışı yapılırken ayar penceresini aktif eder.\n"
|
||||
"Aktif iken, pencere her iki başparmak tuşlarına basılınca açılır."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR işlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "Süper örnekleme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"Yüksek kontrastlı kenarlarda titremeyi azaltın.\n"
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır."
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla yüksek olduğunda kullanışlıdır"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "Keskinleştirme"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Yüksek kontrastlı kenarların netliğini artırın ve bulanıklığı giderin.\n"
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır."
|
||||
"Giriş çözünürlüğü kulaklık ekranına kıyasla düşük olduğunda kullanışlıdır"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Snapdragon Oyun Süper Çözünürlüğü'nü etkinleştirin"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"Bu kulaklıkta, bu ayar yukarıdaki yerel Keskinleştirme ayarı ile tamamen "
|
||||
"değiştirilmiştir.\n"
|
||||
"Ne yaptığınızı biliyorsanız etkinleştirin."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"İstemci tarafında yükseltme ve keskinleştirme, kulaklıkta performans "
|
||||
"düşüşüne neden olur."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "Yükseltme faktörü"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "Kenar yönünü kullan"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "Ek bir performans düşüşü ekler"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "Kenar eşiği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "Önerilen: {:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "Kenar keskinliği"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "CPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
#: client/scenes/lobby_gui.cpp:1195
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "GPU zamanı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
#: client/scenes/lobby_gui.cpp:1209
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU zamanı [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
#: client/scenes/lobby_gui.cpp:1252
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "Mikrofonu aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
#: client/scenes/lobby_gui.cpp:1257
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Göz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
#: client/scenes/lobby_gui.cpp:1262
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "Yüz takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
#: client/scenes/lobby_gui.cpp:1267
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "Vücut takibi aktif et?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
#: client/scenes/lobby_gui.cpp:1275
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "WiVRn'e hoş geldiniz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
#: client/scenes/lobby_gui.cpp:1299
|
||||
msgid "Yes"
|
||||
msgstr "Evet"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
#: client/scenes/lobby_gui.cpp:1306
|
||||
msgid "No"
|
||||
msgstr "Hayır"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
|
||||
msgid "Licenses"
|
||||
msgstr "Lisanslar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1650
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "Mikrofon aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1651
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "Mikrofon devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1660
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "El takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1661
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "El takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
#: client/scenes/lobby_gui.cpp:1670
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Göz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1671
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Göz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
#: client/scenes/lobby_gui.cpp:1681
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "Yüz takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1682
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "Yüz takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "Vücut takibi aktif"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "Vücut takibi devre dışı"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
#: client/scenes/lobby_gui.cpp:1709
|
||||
msgid "Add server"
|
||||
msgstr "Sunucu ekle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1954
|
||||
msgid "Server list"
|
||||
msgstr "Sunucu listesi"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
|
||||
msgid "Settings"
|
||||
msgstr "Ayarlar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
#: client/scenes/lobby_gui.cpp:1960
|
||||
msgid "Post-processing"
|
||||
msgstr "İşlem sonrası"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
#: client/scenes/lobby_gui.cpp:1964
|
||||
msgid "Debug"
|
||||
msgstr "Hata ayıklama"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
#: client/scenes/lobby_gui.cpp:1969
|
||||
msgid "About"
|
||||
msgstr "Hakkında"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
msgid "Exit"
|
||||
msgstr "Çıkış"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
#: client/scenes/lobby_gui.cpp:1992
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -470,7 +449,7 @@ msgstr ""
|
||||
"Ana pencereyi hareket ettirmek için tutma düğmesine basın\n"
|
||||
"veya avucunuzu yukarı kaldırın"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1994
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Ana pencereyi hareket ettirmek için tutma düğmesine basın"
|
||||
|
||||
@@ -486,11 +465,11 @@ msgstr "Blit"
|
||||
msgid "Network"
|
||||
msgstr "Ağ"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "İndir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "Gönder"
|
||||
|
||||
@@ -531,67 +510,67 @@ msgstr "Görüntülenen"
|
||||
msgid "Predicted"
|
||||
msgstr "Tahmin edilen"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Fotonlara tahmini hareket gecikmesi: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pencereyi hareket ettirmek için tutma düğmesine basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr ""
|
||||
"WiVRn penceresini görüntülemek için her iki başparmak çubuklarınıda basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "Hareketin fotona ulaşma gecikmesi"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "Foveasyon merkezi geçersiz kılma"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "Aktif et"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Boy {:.1f} deg"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "Uzaklık {:.2f} m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "Varsayılan"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "Değiştir"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Kaydetmek için A tuşuna, iptal etmek için B tuşuna basın"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
#: client/scenes/stream_gui.cpp:819
|
||||
msgid "Stats"
|
||||
msgstr "İstatistikler"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
#: client/scenes/stream_gui.cpp:828
|
||||
msgid "Statistics overlay"
|
||||
msgstr "İstatistik katmanı"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
#: client/scenes/stream_gui.cpp:831
|
||||
msgid "Compact view"
|
||||
msgstr "Kompakt görünüm"
|
||||
|
||||
@@ -610,3 +589,41 @@ msgstr "PIN kontrol edilemiyor"
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Bu sunucuda eşleşme devre dışı"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "Snapdragon Oyun Süper Çözünürlüğü'nü etkinleştirin"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "Bu kulaklıkta, bu ayar yukarıdaki yerel Keskinleştirme ayarı ile tamamen "
|
||||
#~ "değiştirilmiştir.\n"
|
||||
#~ "Ne yaptığınızı biliyorsanız etkinleştirin."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr ""
|
||||
#~ "İstemci tarafında yükseltme ve keskinleştirme, kulaklıkta performans "
|
||||
#~ "düşüşüne neden olur."
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "Yükseltme faktörü"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "Kenar yönünü kullan"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "Ek bir performans düşüşü ekler"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "Kenar eşiği"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "Önerilen: {:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "Kenar keskinliği"
|
||||
|
||||
+147
-114
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-07 23:22+0800\n"
|
||||
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -17,47 +17,47 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#: dashboard/apk_installer.cpp:165
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB / %2 MB"
|
||||
msgstr "正在下載 APK: %1 MB / %2 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:169
|
||||
#: dashboard/apk_installer.cpp:167
|
||||
#, kde-format
|
||||
msgid "Downloading APK: %1 MB"
|
||||
msgstr "正在下載 APK: %1 MB"
|
||||
|
||||
#: dashboard/apk_installer.cpp:178
|
||||
#: dashboard/apk_installer.cpp:176
|
||||
#, kde-format
|
||||
msgid "Download cancelled"
|
||||
msgstr "下載已取消"
|
||||
|
||||
#: dashboard/apk_installer.cpp:194
|
||||
#: dashboard/apk_installer.cpp:192
|
||||
#, kde-format
|
||||
msgid "Cannot download APK: %1"
|
||||
msgstr "無法下載 APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:217
|
||||
#: dashboard/apk_installer.cpp:215
|
||||
#, kde-format
|
||||
msgid "Installing APK"
|
||||
msgstr "正在安裝 APK"
|
||||
|
||||
#: dashboard/apk_installer.cpp:221
|
||||
#: dashboard/apk_installer.cpp:219
|
||||
#, kde-format
|
||||
msgid "adb failed to start: %1"
|
||||
msgstr "adb 啟動失敗: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:231
|
||||
#: dashboard/apk_installer.cpp:229
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "adb 異常結束: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:239
|
||||
#: dashboard/apk_installer.cpp:237
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "'adb install' 命令失敗: 結束代碼 %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:244
|
||||
#: dashboard/apk_installer.cpp:242
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "安裝成功"
|
||||
@@ -83,8 +83,8 @@ msgstr "正在檢查最新版本..."
|
||||
msgid "No precompiled APK is available for this version."
|
||||
msgstr "此版本沒有預編譯 APK 可用"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259
|
||||
#: dashboard/qml/Main.qml:341
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:287
|
||||
#: dashboard/qml/Main.qml:370
|
||||
#, kde-format
|
||||
msgid "ADB is not installed."
|
||||
msgstr "未安裝 ADB"
|
||||
@@ -105,7 +105,7 @@ msgstr ""
|
||||
"building.md#client-headset\">文件</a>中的說明建置您自己的用戶端。"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:59
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -131,7 +131,7 @@ msgstr "重新安裝 WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "安裝 WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:375
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "頭戴式裝置"
|
||||
@@ -176,7 +176,7 @@ msgstr "重新命名"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:55 dashboard/qml/WizardPage.qml:38
|
||||
#: dashboard/qml/WizardPage.qml:88 dashboard/qml/WizardPage.qml:263
|
||||
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
|
||||
#: dashboard/qml/WizardPage.qml:327 dashboard/qml/WizardPage.qml:411
|
||||
#, kde-format
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
@@ -196,7 +196,7 @@ msgstr "移除"
|
||||
msgid "Pairing enabled, PIN: %1"
|
||||
msgstr "配對已啟用,PIN 碼:%1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42
|
||||
#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50
|
||||
#, kde-format
|
||||
msgid "Disable pairing"
|
||||
msgstr "停用配對"
|
||||
@@ -211,7 +211,7 @@ msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式,並使用 PIN 碼
|
||||
msgid "Enable pairing to allow your headset to connect to this computer"
|
||||
msgstr "啟用配對以允許您的頭戴式裝置連線至此電腦"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37
|
||||
#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45
|
||||
#, kde-format
|
||||
msgid "Enable pairing"
|
||||
msgstr "啟用配對"
|
||||
@@ -226,39 +226,44 @@ msgstr "配對新的頭戴式裝置"
|
||||
msgid "Headset statistics"
|
||||
msgstr "頭戴式裝置統計資訊"
|
||||
|
||||
#: dashboard/qml/Main.qml:107
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities."
|
||||
msgstr "伺服器沒有 CAP_SYS_NICE 權限"
|
||||
|
||||
#: dashboard/qml/Main.qml:114
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:150
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "修正"
|
||||
|
||||
#: dashboard/qml/Main.qml:123
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757."
|
||||
msgstr "防火牆可能不允許端口 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted."
|
||||
msgstr "CAP_SYS_NICE 權限將在伺服器重新啟動時生效"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "立即重新啟動"
|
||||
|
||||
#: dashboard/qml/Main.qml:140
|
||||
#: dashboard/qml/Main.qml:176
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr "NVIDIA 顯示卡至少需要驅動程式版本 565.77,目前版本為 %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:146
|
||||
#: dashboard/qml/Main.qml:182
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "更多資訊"
|
||||
|
||||
#: dashboard/qml/Main.qml:154
|
||||
#: dashboard/qml/Main.qml:190
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -267,83 +272,84 @@ msgstr ""
|
||||
"AMD 顯示卡請使用 Mesa (radv) 驅動程式\n"
|
||||
"使用 vaapi 的硬體編碼不適用於 AMDVLK 和 AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:162
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
"Install xrizer or OpenComposite."
|
||||
msgstr "未偵測到 OpenVR 相容性,Steam 遊戲將無法載入 VR。\n"
|
||||
msgstr ""
|
||||
"未偵測到 OpenVR 相容性,Steam 遊戲將無法載入 VR。\n"
|
||||
"請安裝 xrizer 或 OpenComposite"
|
||||
|
||||
#: dashboard/qml/Main.qml:171
|
||||
#: dashboard/qml/Main.qml:207
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "伺服器啟動失敗"
|
||||
|
||||
#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77
|
||||
#: dashboard/qml/Main.qml:213 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "開啟伺服器日誌"
|
||||
|
||||
#: dashboard/qml/Main.qml:214
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "運行中"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "配對中"
|
||||
|
||||
#: dashboard/qml/Main.qml:242
|
||||
#: dashboard/qml/Main.qml:270
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
|
||||
#: dashboard/qml/Main.qml:278 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "透過 USB 連線"
|
||||
|
||||
#: dashboard/qml/Main.qml:261
|
||||
#: dashboard/qml/Main.qml:289
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode."
|
||||
msgstr "沒有偵測到頭戴式裝置,或您的頭戴式裝置未啟用開發者模式。"
|
||||
|
||||
#: dashboard/qml/Main.qml:269
|
||||
#: dashboard/qml/Main.qml:297
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "中斷連線"
|
||||
|
||||
#: dashboard/qml/Main.qml:286
|
||||
#: dashboard/qml/Main.qml:314
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "應用程式"
|
||||
|
||||
#: dashboard/qml/Main.qml:307
|
||||
#: dashboard/qml/Main.qml:335
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam 資訊"
|
||||
|
||||
#: dashboard/qml/Main.qml:325
|
||||
#: dashboard/qml/Main.qml:354
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "精靈"
|
||||
|
||||
#: dashboard/qml/Main.qml:332
|
||||
#: dashboard/qml/Main.qml:361
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "安裝應用程式"
|
||||
|
||||
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:382 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:389 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "疑難排解"
|
||||
@@ -366,23 +372,23 @@ msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "瀏覽"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:40
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "手動注視點渲染"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:46
|
||||
#: dashboard/qml/SettingsPage.qml:47
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "注視點渲染強度:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:62
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:68
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -402,65 +408,65 @@ msgstr ""
|
||||
"對於沒有眼球追蹤的頭戴式裝置,建議值在 20% 到 50% 之間,對於具有眼球追蹤的頭"
|
||||
"戴式裝置,建議值在 50% 到 70% 之間。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:74
|
||||
#: dashboard/qml/SettingsPage.qml:75
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "較弱"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:85
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "較強"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:95
|
||||
#: dashboard/qml/SettingsPage.qml:96
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "位元率:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:99 dashboard/qml/SettingsPage.qml:101
|
||||
#: dashboard/qml/SettingsPage.qml:100 dashboard/qml/SettingsPage.qml:102
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:111
|
||||
#: dashboard/qml/SettingsPage.qml:112
|
||||
#, kde-format
|
||||
msgid "Encoder layout:"
|
||||
msgstr "編碼器佈局:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:114
|
||||
#: dashboard/qml/SettingsPage.qml:115
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:118
|
||||
#: dashboard/qml/SettingsPage.qml:119
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Manual"
|
||||
msgstr "手動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#: dashboard/qml/SettingsPage.qml:123
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Default preset"
|
||||
msgstr "預設"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:145
|
||||
#: dashboard/qml/SettingsPage.qml:140
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Low latency preset"
|
||||
msgstr "低延遲預設"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#, kde-format
|
||||
msgctxt "encoder preset"
|
||||
msgid "Safe preset"
|
||||
msgstr "安全預設"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:193
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
|
||||
@@ -469,84 +475,89 @@ msgstr ""
|
||||
"要新增編碼器,請點擊邊緣附近以分割現有編碼器。\n"
|
||||
"拖曳邊緣以調整大小或移除編碼器。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:220
|
||||
#: dashboard/qml/SettingsPage.qml:209
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "編碼器:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:229
|
||||
#: dashboard/qml/SettingsPage.qml:218
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:234
|
||||
#: dashboard/qml/SettingsPage.qml:223
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:239
|
||||
#: dashboard/qml/SettingsPage.qml:228
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD 和 Intel GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:244
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (軟體編碼)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:249
|
||||
#: dashboard/qml/SettingsPage.qml:238
|
||||
#, kde-format
|
||||
msgid "Vulkan (Vulkan Video)"
|
||||
msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:272
|
||||
#: dashboard/qml/SettingsPage.qml:261
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"自動\" 將在可用時使用硬體加速"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#: dashboard/qml/SettingsPage.qml:267
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "編碼器:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "自動"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#: dashboard/qml/SettingsPage.qml:278
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:282
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:297
|
||||
#: dashboard/qml/SettingsPage.qml:286
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "進階選項"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#: dashboard/qml/SettingsPage.qml:314
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "在啟動時檢查系統配置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:318
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "啟用偵錯視窗"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "啟用 SteamVR 追蹤裝置支援"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#: dashboard/qml/SettingsPage.qml:328
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -559,44 +570,44 @@ msgstr ""
|
||||
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
|
||||
"校準需要額外工具,例如 motoc。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "自訂 adb 位置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#: dashboard/qml/SettingsPage.qml:347
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "adb 位置:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#: dashboard/qml/SettingsPage.qml:356
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "瀏覽"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#: dashboard/qml/SettingsPage.qml:366
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "預設"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#: dashboard/qml/SettingsPage.qml:380
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "自訂"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#: dashboard/qml/SettingsPage.qml:385
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR 相容性函式庫:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#: dashboard/qml/SettingsPage.qml:419
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
|
||||
@@ -631,7 +642,7 @@ msgstr "已複製 Steam 啟動命令"
|
||||
msgid "I cannot find the WiVRn app on my headset"
|
||||
msgstr "我在我的頭顯上找不到 WiVRn 應用程式。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
|
||||
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
@@ -645,21 +656,34 @@ msgstr ""
|
||||
msgid "I cannot see my computer in the WiVRn app"
|
||||
msgstr "我在 WiVRn 應用程式中看不到我的電腦。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
|
||||
#: dashboard/qml/TroubleshootPage.qml:25
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgid "If you have a firewall, make sure that port 5353/UDP is open."
|
||||
msgstr ""
|
||||
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
|
||||
"9757 (TCP 和 UDP)。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:28
|
||||
#, kde-format
|
||||
msgid "Connecting remains stuck on \"Connection to ...\""
|
||||
msgstr ""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
msgid "Connection fails with \"no route to host\""
|
||||
msgstr ""
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "我遇到「配對已停用」錯誤"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:29
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
@@ -669,12 +693,12 @@ msgstr ""
|
||||
"<p>頭戴式裝置應用程式與電腦上伺服器的版本必須一致。</p><ul><li>頭戴式裝置應用"
|
||||
"程式版本位於「關於」頁面</li><li>伺服器版本是<b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
msgid "I have a \"Pairing is disabled\" error"
|
||||
msgstr "我遇到「配對已停用」錯誤"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
@@ -683,34 +707,34 @@ msgstr ""
|
||||
"如果您已重新安裝伺服器或客戶端,或如果您想連接另一個頭戴式裝置,您必須在連接"
|
||||
"前啟用配對。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently enabled with PIN %1."
|
||||
msgstr "目前已啟用配對,PIN 碼為 %1。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:33
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
msgid "Pairing is currently disabled."
|
||||
msgstr "目前已停用配對"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:49
|
||||
#: dashboard/qml/TroubleshootPage.qml:57
|
||||
#, kde-format
|
||||
msgid "I have no sound on my headset"
|
||||
msgstr "我的頭戴式裝置沒有聲音"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
|
||||
#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"When the headset is connected, select \"WiVRn\" as the default audio output "
|
||||
"device for applications to use it."
|
||||
msgstr "連接頭戴式裝置後,選擇 \"WiVRn\" 作為應用程式使用的預設音訊輸出裝置。"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/TroubleshootPage.qml:75
|
||||
#, kde-format
|
||||
msgid "Report an issue"
|
||||
msgstr "回報問題"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:72
|
||||
#: dashboard/qml/TroubleshootPage.qml:80
|
||||
#, kde-format
|
||||
msgid "Ask on Discord"
|
||||
msgstr "在 Discord 上提問"
|
||||
@@ -721,9 +745,9 @@ msgid "Getting started"
|
||||
msgstr "入門指南"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:29 dashboard/qml/WizardPage.qml:78
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
|
||||
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
|
||||
#: dashboard/qml/WizardPage.qml:484
|
||||
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:317
|
||||
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
|
||||
#: dashboard/qml/WizardPage.qml:485
|
||||
#, kde-format
|
||||
msgid "Back"
|
||||
msgstr "返回"
|
||||
@@ -741,8 +765,8 @@ msgid ""
|
||||
msgstr "此精靈將幫助您在頭戴式裝置上設定 WiVRn,並將其連接到您的電腦。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
|
||||
#: dashboard/qml/WizardPage.qml:489
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "下一步"
|
||||
@@ -834,24 +858,24 @@ msgid ""
|
||||
"your headset."
|
||||
msgstr "當您連接頭戴式裝置時,您選擇的應用程式將會自動啟動。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:300
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
msgid "Important information"
|
||||
msgstr "重要訊息"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:307
|
||||
#: dashboard/qml/WizardPage.qml:308
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr "WiVRn完全取代了SteamVR,在WiVRn運行時,請勿啟動SteamVR"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:358
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset"
|
||||
msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:363
|
||||
#: dashboard/qml/WizardPage.qml:364
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
@@ -860,54 +884,63 @@ msgstr ""
|
||||
"要通過 WiFi 連線,請在您的頭戴式裝置上啟動 WiVRn 應用程式,連線至 \"%1\" 並輸"
|
||||
"入 PIN 碼 \"%2\"。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:370
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||
msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:383
|
||||
#: dashboard/qml/WizardPage.qml:384
|
||||
#, kde-format
|
||||
msgid "Troubleshooting"
|
||||
msgstr "疑難排解"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:405
|
||||
#: dashboard/qml/WizardPage.qml:393
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"If the server is not visible or the connection fails, check that port 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"如果伺服器不可見或連線失敗,請檢查您的防火牆是否開啟了連接埠 5353 (UDP) 和 "
|
||||
"9757 (TCP 和 UDP)。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
msgid "Skip"
|
||||
msgstr "跳過"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:425
|
||||
#: dashboard/qml/WizardPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Connection established"
|
||||
msgstr "連線已建立"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:430
|
||||
#: dashboard/qml/WizardPage.qml:431
|
||||
#, kde-format
|
||||
msgid "Your headset is now connected."
|
||||
msgstr "您的頭戴式裝置現在已連線。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
|
||||
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr "如要連接其他頭戴式裝置,請確保在連線之前在儀表板中啟用配對。"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
msgid "Finish"
|
||||
msgstr "完成"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:472
|
||||
#: dashboard/qml/WizardPage.qml:473
|
||||
#, kde-format
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:584
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:585
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
+203
-166
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-08-07 23:22+0800\n"
|
||||
"POT-Creation-Date: 2025-10-19 17:37+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Jayden Ha <jayden@jaydenha.uk>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -17,10 +17,32 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: client/scene.cpp:74
|
||||
#: client/scene.cpp:72
|
||||
msgid "No supported swapchain format"
|
||||
msgstr "不支援的交換鏈格式"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:135
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "已連線到 WiVRn 伺服器"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:137
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "已連線到 {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:143
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "在伺服器那邊啟動程式來開始串流。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:153
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:155
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
|
||||
|
||||
#: client/scenes/lobby.cpp:185
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
msgstr "不相容的 WiVRn 伺服器: TXT 中沒有協議欄位"
|
||||
@@ -44,94 +66,72 @@ msgstr "無法連線至 {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:229
|
||||
#: client/scenes/lobby_gui.cpp:107
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "正常"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:232
|
||||
#: client/scenes/lobby_gui.cpp:110
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "畫質"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:234
|
||||
#: client/scenes/lobby_gui.cpp:112
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
|
||||
#: client/scenes/stream_gui.cpp:812
|
||||
#: client/scenes/lobby_gui.cpp:120 client/scenes/lobby_gui.cpp:264
|
||||
#: client/scenes/stream_gui.cpp:944
|
||||
msgid "Disconnect"
|
||||
msgstr "中斷連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
|
||||
#: client/scenes/lobby_gui.cpp:140 client/scenes/stream_gui.cpp:940
|
||||
msgid "Close"
|
||||
msgstr "關閉"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:268
|
||||
#: client/scenes/lobby_gui.cpp:146
|
||||
msgid "Connection"
|
||||
msgstr "連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:270
|
||||
#: client/scenes/lobby_gui.cpp:148
|
||||
#, c++-format
|
||||
msgid "Connection to {}"
|
||||
msgstr "連線至 {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:300
|
||||
#: client/scenes/lobby_gui.cpp:178
|
||||
msgid "PIN"
|
||||
msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:322
|
||||
#: client/scenes/lobby_gui.cpp:200
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "請輸入控制面板上顯示的 PIN 碼"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:393
|
||||
msgid "Connected to WiVRn server"
|
||||
msgstr "已連線到 WiVRn 伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Connected to {}"
|
||||
msgstr "已連線到 {}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:405
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "在伺服器那邊啟動程式來開始串流。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:414
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr "在您的電腦上啟動應用程式,或是選擇一個來開始串流。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "在 {} 上啟動應用程式,或是選擇一個來開始串流。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:522
|
||||
#: client/scenes/lobby_gui.cpp:290
|
||||
msgid "Name"
|
||||
msgstr "名"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:533
|
||||
#: client/scenes/lobby_gui.cpp:301
|
||||
msgid "Address"
|
||||
msgstr "伺服器位址"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:542
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "Port"
|
||||
msgstr "連接埠"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:550
|
||||
#: client/scenes/lobby_gui.cpp:318
|
||||
msgid "TCP only"
|
||||
msgstr "僅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:557
|
||||
#: client/scenes/lobby_gui.cpp:325 client/scenes/stream_gui.cpp:908
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:571
|
||||
#: client/scenes/lobby_gui.cpp:339
|
||||
msgid "Save"
|
||||
msgstr "儲存"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:624
|
||||
#: client/scenes/lobby_gui.cpp:392
|
||||
msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
@@ -139,32 +139,45 @@ msgstr ""
|
||||
"在您的區域網路中啟動\n"
|
||||
"WiVRn 伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:656
|
||||
#: client/scenes/lobby_gui.cpp:424
|
||||
msgid "Autoconnect"
|
||||
msgstr "自動連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:682
|
||||
#: client/scenes/lobby_gui.cpp:450
|
||||
msgid "Connect"
|
||||
msgstr "連線"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
|
||||
#: client/scenes/lobby_gui.cpp:460 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "伺服器版本不相容"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:694
|
||||
#: client/scenes/lobby_gui.cpp:462
|
||||
msgid "Server not available"
|
||||
msgstr "無法使用伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780
|
||||
#: client/scenes/lobby_gui.cpp:544
|
||||
msgctxt "language selection, replace with the name of the language"
|
||||
msgid "English"
|
||||
msgstr "漢語"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558
|
||||
msgid "Language"
|
||||
msgstr "語言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:558 client/scenes/lobby_gui.cpp:560
|
||||
msgid "System language"
|
||||
msgstr "系統語言"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:585
|
||||
msgid "Refresh rate"
|
||||
msgstr "刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
|
||||
#: client/scenes/lobby_gui.cpp:585 client/scenes/lobby_gui.cpp:587
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "自動"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:789
|
||||
#: client/scenes/lobby_gui.cpp:594
|
||||
msgid ""
|
||||
"Select refresh rate based on measured application performance.\n"
|
||||
"May cause flicker when a change happens."
|
||||
@@ -172,59 +185,59 @@ msgstr ""
|
||||
"根據測量的應用程式效能選擇刷新率。\n"
|
||||
"變更時可能會造成閃爍。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:611
|
||||
msgid "Minimum refresh rate"
|
||||
msgstr "最低刷新率"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:634
|
||||
msgid "Resolution scale"
|
||||
msgstr "解析度縮放比例"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
|
||||
#: client/scenes/lobby_gui.cpp:638
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - 單眼 {}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
|
||||
#: client/scenes/lobby_gui.cpp:649
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:850
|
||||
#: client/scenes/lobby_gui.cpp:655
|
||||
msgid "Enable microphone"
|
||||
msgstr "啟用麥克風"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:859
|
||||
#: client/scenes/lobby_gui.cpp:664
|
||||
msgid "Unprocessed Microphone Audio"
|
||||
msgstr "未處理的麥克風音訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:865
|
||||
#: client/scenes/lobby_gui.cpp:670
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "強制停用音訊濾波器,例如降噪"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:872
|
||||
#: client/scenes/lobby_gui.cpp:677
|
||||
msgid "Enable hand tracking"
|
||||
msgstr "啟用手部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:878 client/scenes/lobby_gui.cpp:890
|
||||
#: client/scenes/lobby_gui.cpp:902 client/scenes/lobby_gui.cpp:918
|
||||
#: client/scenes/lobby_gui.cpp:968
|
||||
#: client/scenes/lobby_gui.cpp:683 client/scenes/lobby_gui.cpp:695
|
||||
#: client/scenes/lobby_gui.cpp:707 client/scenes/lobby_gui.cpp:724
|
||||
#: client/scenes/lobby_gui.cpp:769
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "您的頭戴式裝置不支援此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:884
|
||||
#: client/scenes/lobby_gui.cpp:689
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "啟用眼球追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:896
|
||||
#: client/scenes/lobby_gui.cpp:701
|
||||
msgid "Enable face tracking"
|
||||
msgstr "啟用臉部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:909
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable body tracking"
|
||||
msgstr "啟用身體追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:925
|
||||
#: client/scenes/lobby_gui.cpp:729
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
@@ -233,11 +246,11 @@ msgstr ""
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
|
||||
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:938
|
||||
#: client/scenes/lobby_gui.cpp:739
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "啟用下半身追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:944
|
||||
#: client/scenes/lobby_gui.cpp:745
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
@@ -246,11 +259,11 @@ msgstr ""
|
||||
"使用 Generative Legs 預估下半身關節位置\n"
|
||||
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:947
|
||||
#: client/scenes/lobby_gui.cpp:748
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "啟用臀部追蹤"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
@@ -258,19 +271,31 @@ msgstr ""
|
||||
"僅在啟用下半身追蹤時生效\n"
|
||||
"在使用其他臀部追蹤時可能需要此功能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:961
|
||||
#: client/scenes/lobby_gui.cpp:762
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "在待機區啟用影像穿透 (Passthrough)"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable in-stream window"
|
||||
msgstr "啟用串流中視窗"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:776
|
||||
msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"啟用在遊戲串流期間顯示配置視窗\n"
|
||||
"若啟用此功能,按下兩根搖桿後,將會顯示該視窗。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:790 client/scenes/stream_gui.cpp:445
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXR 後期處理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
|
||||
#: client/scenes/lobby_gui.cpp:794 client/scenes/stream_gui.cpp:449
|
||||
msgid "Supersampling"
|
||||
msgstr "超取樣"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
|
||||
#: client/scenes/lobby_gui.cpp:814 client/scenes/stream_gui.cpp:470
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -278,11 +303,11 @@ msgstr ""
|
||||
"減少高對比邊緣的閃爍。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
|
||||
#: client/scenes/lobby_gui.cpp:819 client/scenes/stream_gui.cpp:475
|
||||
msgid "Sharpening"
|
||||
msgstr "銳利化"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
|
||||
#: client/scenes/lobby_gui.cpp:839 client/scenes/stream_gui.cpp:496
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -290,168 +315,125 @@ msgstr ""
|
||||
"改善高對比邊緣的清晰度並抵消模糊。\n"
|
||||
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1040
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "啟用 Snapdragon 遊戲超級解析度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1048
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
|
||||
"僅在您了解自己在做什麼時啟用。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr "用戶端向上取樣和銳利化,會增加頭戴式顯示器的效能負擔"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1068
|
||||
msgid "Upscaling factor"
|
||||
msgstr "向上取樣係數"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1087
|
||||
msgid "Use edge direction"
|
||||
msgstr "使用邊緣方向"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1093
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "會增加額外的效能負擔"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1098
|
||||
msgid "Edge threshold"
|
||||
msgstr "邊緣閾值"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1105 client/scenes/lobby_gui.cpp:1114
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推薦:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1108
|
||||
msgid "Edge sharpness"
|
||||
msgstr "邊緣銳利度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1210 client/scenes/lobby_gui.cpp:1218
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:418
|
||||
#: client/scenes/lobby_gui.cpp:935 client/scenes/lobby_gui.cpp:943
|
||||
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
|
||||
msgid "CPU time"
|
||||
msgstr "CPU 時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1214
|
||||
#: client/scenes/lobby_gui.cpp:939
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
|
||||
#: client/scenes/lobby_gui.cpp:949 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
|
||||
msgid "GPU time"
|
||||
msgstr "GPU 時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1228
|
||||
#: client/scenes/lobby_gui.cpp:953
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU 時間 [ms]"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1271
|
||||
#: client/scenes/lobby_gui.cpp:996
|
||||
msgid "Enable the microphone?"
|
||||
msgstr "要啟用麥克風嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1276
|
||||
#: client/scenes/lobby_gui.cpp:1001
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "要啟用眼部追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1281
|
||||
#: client/scenes/lobby_gui.cpp:1006
|
||||
msgid "Enable face tracking?"
|
||||
msgstr "要啟用臉部追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1286
|
||||
#: client/scenes/lobby_gui.cpp:1011
|
||||
msgid "Enable body tracking?"
|
||||
msgstr "要啟用身體追蹤嗎?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1294
|
||||
#: client/scenes/lobby_gui.cpp:1019
|
||||
msgid "Welcome to WiVRn"
|
||||
msgstr "歡迎使用 WiVRn"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1318
|
||||
#: client/scenes/lobby_gui.cpp:1043
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1325
|
||||
#: client/scenes/lobby_gui.cpp:1050
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
|
||||
#: client/scenes/lobby_gui.cpp:1069 client/scenes/lobby_gui.cpp:1716
|
||||
msgid "Licenses"
|
||||
msgstr "授權資訊"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1658
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "麥克風已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1659
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "麥克風已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1668
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "手部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1669
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "手部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1678
|
||||
#: client/scenes/lobby_gui.cpp:1414
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "眼球追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1415
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "眼球追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1692
|
||||
#: client/scenes/lobby_gui.cpp:1425
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "臉部追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1693
|
||||
#: client/scenes/lobby_gui.cpp:1426
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "臉部追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1703
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "身體追蹤已啟用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "身體追蹤已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1720
|
||||
#: client/scenes/lobby_gui.cpp:1453
|
||||
msgid "Add server"
|
||||
msgstr "新增伺服器"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1965
|
||||
#: client/scenes/lobby_gui.cpp:1698
|
||||
msgid "Server list"
|
||||
msgstr "伺服器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:1701 client/scenes/stream_gui.cpp:925
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1971
|
||||
#: client/scenes/lobby_gui.cpp:1704
|
||||
msgid "Post-processing"
|
||||
msgstr "後期處理"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1975
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
msgid "Debug"
|
||||
msgstr "偵錯"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1980
|
||||
#: client/scenes/lobby_gui.cpp:1713
|
||||
msgid "About"
|
||||
msgstr "關於"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1986
|
||||
#: client/scenes/lobby_gui.cpp:1719
|
||||
msgid "Exit"
|
||||
msgstr "離開"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2003
|
||||
#: client/scenes/lobby_gui.cpp:1736
|
||||
msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -459,7 +441,7 @@ msgstr ""
|
||||
"按下握把按鈕或手掌向上\n"
|
||||
"以移動主視窗"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:2005
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下握把按鈕以移動主視窗"
|
||||
|
||||
@@ -475,11 +457,11 @@ msgstr "貼圖"
|
||||
msgid "Network"
|
||||
msgstr "網路"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
|
||||
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
|
||||
msgid "Download"
|
||||
msgstr "下載"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
|
||||
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
|
||||
msgid "Upload"
|
||||
msgstr "上傳"
|
||||
|
||||
@@ -520,66 +502,86 @@ msgstr "已顯示"
|
||||
msgid "Predicted"
|
||||
msgstr "已預測"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:393
|
||||
#: client/scenes/stream_gui.cpp:395
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "估計運動到光子的延遲: {}毫秒"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:396
|
||||
#: client/scenes/stream_gui.cpp:402
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "按下握把按鈕來移動視窗"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
|
||||
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:868
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "同時按下兩側搖桿以顯示 WiVRn 視窗"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:420
|
||||
#: client/scenes/stream_gui.cpp:426
|
||||
msgid "Motion to photon latency"
|
||||
msgstr "從動作到顯示的延遲"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:492
|
||||
#: client/scenes/stream_gui.cpp:503
|
||||
msgid "Foveation center override"
|
||||
msgstr "注視點渲染中心覆蓋"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:495
|
||||
#: client/scenes/stream_gui.cpp:506
|
||||
msgid "Enable"
|
||||
msgstr "啟用"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
|
||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "高度 {:.1f} 度"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
|
||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距離 {:.2f} 公尺"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:505
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
msgid "Default"
|
||||
msgstr "預設"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:516
|
||||
#: client/scenes/stream_gui.cpp:527
|
||||
msgid "Change"
|
||||
msgstr "變更"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:548
|
||||
#: client/scenes/stream_gui.cpp:559
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "使用搖桿移動注視點中心"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:549
|
||||
#: client/scenes/stream_gui.cpp:560
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "按下 A 儲存或 B 取消"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:793
|
||||
#: client/scenes/stream_gui.cpp:618
|
||||
msgid "Running XR applications:"
|
||||
msgstr "運行 XR 應用程序中:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:635
|
||||
msgid "Overlays"
|
||||
msgstr ""
|
||||
|
||||
#: client/scenes/stream_gui.cpp:674
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "退出請求可能會被應用程序忽略"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:677
|
||||
msgid "Start"
|
||||
msgstr "啟動"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:922
|
||||
msgid "Stats"
|
||||
msgstr "統計"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:802
|
||||
#: client/scenes/stream_gui.cpp:928
|
||||
msgid "Applications"
|
||||
msgstr "應用程序"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:934
|
||||
msgid "Statistics overlay"
|
||||
msgstr "統計數據覆疊"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:805
|
||||
#: client/scenes/stream_gui.cpp:937
|
||||
msgid "Compact view"
|
||||
msgstr "精簡顯示"
|
||||
|
||||
@@ -599,6 +601,41 @@ msgstr "無法驗證 PIN 碼"
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "伺服器上已停用配對"
|
||||
|
||||
#~ msgid "Enable Snapdragon Game Super Resolution"
|
||||
#~ msgstr "啟用 Snapdragon 遊戲超級解析度"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "On this headset, this setting has been fully superseded by the native "
|
||||
#~ "Sharpening setting above.\n"
|
||||
#~ "Only enable if you know what you're doing."
|
||||
#~ msgstr ""
|
||||
#~ "在此頭戴式顯示器上,此設定已被上方的原生「銳利化」設定完全取代。\n"
|
||||
#~ "僅在您了解自己在做什麼時啟用。"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Client-side upscaling and sharpening, adds a performance cost on the "
|
||||
#~ "headset"
|
||||
#~ msgstr "用戶端向上取樣和銳利化,會增加頭戴式顯示器的效能負擔"
|
||||
|
||||
#~ msgid "Upscaling factor"
|
||||
#~ msgstr "向上取樣係數"
|
||||
|
||||
#~ msgid "Use edge direction"
|
||||
#~ msgstr "使用邊緣方向"
|
||||
|
||||
#~ msgid "Adds an additional performance cost"
|
||||
#~ msgstr "會增加額外的效能負擔"
|
||||
|
||||
#~ msgid "Edge threshold"
|
||||
#~ msgstr "邊緣閾值"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "Recommended: {:.1f}"
|
||||
#~ msgstr "推薦:{:.1f}"
|
||||
|
||||
#~ msgid "Edge sharpness"
|
||||
#~ msgstr "邊緣銳利度"
|
||||
|
||||
#~ msgid "Video stream interrupted"
|
||||
#~ msgstr "影片串流中斷"
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
5c137fe28b232fe460f9b03defa7749adc32ee48
|
||||
06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 483ce192460569020fa57522ee2bea99198dac2e Mon Sep 17 00:00:00 2001
|
||||
From 3939fa120128ded9ff85fe23c7f5a2694a016fbe Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 22 Oct 2024 15:23:19 +0200
|
||||
Subject: [PATCH 01/13] c/multi: early wake of compositor
|
||||
Subject: [PATCH 1/9] c/multi: early wake of compositor
|
||||
|
||||
---
|
||||
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
|
||||
@@ -51,7 +51,7 @@ index 3351defa4..e8f0c8295 100644
|
||||
{
|
||||
int64_t predicted_display_time_ns;
|
||||
diff --git a/src/xrt/compositor/multi/comp_multi_system.c b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
index be763d1c1..22c801f65 100644
|
||||
index cf8e2e525..94413b090 100644
|
||||
--- a/src/xrt/compositor/multi/comp_multi_system.c
|
||||
+++ b/src/xrt/compositor/multi/comp_multi_system.c
|
||||
@@ -23,6 +23,8 @@
|
||||
@@ -93,7 +93,7 @@ index be763d1c1..22c801f65 100644
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -527,10 +536,13 @@ multi_main_loop(struct multi_system_compositor *msc)
|
||||
@@ -528,10 +537,13 @@ multi_main_loop(struct multi_system_compositor *msc)
|
||||
broadcast_timings_to_clients(msc, predicted_display_time_ns);
|
||||
|
||||
// Now we can wait.
|
||||
@@ -109,7 +109,7 @@ index be763d1c1..22c801f65 100644
|
||||
|
||||
// Now we know the diff, broadcast to pacers.
|
||||
broadcast_timings_to_pacers(msc, predicted_display_time_ns, predicted_display_period_ns, diff_ns);
|
||||
@@ -707,6 +719,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
|
||||
@@ -708,6 +720,8 @@ system_compositor_destroy(struct xrt_system_compositor *xsc)
|
||||
xrt_comp_native_destroy(&msc->xcn);
|
||||
|
||||
os_mutex_destroy(&msc->list_and_timing_lock);
|
||||
@@ -118,7 +118,7 @@ index be763d1c1..22c801f65 100644
|
||||
|
||||
free(msc);
|
||||
}
|
||||
@@ -761,6 +775,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
|
||||
@@ -762,6 +776,8 @@ comp_multi_create_system_compositor(struct xrt_compositor_native *xcn,
|
||||
msc->sessions.state = do_warm_start ? MULTI_SYSTEM_STATE_INIT_WARM_START : MULTI_SYSTEM_STATE_STOPPED;
|
||||
|
||||
os_mutex_init(&msc->list_and_timing_lock);
|
||||
@@ -128,5 +128,5 @@ index be763d1c1..22c801f65 100644
|
||||
//! @todo Make the clients not go from IDLE to READY before we have completed a first frame.
|
||||
// Make sure there is at least some sort of valid frame data here.
|
||||
--
|
||||
2.50.1
|
||||
2.49.1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 642f328ff08872289082f591b393aa72cdfffe0a Mon Sep 17 00:00:00 2001
|
||||
From edabcaa4d6723a61e01648676186a2d3b86796bd Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Nicolas <patricknicolas@laposte.net>
|
||||
Date: Tue, 2 Apr 2024 17:14:42 +0200
|
||||
Subject: [PATCH 02/13] ipc/server: Always listen to stdin
|
||||
Subject: [PATCH 2/9] ipc/server: Always listen to stdin
|
||||
|
||||
---
|
||||
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +-
|
||||
@@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644
|
||||
// default.
|
||||
// This polls stdin.
|
||||
--
|
||||
2.50.1
|
||||
2.49.1
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user