Compare commits

..
Author SHA1 Message Date
Vindicus999 6fc94e07a6 Merge remote-tracking branch 'upstream/master' 2025-08-21 11:13:13 +00:00
Vindicus999 24342b6f66 Merge remote-tracking branch 'upstream/master' 2025-08-19 23:13:42 +00:00
Vindicus999 6b90be479b Merge remote-tracking branch 'upstream/master' 2025-08-18 23:14:06 +00:00
Vindicus999 df3853dd8d Merge remote-tracking branch 'upstream/master' 2025-08-17 23:14:17 +00:00
Vindicus999 a13e05ffde Merge remote-tracking branch 'upstream/master' 2025-08-16 17:19:09 +00:00
Vindicus999 b8d2d41174 Merge remote-tracking branch 'upstream/master' 2025-08-14 23:15:10 +00:00
Vindicus999 d7c085ce15 Merge remote-tracking branch 'upstream/master' 2025-08-12 23:15:05 +00:00
Vindicus999 17654ff5e8 Merge remote-tracking branch 'upstream/master' 2025-08-12 17:15:52 +00:00
Vindicus999 7a307b796a Merge remote-tracking branch 'upstream/master' 2025-08-11 17:16:30 +00:00
Vindicus999 1d1ab8108b Merge remote-tracking branch 'upstream/master' 2025-08-11 11:14:40 +00:00
Vindicus999 b795bd191f Merge remote-tracking branch 'upstream/master' 2025-08-10 23:14:41 +00:00
Vindicus999 4e433e3ecc Merge remote-tracking branch 'upstream/master' 2025-08-10 17:12:34 +00:00
Vindicus999 d310b2ab47 Merge remote-tracking branch 'upstream/master' 2025-08-10 11:12:30 +00:00
Vindicus999 492a88c839 Merge remote-tracking branch 'upstream/master' 2025-08-09 23:14:44 +00:00
Vindicus999 bd5d4882a4 Merge remote-tracking branch 'upstream/master' 2025-08-09 17:12:50 +00:00
Vindicus999 df389c60ab Merge remote-tracking branch 'upstream/master' 2025-08-08 23:15:07 +00:00
Vindicus999 78240f9be0 Merge remote-tracking branch 'upstream/master' 2025-08-08 17:12:50 +00:00
Vindicus999 80e31b642a Merge remote-tracking branch 'upstream/master' 2025-08-07 17:17:47 +00:00
Vindicus999 8a9d218e4f Merge remote-tracking branch 'upstream/master' 2025-08-06 23:16:38 +00:00
Vindicus999 6eaaf8b770 Merge remote-tracking branch 'upstream/master' 2025-08-06 17:19:05 +00:00
Vindicus999 617934e91f Merge remote-tracking branch 'upstream/master' 2025-08-06 11:14:52 +00:00
Just some guy 06d5e00fe2 2025-08-05 23:15:59 +00:00
Vindicus999 377e218782 Use spaces instead of tabs 2025-08-05 18:45:44 -04:00
Vindicus999 5e81b4a14d Merge remote-tracking branch 'upstream/master' 2025-08-04 23:16:08 +00:00
Vindicus999 20b67a5a3c Merge remote-tracking branch 'upstream/master' 2025-08-04 11:15:24 +00:00
Vindicus999 c55fec84fe Merge remote-tracking branch 'upstream/master' 2025-08-03 17:14:21 +00:00
Vindicus999 acf6cc03d0 Merge remote-tracking branch 'upstream/master' 2025-08-03 11:13:42 +00:00
Vindicus999 0e2d46c152 Merge remote-tracking branch 'upstream/master' 2025-08-02 11:13:31 +00:00
Vindicus999 ea5d3b4185 Merge remote-tracking branch 'upstream/master' 2025-07-31 11:14:26 +00:00
Just some guy c0a8df2a60 2025-07-30 23:16:17 +00:00
Vindicus999 4bb40296fc Updated patches 2025-07-30 18:47:12 -04:00
Just some guy c34e8c6961 2025-07-30 22:24:12 +00:00
Vindicus999 1999e953dd Flipped the ray 2025-07-30 18:23:36 -04:00
Vindicus999 40f83a2b60 Fixed a line 2025-07-30 18:20:33 -04:00
Vindicus999 8af5b3eb29 feat: enable XR_FB_body_tracking
copied from commit 2b654c0
2025-07-30 18:14:51 -04:00
Vindicus999 3485593e56 Merge branch 'master' into sneed 2025-07-30 18:00:20 -04:00
Vindicus999 6c3563904c Update ray.png 2025-07-30 17:56:47 -04:00
Vindicus999 66435957bb Add a last improvement 2025-07-30 17:56:47 -04:00
Vindicus999 1550a346c3 Update patches 2025-07-30 17:56:47 -04:00
Vindicus999 4fd6d6d816 Update CMakeLists.txt 2025-07-30 17:56:47 -04:00
Tool Man be2027ce9a Adding solarxr patches
Remove potential statistics
2025-07-30 17:56:47 -04:00
Vindicus999 fa3313e293 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 7e0ea37b3c Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b0d9bd2ab7 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 42755dbb7c Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b9ff08d893 Update Sync.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b997ff3a17 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 63aa862a67 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 52646de23e Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 6e8e78b912 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 a7a56d0873 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 59a241de63 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 4740848ca5 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 651c9d5a0f Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 bc5d80a13a Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 b1db340227 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 8377d617cf Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 f94e46ed24 Update APK-Release.yml 2025-07-30 17:56:47 -04:00
Vindicus999 aa1f3b39bd Create pull.yml 2025-07-30 17:56:47 -04:00
Tool Man 680dd34529 Create pull.yml 2025-07-30 17:56:47 -04:00
Just some guy f301ba393a Merge branch 'WiVRn:master' into sneed 2025-06-20 22:13:36 +00:00
Just some guy 0ccc8b6239 Merge branch 'WiVRn:master' into sneed 2025-06-15 19:41:44 +00:00
Vindicus999 adcf159916 Update ray.png 2025-05-26 18:36:33 -04:00
Vindicus999 4125cad44e Add a last improvement 2025-05-16 18:39:23 -04:00
Vindicus999 6969e5f972 Update patches 2025-05-16 18:29:29 -04:00
Vindicus999 d0250abbc9 Update CMakeLists.txt 2025-05-15 23:00:09 -04:00
Tool Man 7485cd0880 Adding solarxr patches
Remove potential statistics
2025-05-15 22:20:37 -04:00
112 changed files with 7284 additions and 5504 deletions
-2
View File
@@ -80,7 +80,6 @@ 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
@@ -107,5 +106,4 @@ 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.
+15 -8
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on:
push:
branches: [ "apk-build" ]
branches: [ "master" ]
env:
BUILD_TYPE: RelWithDebInfo
@@ -25,13 +25,11 @@ jobs:
repository: 'Vindicus999/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Glslang, SPIRV-Tools
vulkan-use-cache: true
#
# - uses: actions/checkout@v4
# with:
# repository: 'Vindicus999/WiVRn'
# ref: sneed
- name: set up JDK
uses: actions/setup-java@v4
@@ -75,7 +73,9 @@ jobs:
- name: Prepare before archiving artifacts
run: |
mkdir apk
ls build/outputs/apk/
mv $(find build/outputs/apk/ -name "*.apk") apk/
ls apk/
mkdir debug
mv build/intermediates/merged_native_libs/*/*/out/lib/* debug/
find debug -name libopenxr_loader.so -delete
@@ -112,10 +112,12 @@ jobs:
# - name: Rename APK artifacts
# run: |
# cd apk
# ls
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
# ls
- name: Download APK debug artifacts
uses: actions/download-artifact@v4
@@ -129,6 +131,11 @@ jobs:
cd symbols
zip -r ../debug-symbols.zip .
- name: How the hell doesnt it work
run: |
ls apk
ls
- name: APK Release
uses: softprops/action-gh-release@v2
with:
+15 -18
View File
@@ -37,8 +37,8 @@ jobs:
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-query-version: 1.3.283.0
vulkan-components: Vulkan-Headers
vulkan-use-cache: true
- name: Configure CMake
@@ -78,7 +78,7 @@ jobs:
build-dashboard:
name: Linux dashboard
runs-on: ubuntu-24.04
container: ubuntu:plucky
container: ubuntu:oracular
if: ${{ vars.APK_ONLY == '' }}
steps:
- uses: actions/checkout@v4
@@ -87,8 +87,14 @@ jobs:
- name: Install dependencies
run: >
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev libarchive-dev libglm-dev glslang-tools
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev libarchive-dev
# runtime: qml6-module-qtqml-workerscript qml6-module-qtquick-dialogs
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.283.0
vulkan-components: Vulkan-Headers
vulkan-use-cache: true
- name: Configure CMake
run: >
@@ -176,8 +182,8 @@ jobs:
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-query-version: 1.3.283.0
vulkan-components: Vulkan-Headers
vulkan-use-cache: true
- name: Install dependencies
@@ -193,7 +199,6 @@ jobs:
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
-DWIVRN_USE_SYSTEM_OPENXR=OFF
--preset everything
-DWIVRN_BUILD_DASHBOARD=OFF
-DWIVRN_BUILD_DISSECTOR=OFF
@@ -288,8 +293,8 @@ jobs:
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
vulkan-query-version: 1.3.268.0
vulkan-components: Vulkan-Headers
vulkan-use-cache: true
- name: Install dependencies
@@ -302,7 +307,6 @@ jobs:
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=/usr
--preset ${{ matrix.cmake_preset }}
-DWIVRN_USE_SYSTEM_OPENXR=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
@@ -322,13 +326,6 @@ jobs:
with:
fetch-depth: 0
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
vulkan-query-version: 1.3.296.0
vulkan-components: Glslang, SPIRV-Tools
vulkan-use-cache: true
- name: set up JDK
uses: actions/setup-java@v4
with:
@@ -462,7 +459,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: ['plucky']
distro: ['oracular', 'plucky']
runs-on: ubuntu-24.04
container: ubuntu:${{ matrix.distro }}
steps:
+2 -10
View File
@@ -24,19 +24,11 @@ jobs:
- 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
- name: Merge sneed -> master
uses: devmasx/merge-branch@master
with:
type: now
from_branch: sneed
target_branch: apk-build
target_branch: master
github_token: ${{ env.WORKFLOW_TOKEN }}
+88 -32
View File
@@ -6,7 +6,6 @@ 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)
@@ -18,12 +17,13 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include(FetchContent)
include(ExternalProject)
include(GNUInstallDirs)
include("cmake/AutoOption.cmake")
option(WIVRN_USE_SYSTEM_FREETYPE "Use system FreeType" ON)
option(WIVRN_USE_SYSTEM_BOOST "Use system Boost headers" ON)
option(WIVRN_USE_SYSTEM_OPENXR "Use system OpenXR headers" ON)
option(WIVRN_USE_SYSTEMD "Use libsystemd" ON)
option(WIVRN_USE_LIBKTX "Use libktx" ${ANDROID})
auto_option(WIVRN_USE_SYSTEM_BOOST "Use system Boost headers" AUTO)
auto_option(WIVRN_USE_SYSTEM_OPENXR "Use system OpenXR headers" AUTO)
auto_option(WIVRN_USE_SYSTEMD "Use libsystemd" AUTO)
auto_option(WIVRN_USE_LIBKTX "Use libktx" AUTO)
option(WIVRN_USE_ANDROID_VALIDATION_LAYER "Download the android version of the Vulkan validation layer" OFF)
option(WIVRN_BUILD_CLIENT "Build WiVRn client" OFF)
option(WIVRN_BUILD_SERVER "Build WiVRn server" ON)
@@ -33,22 +33,21 @@ 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)
option(WIVRN_USE_VULKAN_ENCODE "Enable vulkan video encoder" ON)
option(WIVRN_USE_X264 "Enable x264 software encoder" ON)
auto_option(WIVRN_USE_VAAPI "Enable vaapi (AMD/Intel) hardware encoder" AUTO)
auto_option(WIVRN_USE_VULKAN_ENCODE "Enable vulkan video encoder" AUTO)
auto_option(WIVRN_USE_X264 "Enable x264 software encoder" AUTO)
option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" ON)
option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" OFF)
auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO)
auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO)
set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite"
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
option(WIVRN_FEATURE_SOLARXR "Enable SolarXR driver" OFF)
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
@@ -65,12 +64,6 @@ endif()
option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
set(NEED_COMMON TRUE)
else()
set(NEED_COMMON FALSE)
endif()
if(ENABLE_COLOURED_OUTPUT)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_compile_options(-fdiagnostics-color=always)
@@ -82,13 +75,19 @@ endif()
find_package(PkgConfig REQUIRED)
find_package(Vulkan REQUIRED)
find_package(Git)
if (NEED_COMMON AND NOT ANDROID)
if (NOT ANDROID)
find_package(OpenSSL REQUIRED)
endif()
include(VulkanVersion)
if (WIVRN_USE_SYSTEM_BOOST AND NEED_COMMON)
if (WIVRN_BUILD_DISSECTOR)
if (WIVRN_USE_SYSTEM_BOOST STREQUAL "AUTO")
if(WIVRN_BUILD_DISSECTOR)
find_package(Boost 1.84.0 COMPONENTS locale url)
else()
find_package(Boost 1.75.0 COMPONENTS locale url)
endif()
elseif(WIVRN_USE_SYSTEM_BOOST STREQUAL "ON")
if(WIVRN_BUILD_DISSECTOR)
find_package(Boost 1.84.0 REQUIRED COMPONENTS locale url)
else()
find_package(Boost 1.75.0 REQUIRED COMPONENTS locale url)
@@ -105,30 +104,72 @@ if (WIVRN_BUILD_SERVER)
message(FATAL_ERROR "No encoder selected, use at least one of WIVRN_USE_NVENC, WIVRN_USE_VAAPI, WIVRN_USE_VULKAN_ENCODE or WIVRN_USE_X264")
endif()
if (WIVRN_USE_VAAPI)
if (WIVRN_USE_VAAPI STREQUAL "AUTO")
pkg_check_modules(LIBAV IMPORTED_TARGET libavcodec libavutil libswscale libavfilter)
pkg_check_modules(LIBDRM IMPORTED_TARGET libdrm)
if (LIBAV_FOUND AND LIBDRM_FOUND)
set(WIVRN_USE_VAAPI ON)
else()
set(WIVRN_USE_VAAPI OFF)
endif()
elseif (WIVRN_USE_VAAPI)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale libavfilter)
pkg_check_modules(LIBDRM REQUIRED IMPORTED_TARGET libdrm)
endif()
if (WIVRN_USE_VULKAN_ENCODE)
if (WIVRN_USE_VULKAN_ENCODE STREQUAL "AUTO")
if (Vulkan_VERSION VERSION_GREATER_EQUAL 1.3.283)
set(WIVRN_USE_VULKAN_ENCODE ON)
else()
set(WIVRN_USE_VULKAN_ENCODE OFF)
endif()
elseif(WIVRN_USE_VULKAN_ENCODE)
if (Vulkan_VERSION VERSION_LESS 1.3.283)
message(FATAL_ERROR "Vulkan video encode requires 1.3.283, found ${Vulkan_VERSION}")
endif()
endif()
if (WIVRN_USE_X264)
if (WIVRN_USE_X264 STREQUAL "AUTO")
pkg_check_modules(X264 IMPORTED_TARGET x264)
if (X264_FOUND)
set(WIVRN_USE_X264 ON)
else()
set(WIVRN_USE_X264 OFF)
endif()
elseif (WIVRN_USE_X264)
pkg_check_modules(X264 REQUIRED IMPORTED_TARGET x264)
endif()
if (WIVRN_USE_SYSTEMD)
if (WIVRN_USE_SYSTEMD STREQUAL "AUTO")
pkg_check_modules(SYSTEMD IMPORTED_TARGET libsystemd)
if (SYSTEMD_FOUND)
set(WIVRN_USE_SYSTEMD ON)
else()
set(WIVRN_USE_SYSTEMD OFF)
endif()
elseif (WIVRN_USE_SYSTEMD)
pkg_check_modules(SYSTEMD REQUIRED IMPORTED_TARGET libsystemd)
endif()
if (WIVRN_USE_PIPEWIRE)
if (WIVRN_USE_PIPEWIRE STREQUAL "AUTO")
pkg_check_modules(libpipewire IMPORTED_TARGET libpipewire-0.3)
if (libpipewire_FOUND)
set(WIVRN_USE_PIPEWIRE ON)
else()
set(WIVRN_USE_PIPEWIRE OFF)
endif()
elseif (WIVRN_USE_PIPEWIRE)
pkg_check_modules(libpipewire REQUIRED IMPORTED_TARGET libpipewire-0.3)
endif()
if (WIVRN_USE_PULSEAUDIO)
if (WIVRN_USE_PULSEAUDIO STREQUAL "AUTO")
pkg_check_modules(libpulse IMPORTED_TARGET libpulse)
if (libpulse_FOUND)
set(WIVRN_USE_PULSEAUDIO ON)
else()
set(WIVRN_USE_PULSEAUDIO OFF)
endif()
elseif (WIVRN_USE_PULSEAUDIO)
pkg_check_modules(libpulse REQUIRED IMPORTED_TARGET libpulse)
endif()
@@ -174,11 +215,23 @@ if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_DASHBOARD)
find_package(Gettext REQUIRED)
endif()
if (WIVRN_BUILD_CLIENT)
if (WIVRN_USE_LIBKTX STREQUAL "AUTO")
if (ANDROID)
set(WIVRN_USE_LIBKTX ON)
else()
set(WIVRN_USE_LIBKTX OFF)
endif()
endif()
endif()
if (WIVRN_BUILD_CLIENT AND NOT ANDROID)
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET libavcodec libavutil libswscale libavfilter)
find_package(Fontconfig REQUIRED)
if (WIVRN_USE_SYSTEM_OPENXR)
if (WIVRN_USE_SYSTEM_OPENXR STREQUAL "AUTO")
find_package(OpenXR 1.1.48)
elseif(WIVRN_USE_SYSTEM_OPENXR STREQUAL "ON")
find_package(OpenXR 1.1.48 REQUIRED)
endif()
@@ -192,7 +245,9 @@ if(ANDROID)
endif()
if (WIVRN_BUILD_DISSECTOR)
if (WIVRN_USE_SYSTEM_OPENXR)
if (WIVRN_USE_SYSTEM_OPENXR STREQUAL "AUTO")
find_package(OpenXR 1.1.48)
elseif(WIVRN_USE_SYSTEM_OPENXR STREQUAL "ON")
find_package(OpenXR 1.1.48 REQUIRED)
endif()
find_package(Wireshark REQUIRED)
@@ -222,8 +277,9 @@ FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.co
URL_HASH SHA256=1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b)
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 URL https://github.com/KhronosGroup/KTX-Software/archive/refs/tags/v4.4.0.tar.gz
URL_HASH SHA256=3585d76edcdcbe3a671479686f8c81c1c10339f419e4b02a9a6f19cc6e4e0612)
FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM
GIT_REPOSITORY https://github.com/KhronosGroup/KTX-Software
GIT_TAG 91ace88675ac59a97e55d0378a6602a9ae6b98bd)
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/*)
@@ -249,7 +305,7 @@ FetchContent_Declare(monado
)
add_subdirectory(external)
if (NEED_COMMON)
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
add_subdirectory(common)
endif()
+32
View File
@@ -0,0 +1,32 @@
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
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 292 B

+32 -88
View File
@@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.12.1'
classpath 'com.android.tools.build:gradle:8.7.3'
}
}
@@ -17,86 +17,45 @@ allprojects {
apply plugin: 'com.android.application'
task "generatePngs"() {
group = 'Custom'
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
mkdir layout.buildDirectory.dir('generated_resources')
["mipmap-mdpi", "mipmap-hdpi", "mipmap-xhdpi", "mipmap-xxhdpi", "mipmap-xxxhdpi", ].each {
mkdir layout.buildDirectory.dir("generated_resources/${it}")
}
abstract class GeneratePngsTask extends DefaultTask {
@Inject
abstract ExecOperations getExecOps()
def css = project.hasProperty('wivrn_css') ? project.wivrn_css: "images/wivrn-local.css"
@InputFile
abstract RegularFileProperty getSvg()
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
@Optional
abstract RegularFileProperty getCss()
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 ]
}
@OutputDirectory
abstract DirectoryProperty getOutputDir()
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 ]
}
@TaskAction
void generate() {
def outDir = getOutputDir().get().asFile
outDir.mkdirs()
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 ]
}
// 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
}
}
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 ]
}
}
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"
@@ -124,7 +83,6 @@ android {
'-DCMAKE_ANDROID_NDK_VERSION=' + ndkVersion,
'-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON',
'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON',
'-DWIVRN_USE_SYSTEM_BOOST=OFF',
'-DWIVRN_USE_SYSTEM_FREETYPE=OFF',
'-DWIVRN_BUILD_CLIENT=ON',
'-DWIVRN_BUILD_SERVER=OFF',
@@ -147,7 +105,7 @@ android {
keyAlias "default_key"
storePassword signingKeyPassword // Set in gradle.properties
keyPassword signingKeyPassword
enableV2Signing = true
enableV2Signing true
}
}
}
@@ -155,7 +113,7 @@ android {
buildTypes {
if (project.hasProperty("signingKeyPassword")) {
release {
signingConfig = signingConfigs.release
signingConfig signingConfigs.release
}
}
@@ -224,7 +182,7 @@ android {
externalNativeBuild {
cmake {
version = '3.30.3'
version '3.30.3'
path 'CMakeLists.txt'
}
}
@@ -249,18 +207,4 @@ android {
}
}
}
buildTypes.all { variant ->
sourceSets {
"${variant.name}" {
jniLibs.srcDirs layout.buildDirectory.dir("libs${variant.name.capitalize()}")
}
}
externalNativeBuild{
cmake {
arguments '-DCMAKE_ANDROID_LIB_DIRECTORIES=' + layout.buildDirectory.dir("libs${variant.name.capitalize()}").get().asFile
}
}
}
}
+15 -25
View File
@@ -13,7 +13,7 @@ if (WIVRN_USE_LIBKTX)
FetchContent_MakeAvailable(libktx)
endif()
if (NOT WIVRN_USE_SYSTEM_BOOST)
if (NOT BOOST_FOUND)
FetchContent_MakeAvailable(boost)
endif()
@@ -51,7 +51,7 @@ if(ANDROID)
else()
add_executable(wivrn)
if (WIVRN_USE_SYSTEM_OPENXR)
if (OpenXR_FOUND)
target_link_libraries(wivrn OpenXR::openxr_loader OpenXR::headers)
else()
FetchContent_MakeAvailable(openxr_loader)
@@ -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 SHADERS ${VULKAN_SHADERS})
wivrn_compile_glsl(wivrn ${VULKAN_SHADERS})
target_link_libraries(wivrn
Boost::locale
@@ -166,14 +166,14 @@ khronos_validation.enables = VK_VALIDATION_FEATURE_ENABLE_THREAD_SAFETY_EXT
endif()
if(USE_ANDROID_VALIDATION_LAYER)
set(VVL_VERSION "1.4.321.0")
set(VVL_VERSION "1.3.231.1")
if(NOT EXISTS ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
if (EXISTS ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip SYMBOLIC)
else()
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=75f2881ba7af0507c8cec13b4bf6c95556c6333485cdb8be41f608fccf762128)
file(DOWNLOAD https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/sdk-${VVL_VERSION}/android-binaries-${VVL_VERSION}.zip ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip
EXPECTED_HASH SHA256=eec3a54222d6d33d4f787a13a45c60ac5b9e8d7bf795fc41e4242354a02e34ba)
endif()
endif()
@@ -181,12 +181,12 @@ if(USE_ANDROID_VALIDATION_LAYER)
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayers-${VVL_VERSION}.zip DESTINATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer)
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})
add_library(vvl1 SHARED IMPORTED)
set_property(TARGET vvl1 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libVkLayer_khronos_validation.so)
add_library(vvl2 SHARED IMPORTED)
set_property(TARGET vvl2 PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/${CMAKE_ANDROID_ARCH_ABI}/libc++_shared.so)
target_link_libraries(wivrn vvl1 vvl2) # Hack to get gradle to package the validation layer in the APK
endif()
@@ -236,14 +236,8 @@ add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.png
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn.png ${RSVG_OPTS}
DEPENDS ${IMG_SRC_DIR}/wivrn.svg ${WIVRN_CSS_ABS})
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.png
COMMAND ${RSVG_CONVERT} ${IMG_SRC_DIR}/wivrn-pride.svg -w 540 -h 540 -o ${ASSETS_DIR}/wivrn-pride.png ${RSVG_OPTS}
DEPENDS ${IMG_SRC_DIR}/wivrn-pride.svg ${WIVRN_CSS_ABS})
add_custom_target(assets ALL DEPENDS
${ASSETS_DIR}/wivrn.png
${ASSETS_DIR}/wivrn-pride.png
)
${ASSETS_DIR}/wivrn.png)
add_dependencies(wivrn assets)
@@ -252,9 +246,6 @@ if(ANDROID)
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn.ktx2 ${ASSETS_DIR}/wivrn.png
DEPENDS ${ASSETS_DIR}/wivrn.png)
add_custom_command(OUTPUT ${ASSETS_DIR}/wivrn-pride.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/wivrn-pride.png
DEPENDS ${ASSETS_DIR}/wivrn-pride.png)
add_custom_command(OUTPUT ${ASSETS_DIR}/default_icon.ktx2
COMMAND ${TOKTX} --encode astc --astc_blk_d 4x4 --astc_quality 100 --genmipmap ${ASSETS_DIR}/wivrn-pride.ktx2 ${ASSETS_DIR}/default_icon.png
@@ -270,10 +261,9 @@ if(ANDROID)
add_custom_target(assets-android ALL DEPENDS
${ASSETS_DIR}/wivrn.ktx2
${ASSETS_DIR}/wivrn-pride.ktx2
${ASSETS_DIR}/WoodFloor051_1K-JPG_Color.ktx2
${ASSETS_DIR}/vr_splash.png
)
${ASSETS_DIR}/vr_splash.png)
add_dependencies(assets-android assets)
add_dependencies(wivrn assets-android)
endif()
+36 -53
View File
@@ -18,7 +18,7 @@
*/
#include "application.h"
#include "asset.h"
#include "hardware.h"
#include "openxr/openxr.h"
#include "scene.h"
@@ -26,7 +26,6 @@
#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"
@@ -72,6 +71,7 @@ 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,6 +139,7 @@ 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",
@@ -251,6 +252,7 @@ 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",
@@ -654,7 +656,6 @@ VkBool32 application::vulkan_debug_report_callback(
}
#ifndef NDEBUG
bool my_error = true;
if (level >= spdlog::level::warn)
{
bool validation_layer_found = false;
@@ -665,13 +666,10 @@ VkBool32 application::vulkan_debug_report_callback(
if (validation_layer_found && i.library != "libVkLayer_khronos_validation.so")
spdlog::log(level, "{:#016x}: {} + {:#x}", i.pc, i.library, i.pc - i.library_base);
if (i.library == "libopenxr_loader.so")
my_error = false;
}
}
if (level >= spdlog::level::err and my_error)
if (level >= spdlog::level::err)
abort();
#endif
@@ -760,8 +758,6 @@ void application::initialize_vulkan()
vk_device_extensions.push_back(VK_KHR_PUSH_DESCRIPTOR_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);
#ifdef __ANDROID__
vk_device_extensions.push_back(VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME);
@@ -880,7 +876,6 @@ void application::initialize_vulkan()
.ppEnabledExtensionNames = vk_device_extensions.data(),
.pEnabledFeatures = &device_features,
},
vk::PhysicalDeviceFragmentShadingRateFeaturesKHR{},
#ifdef __ANDROID__
vk::PhysicalDeviceSamplerYcbcrConversionFeaturesKHR{
.samplerYcbcrConversion = VK_TRUE,
@@ -888,22 +883,6 @@ void application::initialize_vulkan()
#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))
{
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);
}
else
{
device_create_info.unlink<vk::PhysicalDeviceFragmentShadingRateFeaturesKHR>();
}
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
*vk_queue.lock() = vk_device.getQueue(vk_queue_family_index, 0);
@@ -995,7 +974,8 @@ 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;
profile.min_version <= api_version and
profile.max_version > api_version;
if (profile.profile_name.ends_with("khr/simple_controller"))
{
@@ -1330,47 +1310,50 @@ 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 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 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();
auto & facet = std::use_facet<boost::locale::info>(loc);
messages_info.language = facet.language();
messages_info.country = facet.country();
messages_info.encoding = "UTF-8";
#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 = open_locale_file;
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;
};
loc = std::locale(loc, boost::locale::gnu_gettext::create_messages_facet<char>(messages_info));
std::locale::global(loc);
-2
View File
@@ -417,6 +417,4 @@ public:
{
return instance().messages_info;
}
void load_locale();
};
+36 -4
View File
@@ -181,6 +181,9 @@ 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());
@@ -218,9 +221,6 @@ 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,11 +231,31 @@ 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 = {};
@@ -251,6 +271,17 @@ 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;
@@ -293,6 +324,8 @@ 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;
@@ -307,6 +340,5 @@ 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 << "}";
}
+12 -2
View File
@@ -58,6 +58,17 @@ 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
{
@@ -74,8 +85,6 @@ public:
bool first_run = true;
std::string locale;
bool check_feature(feature f) const;
void set_feature(feature f, bool state);
@@ -83,6 +92,7 @@ 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:
+17 -31
View File
@@ -61,7 +61,6 @@ const char * mime(wivrn::video_codec codec)
return "video/av01";
}
assert(false);
__builtin_unreachable();
}
void check(media_status_t status, const char * msg)
@@ -73,26 +72,6 @@ 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
@@ -106,7 +85,7 @@ decoder::decoder(
uint8_t stream_index,
std::weak_ptr<scenes::stream> weak_scene,
shard_accumulator * accumulator) :
wivrn::decoder(description), stream_index(stream_index), fps(fps), device(device), weak_scene(weak_scene), accumulator(accumulator)
description(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());
@@ -243,7 +222,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(const wivrn::from_headset::feedback & feedback, const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info)
void decoder::frame_completed(wivrn::from_headset::feedback & feedback, const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info)
{
if (not media_codec)
{
@@ -276,7 +255,7 @@ void decoder::on_image_available(AImageReader * reader)
assert(reader == image_reader.get());
// Executed on image reader thread
decltype(android_blit_handle::aimage) image;
decltype(blit_handle::aimage) image;
try
{
AImage * tmp;
@@ -301,13 +280,13 @@ void decoder::on_image_available(AImageReader * reader)
auto vk_data = map_hardware_buffer(image.get());
auto handle = std::make_shared<android_blit_handle>(
auto handle = std::make_shared<decoder::blit_handle>(
info->feedback,
info->view_info,
*vk_data->image_view,
vk_data->image_view,
*vk_data->vimage,
vk_data->layout,
std::move(vk_data),
&vk_data->layout,
vk_data,
image_reader,
std::move(image));
@@ -409,8 +388,7 @@ 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};
spdlog::info("decoded image size: {}x{}", buffer_desc.width, buffer_desc.height);
extent = {buffer_desc.width, buffer_desc.height};
create_sampler(buffer_desc, ahb_format);
hardware_buffer_map.clear();
// TODO tell the reprojector to recreate the pipeline
@@ -536,6 +514,11 @@ 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.
@@ -559,8 +542,9 @@ static bool hardware_accelerated(AMediaCodec * media_codec)
return true;
}
void decoder::supported_codecs(std::vector<wivrn::video_codec> & result)
std::vector<wivrn::video_codec> decoder::supported_codecs()
{
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);
@@ -579,6 +563,8 @@ void decoder::supported_codecs(std::vector<wivrn::video_codec> & result)
spdlog::info("video codec {}: {}supported", magic_enum::enum_name(codec), supported ? "" : "NOT ");
}
return result;
}
} // namespace wivrn::android
+39 -7
View File
@@ -19,7 +19,6 @@
#pragma once
#include "decoder/decoder.h"
#include "utils/sync_queue.h"
#include "wivrn_packets.h"
#include <functional>
@@ -60,12 +59,31 @@ class stream;
namespace wivrn::android
{
class decoder : public wivrn::decoder
class 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;
@@ -74,6 +92,7 @@ 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;
@@ -127,20 +146,33 @@ 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) override;
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial);
void frame_completed(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
vk::Sampler sampler() override
const auto & desc() const
{
return description;
}
vk::Sampler sampler()
{
return *ycbcr_sampler;
}
static void supported_codecs(std::vector<wivrn::video_codec> &);
vk::Extent2D image_size()
{
return extent;
}
static std::vector<wivrn::video_codec> supported_codecs();
};
} // namespace wivrn::android
-67
View File
@@ -1,67 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "decoder.h"
#ifdef __ANDROID__
#include "decoder/android/android_decoder.h"
#else
#include "decoder/ffmpeg/ffmpeg_decoder.h"
#endif
wivrn::decoder::~decoder() = default;
std::shared_ptr<wivrn::decoder> wivrn::decoder::make(
vk::raii::Device & device,
vk::raii::PhysicalDevice & phys_dev,
const wivrn::to_headset::video_stream_description::item & description,
float fps,
uint8_t stream_index,
std::weak_ptr<scenes::stream> scene,
shard_accumulator * acc)
{
#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
}
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
return res;
}
-79
View File
@@ -1,79 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "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;
};
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 &,
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
+19 -46
View File
@@ -61,53 +61,24 @@ static AVCodecID codec_id(wivrn::video_codec codec)
__builtin_unreachable();
}
struct decoder::ffmpeg_blit_handle : public wivrn::decoder::blit_handle
decoder::blit_handle::~blit_handle()
{
int image_index;
wivrn::ffmpeg::decoder * self;
std::unique_lock lock(self->mutex);
if (image_index < 0)
return;
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);
}
};
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) :
wivrn::decoder(description),
device(device),
codec(nullptr, free_codec_context),
sws(nullptr, sws_freeContext),
weak_scene(scene),
accumulator(accumulator)
device(device), description(description), codec(nullptr, free_codec_context), sws(nullptr, sws_freeContext), weak_scene(scene), accumulator(accumulator)
{
free_images.resize(image_count);
@@ -137,7 +108,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;
@@ -250,12 +221,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<ffmpeg_blit_handle>(
auto handle = std::make_shared<decoder::blit_handle>(
feedback,
view_info,
*decoded_images[index].image_view,
decoded_images[index].image,
decoded_images[index].current_layout,
decoded_images[index].image_view,
(vk::Image)decoded_images[index].image,
&decoded_images[index].current_layout,
index,
this);
@@ -263,11 +234,13 @@ void decoder::frame_completed(const wivrn::from_headset::feedback & feedback, co
scene->push_blit_handle(accumulator, std::move(handle));
}
void decoder::supported_codecs(std::vector<wivrn::video_codec> & res)
std::vector<wivrn::video_codec> decoder::supported_codecs()
{
res.push_back(wivrn::video_codec::h264);
res.push_back(wivrn::video_codec::h265);
res.push_back(wivrn::video_codec::av1);
return {
wivrn::video_codec::h264,
wivrn::video_codec::h265,
wivrn::video_codec::av1,
};
}
} // namespace wivrn::ffmpeg
+37 -7
View File
@@ -19,7 +19,6 @@
#pragma once
#include "decoder/decoder.h"
#include "vk/allocation.h"
#include "wivrn_packets.h"
#include <memory>
@@ -47,10 +46,24 @@ class stream;
namespace wivrn::ffmpeg
{
class decoder : public wivrn::decoder
class 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
{
@@ -65,8 +78,11 @@ 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;
@@ -80,21 +96,35 @@ 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);
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial) override;
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 frame_completed(
const wivrn::from_headset::feedback & feedback,
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info) override;
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
vk::Sampler sampler() override
const auto & desc() const
{
return description;
}
vk::Sampler sampler()
{
return *rgb_sampler;
}
static void supported_codecs(std::vector<wivrn::video_codec> &);
vk::Extent2D image_size()
{
return extent;
}
static std::vector<wivrn::video_codec> supported_codecs();
};
} // namespace wivrn::ffmpeg
+2 -2
View File
@@ -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);
+18 -16
View File
@@ -19,30 +19,32 @@
#pragma once
#include "decoder.h"
#include "wivrn_packets.h"
#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 "wivrn_packets.h"
#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> decoder_;
std::shared_ptr<decoder_impl> decoder;
public:
using data_shard = wivrn::to_headset::video_stream_data_shard;
@@ -84,7 +86,7 @@ public:
float fps,
std::weak_ptr<scenes::stream> scene,
uint8_t stream_index) :
decoder_(decoder::make(device, physical_device, description, fps, stream_index, scene, this)),
decoder(std::make_shared<decoder_impl>(device, physical_device, description, fps, stream_index, scene, this)),
current(stream_index),
next(stream_index),
weak_scene(scene),
@@ -97,20 +99,20 @@ public:
auto & desc() const
{
return decoder_->description;
return decoder->desc();
}
vk::Sampler sampler()
{
return decoder_->sampler();
return decoder->sampler();
}
const vk::Extent2D extent()
vk::Extent2D image_size()
{
return decoder_->extent();
return decoder->image_size();
}
using blit_handle = decoder::blit_handle;
using blit_handle = decoder_impl::blit_handle;
private:
void try_submit_frame(std::optional<uint16_t> shard_idx);
+13 -13
View File
@@ -490,22 +490,22 @@ static std::vector<std::string> find_font(std::u16string sample_text, const std:
void imgui_context::initialize_fonts()
{
std::vector<std::string> fonts;
for (auto & [code, glyphs]: glyph_set_per_language)
{
std::u16string sample_text = u"Hello world";
std::u16string sample_text = u"Hello world";
for (char16_t c: glyphs)
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;
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));
}
// Load Fonts
auto fonts = find_font(sample_text, application::get_messages_info().language);
for (auto & i: fonts)
{
spdlog::info("Font {}", i);
}
asset font_awesome_regular("Font Awesome 6 Free-Regular-400.otf");
+3
View File
@@ -35,6 +35,7 @@
#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>
@@ -42,6 +43,8 @@
#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,
-364
View File
@@ -1,364 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "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
-72
View File
@@ -1,72 +0,0 @@
/*
* WiVRn VR streaming
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "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
+12 -1
View File
@@ -911,9 +911,20 @@ void scenes::lobby::on_focused()
imgui_ctx.emplace(physical_device, device, queue_family_index, queue, imgui_inputs, swapchain_imgui, vps);
std::string image;
/* Could be used for more patriotics logos
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
std::string image = tm->tm_mon == 5 ? "wivrn-pride" : "wivrn";
switch (tm->tm_mon)
{
default:
image = "wivrn";
break;
}
*/
image = "wivrn";
try
{
about_picture = imgui_ctx->load_texture(image + ".ktx2");
+88 -40
View File
@@ -17,7 +17,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <uni_algo/case.h>
#define IMGUI_DEFINE_MATH_OPERATORS
#ifdef __ANDROID__
@@ -142,7 +141,7 @@ static void InputText(const char * label, std::string & text, const ImVec2 & siz
return 0;
};
ImGui::InputTextEx(label, nullptr, text.data(), text.size() + 1, size, flags | ImGuiInputTextFlags_CallbackResize, callback, &text);
ImGui::InputTextEx(label, nullptr, text.data(), text.size(), size, flags | ImGuiInputTextFlags_CallbackResize, callback, &text);
}
static void display_recentering_tip(imgui_context & ctx, const std::string & tip)
@@ -795,43 +794,6 @@ 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();
@@ -1098,6 +1060,89 @@ 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();
}
@@ -1231,6 +1276,9 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(std::string("Sneed'n'Chuck Edition"));
ImGui::PopFont();
}
void scenes::lobby::gui_first_run()
@@ -1325,7 +1373,7 @@ void scenes::lobby::gui_licenses()
ImGui::Text("%s", _("Licenses").c_str());
ImGui::PopFont();
const auto components = {"WiVRn", "FontAwesome", "openxr-loader", "simdjson"};
const auto components = {"WiVRn", "FontAwesome", "openxr-loader", "simdjson", "SGSR"};
if (not license)
{
selected_item = *components.begin();
+305 -35
View File
@@ -38,6 +38,9 @@
#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>
@@ -45,11 +48,6 @@
#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
@@ -152,8 +150,7 @@ static const std::array supported_depth_formats{
};
scenes::stream::stream() :
scene_impl<stream>(supported_color_formats, supported_depth_formats),
blitters{blitter(device, 0), blitter(device, 1)}
scene_impl<stream>(supported_color_formats, supported_depth_formats)
{
}
@@ -299,7 +296,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::supported_codecs();
info.supported_codecs = decoder_impl::supported_codecs();
return info;
}());
@@ -781,6 +778,103 @@ void scenes::stream::render(const XrFrameState & frame_state)
}
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");
@@ -811,13 +905,11 @@ 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();
command_buffer.begin(vk::CommandBufferBeginInfo{
.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit,
});
vk::CommandBufferBeginInfo begin_info;
begin_info.flags = vk::CommandBufferUsageFlagBits::eOneTimeSubmit;
command_buffer.begin(begin_info);
// Keep a reference to the resources needed to blit the images until vkWaitForFences
@@ -832,9 +924,10 @@ void scenes::stream::render(const XrFrameState & frame_state)
std::array<wivrn::to_headset::foveation_parameter, 2> foveation{};
bool use_alpha = false;
for (auto & blit_handle: current_blit_handles)
// Blit images from the decoders
for (auto [i, blit_handle]: std::views::zip(decoders, current_blit_handles))
{
if (not blit_handle)
if (not blit_handle or not *i.blit_pipeline)
continue;
blit_handle->feedback.blitted = instance.now();
@@ -848,12 +941,27 @@ void scenes::stream::render(const XrFrameState & frame_state)
foveation = blit_handle->view_info.foveation;
use_alpha = blit_handle->view_info.alpha;
if (blit_handle->current_layout == vk::ImageLayout::eUndefined)
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)
{
vk::ImageMemoryBarrier barrier{
.srcAccessMask = vk::AccessFlagBits::eNone,
.dstAccessMask = vk::AccessFlagBits::eMemoryRead,
.oldLayout = vk::ImageLayout::eUndefined,
.oldLayout = *blit_handle->current_layout,
.newLayout = vk::ImageLayout::eGeneral,
.image = blit_handle->image,
.subresourceRange = {
@@ -864,22 +972,76 @@ 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;
}
}
// Blit images from the decoders
std::array<blitter::output, view_count> blitted;
for (auto [i, b]: utils::enumerate(blitters))
uint16_t x_offset = 0;
for (auto & out: decoder_output)
{
b.begin(command_buffer);
for (auto [j, blit_handle]: utils::enumerate(current_blit_handles))
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)
{
if (not blit_handle)
if (not *decoder.blit_pipeline)
continue;
b.push_image(command_buffer, j, decoders[j].decoder->sampler(), decoders[j].decoder->extent(), blit_handle->image_view, blit_handle->current_layout);
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);
}
blitted[i] = b.end(command_buffer);
command_buffer.endRenderPass();
x_offset += decoder_out_size.width;
}
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 1);
@@ -890,7 +1052,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] = defoveator->defoveated_size(foveation[i]);
extents[i] = reprojector->defoveated_size(foveation[i]);
max_width = std::max(max_width, extents[i].width);
max_height = std::max(max_height, extents[i].height);
}
@@ -920,7 +1082,7 @@ void scenes::stream::render(const XrFrameState & frame_state)
// defoveate the image
int image_index = swapchain.acquire();
swapchain.wait();
defoveator->defoveate(command_buffer, foveation, blitted, image_index);
reprojector->reproject(command_buffer, foveation, image_index);
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 2);
@@ -928,9 +1090,6 @@ void scenes::stream::render(const XrFrameState & frame_state)
vk::SubmitInfo submit_info;
submit_info.setCommandBuffers(*command_buffer);
queue.lock()->submit(submit_info, *fence);
#if WIVRN_FEATURE_RENDERDOC
renderdoc_end(*vk_instance);
#endif
swapchain.release();
std::vector<XrCompositionLayerProjectionView> layer_view(view_count);
@@ -1097,8 +1256,109 @@ void scenes::stream::setup(const to_headset::video_stream_description & descript
}
video_stream_description = description;
for (auto & b: blitters)
b.reset(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 (const auto & [stream_index, item]: utils::enumerate(description.items))
{
@@ -1118,6 +1378,15 @@ 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());
@@ -1134,9 +1403,10 @@ void scenes::stream::setup_reprojection_swapchain(uint32_t swapchain_width, uint
for (auto & image: swapchain.images())
swapchain_images.push_back(image.image);
defoveator.emplace(
reprojector.emplace(
device,
physical_device,
decoder_out_image,
swapchain_images,
extent,
swapchain.format());
+16 -4
View File
@@ -23,9 +23,8 @@
#include "decoder/shard_accumulator.h"
#include "render/imgui_impl.h"
#include "scene.h"
#include "scenes/blitter.h"
#include "scenes/input_profile.h"
#include "stream_defoveator.h"
#include "stream_reprojection.h"
#include "utils/thread_safe.h"
#include "wifi_lock.h"
#include "wivrn_client.h"
@@ -64,6 +63,10 @@ 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;
@@ -94,10 +97,19 @@ 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;
std::array<blitter, view_count> blitters;
image_allocation decoder_out_image;
std::optional<stream_defoveator> defoveator;
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;
vk::raii::Fence fence = nullptr;
vk::raii::CommandBuffer command_buffer = nullptr;
@@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "stream_defoveator.h"
#include "stream_reprojection.h"
#include "application.h"
#include "utils/contains.h"
#include "utils/ranges.h"
@@ -32,21 +32,15 @@
#include <vulkan/vulkan_core.h>
#include <vulkan/vulkan_raii.hpp>
struct stream_defoveator::vertex
struct stream_reprojection::vertex
{
// output image position
alignas(8) glm::vec2 position;
// input texture coordinates + shading rate in the first 4 bits of x
alignas(8) glm::uvec2 uv;
// input texture coordinates
alignas(8) glm::vec2 uv;
};
struct vert_pc
{
glm::ivec4 rgb_rect;
glm::ivec4 a_rect;
};
void stream_defoveator::ensure_vertices(size_t num_vertices)
void stream_reprojection::ensure_vertices(size_t num_vertices)
{
vk::BufferCreateInfo create_info{
.size = num_vertices * sizeof(vertex) * view_count,
@@ -65,81 +59,180 @@ void stream_defoveator::ensure_vertices(size_t num_vertices)
vertices_size = num_vertices * sizeof(vertex);
}
stream_defoveator::vertex * stream_defoveator::get_vertices(size_t view)
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_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a)
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)
{
auto & target = a ? pipeline_a[view] : pipeline_rgb[view];
if (*target.pipeline)
return target;
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,
};
std::array samplers{rgb, a};
int32_t alpha = a ? 1 : 0;
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
std::array layout_binding{
vk::DescriptorSetLayoutBinding{
.binding = 0,
.descriptorType = vk::DescriptorType::eCombinedImageSampler,
.descriptorCount = uint32_t(alpha + 1),
.stageFlags = vk::ShaderStageFlagBits::eFragment,
.pImmutableSamplers = samplers.data(),
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,
},
};
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::DescriptorPoolCreateInfo pool_info{
.maxSets = view_count,
.poolSizeCount = pool_size.size(),
.pPoolSizes = pool_size.data(),
};
vk::PipelineLayoutCreateInfo pipeline_layout_info{
.setLayoutCount = 1,
.pSetLayouts = &*target.descriptor_set_layout,
.pushConstantRangeCount = 1,
.pPushConstantRanges = &pc_range,
};
descriptor_pool = vk::raii::DescriptorPool(device, pool_info);
target.layout = vk::raii::PipelineLayout(device, pipeline_layout_info);
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))
// Create image views and descriptor sets
for (uint32_t view = 0; view < view_count; ++view)
{
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;
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());
// Vertex shader
vk::raii::ShaderModule vertex_shader = load_shader(device, fragment_shading_rate ? "reprojection_vsr.vert" : "reprojection.vert");
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_builder{
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{
.flags = {},
.Stages = {
{
@@ -151,7 +244,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
.stage = vk::ShaderStageFlagBits::eFragment,
.module = *fragment_shader,
.pName = "main",
.pSpecializationInfo = specialization,
.pSpecializationInfo = sgsr.enabled ? sgsr_specialization.info() : nullptr,
},
},
.VertexBindingDescriptions = {
@@ -171,15 +264,25 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
{
.location = 1,
.binding = 0,
.format = vk::Format::eR32G32Uint,
.format = vk::Format::eR32G32Sfloat,
.offset = offsetof(vertex, uv),
},
},
.InputAssemblyState = {{
.topology = vk::PrimitiveTopology::eTriangleStrip,
}},
.Viewports = {{}},
.Scissors = {{}},
.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,
@@ -191,109 +294,12 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
.ColorBlendAttachments = {{
.colorWriteMask = vk::ColorComponentFlagBits::eR | vk::ColorComponentFlagBits::eG | vk::ColorComponentFlagBits::eB | vk::ColorComponentFlagBits::eA,
}},
.DynamicStates = {vk::DynamicState::eViewport, vk::DynamicState::eScissor},
.layout = *target.layout,
.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 << 28;
}
}
}
}
}
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,
});
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);
@@ -346,25 +352,9 @@ static size_t required_vertices(const wivrn::to_headset::foveation_parameter & p
return (2 * (p.x.size() + 1) + 1) * p.y.size();
}
uint32_t stream_defoveator::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_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)
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");
@@ -373,7 +363,6 @@ void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
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);
@@ -381,64 +370,67 @@ void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
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);
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.5 * out_size.width;
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;
glm::uvec2 rate = glm::uvec2(shading_rate(ratio_x, ratio_y), 0);
*vertices++ = {
.position = out * out_pixel_size,
.uv = in | rate,
.position = out * out_pixel_size - glm::vec2(1),
.uv = in * in_pixel_size,
};
*vertices++ = {
.position = (out + glm::vec2(0, n_out_y * ratio_y)) * out_pixel_size,
.uv = (in + glm::uvec2(0, n_out_y)) | rate,
.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,
};
in.x += n_out_x;
out.x += n_out_x * ratio_x;
}
*vertices++ = {
.position = out * out_pixel_size,
.uv = in,
.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,
.uv = in,
.position = out * out_pixel_size - glm::vec2(1),
.uv = in * in_pixel_size,
};
*vertices++ = {
.position = out * out_pixel_size,
.uv = in,
.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{
@@ -450,49 +442,9 @@ void stream_defoveator::defoveate(vk::raii::CommandBuffer & command_buffer,
},
};
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.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();
@@ -512,7 +464,7 @@ static uint16_t count_pixels(const std::vector<uint16_t> & param)
return res;
}
XrExtent2Di stream_defoveator::defoveated_size(const wivrn::to_headset::foveation_parameter & view) const
XrExtent2Di stream_reprojection::defoveated_size(const wivrn::to_headset::foveation_parameter & view) const
{
return {
count_pixels(view.x),
@@ -19,42 +19,33 @@
#pragma once
#include "blitter.h"
#include "vk/allocation.h"
#include "wivrn_packets.h"
#include <vulkan/vulkan_raii.hpp>
#include <openxr/openxr.h>
class stream_defoveator
class stream_reprojection
{
struct vertex;
static const uint32_t view_count = 2;
const uint32_t view_count;
// 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::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];
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
uint32_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;
// Destination images
std::vector<vk::Image> output_images;
@@ -65,23 +56,20 @@ class stream_defoveator
void ensure_vertices(size_t num_vertices);
vertex * get_vertices(size_t view);
uint32_t shading_rate(int pixels_x, int pixels_y);
pipeline_t & ensure_pipeline(size_t view, vk::Sampler rgb, vk::Sampler a);
public:
stream_defoveator(
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);
stream_defoveator(const stream_defoveator &) = delete;
stream_reprojection(const stream_reprojection &) = delete;
void defoveate(
void reproject(
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;
+48 -3
View File
@@ -1,4 +1,49 @@
/*
* 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 vec2 vUV;
layout(location = 0) out vec2 outUV;
void main()
{
gl_Position = vec4(vPosition, 0.0, 1.0);
outUV = vUV;
}
#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
-92
View File
@@ -1,92 +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 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);
#if VSR
gl_PrimitiveShadingRateEXT = int(bitfieldExtract(vUV.x, 28, 4));
vec2 uv = bitfieldInsert(vUV, uvec2(0), 28, 4);
#else
vec2 uv = vUV;
#endif
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
+179
View File
@@ -0,0 +1,179 @@
/*
* 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);
}
-5
View File
@@ -1,5 +0,0 @@
#version 450
#extension GL_ARB_shading_language_include : require
#define VSR 1
#include "reprojection.glsl.inc"
+27 -3
View File
@@ -45,16 +45,40 @@ void main()
#ifdef FRAG_SHADER
layout(binding = 0) uniform sampler2D texSampler;
layout(constant_id = 0) const bool is_alpha = false;
layout(constant_id = 0) const bool do_srgb = true;
layout(constant_id = 1) 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()
{
outColor = texture(texSampler, inUV);
outColor.a = outColor.r;
if (do_srgb)
{
outColor = sRGB_to_linear_rgba(texture(texSampler, inUV));
}
else
{
outColor = texture(texSampler, inUV);
outColor.a = outColor.r;
}
if (!is_alpha)
{
outColor.a = 1;
+3 -11
View File
@@ -26,17 +26,9 @@ namespace utils
template <typename Rng, typename T>
bool contains(Rng && range, const T & value)
{
if constexpr (std::is_convertible_v<T, const char *> and
std::is_convertible_v<typename std::decay_t<Rng>::value_type, const char *>)
{
auto it = std::find_if(range.begin(), range.end(), [&](const char * i) { return strcmp(i, value) == 0; });
return it != range.end();
}
else
{
auto it = std::find(range.begin(), range.end(), value);
return it != range.end();
}
auto it = std::find(range.begin(), range.end(), value);
return it != range.end();
}
// Check if all values of range2 are in range1
-70
View File
@@ -1,70 +0,0 @@
/*
* 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;
}
-3
View File
@@ -23,6 +23,3 @@
#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);
-45
View File
@@ -1,45 +0,0 @@
#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);
}
-6
View File
@@ -1,6 +0,0 @@
#include <vulkan/vulkan.h>
namespace wivrn
{
void renderdoc_begin(VkInstance);
void renderdoc_end(VkInstance);
} // namespace wivrn
+1 -2
View File
@@ -18,13 +18,12 @@
*/
#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 = spirv.data(),
.pCode = data(spirv),
};
return vk::raii::ShaderModule{device, create_info};
+3
View File
@@ -19,9 +19,12 @@
#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);
+16 -88
View File
@@ -25,8 +25,6 @@
#include <algorithm>
#include <cassert>
#include <cstring>
#include <map>
#include <set>
#include <spdlog/spdlog.h>
#include <vulkan/vulkan.h>
#include <openxr/openxr.h>
@@ -44,54 +42,7 @@ static XrBool32 debug_callback(
return XR_FALSE;
}
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)
static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & info)
{
XrResult res;
for (XrVersion version: {
@@ -99,34 +50,11 @@ static std::pair<XrVersion, XrInstance> create_instance(XrInstanceCreateInfo & i
XR_API_VERSION_1_0,
})
{
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));
@@ -201,6 +129,20 @@ 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(),
@@ -219,21 +161,7 @@ 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, 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);
}
std::tie(api_version, id) = create_instance(create_info);
if (debug_utils_found)
{
+17
View File
@@ -68,7 +68,24 @@ xr::swapchain::swapchain(xr::session & s, vk::raii::Device & device, vk::Format
images_.resize(array.size());
for (uint32_t i = 0; i < array.size(); i++)
{
images_[i].image = array[i].image;
vk::ImageViewCreateInfo iv_create_info{
.image = array[i].image,
.viewType = vk::ImageViewType::e2D,
.format = format,
.components = {},
.subresourceRange = {
.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,
.levelCount = 1,
.baseArrayLayer = 0,
.layerCount = 1,
}};
images_[i].view = vk::raii::ImageView(device, iv_create_info);
}
}
int xr::swapchain::acquire()
+1
View File
@@ -38,6 +38,7 @@ public:
struct image
{
vk::Image image{};
vk::raii::ImageView view = nullptr;
};
private:
+4
View File
@@ -0,0 +1,4 @@
function(auto_option name description default)
set(${name} ${default} CACHE STRING "${description}")
set_property(CACHE ${name} PROPERTY STRINGS AUTO ON OFF)
endfunction()
+9 -54
View File
@@ -1,8 +1,5 @@
set(_THIS_MODULE_BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
find_program(HEXDUMP hexdump REQUIRED)
function(compile_glsl_aux shader_stage shader_name glsl_filename output target_env)
function(compile_glsl_aux shader_stage shader_name glsl_filename output)
string(TOUPPER ${shader_stage} shader_stage_upper)
cmake_path(REPLACE_FILENAME output "${shader_name}.spv" OUTPUT_VARIABLE SPV_FILE)
@@ -13,28 +10,10 @@ function(compile_glsl_aux shader_stage shader_name glsl_filename output target_e
}},
")
add_custom_command(
OUTPUT "${SPV_FILE}-nopt"
COMMAND Vulkan::glslangValidator -V --target-env ${target_env} -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -o "${SPV_FILE}-nopt"
DEPENDS "${glsl_filename}"
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}"
COMMAND Vulkan::glslangValidator -V -S ${shader_stage} -D${shader_stage_upper}_SHADER ${in_file} -x -o "${SPV_FILE}"
DEPENDS "${glsl_filename}"
VERBATIM
)
@@ -51,57 +30,33 @@ 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 _args_SHADERS)
if (in_file MATCHES "\.\(vert|frag|tesc|tese|geom|comp\)\(\.glsl\)?$")
foreach(in_file IN LISTS ARGN)
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} ${_args_TARGET_ENV})
compile_glsl_aux(${shader_stage} ${shader_name} ${in_file} ${OUTPUT})
else()
cmake_path(GET in_file STEM LAST_ONLY shader_name)
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})
compile_glsl_aux(vert ${shader_name}.vert ${in_file} ${OUTPUT})
compile_glsl_aux(frag ${shader_name}.frag ${in_file} ${OUTPUT})
endif()
endforeach()
file(APPEND ${OUTPUT} "};${_namespace_end}")
file(APPEND ${OUTPUT} "};")
target_sources(${target} PRIVATE ${OUTPUT})
target_include_directories(${target} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
endfunction()
+1
View File
@@ -13,6 +13,7 @@ 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})
+2 -1
View File
@@ -1,4 +1,4 @@
if (WIVRN_USE_SYSTEM_BOOST)
if (BOOST_FOUND)
add_library(Boost::pfr ALIAS Boost::headers)
elseif (WIVRN_BUILD_CLIENT)
FetchContent_MakeAvailable(boost)
@@ -7,6 +7,7 @@ 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
+6 -5
View File
@@ -50,19 +50,20 @@ std::filesystem::path home()
std::pair<std::string, std::optional<std::filesystem::path>> find_steam()
{
auto h = home();
// Flatpak Steam
if (std::filesystem::exists(h / ".var/app/com.valvesoftware.Steam/.steam/steam"))
return {"flatpak run com.valvesoftware.Steam", h / ".var/app/com.valvesoftware.Steam/.steam/steam"};
// system Steam
if (std::filesystem::exists(xdg_data_home() / "Steam"))
return {"steam", xdg_data_home() / "Steam"};
auto h = home();
// system Steam (accessed from flatpak)
if (std::filesystem::exists(h / ".local/share/Steam"))
return {"steam", h / ".local/share/Steam"};
// Flatpak Steam
if (std::filesystem::exists(h / ".var/app/com.valvesoftware.Steam/.steam/steam"))
return {"flatpak run com.valvesoftware.Steam", h / ".var/app/com.valvesoftware.Steam/.steam/steam"};
return {};
}
-1
View File
@@ -20,7 +20,6 @@
#include <archive.h>
#include <archive_entry.h>
#include <bit>
#include <cairo.h>
#include <fstream>
#include <librsvg/rsvg.h>
-11
View File
@@ -17,9 +17,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <cctype>
#include <iterator>
namespace wivrn
{
extern const char git_version[];
@@ -27,12 +24,4 @@ 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;
}
}
-2
View File
@@ -4,6 +4,4 @@ namespace wivrn
{
extern const char git_version[];
extern const char git_commit[];
const char * display_version();
} // namespace wivrn
-1
View File
@@ -30,7 +30,6 @@
#cmakedefine01 WIVRN_USE_PULSEAUDIO
#cmakedefine01 WIVRN_FEATURE_DEBUG_GUI
#cmakedefine01 WIVRN_FEATURE_RENDERDOC
#cmakedefine01 WIVRN_FEATURE_STEAMVR_LIGHTHOUSE
#cmakedefine01 WIVRN_FEATURE_SOLARXR
+3 -1
View File
@@ -42,7 +42,9 @@ bool apk_installer::isTagged() const
QString apk_installer::currentVersion() const
{
return wivrn::display_version();
if (wivrn::git_version[0] == 'v')
return &wivrn::git_version[1];
return wivrn::git_version;
}
QCoro::Task<> apk_installer::doRefreshLatestVersion()
@@ -69,16 +69,6 @@
<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>
+14 -2
View File
@@ -129,9 +129,15 @@ Kirigami.ScrollablePage {
},
{
width: 0.5,
height: 1,
height: 0.75,
offset_x: 0.5,
offset_y: 0
},
{
width: 0.5,
height: 0.25,
offset_x: 0.5,
offset_y: 0.75
}
]
},
@@ -148,9 +154,15 @@ Kirigami.ScrollablePage {
},
{
width: 0.5,
height: 1,
height: 0.75,
offset_x: 0,
offset_y: 0
},
{
width: 0.5,
height: 0.25,
offset_x: 0,
offset_y: 0.75
}
]
},
-1
View File
@@ -29,7 +29,6 @@
#include <cassert>
#include <memory>
#include <nlohmann/json.hpp>
#include <unistd.h>
#if WIVRN_CHECK_CAPSYSNICE
#include <sys/capability.h>
+1 -1
View File
@@ -44,7 +44,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: one encoder per eye
Default value: 3 encoders in order 1/8th, 3/8th and 4/8th of the image.
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.
-741
View File
@@ -1,741 +0,0 @@
/******************************************************************************
* 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
+1 -5
View File
@@ -21,9 +21,6 @@
pkgs.libpng
pkgs.libarchive
];
extraNativeBuildInputs = [
pkgs.util-linux
];
package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: {
src = ./.;
@@ -44,12 +41,11 @@
# 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-asb4uwuu+UEgznlOoAka+xG6Zj68lPHWiPN072LpTQQ=";
hash = "sha256-4P/ejRAitrYn8hXZPaDOcx27utfm+aVLjtqL6JxZYAg=";
};
};
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
dontWrapQtApps = true;
+11 -5
View File
@@ -26,15 +26,17 @@ 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
- --filesystem=~/.steam:ro
# List flatpak Steam games
- --filesystem=~/.var/app/com.valvesoftware.Steam:ro
# Pipewire
- --filesystem=xdg-run/pipewire-0
# Set the active OpenXR / OpenVR runtime
- --filesystem=xdg-config/openxr:create
- --filesystem=xdg-config/openvr:create
# SlimeVR
- --filesystem=xdg-run/SlimeVRInput
- --filesystem=xdg-run/SlimeVRRpc
# Let outside application access the WiVRn socket
- --filesystem=xdg-run/wivrn:create
- --own-name=io.github.wivrn.Server
@@ -281,7 +283,7 @@ modules:
sources:
- type: git
url: https://gitlab.com/znixian/OpenOVR.git
tag: cff07db75c4823afe93ed7027b03d5f7bc86f164
tag: 538639b86c5c71223f11040b09479e5c0a83078c
- name: xrizer
buildsystem: simple
@@ -353,6 +355,10 @@ modules:
- WIVRN_SRC1
WIVRN_SRC2
WIVRN_SRC3
- type: archive
url: BOOSTPFR_URL
dest: deps/boostpfr-src
sha256: BOOSTPFR_SHA256
- type: git
url: https://gitlab.freedesktop.org/monado/monado
tag: MONADO_COMMIT
@@ -360,6 +366,7 @@ modules:
- type: shell
commands:
- cd deps/monado-src && ../../patches/apply.sh ../../patches/monado/*
- cd deps/boostpfr-src && ../../patches/apply.sh ../../flatpak/boostpfr-gcc-12-internal-compiler-error.patch
- name: wivrn
buildsystem: cmake-ninja
@@ -374,8 +381,7 @@ modules:
- -DWIVRN_USE_NVENC=ON
- -DWIVRN_USE_VULKAN_ENCODE=ON
- -DWIVRN_USE_PULSEAUDIO=OFF
- -DWIVRN_USE_PIPEWIRE=ON
- -DWIVRN_USE_SYSTEM_BOOST=OFF
- -DWIVRN_FEATURE_SOLARXR=ON
- -DWIVRN_WERROR=ON
- -DWIVRN_CHECK_CAPSYSNICE=OFF # Capabilities don't work inside flatpak
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 158 KiB

+58 -58
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 14:54+0200\n"
"POT-Creation-Date: 2025-08-04 09:40+0200\n"
"PO-Revision-Date: 2025-08-06 19:20+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
@@ -86,7 +86,7 @@ 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:342
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADB no está instalado."
@@ -135,7 +135,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:354
#, 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:327 dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "Cancelar"
@@ -312,7 +312,7 @@ msgstr "Emparejando"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "Conectar por USB"
@@ -339,22 +339,22 @@ msgstr "Aplicación"
msgid "Steam information"
msgstr "Información de Steam"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "Asistente"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "Instalar aplicación"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 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:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "Solucionar problemas"
@@ -460,19 +460,19 @@ msgctxt "encoder preset"
msgid "Default preset"
msgstr "Preajuste predeterminado"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Preajuste de baja latencia"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Preajuste seguro"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -482,84 +482,84 @@ msgstr ""
"clic cerca de un borde.\n"
"Arrastra un borde para cambiar el tamaño o eliminar codificadores."
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "Codificador"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD y Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificación por software)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:272
#, 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:266
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "Códec"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Automático"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Opciones avanzadas"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Habilitar ventana de depuración"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -573,44 +573,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:331
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Ruta de adb personalizada"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Ruta de adb:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Explorar"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Por defecto"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Deshabilitado"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Librería de compatibilidad para OpenVR:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
@@ -647,7 +647,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:388
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -661,7 +661,7 @@ 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:393
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -715,7 +715,7 @@ msgstr "El emparejamiento está actualmente desactivado."
msgid "I have no sound on my headset"
msgstr "No tengo sonido en mi visor"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -740,9 +740,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:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, kde-format
msgid "Back"
msgstr "Atrás"
@@ -762,8 +762,8 @@ msgstr ""
"computadora."
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "Siguiente"
@@ -861,12 +861,12 @@ msgstr ""
"La aplicación que elijas se iniciará automáticamente cuando conectes tu "
"visor."
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Información importante"
#: dashboard/qml/WizardPage.qml:308
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -875,12 +875,12 @@ msgstr ""
"WiVRn sustituye completamente a SteamVR, no deberías iniciar SteamVR "
"mientras WiVRn esté en ejecución"
#: dashboard/qml/WizardPage.qml:359
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Inicia la aplicación WiVRn en tu visor"
#: dashboard/qml/WizardPage.qml:364
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -889,32 +889,32 @@ 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:371
#: dashboard/qml/WizardPage.qml:370
#, 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:384
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Solución de problemas"
#: dashboard/qml/WizardPage.qml:406
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Saltar"
#: dashboard/qml/WizardPage.qml:426
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Conexión establecida"
#: dashboard/qml/WizardPage.qml:431
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Tu visor está ahora conectado."
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
@@ -923,22 +923,22 @@ msgstr ""
"Para conectar otro visor, asegúrate de que el emparejamiento esté habilitado "
"en el panel antes de conectar."
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Finalizar"
#: dashboard/qml/WizardPage.qml:473
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Terminado"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+153 -170
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 17:35+0200\n"
"POT-Creation-Date: 2025-08-04 15:49+0200\n"
"PO-Revision-Date: 2025-08-10 17:11+0200\n"
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
"Language-Team: Spanish\n"
"Language: es\n"
@@ -16,7 +16,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Formato de swapchain no compatible"
@@ -43,97 +43,97 @@ msgstr "No se puede conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Esperando conexión"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Calidad"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Deshabilitado"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "Cerrar"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "Conexión"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "Conexión a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:322
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:397
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "Conectado al servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "Connectado a {}"
#: client/scenes/lobby_gui.cpp:409
#: 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:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "Nombre"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "Dirección"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "Puerto"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "Guardar"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,32 @@ msgstr ""
"Inicia un servidor WiVRn en tu\n"
"red local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "Conexión automática"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versión del servidor incompatible"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "Servidor no disponible"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Español"
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Idioma"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Idioma del sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "Frecuencia de actualización"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automática"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,61 +175,61 @@ msgstr ""
"aplicación.\n"
"Puede causar parpadeos cuando ocurre un cambio."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "Tasa mínima de refresco"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, 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:911
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "Activar micrófono"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "Entrada de audio sin procesar"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:865
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:933
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "Activar seguimiento de manos"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "Esta función no es compatible con tu visor"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "Activar seguimiento ocular"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "Activar seguimiento facial"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "Habilitar seguimiento corporal"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +240,11 @@ msgstr ""
"si no el seguimiento corporal será medido por la posición de los controles y "
"el visor"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "Habilitar seguimiento de cintura para abajo"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +255,11 @@ msgstr ""
"Requiere habilitar 'Seguimiento de manos y del cuerpo' en los ajustes de "
"movimiento de Quest"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "Habilitar seguimiento de cintura"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,31 +267,19 @@ 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:1018
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "Activar video passthrough en el lobby"
#: client/scenes/lobby_gui.cpp:1029
msgid "Enable in-stream window"
msgstr "Habilitar ventana mientras se juega"
#: 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 ""
"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:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-procesamiento de OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Sobremuestreo"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -313,11 +288,11 @@ msgstr ""
"Útil cuando la resolución de entrada es alta comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Nitidez"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +301,171 @@ msgstr ""
"Útil cuando la resolución de entrada es baja comparada con la pantalla del "
"visor"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "Tiempo de CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "Tiempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Tiempo de GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "Tiempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "¿Habilitar micrófono?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "¿Habilitar seguimiento ocular?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "¿Habilitar seguimiento facial?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "¿Habilitar seguimiento corporal?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "Bienvenido a WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "Sí"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "Licencias"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "Micrófono activado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "Micrófono desactivado"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "Seguimiento de manos activado"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "Seguimiento de manos desactivado"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "Seguimiento ocular activado"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "Seguimiento ocular desactivado"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "Seguimiento facial activado"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "Seguimiento facial desactivado"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "Seguimiento corporal está habilitado"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "Seguimiento corporal está deshabilitado"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "Agregar servidor"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "Configuración"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "Post-procesamiento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "Depuración"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "Acerca de"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "Salir"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +473,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:1994
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "Pulsa el botón de agarre para mover la ventana principal"
@@ -468,11 +489,11 @@ msgstr "Copia"
msgid "Network"
msgstr "Red"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "Descargar"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Subir"
@@ -513,66 +534,66 @@ msgstr "Mostrado"
msgid "Predicted"
msgstr "Previsto"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latencia estimada de movimiento a fotones: {}ms"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
#: client/scenes/stream_gui.cpp:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Latencia entre el movimiento y la imagen mostrada"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Reajustar el centro de la fóvea"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} °"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distancia {:.2f} m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Por defecto"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Cambiar"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
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:560
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "Pulsa A para guardar o B para cancelar"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "Estadísticas"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "Superponer estadísticas"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "Vista compacta"
@@ -592,44 +613,6 @@ 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"
+8 -8
View File
@@ -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 y a %1 seconde"
msgstr[1] "Dernière connexion : il y a %1 secondes"
msgstr[0] "Dernière connexion : il a y %1 seconde"
msgstr[1] "Dernière connexion : il a y %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 y a %1 minute"
msgstr[1] "Dernière connexion : il y a %1 minutes"
msgstr[0] "Dernière connexion : il a y %1 minute"
msgstr[1] "Dernière connexion : il a y %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 y a %1 heure"
msgstr[1] "Dernière connexion : il y a %1 heures"
msgstr[0] "Dernière connexion : il a y %1 heure"
msgstr[1] "Dernière connexion : il a y %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 y a %1 jour"
msgstr[1] "Dernière connexion : il y a %1 jours"
msgstr[0] "Dernière connexion : il a y %1 jour"
msgstr[1] "Dernière connexion : il a y %1 jours"
#: dashboard/qml/HeadsetsPage.qml:40
#, kde-format
+155 -160
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
"PO-Revision-Date: 2025-08-12 13:37+0200\n"
"Last-Translator: Guillaume Meunier <guillaume.meunier@centraliens.net>\n"
"Language-Team: French <>\n"
"Language: French\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Aucun format de swapchain supporté"
@@ -43,99 +43,99 @@ msgstr "Impossible de se connecter à {} ({}): {}"
msgid "Waiting for connection"
msgstr "Attente de connexion"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualité"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Désactivé"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:814
msgid "Disconnect"
msgstr "Déconnecter"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
msgid "Close"
msgstr "Fermer"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Connexion en cours"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Connexion à {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "Code PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Entrez le code PIN affiché sur le tableau de bord"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Connecté au serveur WiVRn"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Connecté à {}"
#: client/scenes/lobby_gui.cpp:409
#: 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:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Nom"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Adresse"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "TCP seulement"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Annuler"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Enregistrer"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -143,45 +143,32 @@ msgstr ""
"Démarrez un serveur WiVRn sur\n"
"le réseau local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Autoconnexion"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Connexion"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Version du serveur incompatible"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Serveur non disponible"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Français"
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Langue"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Langue système"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Taux de rafraichissement"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatique"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -190,59 +177,59 @@ msgstr ""
"des performances mesurées.\n"
"Peut causer des clignotements lors du changement de fréquence."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Taux minimal"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
#, 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:911
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Activer le micro"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Utiliser les données brutes du micro"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:887
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:933
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Activer le suivi des mains"
#: 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
#: 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
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:945
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Activer le suivi des yeux"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Activer le suivi du visage"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Activer le suivi du corps"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -253,11 +240,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:995
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Activer le suivi du bas du corps"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -268,11 +255,11 @@ msgstr ""
"paramètres\n"
"de suivi de mouvements du casque."
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Activer le suivi des hanches"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -280,15 +267,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:1018
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Activer la vue réelle dans l'accueil"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:994
msgid "Enable in-stream window"
msgstr "Activer la fenêtre WiVRn lors de la transmission"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:997
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +285,15 @@ msgstr ""
"Lorsque activé, la fenêtre peut être affichée en appuyant sur les deux "
"sticks."
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-traitement OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Suréchantillonnage"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +301,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:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Affinage de netteté"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -326,125 +313,171 @@ 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:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "Temps CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1243
msgid "CPU time [ms]"
msgstr "Temps CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Temps GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1257
msgid "GPU time [ms]"
msgstr "Temps GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1300
msgid "Enable the microphone?"
msgstr "Activer le micro ?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1305
msgid "Enable eye tracking?"
msgstr "Activer le suivi des yeux ?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1310
msgid "Enable face tracking?"
msgstr "Activer le suivi du visage ?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1315
msgid "Enable body tracking?"
msgstr "Activer le suivi du corps ?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1323
msgid "Welcome to WiVRn"
msgstr "Bienvenue sur WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1347
msgid "Yes"
msgstr "Oui"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1354
msgid "No"
msgstr "Non"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
msgid "Licenses"
msgstr "Licences"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1687
msgid "Microphone is enabled"
msgstr "Le micro est activé"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1688
msgid "Microphone is disabled"
msgstr "Le micro est désactivé"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1697
msgid "Hand tracking is enabled"
msgstr "Le suivi des mains est activé"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1698
msgid "Hand tracking is disabled"
msgstr "Le suivi des mains est désactivé"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1707
msgid "Eye tracking is enabled"
msgstr "Le suivi des yeux est activé"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1708
msgid "Eye tracking is disabled"
msgstr "Le suivi des yeux est désactivé"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1721
msgid "Face tracking is enabled"
msgstr "Le suivi du visage est activé"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1722
msgid "Face tracking is disabled"
msgstr "Le suivi du visage est désactivé"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1732
msgid "Body tracking is enabled"
msgstr "Le suivi du corps est activé"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1733
msgid "Body tracking is disabled"
msgstr "Le suivi du corps est désactivé"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1749
msgid "Add server"
msgstr "Ajouter un serveur"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1994
msgid "Server list"
msgstr "Serveurs"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
msgid "Settings"
msgstr "Paramètres"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:2000
msgid "Post-processing"
msgstr "Post-traitement"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:2004
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:2009
msgid "About"
msgstr "À propos"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:2015
msgid "Exit"
msgstr "Quitter"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2032
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -452,7 +485,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:1994
#: client/scenes/lobby_gui.cpp:2034
msgid "Press the grip button to move the main window"
msgstr "Serrez la gâchette latérale pour bouger la fenêtre principale"
@@ -468,11 +501,11 @@ msgstr "Copie"
msgid "Network"
msgstr "Réseau"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "Téléchargement"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Téléversement"
@@ -513,66 +546,66 @@ msgstr "Affichage"
msgid "Predicted"
msgstr "Prédiction"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latence mouvement à photons estimée: {}ms"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
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:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Latence mouvements à photons"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Zone de fovéation manuelle"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Activer"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Hauteur: {:.1f} deg"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distance {:.2f} m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Réinitialiser"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Ajuster"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
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:560
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "A pour sauvegarder, B pour annuler"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:795
msgid "Stats"
msgstr "Statistiques"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:804
msgid "Statistics overlay"
msgstr "Statistiques seules"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:807
msgid "Compact view"
msgstr "Vue compacte"
@@ -592,44 +625,6 @@ 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"
+152 -157
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 00:05+0200\n"
"PO-Revision-Date: 2025-09-18 00:05+0200\n"
"POT-Creation-Date: 2025-08-12 13:35+0200\n"
"PO-Revision-Date: 2025-08-12 13:41+0200\n"
"Last-Translator: Albano Battistella <albanobattistella@gmail.com>\n"
"Language-Team: Italian <>\n"
"Language: Italian\n"
@@ -15,7 +15,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 48.0\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Nessun formato swapchain supportato"
@@ -42,98 +42,98 @@ msgstr "Impossibile connettersi a {} ({}): {}"
msgid "Waiting for connection"
msgstr "In attesa di connessione"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normale"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Alta qualità"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Disattivato"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:814
msgid "Disconnect"
msgstr "Sconnetti"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:810
msgid "Close"
msgstr "Chiudi"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Connessione"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Connessione a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Digitare il PIN visibile sul server"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Connesso al server WiVRn"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Connesso a {}"
#: client/scenes/lobby_gui.cpp:409
#: 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:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Indirizzo"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "Solo TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Annulla"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Salva"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -141,45 +141,32 @@ msgstr ""
"Avvia un server WiVRn sulla\n"
"rete locale"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Connessione automatica"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Connetti"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versione del server incompatibile"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Server non disponibile"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Italiano"
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Lingua"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Lingua del sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Frequenza di aggiornamento"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automatica"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -188,60 +175,60 @@ msgstr ""
"misurate dell'applicazione.\n"
"Può causare un flash quando avviene il cambiamento."
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Frequenza minima"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
#, 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:911
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Attiva il microfono"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Usare dati grezzi del microfono"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:887
msgid "Force disable audio filters, such as noise cancellation"
msgstr "Disattiva gli effetti come la cancellazione del rumore"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Abilita il tracciamento delle mani"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "Questa funzionalità non è supportata dal visore"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Abilita il tracciamento oculare"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Abilita il tracciamento facciale"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Abilita il tracciamento del corpo"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -254,11 +241,11 @@ msgstr ""
"controller e\n"
"del visore."
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Abilita il tracciamento del basso del corpo"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -269,11 +256,11 @@ msgstr ""
"impostazioni,\n"
"sezione \"Tracking dei movimenti\"."
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Abilitia il tracciamento delle anche"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -282,15 +269,15 @@ msgstr ""
"Può essere utile se un altro metodo viene usato per il tracciamento\n"
"delle anche."
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Abilita la visualizzazione reale in ingresso"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:994
msgid "Enable in-stream window"
msgstr "Attiva la finestra di WiVRn durante la trasmissione"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:997
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -298,15 +285,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:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "Post-trattamento OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Supersamping"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1035 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -314,11 +301,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:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Miglioramento della nitidezza"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1060 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -327,125 +314,168 @@ msgstr ""
"Utile quando la risoluzione d'entrate è bassa in contronto a quella del "
"visore"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "Tempo CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1243
msgid "CPU time [ms]"
msgstr "Tempo CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "Tempo GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1257
msgid "GPU time [ms]"
msgstr "Tempo GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1300
msgid "Enable the microphone?"
msgstr "Attivare il microfono?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1305
msgid "Enable eye tracking?"
msgstr "Attivare il tracciamento oculare?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1310
msgid "Enable face tracking?"
msgstr "Attivare il tracciamento facciale?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1315
msgid "Enable body tracking?"
msgstr "Attivare il tracciamento del corpo?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1323
msgid "Welcome to WiVRn"
msgstr "Benvenuto su WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1347
msgid "Yes"
msgstr "Sì"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1354
msgid "No"
msgstr "No"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
msgid "Licenses"
msgstr "Licenze"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1687
msgid "Microphone is enabled"
msgstr "Microfono attivo"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1688
msgid "Microphone is disabled"
msgstr "Microfono disattivato"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1697
msgid "Hand tracking is enabled"
msgstr "Tracciamento delle mani attivo"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1698
msgid "Hand tracking is disabled"
msgstr "Tracciamento delle mani disattivato"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1707
msgid "Eye tracking is enabled"
msgstr "Tracciamento oculare attivo"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1708
msgid "Eye tracking is disabled"
msgstr "Tracciamento oculare disattivato"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1721
msgid "Face tracking is enabled"
msgstr "Tracciamento facciale attivato"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1722
msgid "Face tracking is disabled"
msgstr "Tracciamento facciale disattivato"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1732
msgid "Body tracking is enabled"
msgstr "Tracciamento del corpo attivato"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1733
msgid "Body tracking is disabled"
msgstr "Tracciamento del corpo disattivato"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1749
msgid "Add server"
msgstr "Aggiungi server"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1994
msgid "Server list"
msgstr "Elenco dei server"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:798
msgid "Settings"
msgstr "Impostazioni"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:2000
msgid "Post-processing"
msgstr "Post-trattamento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:2004
msgid "Debug"
msgstr "Debug"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:2009
msgid "About"
msgstr "Informazioni"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:2015
msgid "Exit"
msgstr "Esci"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2032
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -453,7 +483,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:1994
#: client/scenes/lobby_gui.cpp:2034
msgid "Press the grip button to move the main window"
msgstr "Premi il pulsante laterale per spostare la finestra principale"
@@ -469,11 +499,11 @@ msgstr "Copia"
msgid "Network"
msgstr "Rete"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "Download"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Upload"
@@ -514,66 +544,66 @@ msgstr "Visualizzato"
msgid "Predicted"
msgstr "Previsto"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Latenza stimata da movimento a fotoni: {}ms"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "Premi il pulsante laterale per spostare la finestra"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:752
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:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Latenza da movimento a fotoni"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Centro di foveazione manuale"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Attiva"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altezza {:.1f} deg"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distanza {:.2f} m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Reimposta"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Cambia"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "Usa gli stick per spostare il centro di foveazione"
#: client/scenes/stream_gui.cpp:560
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "A per salvare, B per annullare"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:795
msgid "Stats"
msgstr "Statistiche"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:804
msgid "Statistics overlay"
msgstr "Solo statistiche"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:807
msgid "Compact view"
msgstr "Modalità compatta"
@@ -593,41 +623,6 @@ 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"
+59 -60
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-21 10:05+0900\n"
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language-Team: Japanese <>\n"
@@ -79,7 +79,7 @@ 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:342
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "ADBはインストールされていません。"
@@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする"
msgid "Headset statistics"
msgstr "HMDの統計情報"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, 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:327 dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "やめる"
@@ -265,8 +265,7 @@ msgstr ""
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
@@ -296,7 +295,7 @@ msgstr "ペアリング"
msgid "PIN: %1"
msgstr "暗証番号:%1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "USBで接続する"
@@ -322,22 +321,22 @@ msgstr "アプリ"
msgid "Steam information"
msgstr "ストリーム情報"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "セットアップウィザード"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "アプリをインストール"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "問題解決"
@@ -442,19 +441,19 @@ msgctxt "encoder preset"
msgid "Default preset"
msgstr "デフォルト・プリセット"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低遅延プリセット"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安定プリセット"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -464,84 +463,84 @@ msgstr ""
"う。\n"
"角を引っ張って大きさの調整をできます。大きさゼロで削除となります。"
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "エンコーダー"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMDやIntel GPU)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (ソフトエンコード)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:272
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "「自動」で当システムにとって最も安定した設定を使用します。"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "コーデック"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "詳細設定"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "デバッグ・ウィンドウを表示する"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR・ライトハウス・トラッキング"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -554,44 +553,44 @@ msgstr ""
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
"キャリブレーションはmotocなどのソフトウェアで行います。"
#: dashboard/qml/SettingsPage.qml:331
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "特定なADBの場所"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "ADBの場所:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "検索する"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "デフォルト"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "カスタム"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "無し"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR実装ライブラリー"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
@@ -626,7 +625,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:388
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -638,7 +637,7 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧
msgid "I cannot see my computer in the WiVRn app"
msgstr "WiVRnアプリでパソコンが表示されない"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -692,7 +691,7 @@ msgstr "ペアリングは無効です。"
msgid "I have no sound on my headset"
msgstr "HMDから音が出ない"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -716,9 +715,9 @@ 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
#: 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
#, kde-format
msgid "Back"
msgstr "戻る"
@@ -738,8 +737,8 @@ msgstr ""
"るようにご案内します。"
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "次"
@@ -834,12 +833,12 @@ msgid ""
"your headset."
msgstr "接続すると、選択したアプリが自動的に起動します。"
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "警告"
#: dashboard/qml/WizardPage.qml:308
#: dashboard/qml/WizardPage.qml:307
#, kde-format
msgid ""
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
@@ -848,12 +847,12 @@ msgstr ""
"WiVRnはSteamVRの変わりに使うものです。両方を同時に走らせないように気をつけま"
"しょう。"
#: dashboard/qml/WizardPage.qml:359
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "HMDでWiVRnアプリを起動しましょう。"
#: dashboard/qml/WizardPage.qml:364
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -862,54 +861,54 @@ msgstr ""
"WiFiで接続するには、HMDのWiVRnアプリを使い、「%1」に接続し、暗証番号に「%2」"
"を入れましょう。"
#: dashboard/qml/WizardPage.qml:371
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
#: dashboard/qml/WizardPage.qml:384
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "問題解決"
#: dashboard/qml/WizardPage.qml:406
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "スキップ"
#: dashboard/qml/WizardPage.qml:426
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "接続確立"
#: dashboard/qml/WizardPage.qml:431
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "HMDに接続しました。"
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, kde-format
msgid ""
"To connect another headset, make sure pairing is enabled in the dashboard "
"before connecting."
msgstr "他のHMDを接続するには、ペアリングが有効なのかどうか確認しましょう。"
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "完了"
#: dashboard/qml/WizardPage.qml:473
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "完了しました"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "OpenComposite"
+150 -131
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn 0.16\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"POT-Creation-Date: 2025-08-06 04:49+0900\n"
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
"Language: Japanese\n"
@@ -10,7 +10,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "互換性のあるスワップチェーンは見つからなかった"
@@ -37,94 +37,94 @@ msgstr "{}に接続できませんでした:({}) {}"
msgid "Waiting for connection"
msgstr "接続を待っています"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "ノーマル"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "クオリティ"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "無効"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "切断する"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "接続"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "{}に接続中"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "暗証番号"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:322
msgid "Input the PIN displayed on the dashboard"
msgstr "パソコンで表示された暗証番号を入力してください"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "WiVRnサーバーに接続しました。"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "{}に接続しました。"
#: client/scenes/lobby_gui.cpp:409
#: client/scenes/lobby_gui.cpp:405
msgid "Start an application on the server to start streaming."
msgstr "VRアプリを起動してVRに入りましょう!"
#: client/scenes/lobby_gui.cpp:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "表示名"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "アドレス"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "ポート番号"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "TCPのみを使用"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "やめる"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "保存する"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -132,45 +132,32 @@ msgstr ""
"ローカルネットワークでWiVRnサーバーを\n"
"起動してみて下さい"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "自動接続"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "接続する"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "互換性のないサーバーです"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "サーバーは利用不可です"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "日本語"
#: 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
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "リフレッシュレート"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -178,60 +165,60 @@ msgstr ""
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
"変更時にチラツキが発生する可能性があります。"
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "最低リフレッシュレート"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "解像度"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr ""
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "マイクを有効する"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "未処理のマイク音声"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:865
msgid "Force disable audio filters, such as noise cancellation"
msgstr "ノイズ除去などのフィルターを無効化する"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "ハンドトラッキングを有効する"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "デバイスはこの機能をサポートしていません"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "アイトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "顔トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "ボディラッキングを有効する"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -242,11 +229,11 @@ msgstr ""
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
"とになる。"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "下半身トラッキングを有効する"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -256,11 +243,11 @@ msgstr ""
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
"有効する必要がある。"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "腰のトラッキングを有効する"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -268,31 +255,19 @@ msgstr ""
"下半身トラッキングが有効な場合に使用可能。\n"
"腰トラッカーを持ってる方は無効にしましょう。"
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "ロビーでパススルーを有効する"
#: 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 ""
"ストリーミング中にも設定パネルを表示できるようにします。\n"
"両方のサムスティックを同時に押して切り替えることができます。"
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXRポストエフェクト"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "スーパーサンプリング"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -300,11 +275,11 @@ msgstr ""
"コントラストが高い部分のギザギザを低減する。\n"
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "シャープ"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -312,125 +287,169 @@ msgstr ""
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "CPU使用時間"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "CPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU使用時間"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "GPU使用時間、ミリ秒"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "マイクを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "アイトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "フェースラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "ボディトラッキングを有効にしますか?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "WiVRnへようこそ!"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "はい"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "いいえ"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "ライセンス"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "マイクは有効です"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "マイクは無効です"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "ハンドトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "ハンドラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "アイトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "アイトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "フェーストラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "フェーストラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "ボディトラッキングは有効です"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "ボディトラッキングは無効です"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "サーバーを追加する"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "サーバー"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "ポストエフェクト"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "デバッグ"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "WiVRnについて"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "完了"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -438,7 +457,7 @@ msgstr ""
"メイン・パネルを動かすには、グリップを握るか、\n"
"手のひらを上向きにしましょう。"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "グリップを握ってパネルを動かしましょう。"
@@ -454,11 +473,11 @@ msgstr "レンダー"
msgid "Network"
msgstr "ネットワーク"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "ダウンロード"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "アップロード"
@@ -499,66 +518,66 @@ msgstr "表示"
msgid "Predicted"
msgstr "予測時間"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "グリップを握ってパネルを動かしましょう。"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "両方のサムスティックを同時に押すことで設定表示"
#: client/scenes/stream_gui.cpp:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "「Motion-to-photon」遅延"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "光学中心の調整"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "有効"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "仰角 {:.1f}°"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f}m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "デフォルト"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "編集"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "ジョイスティックを使って中心点を調整しましょう。"
#: client/scenes/stream_gui.cpp:560
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "AかBを押してキャンセル。"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "統計情報"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "統計オーバーレイ"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "コンパクト・モード"
+28 -28
View File
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 14:54+0200\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"
"Language: pt_BR\n"
@@ -459,19 +459,19 @@ msgctxt "encoder preset"
msgid "Default preset"
msgstr "Predefinição padrão"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Predefinição de baixa latência"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Predefinição segura"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -481,84 +481,84 @@ msgstr ""
"perto de uma aresta.\n"
"Arraste a aresta para redimensionar ou remover codificadores."
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "Codificador:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (GPUs NVIDIA)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (GPUs AMD e Intel)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (codificação por software)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vídeo Vulkan)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:272
#, 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:266
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Auto"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Opções avançadas"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -571,44 +571,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:331
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
+143 -148
View File
@@ -11,18 +11,18 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"PO-Revision-Date: 2025-09-18 16:52+0200\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\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"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 25.08.1\n"
"X-Generator: Gtranslator 48.0\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language-Team: Brazilian Portuguese\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
@@ -49,96 +49,96 @@ msgstr "Incapaz de conectar a {} ({}): {}"
msgid "Waiting for connection"
msgstr "Aguardando conexão"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Qualidade"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:825
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:821
msgid "Close"
msgstr "Fechar"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Conexão"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Conexão a {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Entre o PIN mostrado no painel"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Conectado ao servidor WiVRn"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Conectado a {}"
#: client/scenes/lobby_gui.cpp:409
#: 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:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Nome"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Endereço"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Porta"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Cancelar"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Salvar"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -146,45 +146,32 @@ msgstr ""
"Inicie um servidor WiVRn em sua\n"
"rede local"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Autoconectar"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Conectar"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Versão de servidor incompatível"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Servidor não disponível"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "Português (Brasil)"
#: client/scenes/lobby_gui.cpp:814
msgid "Language"
msgstr "Linguagem"
#: client/scenes/lobby_gui.cpp:814 client/scenes/lobby_gui.cpp:816
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:841
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -192,60 +179,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:867
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1101
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1112
#, 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:911
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Ativar microfone"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Áudio Não-processado de Microfone"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:887
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:933
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Ativar rastreamento de mãos"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "Este recurso não é suportado pelo seu headset"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Ativar rastreamento ocular"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Ativar rastreamento facial"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Ativar rastreamento corporal"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -257,11 +244,11 @@ msgstr ""
"estimados\n"
"com base nas posições do controle e do headset."
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Ativar rastreamento corporal inferior"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -272,11 +259,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:1004
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Ativar rastreamento de quadril"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -284,15 +271,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:1018
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Habilitar repassagem de vídeo no lobby"
#: client/scenes/lobby_gui.cpp:1029
#: client/scenes/lobby_gui.cpp:994
msgid "Enable in-stream window"
msgstr "Habilitar janela na stream"
#: client/scenes/lobby_gui.cpp:1032
#: client/scenes/lobby_gui.cpp:997
msgid ""
"Enables the configuration window to be shown while the game is streaming.\n"
"If enabled, the window is activated by pressing both thumbsticks."
@@ -301,15 +288,15 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:445
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1015 client/scenes/stream_gui.cpp:449
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1035 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"
@@ -317,11 +304,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:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1040 client/scenes/stream_gui.cpp:475
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1060 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"
@@ -329,125 +316,171 @@ 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:1191 client/scenes/lobby_gui.cpp:1199
#: 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/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
msgid "CPU time"
msgstr "Tempo de CPU"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1243
msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/lobby_gui.cpp:1253 client/scenes/lobby_gui.cpp:1261
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
msgid "GPU time"
msgstr "Tempo de GPU"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1257
msgid "GPU time [ms]"
msgstr "Tempo de GPU [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1300
msgid "Enable the microphone?"
msgstr "Habilitar o microfone?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1305
msgid "Enable eye tracking?"
msgstr "Habilitar o rastreamento ocular?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1310
msgid "Enable face tracking?"
msgstr "Habilitar o rastreamento facial?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1315
msgid "Enable body tracking?"
msgstr "Habilitar o rastreamento corporal?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1323
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1347
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1354
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1373 client/scenes/lobby_gui.cpp:2012
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1687
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1688
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1697
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1698
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1707
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1708
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1721
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1722
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1732
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1733
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1749
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1994
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1997 client/scenes/stream_gui.cpp:809
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:2000
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:2004
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:2009
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:2015
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2032
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -455,7 +488,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:1994
#: client/scenes/lobby_gui.cpp:2034
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
@@ -525,7 +558,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:776
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:763
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
@@ -567,15 +600,15 @@ 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:819
#: client/scenes/stream_gui.cpp:806
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:815
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:818
msgid "Compact view"
msgstr "Visualização compacta"
@@ -595,44 +628,6 @@ 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"
+152 -167
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"POT-Creation-Date: 2025-08-08 20:41+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:72
#: client/scene.cpp:74
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:232
#: client/scenes/lobby_gui.cpp:230
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normálna"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:233
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Vyššia kvalita"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:235
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Vypnuté"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:243 client/scenes/lobby_gui.cpp:400
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "Odpojiť"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:264 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "Zatvoriť"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:270
msgid "Connection"
msgstr "Pripojenie"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:272
#, c++-format
msgid "Connection to {}"
msgstr "Pripojenie k {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:302
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:324
msgid "Input the PIN displayed on the dashboard"
msgstr "Zadajte PIN zobrazený v okne aplikácie"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:395
msgid "Connected to WiVRn server"
msgstr "Pripojené k WiVRn serveru"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:397
#, c++-format
msgid "Connected to {}"
msgstr "Pripojené k {}"
#: client/scenes/lobby_gui.cpp:409
#: client/scenes/lobby_gui.cpp:407
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:421
#: client/scenes/lobby_gui.cpp:419
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:423
#: client/scenes/lobby_gui.cpp:421
#, 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:546
#: client/scenes/lobby_gui.cpp:544
msgid "Name"
msgstr "Názov"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:555
msgid "Address"
msgstr "Adresa"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:564
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:572
msgid "TCP only"
msgstr "Iba TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:579
msgid "Cancel"
msgstr "Zrušiť"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:593
msgid "Save"
msgstr "Uložiť"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:646
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -143,45 +143,32 @@ msgstr ""
"Spustite WiVRn server na svojej\n"
"lokálnej sieti"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:678
msgid "Autoconnect"
msgstr "Automatické pripojenie"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:704
msgid "Connect"
msgstr "Pripojiť"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:714 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Verzia servera nie je kompatibilná"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:716
msgid "Server not available"
msgstr "Server nie je dostupný"
#: 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
#: client/scenes/lobby_gui.cpp:802
msgid "Refresh rate"
msgstr "Obnovovacia frekvencia"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:804
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automaticky"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:811
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -189,60 +176,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:867
#: client/scenes/lobby_gui.cpp:828
msgid "Minimum refresh rate"
msgstr "Minimálna obnovovacia frekvencia"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:851
msgid "Resolution scale"
msgstr "Rozlíšenie"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:855 client/scenes/lobby_gui.cpp:1094
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} na oko"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:866 client/scenes/lobby_gui.cpp:1105
#, 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:911
#: client/scenes/lobby_gui.cpp:872
msgid "Enable microphone"
msgstr "Zapnúť mikrofón"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:881
msgid "Unprocessed Microphone Audio"
msgstr "Mikrofónu bez procesovaného zvuku"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:887
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:933
#: client/scenes/lobby_gui.cpp:894
msgid "Enable hand tracking"
msgstr "Zapnúť sledovanie rúk"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "Táto funkcia nieje podporovaná vašim headsetom"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:906
msgid "Enable eye tracking"
msgstr "Zapnúť sledovanie očí"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:918
msgid "Enable face tracking"
msgstr "Zapnúť sledovanie tváre"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:931
msgid "Enable body tracking"
msgstr "Zapnúť sledovanie tela"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:947
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -252,11 +239,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:995
#: client/scenes/lobby_gui.cpp:960
msgid "Enable lower body tracking"
msgstr "Zapnúť sledovanie spodnej části tela"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:966
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -266,11 +253,11 @@ msgstr ""
"Vyžaduje, aby bolo v nastaveniach Quest movement tracking povolené „Hand and "
"body tracking“"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:969
msgid "Enable hip tracking"
msgstr "Povoliť sledovanie pása"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:975
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -278,29 +265,19 @@ 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:1018
#: client/scenes/lobby_gui.cpp:983
msgid "Enable video passthrough in lobby"
msgstr "Povoliť passthrough video v hlavnom menu"
#: 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
#: client/scenes/lobby_gui.cpp:1004 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXRPostprocesing"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:1008 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1028 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -308,11 +285,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:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1033 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Ostrosť"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1053 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -320,125 +297,171 @@ 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:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "CPU odozva"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1236
msgid "CPU time [ms]"
msgstr "CPU odozva [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1246 client/scenes/lobby_gui.cpp:1254
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU odozva"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1250
msgid "GPU time [ms]"
msgstr "GPU odozva [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1293
msgid "Enable the microphone?"
msgstr "Zapnúť mikrofón?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1298
msgid "Enable eye tracking?"
msgstr "Povolenie sledovania očí?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1303
msgid "Enable face tracking?"
msgstr "Povolenie sledovania tváre?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1308
msgid "Enable body tracking?"
msgstr "Povoliť sledovanie tela?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1316
msgid "Welcome to WiVRn"
msgstr "Vitajte v WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1340
msgid "Yes"
msgstr "Áno"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1347
msgid "No"
msgstr "Nie"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1366 client/scenes/lobby_gui.cpp:2005
msgid "Licenses"
msgstr "Licencie"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1680
msgid "Microphone is enabled"
msgstr "Mikrofón je zapnutý"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1681
msgid "Microphone is disabled"
msgstr "Mikrofón je vypnutý"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1690
msgid "Hand tracking is enabled"
msgstr "Sledovanie rúk je zapnuté"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1691
msgid "Hand tracking is disabled"
msgstr "Sledovanie rúk je vypnuté"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1700
msgid "Eye tracking is enabled"
msgstr "Sledovanie očí je zapnuté"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1701
msgid "Eye tracking is disabled"
msgstr "Sledovanie očí je vypnuté"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1714
msgid "Face tracking is enabled"
msgstr "Sledovanie tváre je zapnuté"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1715
msgid "Face tracking is disabled"
msgstr "Sledovanie tváre je vypnuté"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1725
msgid "Body tracking is enabled"
msgstr "Sledovanie tela je zapnuté"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1726
msgid "Body tracking is disabled"
msgstr "Sledovanie tela je vypnuté"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1742
msgid "Add server"
msgstr "Pridať server"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1987
msgid "Server list"
msgstr "Zoznam serverov"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1990 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "Nastavenia"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1993
msgid "Post-processing"
msgstr "Postprocesing"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1997
msgid "Debug"
msgstr "Ladenie"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:2002
msgid "About"
msgstr "O aplikácii"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:2008
msgid "Exit"
msgstr "Ukončiť"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2025
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -446,7 +469,7 @@ msgstr ""
"Stlačte tlačidlo grip alebo zdvihnite dlaň\n"
"pre presunutie hlavného okna"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:2027
msgid "Press the grip button to move the main window"
msgstr "Pre presunutie hlavného okna stlačte grip"
@@ -462,11 +485,11 @@ msgstr "blitovanie"
msgid "Network"
msgstr "Sieť"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "Prijímanie"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Odosielanie"
@@ -507,66 +530,66 @@ msgstr "Zobrazený"
msgid "Predicted"
msgstr "Odhadovaný"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Odhadovaná odozva od pohybu po zobrazenie: {}ms"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "Pre presunutie okna stlačte grip"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pre zobrazenie WiVRn okna stlačte oba joysticky"
#: client/scenes/stream_gui.cpp:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Odozva od pohybu po zobrazenie"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Prepísanie foveation centra"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Povoliť"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Výška: {:.1f} deg"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Vzdialenosť: {:.2f} m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Predvolené"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Zmeniť"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "Pomocou joysticku nastavte foveation centrum"
#: client/scenes/stream_gui.cpp:560
#: client/scenes/stream_gui.cpp:549
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:819
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "Štatistiky"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "Štatistiky na obrazovke"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "Kompaktný vzhľad"
@@ -585,41 +608,3 @@ 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"
+58 -58
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 15:54+0300\n"
"POT-Creation-Date: 2025-08-04 10:40+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:342
#: dashboard/qml/Main.qml:341
#, 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:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, 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:327 dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, 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:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, 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:326
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "Sihirbaz"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "Uygulamayı yükle"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "Ayarlar"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 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:139
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "Düşük gecikmeli ön ayar"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "Güvenli ön ayar"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:193
#, 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:208
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "Kodlayıcı:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "Otomatik"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPU'ları)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD ve Intel GPU'ları)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (yazılım kodlaması)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:272
#, 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:266
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "Codec:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "Otomatik"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "Gelişmiş seçenekler"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "Hata ayıklama penceresini etkinleştir"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "SteamVR izlenen aygıt desteğini etkinleştir"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:335
#, 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:331
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "Özel adb konumu"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "Adb konumu:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Gözat"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "Varsayılan"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Özel"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "Devre dışı"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR uyumluluk kitaplığı:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:426
#, 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:388
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, 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:393
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, 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:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, 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:317
#: dashboard/qml/WizardPage.qml:401 dashboard/qml/WizardPage.qml:448
#: dashboard/qml/WizardPage.qml:485
#: dashboard/qml/WizardPage.qml:253 dashboard/qml/WizardPage.qml:316
#: dashboard/qml/WizardPage.qml:400 dashboard/qml/WizardPage.qml:447
#: dashboard/qml/WizardPage.qml:484
#, 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:322 dashboard/qml/WizardPage.qml:453
#: dashboard/qml/WizardPage.qml:490
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, 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:301
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "Önemli bilgi"
#: dashboard/qml/WizardPage.qml:308
#: dashboard/qml/WizardPage.qml:307
#, 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:359
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "Gözlüğünüzde WiVRn uygulamasını başlatın"
#: dashboard/qml/WizardPage.qml:364
#: dashboard/qml/WizardPage.qml:363
#, 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:371
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "USB üzerinden bağlanmak için \"USB ile bağlan\"a tıklayın."
#: dashboard/qml/WizardPage.qml:384
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "Sorun giderme"
#: dashboard/qml/WizardPage.qml:406
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "Atla"
#: dashboard/qml/WizardPage.qml:426
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "Bağlantı kuruldu"
#: dashboard/qml/WizardPage.qml:431
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "Gözlüğünüz şimdi bağlı."
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, 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:458 dashboard/qml/WizardPage.qml:495
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "Bitir"
#: dashboard/qml/WizardPage.qml:473
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "Bitti"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+160 -177
View File
@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \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"
"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"
"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:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "Desteklenen swapchain formatı yok"
@@ -45,143 +45,130 @@ msgstr "Bağlanılamıyor {} ({}): {}"
msgid "Waiting for connection"
msgstr "Bağlantı için bekleniyor"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "Normal"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "Kalite"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "Devre dışı"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "Bağlantıyı Kes"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "Kapat"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "Bağlantı"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "{} Bağlan"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:322
msgid "Input the PIN displayed on the dashboard"
msgstr "Gösterilen PIN'i gösterge paneline giriniz"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "WiVRn sunucusuna bağlanıldı"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "{} bağlanıldı"
#: client/scenes/lobby_gui.cpp:409
#: client/scenes/lobby_gui.cpp:405
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:421
#: client/scenes/lobby_gui.cpp:414
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:423
#: client/scenes/lobby_gui.cpp:416
#, 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:546
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "Ad"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "Adres"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "Port"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "Sadece TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "İptal"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "Kaydet"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:624
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:680
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "Oto Bağlan"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "Bağlan"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "Uyumsuz sunucu versiyonu"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "Sunucu mevcut değil"
#: 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
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "Tazeleme oranı"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Otomatik"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -189,60 +176,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:867
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "Minimum tazeleme oranı"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "Çözünürlük ölçeği"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "göz başına %d%% - {}x{}"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, 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:911
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "Mikrofonu aktif et"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "İşlenmemiş Mikrofon Sesi"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:865
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:933
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "El izlemeyi etkinleştir"
#: 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
#: 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
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:945
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "Göz takibi aktif et"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "Yüz takibi aktif et"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "Vücut takibi aktif et"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -251,13 +238,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:995
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "Alt vücut izlemeyi etkinleştir"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -267,11 +254,11 @@ msgstr ""
"Quest hareket izleme ayarlarında 'El ve vücut izleme' özelliğinin "
"etkinleştirilmesi gerekir"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "Kalça izlemeyi etkinleştir"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -279,169 +266,203 @@ 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:1018
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "Lobide video geçişini etkinleştir"
#: 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
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXR işlem sonrası"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "Süper örnekleme"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
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:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "Keskinleştirme"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
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:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "CPU zamanı"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "CPU zamanı [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU zamanı"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "GPU zamanı [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "Mikrofonu aktif et?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "Göz takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "Yüz takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "Vücut takibi aktif et?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "WiVRn'e hoş geldiniz"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "Evet"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "Hayır"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "Lisanslar"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "Mikrofon aktif"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "Mikrofon devre dışı"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "El takibi aktif"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "El takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "Göz takibi aktif"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "Göz takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "Yüz takibi aktif"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "Yüz takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "Vücut takibi aktif"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "Vücut takibi devre dışı"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "Sunucu ekle"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "Sunucu listesi"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "Ayarlar"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "İşlem sonrası"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "Hata ayıklama"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "Hakkında"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "Çıkış"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -449,7 +470,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:1994
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "Ana pencereyi hareket ettirmek için tutma düğmesine basın"
@@ -465,11 +486,11 @@ msgstr "Blit"
msgid "Network"
msgstr "Ağ"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "İndir"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "Gönder"
@@ -510,67 +531,67 @@ msgstr "Görüntülenen"
msgid "Predicted"
msgstr "Tahmin edilen"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Fotonlara tahmini hareket gecikmesi: {}ms"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
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:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
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:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "Hareketin fotona ulaşma gecikmesi"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "Foveasyon merkezi geçersiz kılma"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "Aktif et"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Boy {:.1f} deg"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Uzaklık {:.2f} m"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "Varsayılan"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "Değiştir"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "Başparmak çubuklarını kullanarak odak merkezini hareket ettirin"
#: client/scenes/stream_gui.cpp:560
#: client/scenes/stream_gui.cpp:549
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:819
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "İstatistikler"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "İstatistik katmanı"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "Kompakt görünüm"
@@ -589,41 +610,3 @@ 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"
+59 -60
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-14 10:48+0800\n"
"POT-Creation-Date: 2025-08-07 23:22+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"
@@ -84,7 +84,7 @@ 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:342
#: dashboard/qml/Main.qml:341
#, kde-format
msgid "ADB is not installed."
msgstr "未安裝 ADB"
@@ -131,7 +131,7 @@ msgstr "重新安裝 WiVRn"
msgid "Install WiVRn"
msgstr "安裝 WiVRn"
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:354
#, 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:327 dashboard/qml/WizardPage.qml:411
#: dashboard/qml/WizardPage.qml:326 dashboard/qml/WizardPage.qml:410
#, kde-format
msgid "Cancel"
msgstr "取消"
@@ -272,8 +272,7 @@ msgstr ""
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
@@ -303,7 +302,7 @@ msgstr "配對中"
msgid "PIN: %1"
msgstr "PIN: %1"
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374
#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:373
#, kde-format
msgid "Connect by USB"
msgstr "透過 USB 連線"
@@ -329,22 +328,22 @@ msgstr "應用程式"
msgid "Steam information"
msgstr "Steam 資訊"
#: dashboard/qml/Main.qml:326
#: dashboard/qml/Main.qml:325
#, kde-format
msgid "Wizard"
msgstr "精靈"
#: dashboard/qml/Main.qml:333
#: dashboard/qml/Main.qml:332
#, kde-format
msgid "Install the app"
msgstr "安裝應用程式"
#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14
#: dashboard/qml/Main.qml:361 dashboard/qml/SettingsPage.qml:14
#, kde-format
msgid "Settings"
msgstr "設定"
#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10
#: dashboard/qml/Main.qml:368 dashboard/qml/TroubleshootPage.qml:10
#, kde-format
msgid "Troubleshoot"
msgstr "疑難排解"
@@ -449,19 +448,19 @@ msgctxt "encoder preset"
msgid "Default preset"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:139
#: dashboard/qml/SettingsPage.qml:145
#, kde-format
msgctxt "encoder preset"
msgid "Low latency preset"
msgstr "低延遲預設"
#: dashboard/qml/SettingsPage.qml:158
#: dashboard/qml/SettingsPage.qml:170
#, kde-format
msgctxt "encoder preset"
msgid "Safe preset"
msgstr "安全預設"
#: dashboard/qml/SettingsPage.qml:181
#: dashboard/qml/SettingsPage.qml:193
#, kde-format
msgid ""
"To add a new encoder, split an existing encoder by clicking near an edge.\n"
@@ -470,84 +469,84 @@ msgstr ""
"要新增編碼器,請點擊邊緣附近以分割現有編碼器。\n"
"拖曳邊緣以調整大小或移除編碼器。"
#: dashboard/qml/SettingsPage.qml:208
#: dashboard/qml/SettingsPage.qml:220
#, kde-format
msgid "Encoder:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:217
#: dashboard/qml/SettingsPage.qml:229
#, kde-format
msgctxt "automatic encoder setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:222
#: dashboard/qml/SettingsPage.qml:234
#, kde-format
msgid "nvenc (NVIDIA GPUs)"
msgstr "nvenc (NVIDIA GPUs)"
#: dashboard/qml/SettingsPage.qml:227
#: dashboard/qml/SettingsPage.qml:239
#, kde-format
msgid "vaapi (AMD and Intel GPUs)"
msgstr "vaapi (AMD 和 Intel GPUs)"
#: dashboard/qml/SettingsPage.qml:232
#: dashboard/qml/SettingsPage.qml:244
#, kde-format
msgid "x264 (software encoding)"
msgstr "x264 (軟體編碼)"
#: dashboard/qml/SettingsPage.qml:237
#: dashboard/qml/SettingsPage.qml:249
#, kde-format
msgid "Vulkan (Vulkan Video)"
msgstr "Vulkan (Vulkan Video)"
#: dashboard/qml/SettingsPage.qml:260
#: dashboard/qml/SettingsPage.qml:272
#, kde-format
msgid "\"Auto\" will use hardware acceleration if it is available"
msgstr "\"自動\" 將在可用時使用硬體加速"
#: dashboard/qml/SettingsPage.qml:266
#: dashboard/qml/SettingsPage.qml:278
#, kde-format
msgid "Codec:"
msgstr "編碼器:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:285
#, kde-format
msgctxt "automatic codec setup"
msgid "Auto"
msgstr "自動"
#: dashboard/qml/SettingsPage.qml:277
#: dashboard/qml/SettingsPage.qml:289
#, kde-format
msgid "H.264"
msgstr "H.264"
#: dashboard/qml/SettingsPage.qml:281
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "H.265"
msgstr "H.265"
#: dashboard/qml/SettingsPage.qml:285
#: dashboard/qml/SettingsPage.qml:297
#, kde-format
msgid "AV1"
msgstr "AV1"
#: dashboard/qml/SettingsPage.qml:307
#: dashboard/qml/SettingsPage.qml:319
#, kde-format
msgid "Advanced options"
msgstr "進階選項"
#: dashboard/qml/SettingsPage.qml:313
#: dashboard/qml/SettingsPage.qml:325
#, kde-format
msgid "Enable debug window"
msgstr "啟用偵錯視窗"
#: dashboard/qml/SettingsPage.qml:320
#: dashboard/qml/SettingsPage.qml:332
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "啟用 SteamVR 追蹤裝置支援"
#: dashboard/qml/SettingsPage.qml:323
#: dashboard/qml/SettingsPage.qml:335
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -560,44 +559,44 @@ msgstr ""
"裝置必須在連線到 WiVRn 之前開啟電源。\n"
"校準需要額外工具,例如 motoc。"
#: dashboard/qml/SettingsPage.qml:331
#: dashboard/qml/SettingsPage.qml:343
#, kde-format
msgid "Custom adb location"
msgstr "自訂 adb 位置"
#: dashboard/qml/SettingsPage.qml:342
#: dashboard/qml/SettingsPage.qml:354
#, kde-format
msgid "Adb location:"
msgstr "adb 位置:"
#: dashboard/qml/SettingsPage.qml:351
#: dashboard/qml/SettingsPage.qml:363
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "瀏覽"
#: dashboard/qml/SettingsPage.qml:361
#: dashboard/qml/SettingsPage.qml:373
#, kde-format
msgid "Default"
msgstr "預設"
#: dashboard/qml/SettingsPage.qml:375
#: dashboard/qml/SettingsPage.qml:387
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "自訂"
#: dashboard/qml/SettingsPage.qml:380
#: dashboard/qml/SettingsPage.qml:392
#, kde-format
msgid "Disabled"
msgstr "已停用"
#: dashboard/qml/SettingsPage.qml:388
#: dashboard/qml/SettingsPage.qml:400
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "OpenVR 相容性函式庫:"
#: dashboard/qml/SettingsPage.qml:414
#: dashboard/qml/SettingsPage.qml:426
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
@@ -632,7 +631,7 @@ msgstr "已複製 Steam 啟動命令"
msgid "I cannot find the WiVRn app on my headset"
msgstr "我在我的頭顯上找不到 WiVRn 應用程式。"
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:388
#: dashboard/qml/TroubleshootPage.qml:21 dashboard/qml/WizardPage.qml:387
#, kde-format
msgid ""
"If you installed WiVRn over USB on a Meta headset, the app is in the "
@@ -646,7 +645,7 @@ msgstr ""
msgid "I cannot see my computer in the WiVRn app"
msgstr "我在 WiVRn 應用程式中看不到我的電腦。"
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393
#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:392
#, kde-format
msgid ""
"If the server is not visible or the connection fails, check that port 5353 "
@@ -699,7 +698,7 @@ msgstr "目前已停用配對"
msgid "I have no sound on my headset"
msgstr "我的頭戴式裝置沒有聲音"
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441
#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:440
#, kde-format
msgid ""
"When the headset is connected, select \"WiVRn\" as the default audio output "
@@ -722,9 +721,9 @@ 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
#: 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
#, kde-format
msgid "Back"
msgstr "返回"
@@ -742,8 +741,8 @@ msgid ""
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
#: dashboard/qml/WizardPage.qml:321 dashboard/qml/WizardPage.qml:452
#: dashboard/qml/WizardPage.qml:489
#, kde-format
msgid "Next"
msgstr "下一步"
@@ -835,24 +834,24 @@ msgid ""
"your headset."
msgstr "當您連接頭戴式裝置時,您選擇的應用程式將會自動啟動。"
#: dashboard/qml/WizardPage.qml:301
#: dashboard/qml/WizardPage.qml:300
#, kde-format
msgid "Important information"
msgstr "重要訊息"
#: dashboard/qml/WizardPage.qml:308
#: dashboard/qml/WizardPage.qml:307
#, 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:359
#: dashboard/qml/WizardPage.qml:358
#, kde-format
msgid "Start the WiVRn app on your headset"
msgstr "在您的頭戴式裝置上啟動 WiVRn 應用程式"
#: dashboard/qml/WizardPage.qml:364
#: dashboard/qml/WizardPage.qml:363
#, kde-format
msgid ""
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
@@ -861,54 +860,54 @@ msgstr ""
"要通過 WiFi 連線,請在您的頭戴式裝置上啟動 WiVRn 應用程式,連線至 \"%1\" 並輸"
"入 PIN 碼 \"%2\"。"
#: dashboard/qml/WizardPage.qml:371
#: dashboard/qml/WizardPage.qml:370
#, kde-format
msgid "To connect over USB, click on \"Connect by USB\"."
msgstr "要透過 USB 連線,請點擊 \"透過 USB 連線\"。"
#: dashboard/qml/WizardPage.qml:384
#: dashboard/qml/WizardPage.qml:383
#, kde-format
msgid "Troubleshooting"
msgstr "疑難排解"
#: dashboard/qml/WizardPage.qml:406
#: dashboard/qml/WizardPage.qml:405
#, kde-format
msgid "Skip"
msgstr "跳過"
#: dashboard/qml/WizardPage.qml:426
#: dashboard/qml/WizardPage.qml:425
#, kde-format
msgid "Connection established"
msgstr "連線已建立"
#: dashboard/qml/WizardPage.qml:431
#: dashboard/qml/WizardPage.qml:430
#, kde-format
msgid "Your headset is now connected."
msgstr "您的頭戴式裝置現在已連線。"
#: dashboard/qml/WizardPage.qml:436 dashboard/qml/WizardPage.qml:478
#: dashboard/qml/WizardPage.qml:435 dashboard/qml/WizardPage.qml:477
#, 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
#: dashboard/qml/WizardPage.qml:457 dashboard/qml/WizardPage.qml:494
#, kde-format
msgid "Finish"
msgstr "完成"
#: dashboard/qml/WizardPage.qml:473
#: dashboard/qml/WizardPage.qml:472
#, kde-format
msgid "Finished"
msgstr "已完成"
#: dashboard/wivrn_server.cpp:592
#: dashboard/wivrn_server.cpp:584
#, kde-format
msgid "xrizer"
msgstr "xrizer"
#: dashboard/wivrn_server.cpp:593
#: dashboard/wivrn_server.cpp:585
#, kde-format
msgid "Open Composite"
msgstr "Open Composite"
+149 -166
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-18 13:35+0200\n"
"POT-Creation-Date: 2025-08-07 23:22+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,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: client/scene.cpp:72
#: client/scene.cpp:74
msgid "No supported swapchain format"
msgstr "不支援的交換鏈格式"
@@ -44,94 +44,94 @@ msgstr "無法連線至 {} ({}): {}"
msgid "Waiting for connection"
msgstr "等待連線"
#: client/scenes/lobby_gui.cpp:232
#: client/scenes/lobby_gui.cpp:229
msgctxt "openxr_post_processing"
msgid "Normal"
msgstr "正常"
#: client/scenes/lobby_gui.cpp:235
#: client/scenes/lobby_gui.cpp:232
msgctxt "openxr_post_processing"
msgid "Quality"
msgstr "畫質"
#: client/scenes/lobby_gui.cpp:237
#: client/scenes/lobby_gui.cpp:234
msgctxt "openxr_post_processing"
msgid "Disabled"
msgstr "已停用"
#: client/scenes/lobby_gui.cpp:245 client/scenes/lobby_gui.cpp:402
#: client/scenes/stream_gui.cpp:838
#: client/scenes/lobby_gui.cpp:242 client/scenes/lobby_gui.cpp:398
#: client/scenes/stream_gui.cpp:812
msgid "Disconnect"
msgstr "中斷連線"
#: client/scenes/lobby_gui.cpp:266 client/scenes/stream_gui.cpp:834
#: client/scenes/lobby_gui.cpp:262 client/scenes/stream_gui.cpp:808
msgid "Close"
msgstr "關閉"
#: client/scenes/lobby_gui.cpp:272
#: client/scenes/lobby_gui.cpp:268
msgid "Connection"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:274
#: client/scenes/lobby_gui.cpp:270
#, c++-format
msgid "Connection to {}"
msgstr "連線至 {}"
#: client/scenes/lobby_gui.cpp:304
#: client/scenes/lobby_gui.cpp:300
msgid "PIN"
msgstr "PIN"
#: client/scenes/lobby_gui.cpp:326
#: client/scenes/lobby_gui.cpp:322
msgid "Input the PIN displayed on the dashboard"
msgstr "請輸入控制面板上顯示的 PIN 碼"
#: client/scenes/lobby_gui.cpp:397
#: client/scenes/lobby_gui.cpp:393
msgid "Connected to WiVRn server"
msgstr "已連線到 WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:399
#: client/scenes/lobby_gui.cpp:395
#, c++-format
msgid "Connected to {}"
msgstr "已連線到 {}"
#: client/scenes/lobby_gui.cpp:409
#: client/scenes/lobby_gui.cpp:405
msgid "Start an application on the server to start streaming."
msgstr "在伺服器那邊啟動程式來開始串流。"
#: client/scenes/lobby_gui.cpp:421
#: 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:423
#: 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:546
#: client/scenes/lobby_gui.cpp:522
msgid "Name"
msgstr "名"
#: client/scenes/lobby_gui.cpp:557
#: client/scenes/lobby_gui.cpp:533
msgid "Address"
msgstr "伺服器位址"
#: client/scenes/lobby_gui.cpp:566
#: client/scenes/lobby_gui.cpp:542
msgid "Port"
msgstr "連接埠"
#: client/scenes/lobby_gui.cpp:574
#: client/scenes/lobby_gui.cpp:550
msgid "TCP only"
msgstr "僅限 TCP"
#: client/scenes/lobby_gui.cpp:581
#: client/scenes/lobby_gui.cpp:557
msgid "Cancel"
msgstr "取消"
#: client/scenes/lobby_gui.cpp:595
#: client/scenes/lobby_gui.cpp:571
msgid "Save"
msgstr "儲存"
#: client/scenes/lobby_gui.cpp:648
#: client/scenes/lobby_gui.cpp:624
msgid ""
"Start a WiVRn server on your\n"
"local network"
@@ -139,45 +139,32 @@ msgstr ""
"在您的區域網路中啟動\n"
"WiVRn 伺服器"
#: client/scenes/lobby_gui.cpp:680
#: client/scenes/lobby_gui.cpp:656
msgid "Autoconnect"
msgstr "自動連線"
#: client/scenes/lobby_gui.cpp:706
#: client/scenes/lobby_gui.cpp:682
msgid "Connect"
msgstr "連線"
#: client/scenes/lobby_gui.cpp:716 client/wivrn_client.cpp:186
#: client/scenes/lobby_gui.cpp:692 client/wivrn_client.cpp:186
msgid "Incompatible server version"
msgstr "伺服器版本不相容"
#: client/scenes/lobby_gui.cpp:718
#: client/scenes/lobby_gui.cpp:694
msgid "Server not available"
msgstr "無法使用伺服器"
#: client/scenes/lobby_gui.cpp:800
msgctxt "language selection, replace with the name of the language"
msgid "English"
msgstr "漢語"
#: 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
#: client/scenes/lobby_gui.cpp:780
msgid "Refresh rate"
msgstr "刷新率"
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:843
#: client/scenes/lobby_gui.cpp:780 client/scenes/lobby_gui.cpp:782
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "自動"
#: client/scenes/lobby_gui.cpp:850
#: client/scenes/lobby_gui.cpp:789
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -185,59 +172,59 @@ msgstr ""
"根據測量的應用程式效能選擇刷新率。\n"
"變更時可能會造成閃爍。"
#: client/scenes/lobby_gui.cpp:867
#: client/scenes/lobby_gui.cpp:806
msgid "Minimum refresh rate"
msgstr "最低刷新率"
#: client/scenes/lobby_gui.cpp:890
#: client/scenes/lobby_gui.cpp:829
msgid "Resolution scale"
msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:894
#: client/scenes/lobby_gui.cpp:833 client/scenes/lobby_gui.cpp:1072
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:905
#: client/scenes/lobby_gui.cpp:844 client/scenes/lobby_gui.cpp:1083
#, c++-format
msgid "Resolution larger than {}x{} may not be supported by the headset"
msgstr "解析度高於 {}x{} 可能不被頭戴式裝置支援"
#: client/scenes/lobby_gui.cpp:911
#: client/scenes/lobby_gui.cpp:850
msgid "Enable microphone"
msgstr "啟用麥克風"
#: client/scenes/lobby_gui.cpp:920
#: client/scenes/lobby_gui.cpp:859
msgid "Unprocessed Microphone Audio"
msgstr "未處理的麥克風音訊"
#: client/scenes/lobby_gui.cpp:926
#: client/scenes/lobby_gui.cpp:865
msgid "Force disable audio filters, such as noise cancellation"
msgstr "強制停用音訊濾波器,例如降噪"
#: client/scenes/lobby_gui.cpp:933
#: client/scenes/lobby_gui.cpp:872
msgid "Enable hand tracking"
msgstr "啟用手部追蹤"
#: 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
#: 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
msgid "This feature is not supported by your headset"
msgstr "您的頭戴式裝置不支援此功能"
#: client/scenes/lobby_gui.cpp:945
#: client/scenes/lobby_gui.cpp:884
msgid "Enable eye tracking"
msgstr "啟用眼球追蹤"
#: client/scenes/lobby_gui.cpp:957
#: client/scenes/lobby_gui.cpp:896
msgid "Enable face tracking"
msgstr "啟用臉部追蹤"
#: client/scenes/lobby_gui.cpp:971
#: client/scenes/lobby_gui.cpp:909
msgid "Enable body tracking"
msgstr "啟用身體追蹤"
#: client/scenes/lobby_gui.cpp:985
#: client/scenes/lobby_gui.cpp:925
msgid ""
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
"tracking settings,\n"
@@ -246,11 +233,11 @@ msgstr ""
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」,\n"
"否則身體資料將根據控制器和頭戴式裝置的位置進行猜測"
#: client/scenes/lobby_gui.cpp:995
#: client/scenes/lobby_gui.cpp:938
msgid "Enable lower body tracking"
msgstr "啟用下半身追蹤"
#: client/scenes/lobby_gui.cpp:1001
#: client/scenes/lobby_gui.cpp:944
msgid ""
"Estimate lower body joint positions using Generative Legs\n"
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
@@ -259,11 +246,11 @@ msgstr ""
"使用 Generative Legs 預估下半身關節位置\n"
"需要在 Quest 移動追蹤設定中啟用「手部和身體追蹤」"
#: client/scenes/lobby_gui.cpp:1004
#: client/scenes/lobby_gui.cpp:947
msgid "Enable hip tracking"
msgstr "啟用臀部追蹤"
#: client/scenes/lobby_gui.cpp:1010
#: client/scenes/lobby_gui.cpp:953
msgid ""
"Only takes affect with lower body tracking enabled\n"
"May be desired when using another source of hip tracking"
@@ -271,31 +258,19 @@ msgstr ""
"僅在啟用下半身追蹤時生效\n"
"在使用其他臀部追蹤時可能需要此功能"
#: client/scenes/lobby_gui.cpp:1018
#: client/scenes/lobby_gui.cpp:961
msgid "Enable video passthrough in lobby"
msgstr "在待機區啟用影像穿透 (Passthrough)"
#: 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 ""
"啟用在遊戲串流期間顯示配置視窗\n"
"若啟用此功能,按下兩根搖桿後,將會顯示該視窗。"
#: client/scenes/lobby_gui.cpp:1046 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:982 client/scenes/stream_gui.cpp:434
msgid "OpenXR post-processing"
msgstr "OpenXR 後期處理"
#: client/scenes/lobby_gui.cpp:1050 client/scenes/stream_gui.cpp:449
#: client/scenes/lobby_gui.cpp:986 client/scenes/stream_gui.cpp:438
msgid "Supersampling"
msgstr "超取樣"
#: client/scenes/lobby_gui.cpp:1070 client/scenes/stream_gui.cpp:470
#: client/scenes/lobby_gui.cpp:1006 client/scenes/stream_gui.cpp:459
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -303,11 +278,11 @@ msgstr ""
"減少高對比邊緣的閃爍。\n"
"當輸入解析度對於頭戴式顯示器來說很高時很有用"
#: client/scenes/lobby_gui.cpp:1075 client/scenes/stream_gui.cpp:475
#: client/scenes/lobby_gui.cpp:1011 client/scenes/stream_gui.cpp:464
msgid "Sharpening"
msgstr "銳利化"
#: client/scenes/lobby_gui.cpp:1095 client/scenes/stream_gui.cpp:496
#: client/scenes/lobby_gui.cpp:1031 client/scenes/stream_gui.cpp:485
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -315,125 +290,168 @@ msgstr ""
"改善高對比邊緣的清晰度並抵消模糊。\n"
"當輸入解析度對於頭戴式顯示器來說較低時很有用"
#: client/scenes/lobby_gui.cpp:1191 client/scenes/lobby_gui.cpp:1199
#: client/scenes/stream_gui.cpp:222 client/scenes/stream_gui.cpp:424
#: 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
msgid "CPU time"
msgstr "CPU 時間"
#: client/scenes/lobby_gui.cpp:1195
#: client/scenes/lobby_gui.cpp:1214
msgid "CPU time [ms]"
msgstr "CPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1205 client/scenes/lobby_gui.cpp:1213
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:425
#: client/scenes/lobby_gui.cpp:1224 client/scenes/lobby_gui.cpp:1232
#: client/scenes/stream_gui.cpp:224 client/scenes/stream_gui.cpp:419
msgid "GPU time"
msgstr "GPU 時間"
#: client/scenes/lobby_gui.cpp:1209
#: client/scenes/lobby_gui.cpp:1228
msgid "GPU time [ms]"
msgstr "GPU 時間 [ms]"
#: client/scenes/lobby_gui.cpp:1252
#: client/scenes/lobby_gui.cpp:1271
msgid "Enable the microphone?"
msgstr "要啟用麥克風嗎?"
#: client/scenes/lobby_gui.cpp:1257
#: client/scenes/lobby_gui.cpp:1276
msgid "Enable eye tracking?"
msgstr "要啟用眼部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1262
#: client/scenes/lobby_gui.cpp:1281
msgid "Enable face tracking?"
msgstr "要啟用臉部追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1267
#: client/scenes/lobby_gui.cpp:1286
msgid "Enable body tracking?"
msgstr "要啟用身體追蹤嗎?"
#: client/scenes/lobby_gui.cpp:1275
#: client/scenes/lobby_gui.cpp:1294
msgid "Welcome to WiVRn"
msgstr "歡迎使用 WiVRn"
#: client/scenes/lobby_gui.cpp:1299
#: client/scenes/lobby_gui.cpp:1318
msgid "Yes"
msgstr "是"
#: client/scenes/lobby_gui.cpp:1306
#: client/scenes/lobby_gui.cpp:1325
msgid "No"
msgstr "否"
#: client/scenes/lobby_gui.cpp:1325 client/scenes/lobby_gui.cpp:1972
#: client/scenes/lobby_gui.cpp:1344 client/scenes/lobby_gui.cpp:1983
msgid "Licenses"
msgstr "授權資訊"
#: client/scenes/lobby_gui.cpp:1650
#: client/scenes/lobby_gui.cpp:1658
msgid "Microphone is enabled"
msgstr "麥克風已啟用"
#: client/scenes/lobby_gui.cpp:1651
#: client/scenes/lobby_gui.cpp:1659
msgid "Microphone is disabled"
msgstr "麥克風已停用"
#: client/scenes/lobby_gui.cpp:1660
#: client/scenes/lobby_gui.cpp:1668
msgid "Hand tracking is enabled"
msgstr "手部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1661
#: client/scenes/lobby_gui.cpp:1669
msgid "Hand tracking is disabled"
msgstr "手部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1670
#: client/scenes/lobby_gui.cpp:1678
msgid "Eye tracking is enabled"
msgstr "眼球追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1671
#: client/scenes/lobby_gui.cpp:1679
msgid "Eye tracking is disabled"
msgstr "眼球追蹤已停用"
#: client/scenes/lobby_gui.cpp:1681
#: client/scenes/lobby_gui.cpp:1692
msgid "Face tracking is enabled"
msgstr "臉部追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1682
#: client/scenes/lobby_gui.cpp:1693
msgid "Face tracking is disabled"
msgstr "臉部追蹤已停用"
#: client/scenes/lobby_gui.cpp:1692
#: client/scenes/lobby_gui.cpp:1703
msgid "Body tracking is enabled"
msgstr "身體追蹤已啟用"
#: client/scenes/lobby_gui.cpp:1693
#: client/scenes/lobby_gui.cpp:1704
msgid "Body tracking is disabled"
msgstr "身體追蹤已停用"
#: client/scenes/lobby_gui.cpp:1709
#: client/scenes/lobby_gui.cpp:1720
msgid "Add server"
msgstr "新增伺服器"
#: client/scenes/lobby_gui.cpp:1954
#: client/scenes/lobby_gui.cpp:1965
msgid "Server list"
msgstr "伺服器列表"
#: client/scenes/lobby_gui.cpp:1957 client/scenes/stream_gui.cpp:822
#: client/scenes/lobby_gui.cpp:1968 client/scenes/stream_gui.cpp:796
msgid "Settings"
msgstr "設定"
#: client/scenes/lobby_gui.cpp:1960
#: client/scenes/lobby_gui.cpp:1971
msgid "Post-processing"
msgstr "後期處理"
#: client/scenes/lobby_gui.cpp:1964
#: client/scenes/lobby_gui.cpp:1975
msgid "Debug"
msgstr "偵錯"
#: client/scenes/lobby_gui.cpp:1969
#: client/scenes/lobby_gui.cpp:1980
msgid "About"
msgstr "關於"
#: client/scenes/lobby_gui.cpp:1975
#: client/scenes/lobby_gui.cpp:1986
msgid "Exit"
msgstr "離開"
#: client/scenes/lobby_gui.cpp:1992
#: client/scenes/lobby_gui.cpp:2003
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -441,7 +459,7 @@ msgstr ""
"按下握把按鈕或手掌向上\n"
"以移動主視窗"
#: client/scenes/lobby_gui.cpp:1994
#: client/scenes/lobby_gui.cpp:2005
msgid "Press the grip button to move the main window"
msgstr "按下握把按鈕以移動主視窗"
@@ -457,11 +475,11 @@ msgstr "貼圖"
msgid "Network"
msgstr "網路"
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:422
#: client/scenes/stream_gui.cpp:227 client/scenes/stream_gui.cpp:416
msgid "Download"
msgstr "下載"
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:423
#: client/scenes/stream_gui.cpp:228 client/scenes/stream_gui.cpp:417
msgid "Upload"
msgstr "上傳"
@@ -502,66 +520,66 @@ msgstr "已顯示"
msgid "Predicted"
msgstr "已預測"
#: client/scenes/stream_gui.cpp:395
#: client/scenes/stream_gui.cpp:393
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "估計運動到光子的延遲: {}毫秒"
#: client/scenes/stream_gui.cpp:402
#: client/scenes/stream_gui.cpp:396
msgid "Press the grip button to move the window"
msgstr "按下握把按鈕來移動視窗"
#: client/scenes/stream_gui.cpp:404 client/scenes/stream_gui.cpp:776
#: client/scenes/stream_gui.cpp:398 client/scenes/stream_gui.cpp:750
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "同時按下兩側搖桿以顯示 WiVRn 視窗"
#: client/scenes/stream_gui.cpp:426
#: client/scenes/stream_gui.cpp:420
msgid "Motion to photon latency"
msgstr "從動作到顯示的延遲"
#: client/scenes/stream_gui.cpp:503
#: client/scenes/stream_gui.cpp:492
msgid "Foveation center override"
msgstr "注視點渲染中心覆蓋"
#: client/scenes/stream_gui.cpp:506
#: client/scenes/stream_gui.cpp:495
msgid "Enable"
msgstr "啟用"
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
#: client/scenes/stream_gui.cpp:503 client/scenes/stream_gui.cpp:550
#, c++-format
msgid "Height {:.1f} deg"
msgstr "高度 {:.1f} 度"
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
#: client/scenes/stream_gui.cpp:504 client/scenes/stream_gui.cpp:551
#, c++-format
msgid "Distance {:.2f} m"
msgstr "距離 {:.2f} 公尺"
#: client/scenes/stream_gui.cpp:516
#: client/scenes/stream_gui.cpp:505
msgid "Default"
msgstr "預設"
#: client/scenes/stream_gui.cpp:527
#: client/scenes/stream_gui.cpp:516
msgid "Change"
msgstr "變更"
#: client/scenes/stream_gui.cpp:559
#: client/scenes/stream_gui.cpp:548
msgid "Use the thumbsticks to move the foveation center"
msgstr "使用搖桿移動注視點中心"
#: client/scenes/stream_gui.cpp:560
#: client/scenes/stream_gui.cpp:549
msgid "Press A to save or B to cancel"
msgstr "按下 A 儲存或 B 取消"
#: client/scenes/stream_gui.cpp:819
#: client/scenes/stream_gui.cpp:793
msgid "Stats"
msgstr "統計"
#: client/scenes/stream_gui.cpp:828
#: client/scenes/stream_gui.cpp:802
msgid "Statistics overlay"
msgstr "統計數據覆疊"
#: client/scenes/stream_gui.cpp:831
#: client/scenes/stream_gui.cpp:805
msgid "Compact view"
msgstr "精簡顯示"
@@ -581,41 +599,6 @@ 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
View File
@@ -1 +1 @@
62013b7403be3d9e6e8b983787331219f5925d0a
5c137fe28b232fe460f9b03defa7749adc32ee48
@@ -1,7 +1,7 @@
From 84758f77a11a31e144d2120a465a954287eb0f67 Mon Sep 17 00:00:00 2001
From 483ce192460569020fa57522ee2bea99198dac2e Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 22 Oct 2024 15:23:19 +0200
Subject: [PATCH 1/7] c/multi: early wake of compositor
Subject: [PATCH 01/13] c/multi: early wake of compositor
---
.../compositor/multi/comp_multi_compositor.c | 14 +++++++++
@@ -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.51.0
2.50.1
@@ -1,7 +1,7 @@
From b73d7a32daa626ae401543e1c3ed8fd8d8290f8d Mon Sep 17 00:00:00 2001
From 642f328ff08872289082f591b393aa72cdfffe0a Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 2 Apr 2024 17:14:42 +0200
Subject: [PATCH 2/7] ipc/server: Always listen to stdin
Subject: [PATCH 02/13] 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.51.0
2.50.1
@@ -1,7 +1,7 @@
From a85beae795aba8f82abab849e9e5c2ce74511357 Mon Sep 17 00:00:00 2001
From a06da2ceeddf3f7760501114efa35bd168ba74bc Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 8 Oct 2024 22:13:15 +0200
Subject: [PATCH 3/7] Use extern socket fd
Subject: [PATCH 03/13] Use extern socket fd
---
src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++
@@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644
// We may have been launched with socket activation
int num_fds = sd_listen_fds(0);
--
2.51.0
2.50.1
@@ -0,0 +1,25 @@
From 4efe5b0e12a92284e46fdeb225102dc63a7eda51 Mon Sep 17 00:00:00 2001
From: galister <3123227-galister@users.noreply.gitlab.com>
Date: Mon, 19 Aug 2024 18:51:45 +0900
Subject: [PATCH 04/13] c/render: Add storage usage to distortion mesh
---
src/xrt/compositor/render/render_distortion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xrt/compositor/render/render_distortion.c b/src/xrt/compositor/render/render_distortion.c
index 8ac24db8e..5a7e400c3 100644
--- a/src/xrt/compositor/render/render_distortion.c
+++ b/src/xrt/compositor/render/render_distortion.c
@@ -42,7 +42,7 @@ create_distortion_image_and_view(struct vk_bundle *vk,
vk, // vk_bundle
extent, // extent
format, // format
- VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // usage
+ VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // usage
&device_memory, // out_device_memory
&image); // out_image
VK_CHK_AND_RET(ret, "vk_create_image_simple");
--
2.50.1
@@ -1,7 +1,7 @@
From f472a02f86bd98e0cb88847fd8c9104bbd5c74f5 Mon Sep 17 00:00:00 2001
From a28d3e6a3e85b7c04392137b30958e8b1d13c591 Mon Sep 17 00:00:00 2001
From: galister <85970-galister@users.noreply.gitlab.freedesktop.org>
Date: Sat, 23 Nov 2024 02:42:12 +0900
Subject: [PATCH 4/7] change environment blend mode selection logic
Subject: [PATCH 05/13] change environment blend mode selection logic
---
src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++-------
@@ -53,5 +53,5 @@ index 22c801f65..1155bc67e 100644
}
--
2.51.0
2.50.1
@@ -1,46 +0,0 @@
From db19f48adcc6e9395bf93a920623b48b86a9f378 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 31 Aug 2025 17:05:49 +0200
Subject: [PATCH 7/7] Limit foveation samples per pixel
---
src/xrt/compositor/shaders/distortion.comp | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
index cd1828ac9..41de849e6 100644
--- a/src/xrt/compositor/shaders/distortion.comp
+++ b/src/xrt/compositor/shaders/distortion.comp
@@ -12,6 +12,7 @@
layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
#define MAX_DIM 4097
+#define MAX_SAMPLES 4
layout(set = 0, binding = 0) uniform sampler2D source[2];
layout(set = 0, binding = 1, std430) buffer restrict Foveation
@@ -67,13 +68,18 @@ void main()
if (xmin == xmax)
return;
+ uint xstep = (xmax - xmin + MAX_SAMPLES - 1) / MAX_SAMPLES;
+ uint ystep = (ymax - ymin + MAX_SAMPLES - 1) / MAX_SAMPLES;
+
vec4 colour = vec4(0);
- for (uint y = ymin ; y < ymax; y += 1) {
- for (uint x = xmin ; x < xmax; x += 1) {
+ uint count = 0;
+ for (uint y = ymin ; y < ymax; y += ystep) {
+ for (uint x = xmin ; x < xmax; x += xstep) {
colour += texelFetch(source[iz], ivec2(x, y), 0);
+ ++count;
}
}
- colour /= (xmax - xmin) * (ymax - ymin);
+ colour /= count;
colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
--
2.51.0
@@ -0,0 +1,94 @@
From 022835847793c2b97df20a1dc823512a36533d53 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sun, 3 Nov 2024 13:40:00 +0100
Subject: [PATCH 07/13] store alpha channel in layer 1
---
src/xrt/compositor/shaders/clear.comp | 4 ++--
src/xrt/compositor/shaders/distortion.comp | 18 ++++++++++++------
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/xrt/compositor/shaders/clear.comp b/src/xrt/compositor/shaders/clear.comp
index 036da401a..db8e5178e 100644
--- a/src/xrt/compositor/shaders/clear.comp
+++ b/src/xrt/compositor/shaders/clear.comp
@@ -10,7 +10,7 @@
layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
-layout(set = 0, binding = 2) uniform writeonly restrict image2D target;
+layout(set = 0, binding = 2) uniform writeonly restrict image2DArray target;
layout(set = 0, binding = 3) uniform restrict Config
{
ivec4 views[2];
@@ -35,5 +35,5 @@ void main()
vec4 colour = vec4(from_linear_to_srgb(vec3(0.1)), 1.0);
- imageStore(target, ivec2(offset.x + ix, offset.y + iy), colour);
+ imageStore(target, ivec3(offset.x + ix, offset.y + iy, 0), colour);
}
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
index e1dd1cb58..9ce46fe6f 100644
--- a/src/xrt/compositor/shaders/distortion.comp
+++ b/src/xrt/compositor/shaders/distortion.comp
@@ -18,7 +18,7 @@ layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
layout(set = 0, binding = 0) uniform sampler2D source[2];
layout(set = 0, binding = 1) uniform sampler2D distortion[6];
-layout(set = 0, binding = 2) uniform writeonly restrict image2D luma;
+layout(set = 0, binding = 2) uniform writeonly restrict image2DArray luma;
layout(set = 0, binding = 3, std140) uniform restrict Config
{
ivec4 views[2];
@@ -26,7 +26,7 @@ layout(set = 0, binding = 3, std140) uniform restrict Config
vec4 post_transform[2];
mat4 transform[2];
} ubo;
-layout(set = 0, binding = 4) uniform writeonly restrict image2D chroma;
+layout(set = 0, binding = 4) uniform writeonly restrict image2DArray chroma;
const mat3 color_space = mat3(
// clang-format off
@@ -122,6 +122,7 @@ void main()
ivec2 offset = ivec2(ubo.views[iz].xy);
ivec2 extent = ivec2(ubo.views[iz].zw);
vec2 cbcrs[4];
+ vec4 alpha;
for (int k = 0; k < 2; k += 1) {
uint iy = gl_GlobalInvocationID.y * 2 + k;
for (int j = 0; j < 2; j += 1) {
@@ -136,15 +137,16 @@ void main()
uv = transform_uv(uv, iz);
// Sample the source
- vec3 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5)).rgb;
+ vec4 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5));
- colour = rgb_to_ycbcr(from_linear_to_srgb(colour));
+ colour.rgb = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
int i = k * 2 + j;
cbcrs[i] = colour.yz;
+ alpha[i] = colour.a;
if (ix < extent.x && iy < extent.y) {
- imageStore(luma, ivec2(offset.x + ix, offset.y + iy), vec4(colour.x));
+ imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
}
}
}
@@ -152,5 +154,9 @@ void main()
return;
}
vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
- imageStore(chroma, ivec2(offset.xy/2 + gl_GlobalInvocationID.xy), vec4(cbcr.x, cbcr.y, 0, 0));
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcr.x, cbcr.y, 0, 0));
+
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
+ alpha = vec4(mix(mix(alpha[0], alpha[1], 0.5), mix(alpha[2], alpha[3], 0.5), 0.5));
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
}
--
2.50.1
@@ -0,0 +1,82 @@
From 0d2ae2efb84f1479151c096e26f3295eded3b170 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Thu, 27 Feb 2025 22:45:36 +0100
Subject: [PATCH 08/13] c/main: allow custom pacing app factory
---
src/xrt/compositor/main/comp_compositor.c | 10 ++++++----
src/xrt/compositor/main/comp_main_interface.h | 4 ++++
src/xrt/targets/common/target_instance.c | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c
index 819c2c8b3..a42d25869 100644
--- a/src/xrt/compositor/main/comp_compositor.c
+++ b/src/xrt/compositor/main/comp_compositor.c
@@ -987,6 +987,7 @@ compositor_init_renderer(struct comp_compositor *c)
xrt_result_t
comp_main_create_system_compositor(struct xrt_device *xdev,
const struct comp_target_factory *ctf,
+ struct u_pacing_app_factory *upaf,
struct xrt_system_compositor **out_xsysc)
{
COMP_TRACE_MARKER();
@@ -1185,10 +1186,11 @@ comp_main_create_system_compositor(struct xrt_device *xdev,
}
// Standard app pacer.
- struct u_pacing_app_factory *upaf = NULL;
- xrt_result_t xret = u_pa_factory_create(&upaf);
- assert(xret == XRT_SUCCESS && upaf != NULL);
- (void)xret;
+ if (upaf == NULL) {
+ xrt_result_t xret = u_pa_factory_create(&upaf);
+ assert(xret == XRT_SUCCESS && upaf != NULL);
+ (void)xret;
+ }
return comp_multi_create_system_compositor(&c->base.base, upaf, sys_info, !c->deferred_surface, out_xsysc);
}
diff --git a/src/xrt/compositor/main/comp_main_interface.h b/src/xrt/compositor/main/comp_main_interface.h
index 0f0678358..f60568b43 100644
--- a/src/xrt/compositor/main/comp_main_interface.h
+++ b/src/xrt/compositor/main/comp_main_interface.h
@@ -15,6 +15,7 @@
#include "xrt/xrt_compositor.h"
struct comp_target_factory;
+struct u_pacing_app_factory;
#ifdef __cplusplus
extern "C" {
@@ -31,11 +32,14 @@ extern "C" {
* @param xdev The head device
* @param ctf A compositor target factory to force the output device, must remain valid for the lifetime of the
* compositor. If NULL, factory is automatically selected
+ * @param upaf A pacing app factory to customize the application pacer, compositor takes ownership.
+ * If NULL, a default factory is used
* @param out_xsysc The output compositor
*/
xrt_result_t
comp_main_create_system_compositor(struct xrt_device *xdev,
const struct comp_target_factory *ctf,
+ struct u_pacing_app_factory *upaf,
struct xrt_system_compositor **out_xsysc);
diff --git a/src/xrt/targets/common/target_instance.c b/src/xrt/targets/common/target_instance.c
index 617561c37..e10ba8358 100644
--- a/src/xrt/targets/common/target_instance.c
+++ b/src/xrt/targets/common/target_instance.c
@@ -109,7 +109,7 @@ t_instance_create_system(struct xrt_instance *xinst,
#ifdef XRT_MODULE_COMPOSITOR_MAIN
if (xret == XRT_SUCCESS && xsysc == NULL) {
- xret = comp_main_create_system_compositor(head, NULL, &xsysc);
+ xret = comp_main_create_system_compositor(head, NULL, NULL, &xsysc);
}
#else
if (!use_null) {
--
2.50.1
@@ -1,24 +0,0 @@
From a17589c9f77a5e5c3a56685017115fe07f9fd9cc Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 22 Sep 2025 23:33:31 +0200
Subject: [PATCH] vk: fix video encode queue index
---
src/xrt/auxiliary/vk/vk_bundle_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
index 01ce0c2f1..c4c63b608 100644
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
@@ -1513,6 +1513,7 @@ vk_create_device(struct vk_bundle *vk,
vk->vkGetDeviceQueue(vk->device, vk->main_queue.family_index, 0, &vk->main_queue.queue);
#if defined(VK_KHR_video_encode_queue)
if (vk->encode_queue.family_index != VK_QUEUE_FAMILY_IGNORED) {
+ vk->encode_queue.index = 0;
vk->vkGetDeviceQueue(vk->device, vk->encode_queue.family_index, 0, &vk->encode_queue.queue);
}
#endif
--
2.51.0
@@ -1,7 +1,7 @@
From 7c01c47b2a1c4da040e0d25f4b9cb760ae88aa25 Mon Sep 17 00:00:00 2001
From 1a9b288475830fc1caf9bbf340ea370677b239a5 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Sat, 15 Mar 2025 22:19:48 +0100
Subject: [PATCH 5/7] st/oxr: forward 0 refresh rate
Subject: [PATCH 09/13] st/oxr: forward 0 refresh rate
---
src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +-----
@@ -29,5 +29,5 @@ index 9c5889f12..c4cdaf8c3 100644
if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) {
found = true;
--
2.51.0
2.50.1
@@ -0,0 +1,747 @@
From 624849b80a893d073f2315eca909afa823c0a345 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Mon, 2 Jun 2025 14:51:11 +0200
Subject: [PATCH 10/13] Replace distortion with pixel-aligned foveation
---
src/xrt/compositor/CMakeLists.txt | 4 +-
src/xrt/compositor/render/render_compute.c | 185 ++-----------------
src/xrt/compositor/render/render_interface.h | 33 ++--
src/xrt/compositor/render/render_resources.c | 71 +------
src/xrt/compositor/shaders/distortion.comp | 167 ++++++-----------
src/xrt/compositor/util/comp_render_cs.c | 33 +---
6 files changed, 101 insertions(+), 392 deletions(-)
diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt
index 1ba5ec438..eb068f5fc 100644
--- a/src/xrt/compositor/CMakeLists.txt
+++ b/src/xrt/compositor/CMakeLists.txt
@@ -105,7 +105,7 @@ if(XRT_HAVE_VULKAN)
spirv_shaders(
SHADER_HEADERS
SPIRV_VERSION
- 1.0 # Currently targeting Vulkan 1.0
+ 1.3 # Currently targeting Vulkan 1.3
SOURCES
${SHADERS}
)
@@ -115,7 +115,7 @@ if(XRT_HAVE_VULKAN)
${SHADER_HEADERS}
render/render_buffer.c
render/render_compute.c
- render/render_distortion.c
+ # render/render_distortion.c implemented in wivrn
render/render_gfx.c
render/render_interface.h
render/render_resources.c
diff --git a/src/xrt/compositor/render/render_compute.c b/src/xrt/compositor/render/render_compute.c
index fd04801d4..44c3f0aee 100644
--- a/src/xrt/compositor/render/render_compute.c
+++ b/src/xrt/compositor/render/render_compute.c
@@ -66,8 +66,8 @@ calc_dispatch_dims_views(const struct render_viewport_data views[XRT_MAX_VIEWS],
#undef IMAX
// Power of two divide and round up.
- w = uint_divide_and_round_up(w, 16);
- h = uint_divide_and_round_up(h, 16);
+ w = uint_divide_and_round_up(w, 8);
+ h = uint_divide_and_round_up(h, 8);
*out_w = w;
*out_h = h;
@@ -167,8 +167,8 @@ update_compute_shared_descriptor_set(struct vk_bundle *vk,
VkSampler src_samplers[XRT_MAX_VIEWS],
VkImageView src_image_views[XRT_MAX_VIEWS],
uint32_t distortion_binding,
- VkSampler distortion_samplers[3 * XRT_MAX_VIEWS],
- VkImageView distortion_image_views[3 * XRT_MAX_VIEWS],
+ VkDeviceSize foveation_size,
+ VkBuffer foveation_buffer,
uint32_t target_binding_y,
uint32_t target_binding_cbcr,
VkImageView target_image_view_y,
@@ -186,12 +186,11 @@ update_compute_shared_descriptor_set(struct vk_bundle *vk,
src_image_info[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
}
- VkDescriptorImageInfo distortion_image_info[3 * XRT_MAX_VIEWS];
- for (uint32_t i = 0; i < 3 * view_count; ++i) {
- distortion_image_info[i].sampler = distortion_samplers[i];
- distortion_image_info[i].imageView = distortion_image_views[i];
- distortion_image_info[i].imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
- }
+ VkDescriptorBufferInfo foveation_buffer_info = {
+ .buffer = foveation_buffer,
+ .offset = 0,
+ .range = foveation_size,
+ };
VkDescriptorImageInfo target_image_y_info = {
.imageView = target_image_view_y,
@@ -222,9 +221,9 @@ update_compute_shared_descriptor_set(struct vk_bundle *vk,
.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET,
.dstSet = descriptor_set,
.dstBinding = distortion_binding,
- .descriptorCount = 3 * view_count,
- .descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
- .pImageInfo = distortion_image_info,
+ .descriptorCount = 1,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .pBufferInfo = &foveation_buffer_info,
},
{
.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET,
@@ -483,146 +482,6 @@ render_compute_layers(struct render_compute *render,
1); // groupCountZ
}
-void
-render_compute_projection_timewarp(struct render_compute *render,
- VkSampler src_samplers[XRT_MAX_VIEWS],
- VkImageView src_image_views[XRT_MAX_VIEWS],
- const struct xrt_normalized_rect src_norm_rects[XRT_MAX_VIEWS],
- const struct xrt_pose src_poses[XRT_MAX_VIEWS],
- const struct xrt_fov src_fovs[XRT_MAX_VIEWS],
- const struct xrt_pose new_poses[XRT_MAX_VIEWS],
- VkImage target_image,
- VkImageView target_image_view_y,
- VkImageView target_image_view_cbcr,
- const struct render_viewport_data views[XRT_MAX_VIEWS])
-{
- assert(render->r != NULL);
-
- struct vk_bundle *vk = vk_from_render(render);
- struct render_resources *r = render->r;
-
-
- /*
- * UBO
- */
-
- struct xrt_matrix_4x4 time_warp_matrix[XRT_MAX_VIEWS];
- for (uint32_t i = 0; i < render->r->view_count; ++i) {
- render_calc_time_warp_matrix( //
- &src_poses[i], //
- &src_fovs[i], //
- &new_poses[i], //
- &time_warp_matrix[i]); //
- }
-
- struct render_compute_distortion_ubo_data *data =
- (struct render_compute_distortion_ubo_data *)r->compute.distortion.ubo.mapped;
- for (uint32_t i = 0; i < render->r->view_count; ++i) {
- data->views[i] = views[i];
- data->pre_transforms[i] = r->distortion.uv_to_tanangle[i];
- data->transforms[i] = time_warp_matrix[i];
- data->post_transforms[i] = src_norm_rects[i];
- }
-
- /*
- * Source, target and distortion images.
- */
-
- VkImageSubresourceRange subresource_range = {
- .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
- .baseMipLevel = 0,
- .levelCount = VK_REMAINING_MIP_LEVELS,
- .baseArrayLayer = 0,
- .layerCount = VK_REMAINING_ARRAY_LAYERS,
- };
-
- vk_cmd_image_barrier_gpu_locked( //
- vk, //
- r->cmd, //
- target_image, //
- 0, //
- VK_ACCESS_SHADER_WRITE_BIT, //
- VK_IMAGE_LAYOUT_UNDEFINED, //
- VK_IMAGE_LAYOUT_GENERAL, //
- subresource_range); //
-
- VkSampler sampler = r->samplers.clamp_to_edge;
- VkSampler distortion_samplers[3 * XRT_MAX_VIEWS];
- for (uint32_t i = 0; i < render->r->view_count; ++i) {
- distortion_samplers[3 * i + 0] = sampler;
- distortion_samplers[3 * i + 1] = sampler;
- distortion_samplers[3 * i + 2] = sampler;
- }
-
- update_compute_shared_descriptor_set( //
- vk, //
- r->compute.src_binding, //
- src_samplers, //
- src_image_views, //
- r->compute.distortion_binding, //
- distortion_samplers, //
- r->distortion.image_views, //
- r->compute.target_binding_y, //
- r->compute.target_binding_cbcr, //
- target_image_view_y, //
- target_image_view_cbcr, //
- r->compute.ubo_binding, //
- r->compute.distortion.ubo.buffer, //
- VK_WHOLE_SIZE, //
- render->shared_descriptor_set, //
- render->r->view_count); //
-
- vk->vkCmdBindPipeline( //
- r->cmd, //
- VK_PIPELINE_BIND_POINT_COMPUTE, // pipelineBindPoint
- r->compute.distortion.timewarp_pipeline); // pipeline
-
- vk->vkCmdBindDescriptorSets( //
- r->cmd, //
- VK_PIPELINE_BIND_POINT_COMPUTE, // pipelineBindPoint
- r->compute.distortion.pipeline_layout, // layout
- 0, // firstSet
- 1, // descriptorSetCount
- &render->shared_descriptor_set, // pDescriptorSets
- 0, // dynamicOffsetCount
- NULL); // pDynamicOffsets
-
-
- uint32_t w = 0, h = 0;
- calc_dispatch_dims_views(views, render->r->view_count, &w, &h);
- assert(w != 0 && h != 0);
-
- vk->vkCmdDispatch( //
- r->cmd, //
- w, // groupCountX
- h, // groupCountY
- 2); // groupCountZ
-
- VkImageMemoryBarrier memoryBarrier = {
- .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
- .srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
- .dstAccessMask = VK_ACCESS_MEMORY_READ_BIT,
- .oldLayout = VK_IMAGE_LAYOUT_GENERAL,
- .newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
- .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
- .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
- .image = target_image,
- .subresourceRange = subresource_range,
- };
-
- vk->vkCmdPipelineBarrier( //
- r->cmd, //
- VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, //
- VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, //
- 0, //
- 0, //
- NULL, //
- 0, //
- NULL, //
- 1, //
- &memoryBarrier); //
-}
-
void
render_compute_projection(struct render_compute *render,
VkSampler src_samplers[XRT_MAX_VIEWS],
@@ -673,22 +532,14 @@ render_compute_projection(struct render_compute *render,
VK_IMAGE_LAYOUT_GENERAL, //
subresource_range); //
- VkSampler sampler = r->samplers.clamp_to_edge;
- VkSampler distortion_samplers[3 * XRT_MAX_VIEWS];
- for (uint32_t i = 0; i < render->r->view_count; ++i) {
- distortion_samplers[3 * i + 0] = sampler;
- distortion_samplers[3 * i + 1] = sampler;
- distortion_samplers[3 * i + 2] = sampler;
- }
-
update_compute_shared_descriptor_set( //
vk, //
r->compute.src_binding, //
src_samplers, //
src_image_views, //
r->compute.distortion_binding, //
- distortion_samplers, //
- r->distortion.image_views, //
+ VK_WHOLE_SIZE, //
+ r->distortion.buffer, //
r->compute.target_binding_y, //
r->compute.target_binding_cbcr, //
target_image_view_y, //
@@ -804,13 +655,9 @@ render_compute_clear(struct render_compute *render,
VkSampler sampler = r->samplers.mock;
VkSampler src_samplers[XRT_MAX_VIEWS];
VkImageView src_image_views[XRT_MAX_VIEWS];
- VkSampler distortion_samplers[3 * XRT_MAX_VIEWS];
for (uint32_t i = 0; i < render->r->view_count; ++i) {
src_samplers[i] = sampler;
src_image_views[i] = r->mock.color.image_view;
- distortion_samplers[3 * i + 0] = sampler;
- distortion_samplers[3 * i + 1] = sampler;
- distortion_samplers[3 * i + 2] = sampler;
}
update_compute_shared_descriptor_set( //
@@ -819,8 +666,8 @@ render_compute_clear(struct render_compute *render,
src_samplers, //
src_image_views, //
r->compute.distortion_binding, //
- distortion_samplers, //
- r->distortion.image_views, //
+ VK_WHOLE_SIZE, //
+ r->distortion.buffer, //
r->compute.target_binding_y, //
r->compute.target_binding_cbcr, //
target_image_view_y, //
diff --git a/src/xrt/compositor/render/render_interface.h b/src/xrt/compositor/render/render_interface.h
index 2f8ce5287..d74ec78dd 100644
--- a/src/xrt/compositor/render/render_interface.h
+++ b/src/xrt/compositor/render/render_interface.h
@@ -74,12 +74,8 @@ extern "C" {
#define RENDER_MAX_LAYER_RUNS_SIZE (XRT_MAX_VIEWS)
#define RENDER_MAX_LAYER_RUNS_COUNT(RENDER_RESOURCES) (RENDER_RESOURCES->view_count)
-//! Distortion image dimension in pixels
-#define RENDER_DISTORTION_IMAGE_DIMENSIONS (128)
-
-//! How many distortion images we have, one for each channel (3 rgb) and per view.
-#define RENDER_DISTORTION_IMAGES_SIZE (3 * XRT_MAX_VIEWS)
-#define RENDER_DISTORTION_IMAGES_COUNT(RENDER_RESOURCES) (3 * RENDER_RESOURCES->view_count)
+//! Foveation buffer dimension in pixels (including past-the end pixel)
+#define RENDER_FOVEATION_BUFFER_DIMENSIONS (4096 + 1)
//! The binding that the layer projection and quad shader have their UBO on.
#define RENDER_BINDING_LAYER_SHARED_UBO 0
@@ -519,9 +515,6 @@ struct render_resources
//! Doesn't depend on target so is static.
VkPipeline pipeline;
- //! Doesn't depend on target so is static.
- VkPipeline timewarp_pipeline;
-
//! Target info.
struct render_buffer ubo;
} distortion;
@@ -543,17 +536,11 @@ struct render_resources
//! Transform to go from UV to tangle angles.
struct xrt_normalized_rect uv_to_tanangle[XRT_MAX_VIEWS];
- //! Backing memory to distortion images.
- VkDeviceMemory device_memories[RENDER_DISTORTION_IMAGES_SIZE];
-
- //! Distortion images.
- VkImage images[RENDER_DISTORTION_IMAGES_SIZE];
+ //! Backing memory to foveation buffers.
+ VkDeviceMemory device_memory;
- //! The views into the distortion images.
- VkImageView image_views[RENDER_DISTORTION_IMAGES_SIZE];
-
- //! Whether distortion images have been pre-rotated 90 degrees.
- bool pre_rotated;
+ //! Foveation buffer.
+ VkBuffer buffer;
} distortion;
};
@@ -1298,6 +1285,14 @@ struct render_compute_distortion_ubo_data
struct xrt_matrix_4x4 transforms[XRT_MAX_VIEWS];
};
+struct render_compute_distortion_foveation_data
+{
+ // For each output pixel: index of the first pixel to read.
+ // contains 1 additional value at the end for past-the end pixel
+ uint32_t x[XRT_MAX_VIEWS * RENDER_FOVEATION_BUFFER_DIMENSIONS];
+ uint32_t y[XRT_MAX_VIEWS * RENDER_FOVEATION_BUFFER_DIMENSIONS];
+};
+
/*!
* Init struct and create resources needed for compute rendering.
*
diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c
index 5b9addd59..7d4d9cddb 100644
--- a/src/xrt/compositor/render/render_resources.c
+++ b/src/xrt/compositor/render/render_resources.c
@@ -258,8 +258,8 @@ create_compute_distortion_descriptor_set_layout(struct vk_bundle *vk,
},
{
.binding = distortion_binding,
- .descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
- .descriptorCount = 6,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .descriptorCount = 1,
.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
},
{
@@ -309,12 +309,6 @@ struct compute_layer_params
uint32_t image_array_size;
};
-struct compute_distortion_params
-{
- uint32_t distortion_texel_count;
- VkBool32 do_timewarp;
-};
-
XRT_CHECK_RESULT static VkResult
create_compute_layer_pipeline(struct vk_bundle *vk,
VkPipelineCache pipeline_cache,
@@ -359,35 +353,15 @@ create_compute_distortion_pipeline(struct vk_bundle *vk,
VkPipelineCache pipeline_cache,
VkShaderModule shader,
VkPipelineLayout pipeline_layout,
- const struct compute_distortion_params *params,
VkPipeline *out_compute_pipeline)
{
-#define ENTRY(ID, FIELD) \
- { \
- .constantID = ID, \
- .offset = offsetof(struct compute_distortion_params, FIELD), \
- sizeof(params->FIELD), \
- }
-
- VkSpecializationMapEntry entries[2] = {
- ENTRY(0, distortion_texel_count),
- ENTRY(1, do_timewarp),
- };
-#undef ENTRY
-
- VkSpecializationInfo specialization_info = {
- .mapEntryCount = ARRAY_SIZE(entries),
- .pMapEntries = entries,
- .dataSize = sizeof(*params),
- .pData = params,
- };
return vk_create_compute_pipeline( //
vk, // vk_bundle
pipeline_cache, // pipeline_cache
shader, // shader
pipeline_layout, // pipeline_layout
- &specialization_info, // specialization_info
+ NULL, // specialization_info
out_compute_pipeline); // out_compute_pipeline
}
@@ -849,9 +823,9 @@ render_resources_init(struct render_resources *r,
struct vk_descriptor_pool_info compute_pool_info = {
.uniform_per_descriptor_count = 1,
// layer images
- .sampler_per_descriptor_count = r->compute.layer.image_array_size + RENDER_DISTORTION_IMAGES_COUNT(r),
+ .sampler_per_descriptor_count = r->compute.layer.image_array_size,
.storage_image_per_descriptor_count = 1,
- .storage_buffer_per_descriptor_count = 0,
+ .storage_buffer_per_descriptor_count = 1,
.descriptor_count = compute_descriptor_count,
.freeable = false,
};
@@ -971,39 +945,16 @@ render_resources_init(struct render_resources *r,
VK_NAME_PIPELINE_LAYOUT(vk, r->compute.distortion.pipeline_layout,
"render_resources compute distortion pipeline layout");
- struct compute_distortion_params distortion_params = {
- .distortion_texel_count = RENDER_DISTORTION_IMAGE_DIMENSIONS,
- .do_timewarp = false,
- };
-
ret = create_compute_distortion_pipeline( //
vk, // vk_bundle
r->pipeline_cache, // pipeline_cache
r->shaders->distortion_comp, // shader
r->compute.distortion.pipeline_layout, // pipeline_layout
- &distortion_params, // params
&r->compute.distortion.pipeline); // out_compute_pipeline
VK_CHK_WITH_RET(ret, "create_compute_distortion_pipeline", false);
VK_NAME_PIPELINE(vk, r->compute.distortion.pipeline, "render_resources compute distortion pipeline");
- struct compute_distortion_params distortion_timewarp_params = {
- .distortion_texel_count = RENDER_DISTORTION_IMAGE_DIMENSIONS,
- .do_timewarp = true,
- };
-
- ret = create_compute_distortion_pipeline( //
- vk, // vk_bundle
- r->pipeline_cache, // pipeline_cache
- r->shaders->distortion_comp, // shader
- r->compute.distortion.pipeline_layout, // pipeline_layout
- &distortion_timewarp_params, // params
- &r->compute.distortion.timewarp_pipeline); // out_compute_pipeline
- VK_CHK_WITH_RET(ret, "create_compute_distortion_pipeline", false);
-
- VK_NAME_PIPELINE(vk, r->compute.distortion.timewarp_pipeline,
- "render_resources compute distortion timewarp pipeline");
-
size_t distortion_ubo_size = sizeof(struct render_compute_distortion_ubo_data);
ret = render_buffer_init( //
@@ -1056,15 +1007,8 @@ render_resources_init(struct render_resources *r,
* Compute distortion textures, not created until later.
*/
- for (uint32_t i = 0; i < RENDER_DISTORTION_IMAGES_COUNT(r); i++) {
- r->distortion.image_views[i] = VK_NULL_HANDLE;
- }
- for (uint32_t i = 0; i < RENDER_DISTORTION_IMAGES_COUNT(r); i++) {
- r->distortion.images[i] = VK_NULL_HANDLE;
- }
- for (uint32_t i = 0; i < RENDER_DISTORTION_IMAGES_COUNT(r); i++) {
- r->distortion.device_memories[i] = VK_NULL_HANDLE;
- }
+ r->distortion.buffer = VK_NULL_HANDLE;
+ r->distortion.device_memory = VK_NULL_HANDLE;
/*
@@ -1141,7 +1085,6 @@ render_resources_fini(struct render_resources *r)
D(DescriptorSetLayout, r->compute.distortion.descriptor_set_layout);
D(Pipeline, r->compute.distortion.pipeline);
- D(Pipeline, r->compute.distortion.timewarp_pipeline);
D(PipelineLayout, r->compute.distortion.pipeline_layout);
D(Pipeline, r->compute.clear.pipeline);
diff --git a/src/xrt/compositor/shaders/distortion.comp b/src/xrt/compositor/shaders/distortion.comp
index 9ce46fe6f..cd1828ac9 100644
--- a/src/xrt/compositor/shaders/distortion.comp
+++ b/src/xrt/compositor/shaders/distortion.comp
@@ -4,20 +4,22 @@
#version 460
#extension GL_GOOGLE_include_directive : require
+#extension GL_KHR_shader_subgroup_basic: require
+#extension GL_KHR_shader_subgroup_shuffle: require
#include "srgb.inc.glsl"
-
-// The size of the distortion texture dimensions in texels.
-layout(constant_id = 0) const int distortion_texel_count = 2;
-
-// Should we do timewarp.
-layout(constant_id = 1) const bool do_timewarp = false;
-
layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
+#define MAX_DIM 4097
+
layout(set = 0, binding = 0) uniform sampler2D source[2];
-layout(set = 0, binding = 1) uniform sampler2D distortion[6];
+layout(set = 0, binding = 1, std430) buffer restrict Foveation
+{
+ uint x[2*MAX_DIM];
+ uint y[2*MAX_DIM];
+} foveation;
+
layout(set = 0, binding = 2) uniform writeonly restrict image2DArray luma;
layout(set = 0, binding = 3, std140) uniform restrict Config
{
@@ -41,122 +43,59 @@ vec3 rgb_to_ycbcr(vec3 color)
return transpose(color_space) * color + vec3(0, 0.5, 0.5);
}
-vec2 position_to_uv(ivec2 extent, uint ix, uint iy)
-{
- // Turn the index into floating point.
- vec2 xy = vec2(float(ix), float(iy));
-
- // The inverse of the extent of the target image is the pixel size in [0 .. 1] space.
- vec2 extent_pixel_size = vec2(1.0 / float(extent.x), 1.0 / float(extent.y));
-
- // Per-target pixel we move the size of the pixels.
- vec2 dist_uv = xy * extent_pixel_size;
-
- // Emulate a triangle sample position by offset half target pixel size.
- dist_uv = dist_uv + extent_pixel_size / 2.0;
-
-
- // To correctly sample we need to put position (0, 0) in the
- // middle of the (0, 0) texel in the distortion textures. That's why we
- // offset with half the texel size, pushing all samples into the middle
- // of each texels, a kin to a vertex buffer. We need to put uv coord
- // (1, 1) in the middle of the last texel, that pixel is (size - 1)
- // texels away from the first texel. So we need to scale [0 .. 1] to
- // [0 .. size - 1].
-
-#define DIM (float(distortion_texel_count))
-#define STRETCH ((DIM - 1.0) / DIM)
-#define OFFSET (1.0 / (DIM * 2.0))
-
- dist_uv = (dist_uv * STRETCH) + OFFSET;
-
- return dist_uv;
-}
-
-vec2 transform_uv_subimage(vec2 uv, uint iz)
-{
- vec2 values = uv;
-
- // To deal with OpenGL flip and sub image view.
- values.xy = values.xy * ubo.post_transform[iz].zw + ubo.post_transform[iz].xy;
-
- // Ready to be used.
- return values.xy;
-}
-
-vec2 transform_uv_timewarp(vec2 uv, uint iz)
-{
- vec4 values = vec4(uv, -1, 1);
-
- // From uv to tan angle (tangent space).
- values.xy = values.xy * ubo.pre_transform[iz].zw + ubo.pre_transform[iz].xy;
- values.y = -values.y; // Flip to OpenXR coordinate system.
-
- // Timewarp.
- values = ubo.transform[iz] * values;
- values.xy = values.xy * (1.0 / max(values.w, 0.00001));
-
- // From [-1, 1] to [0, 1]
- values.xy = values.xy * 0.5 + 0.5;
-
- // To deal with OpenGL flip and sub image view.
- values.xy = values.xy * ubo.post_transform[iz].zw + ubo.post_transform[iz].xy;
-
- // Done.
- return values.xy;
-}
-
-vec2 transform_uv(vec2 uv, uint iz)
-{
- if (do_timewarp) {
- return transform_uv_timewarp(uv, iz);
- } else {
- return transform_uv_subimage(uv, iz);
- }
-}
-
void main()
{
uint iz = gl_GlobalInvocationID.z;
ivec2 offset = ivec2(ubo.views[iz].xy);
ivec2 extent = ivec2(ubo.views[iz].zw);
- vec2 cbcrs[4];
- vec4 alpha;
- for (int k = 0; k < 2; k += 1) {
- uint iy = gl_GlobalInvocationID.y * 2 + k;
- for (int j = 0; j < 2; j += 1) {
- uint ix = gl_GlobalInvocationID.x * 2 + j;
-
- vec2 dist_uv = position_to_uv(extent, ix, iy);
-
- vec2 uv = texture(distortion[iz + 0], dist_uv).xy;
- vec2 lod = texture(distortion[iz + 2], dist_uv).xy;
-
- // Do any transformation needed.
- uv = transform_uv(uv, iz);
-
- // Sample the source
- vec4 colour = textureLod(source[iz], uv, mix(lod.x, lod.y, 0.5));
-
- colour.rgb = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
+ uint iy = gl_GlobalInvocationID.y;
+ uint ymin = foveation.y[MAX_DIM * iz + iy];
+ uint ymax = foveation.y[MAX_DIM * iz + iy + 1];
+ if (ymin == ymax)
+ return;
+ if (ymin > ymax)
+ {
+ uint tmp = ymin;
+ ymin = ymax;
+ ymax = tmp;
+ }
+ uint ix = gl_GlobalInvocationID.x;
- int i = k * 2 + j;
- cbcrs[i] = colour.yz;
- alpha[i] = colour.a;
+ uint xmin = foveation.x[MAX_DIM * iz + ix];
+ uint xmax = foveation.x[MAX_DIM * iz + ix + 1];
+ if (xmin == xmax)
+ return;
- if (ix < extent.x && iy < extent.y) {
- imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
- }
+ vec4 colour = vec4(0);
+ for (uint y = ymin ; y < ymax; y += 1) {
+ for (uint x = xmin ; x < xmax; x += 1) {
+ colour += texelFetch(source[iz], ivec2(x, y), 0);
}
}
- if (gl_GlobalInvocationID.x >= extent.x || gl_GlobalInvocationID.y >= extent.y) {
- return;
+ colour /= (xmax - xmin) * (ymax - ymin);
+ colour.xyz = rgb_to_ycbcr(from_linear_to_srgb(colour.rgb));
+
+ imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x));
+
+ vec4 sum = colour;
+ for (uint i = 0 ; i < gl_SubgroupSize; ++i)
+ {
+ uvec3 other = subgroupShuffle(gl_GlobalInvocationID, i);
+ vec4 c = subgroupShuffle(colour, i);
+ if (
+ other == gl_GlobalInvocationID + uvec3(1, 0, 0)
+ || other == gl_GlobalInvocationID + uvec3(0, 1, 0)
+ || other == gl_GlobalInvocationID + uvec3(1, 1, 0))
+ {
+ sum += c;
+ }
}
- vec2 cbcr = mix(mix(cbcrs[0], cbcrs[1], 0.5), mix(cbcrs[2], cbcrs[3], 0.5), 0.5);
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 0), vec4(cbcr.x, cbcr.y, 0, 0));
- imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), vec4(0.5, 0.5, 0, 0));
- alpha = vec4(mix(mix(alpha[0], alpha[1], 0.5), mix(alpha[2], alpha[3], 0.5), 0.5));
- imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy, 1), alpha);
+ if (ix %2 == 0 && iy %2 == 0)
+ {
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 0), vec4(sum.y, sum.z, 0, 0) / 4);
+ imageStore(luma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(sum.w, 0, 0, 0) / 4);
+ imageStore(chroma, ivec3(offset.xy/2 + gl_GlobalInvocationID.xy/2, 1), vec4(0.5, 0.5, 0, 0));
+ }
}
diff --git a/src/xrt/compositor/util/comp_render_cs.c b/src/xrt/compositor/util/comp_render_cs.c
index b2d3ce10d..69429dc97 100644
--- a/src/xrt/compositor/util/comp_render_cs.c
+++ b/src/xrt/compositor/util/comp_render_cs.c
@@ -466,30 +466,15 @@ crc_distortion_fast_path(struct render_compute *render,
world_poses[i] = world_pose;
}
- if (!d->do_timewarp) {
- render_compute_projection( //
- render, //
- src_samplers, //
- src_image_views, //
- src_norm_rects, //
- d->target.cs.image, //
- d->target.cs.storage_view_y, //
- d->target.cs.storage_view_cbcr, //
- target_viewport_datas); //
- } else {
- render_compute_projection_timewarp( //
- render, //
- src_samplers, //
- src_image_views, //
- src_norm_rects, //
- src_poses, //
- src_fovs, //
- world_poses, //
- d->target.cs.image, //
- d->target.cs.storage_view_y, //
- d->target.cs.storage_view_cbcr, //
- target_viewport_datas); //
- }
+ render_compute_projection( //
+ render, //
+ src_samplers, //
+ src_image_views, //
+ src_norm_rects, //
+ d->target.cs.image, //
+ d->target.cs.storage_view_y, //
+ d->target.cs.storage_view_cbcr, //
+ target_viewport_datas); //
}
--
2.50.1
@@ -0,0 +1,64 @@
From 34699c38c4ebb5c968b4e1053ddbf48b31dbe72d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 15:51:48 +0200
Subject: [PATCH 11/13] a/vk: Track VK_KHR_video_maintenance1
---
scripts/generate_vk_helpers.py | 1 +
src/xrt/auxiliary/vk/vk_bundle_init.c | 8 ++++++++
src/xrt/auxiliary/vk/vk_helpers.h | 1 +
3 files changed, 10 insertions(+)
diff --git a/scripts/generate_vk_helpers.py b/scripts/generate_vk_helpers.py
index 330b1b05e..80902193a 100755
--- a/scripts/generate_vk_helpers.py
+++ b/scripts/generate_vk_helpers.py
@@ -307,6 +307,7 @@ DEVICE_EXTENSIONS_TO_CHECK = [
"VK_KHR_present_wait",
"VK_KHR_synchronization2",
"VK_KHR_timeline_semaphore",
+ "VK_KHR_video_maintenance1",
"VK_EXT_calibrated_timestamps",
"VK_EXT_display_control",
"VK_EXT_external_memory_dma_buf",
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
index f28f7591f..b435d73dd 100644
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
@@ -754,6 +754,7 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
vk->has_KHR_present_wait = false;
vk->has_KHR_synchronization2 = false;
vk->has_KHR_timeline_semaphore = false;
+ vk->has_KHR_video_maintenance1 = false;
vk->has_EXT_calibrated_timestamps = false;
vk->has_EXT_display_control = false;
vk->has_EXT_external_memory_dma_buf = false;
@@ -868,6 +869,13 @@ fill_in_has_device_extensions(struct vk_bundle *vk, struct u_string_list *ext_li
}
#endif // defined(VK_KHR_timeline_semaphore)
+#if defined(VK_KHR_video_maintenance1)
+ if (strcmp(ext, VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME) == 0) {
+ vk->has_KHR_video_maintenance1 = true;
+ continue;
+ }
+#endif // defined(VK_KHR_video_maintenance1)
+
#if defined(VK_EXT_calibrated_timestamps)
if (strcmp(ext, VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME) == 0) {
vk->has_EXT_calibrated_timestamps = true;
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
index 896b597d4..3b5cbb9c8 100644
--- a/src/xrt/auxiliary/vk/vk_helpers.h
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
@@ -142,6 +142,7 @@ struct vk_bundle
bool has_KHR_present_wait;
bool has_KHR_synchronization2;
bool has_KHR_timeline_semaphore;
+ bool has_KHR_video_maintenance1;
bool has_EXT_calibrated_timestamps;
bool has_EXT_display_control;
bool has_EXT_external_memory_dma_buf;
--
2.50.1
@@ -0,0 +1,134 @@
From 2300c7509699db2a59e4bd0eee33890a2d906156 Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 16:00:59 +0200
Subject: [PATCH 12/13] a/vk: Expose video_maintenance_1 device feature
---
src/xrt/auxiliary/vk/vk_bundle_init.c | 40 +++++++++++++++++++++++++--
src/xrt/auxiliary/vk/vk_helpers.h | 4 +++
2 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c
index b435d73dd..501cd6f3c 100644
--- a/src/xrt/auxiliary/vk/vk_bundle_init.c
+++ b/src/xrt/auxiliary/vk/vk_bundle_init.c
@@ -1098,6 +1098,13 @@ filter_device_features(struct vk_bundle *vk,
};
#endif
+#ifdef VK_KHR_video_maintenance1
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
+ .pNext = NULL,
+ };
+#endif
+
#ifdef VK_ANDROID_external_format_resolve
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
@@ -1148,6 +1155,13 @@ filter_device_features(struct vk_bundle *vk,
}
#endif
+#ifdef VK_KHR_video_maintenance1
+ if (vk->has_KHR_video_maintenance1) {
+ vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
+ (VkBaseInStructure *)&video_maintenance_1_info);
+ }
+#endif
+
#ifdef VK_ANDROID_external_format_resolve
if (vk->has_ANDROID_external_format_resolve) {
vk_append_to_pnext_chain((VkBaseInStructure *)&physical_device_features,
@@ -1187,6 +1201,10 @@ filter_device_features(struct vk_bundle *vk,
CHECK(synchronization_2, synchronization_2_info.synchronization2);
#endif
+#ifdef VK_KHR_video_maintenance1
+ CHECK(video_maintenance_1, video_maintenance_1_info.videoMaintenance1);
+#endif
+
#ifdef VK_ANDROID_external_format_resolve
CHECK(ext_fmt_resolve, ext_fmt_resolve_info.externalFormatResolve);
#endif
@@ -1207,14 +1225,16 @@ filter_device_features(struct vk_bundle *vk,
"\n\tshader_storage_image_write_without_format: %i"
"\n\tstorage_buffer_8bit_access: %i"
"\n\tsynchronization_2: %i"
- "\n\ttimeline_semaphore: %i", //
+ "\n\ttimeline_semaphore: %i"
+ "\n\tvideo_maintenance_1: %i", //
device_features->ext_fmt_resolve, //
device_features->null_descriptor, //
device_features->shader_image_gather_extended, //
device_features->shader_storage_image_write_without_format, //
device_features->storage_buffer_8bit_access, //
device_features->synchronization_2, //
- device_features->timeline_semaphore); //
+ device_features->timeline_semaphore, //
+ device_features->video_maintenance_1); //
}
@@ -1262,6 +1282,7 @@ vk_create_device(struct vk_bundle *vk,
vk->features.timeline_semaphore = device_features.timeline_semaphore;
vk->features.synchronization_2 = device_features.synchronization_2;
vk->features.present_wait = device_features.present_wait;
+ vk->features.video_maintenance_1 = device_features.video_maintenance_1;
/*
@@ -1384,6 +1405,14 @@ vk_create_device(struct vk_bundle *vk,
};
#endif
+#ifdef VK_KHR_video_maintenance1
+ VkPhysicalDeviceVideoMaintenance1FeaturesKHR video_maintenance_1_info = {
+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR,
+ .pNext = NULL,
+ .videoMaintenance1 = device_features.video_maintenance_1,
+ };
+#endif
+
#ifdef VK_ANDROID_external_format_resolve
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID ext_fmt_resolve_info = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID,
@@ -1444,6 +1473,13 @@ vk_create_device(struct vk_bundle *vk,
}
#endif
+#ifdef VK_KHR_video_maintenance1
+ if (vk->has_KHR_video_maintenance1) {
+ vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
+ (VkBaseInStructure *)&video_maintenance_1_info);
+ }
+#endif
+
#ifdef VK_ANDROID_external_format_resolve
if (vk->has_ANDROID_external_format_resolve) {
vk_append_to_pnext_chain((VkBaseInStructure *)&device_create_info,
diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h
index 3b5cbb9c8..748c06dac 100644
--- a/src/xrt/auxiliary/vk/vk_helpers.h
+++ b/src/xrt/auxiliary/vk/vk_helpers.h
@@ -179,6 +179,9 @@ struct vk_bundle
//! Was KHR_present_wait requested, available, and enabled?
bool present_wait;
+
+ //! Was KHR_video_maintenance1 requested, available, and enabled?
+ bool video_maintenance_1;
} features;
//! Is the GPU a tegra device.
@@ -1030,6 +1033,7 @@ struct vk_device_features
bool ext_fmt_resolve;
bool storage_buffer_8bit_access;
bool present_wait;
+ bool video_maintenance_1;
};
/*!
--
2.50.1
@@ -0,0 +1,26 @@
From 8c874368dfaa363e088e91c05adf2a96f921671d Mon Sep 17 00:00:00 2001
From: Patrick Nicolas <patricknicolas@laposte.net>
Date: Tue, 5 Aug 2025 16:01:59 +0200
Subject: [PATCH 13/13] c/util: Request video_maintenance_1 feature
This will only be enabled if the VK_KHR_maintenance1 extension was
requested.
---
src/xrt/compositor/util/comp_vulkan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xrt/compositor/util/comp_vulkan.c b/src/xrt/compositor/util/comp_vulkan.c
index 5618f4f78..9c719275c 100644
--- a/src/xrt/compositor/util/comp_vulkan.c
+++ b/src/xrt/compositor/util/comp_vulkan.c
@@ -282,6 +282,7 @@ create_device(struct vk_bundle *vk, const struct comp_vulkan_arguments *vk_args)
.timeline_semaphore = vk_args->timeline_semaphore,
.synchronization_2 = true,
.present_wait = true,
+ .video_maintenance_1 = true,
};
ret = vk_init_mutex(vk);
--
2.50.1
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,292 @@
From 999c18895dc60680b0c4e167b4b89de031020445 Mon Sep 17 00:00:00 2001
From: rcelyte <rcelyte@battletrains.org>
Date: Fri, 23 Aug 2024 20:54:53 +0000
Subject: [PATCH] t/common: Load SolarXR driver
---
src/xrt/drivers/qwerty/qwerty_device.c | 4 +++
.../common/target_builder_lighthouse.c | 25 +++++++++++++++++
.../targets/common/target_builder_qwerty.c | 25 +++++++++++++++++
.../targets/common/target_builder_rift_s.c | 26 ++++++++++++++++++
.../targets/common/target_builder_steamvr.c | 27 +++++++++++++++++++
src/xrt/targets/common/target_builder_wmr.c | 25 +++++++++++++++++
6 files changed, 132 insertions(+)
diff --git a/src/xrt/drivers/qwerty/qwerty_device.c b/src/xrt/drivers/qwerty/qwerty_device.c
index 53949d3b90..e1194bc061 100644
--- a/src/xrt/drivers/qwerty/qwerty_device.c
+++ b/src/xrt/drivers/qwerty/qwerty_device.c
@@ -315,6 +315,8 @@ qwerty_hmd_create(void)
xd->inputs[0].name = XRT_INPUT_GENERIC_HEAD_POSE;
+ xd->supported.orientation_tracking = true;
+ xd->supported.position_tracking = true;
xd->update_inputs = u_device_noop_update_inputs;
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->get_view_poses = u_device_get_view_poses;
@@ -367,6 +369,8 @@ qwerty_controller_create(bool is_left, struct qwerty_hmd *qhmd)
xd->binding_profiles = binding_profiles;
xd->binding_profile_count = ARRAY_SIZE(binding_profiles);
+ xd->supported.orientation_tracking = true;
+ xd->supported.position_tracking = true;
xd->update_inputs = qwerty_update_inputs;
xd->get_tracked_pose = qwerty_get_tracked_pose;
xd->set_output = qwerty_set_output;
diff --git a/src/xrt/targets/common/target_builder_lighthouse.c b/src/xrt/targets/common/target_builder_lighthouse.c
index 2386586be3..b8cbafdbed 100644
--- a/src/xrt/targets/common/target_builder_lighthouse.c
+++ b/src/xrt/targets/common/target_builder_lighthouse.c
@@ -58,6 +58,10 @@
#include "opengloves/opengloves_interface.h"
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#if defined(XRT_BUILD_DRIVER_SURVIVE)
#define DEFAULT_DRIVER "survive"
#else
@@ -509,6 +513,16 @@ try_add_opengloves(struct xrt_device *left,
#endif
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
lighthouse_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -736,6 +750,17 @@ end_valve_index:
try_add_opengloves(left, right, &left_ht, &right_ht);
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = head;
ubrh->left = left;
diff --git a/src/xrt/targets/common/target_builder_qwerty.c b/src/xrt/targets/common/target_builder_qwerty.c
index 2c66ad3038..5a5059ee18 100644
--- a/src/xrt/targets/common/target_builder_qwerty.c
+++ b/src/xrt/targets/common/target_builder_qwerty.c
@@ -18,6 +18,10 @@
#include "qwerty/qwerty_interface.h"
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#include <assert.h>
@@ -67,6 +71,16 @@ qwerty_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
qwerty_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -100,6 +114,17 @@ qwerty_open_system_impl(struct xrt_builder *xb,
ubrh->left = left;
ubrh->right = right;
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
+
return XRT_SUCCESS;
}
diff --git a/src/xrt/targets/common/target_builder_rift_s.c b/src/xrt/targets/common/target_builder_rift_s.c
index 675b303228..bf5581688d 100644
--- a/src/xrt/targets/common/target_builder_rift_s.c
+++ b/src/xrt/targets/common/target_builder_rift_s.c
@@ -28,6 +28,10 @@
#include "ht_ctrl_emu/ht_ctrl_emu_interface.h"
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#include "rift_s/rift_s_interface.h"
#include "rift_s/rift_s.h"
@@ -92,6 +96,16 @@ rift_s_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
rift_s_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -200,6 +214,18 @@ rift_s_open_system_impl(struct xrt_builder *xb,
}
#endif
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count =
+ solarxr_device_create_xdevs((hmd_xdev != NULL) ? hmd_xdev->tracking_origin : NULL,
+ &xsysd->xdevs[xsysd->xdev_count], ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = hmd_xdev;
ubrh->left = left_xdev;
diff --git a/src/xrt/targets/common/target_builder_steamvr.c b/src/xrt/targets/common/target_builder_steamvr.c
index 7b70e6b7c7..0267bb900d 100644
--- a/src/xrt/targets/common/target_builder_steamvr.c
+++ b/src/xrt/targets/common/target_builder_steamvr.c
@@ -34,6 +34,10 @@
#include "xrt/xrt_space.h"
#include "util/u_space_overseer.h"
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#ifndef XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE
#error "This builder requires the SteamVR Lighthouse driver"
#endif
@@ -115,6 +119,17 @@ steamvr_destroy(struct xrt_builder *xb)
free(svrb);
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ void _Z7destroyP18xrt_system_devices(struct xrt_system_devices * xsysd);
+
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ _Z7destroyP18xrt_system_devices(xsysd);
+}
+#endif
+
static xrt_result_t
steamvr_open_system(struct xrt_builder *xb,
cJSON *config,
@@ -151,6 +166,18 @@ steamvr_open_system(struct xrt_builder *xb,
svrb->right_ht = u_system_devices_get_ht_device_right(xsysd);
xsysd->static_roles.hand_tracking.right = svrb->right_ht;
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count =
+ solarxr_device_create_xdevs(xsysd->static_roles.head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
+
/*
* Space overseer.
*/
diff --git a/src/xrt/targets/common/target_builder_wmr.c b/src/xrt/targets/common/target_builder_wmr.c
index 40df6b6535..d543c441c2 100644
--- a/src/xrt/targets/common/target_builder_wmr.c
+++ b/src/xrt/targets/common/target_builder_wmr.c
@@ -26,6 +26,10 @@
#include <assert.h>
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+#include "solarxr/solarxr_interface.h"
+#endif
+
#ifndef XRT_BUILD_DRIVER_WMR
#error "Must only be built with XRT_BUILD_DRIVER_WMR set"
#endif
@@ -175,6 +179,16 @@ wmr_estimate_system(struct xrt_builder *xb,
return XRT_SUCCESS;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+static void
+destroy_system_devices_solarxr(struct xrt_system_devices *xsysd)
+{
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, NULL, 0);
+ u_system_devices_close(xsysd);
+ free(xsysd);
+}
+#endif
+
static xrt_result_t
wmr_open_system_impl(struct xrt_builder *xb,
cJSON *config,
@@ -295,6 +309,17 @@ wmr_open_system_impl(struct xrt_builder *xb,
right = ht_right;
}
+#ifdef XRT_BUILD_DRIVER_SOLARXR
+ const uint32_t count = solarxr_device_create_xdevs(head->tracking_origin, &xsysd->xdevs[xsysd->xdev_count],
+ ARRAY_SIZE(xsysd->xdevs) - xsysd->xdev_count);
+ if (count != 0) {
+ xsysd->static_roles.body = xsysd->xdevs[xsysd->xdev_count];
+ solarxr_device_set_feeder_devices(xsysd->static_roles.body, xsysd->xdevs, xsysd->xdev_count);
+ xsysd->destroy = destroy_system_devices_solarxr;
+ }
+ xsysd->xdev_count += count;
+#endif
+
// Assign to role(s).
ubrh->head = head;
--
GitLab
+6 -5
View File
@@ -16,6 +16,7 @@ set(XRT_BUILD_DRIVER_RIFT_S OFF)
set(XRT_BUILD_DRIVER_ROKID OFF)
set(XRT_BUILD_DRIVER_SIMULATED OFF)
set(XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE ${WIVRN_FEATURE_STEAMVR_LIGHTHOUSE})
set(XRT_BUILD_DRIVER_SOLARXR ${WIVRN_FEATURE_SOLARXR})
set(XRT_BUILD_DRIVER_TWRAP OFF)
set(XRT_BUILD_DRIVER_VF OFF)
set(XRT_BUILD_DRIVER_VIVE OFF)
@@ -33,16 +34,16 @@ set(XRT_FEATURE_WINDOW_PEEK OFF)
set(XRT_FEATURE_OPENXR_ACTIVE_ACTION_SET_PRIORITY ON)
set(XRT_FEATURE_RENDERDOC ${WIVRN_FEATURE_RENDERDOC})
set(XRT_FEATURE_OPENXR_BODY_TRACKING_FB ON)
set(XRT_FEATURE_OPENXR_FACE_TRACKING2_FB ON)
set(XRT_FEATURE_OPENXR_FACIAL_TRACKING_HTC ON)
set(XRT_FEATURE_OPENXR_HAND_TRACKING_EXT ON)
set(XRT_FEATURE_OPENXR_INTERACTION_EXT_HAND ON)
set(XRT_FEATURE_OPENXR_INTERACTION_EXT_PALM_POSE ON)
set(XRT_FEATURE_OPENXR_INTERACTION_BYTEDANCE ON)
set(XRT_FEATURE_OPENXR_INTERACTION_VIVE_FOCUS3 ON)
set(XRT_FEATURE_OPENXR_INTERACTION_TOUCH_PRO ON)
set(XRT_FEATURE_OPENXR_INTERACTION_TOUCH_PLUS ON)
set(XRT_FEATURE_OPENXR_LAYER_COLOR_SCALE_BIAS ON)
set(XRT_FEATURE_OPENXR_INTERACTION_BYTEDANCE ON)
set(XRT_FEATURE_OPENXR_INTERACTION_VIVE_FOCUS3 ON)
set(XRT_FEATURE_OPENXR_INTERACTION_TOUCH_PRO ON)
set(XRT_FEATURE_OPENXR_INTERACTION_TOUCH_PLUS ON)
set(XRT_HAVE_BLUETOOTH OFF)
set(XRT_HAVE_GST OFF)
+3
View File
@@ -293,6 +293,9 @@ std::optional<std::chrono::system_clock::time_point> from_iso8601(const std::str
if (strptime(timestamp.c_str(), "%FT%H:%M:%S%z", &t) == nullptr)
return std::nullopt;
// Convert from local time to UTC
t.tm_sec += t.tm_gmtoff;
return std::chrono::system_clock::from_time_t(mktime(&t));
}
+17 -17
View File
@@ -305,7 +305,7 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
cn->wivrn_bundle->device,
{
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = vk->main_queue.family_index,
.queueFamilyIndex = vk->queue_family_index,
});
cn->wivrn_bundle->name(cn->command_pool, "comp target command pool");
}
@@ -483,6 +483,20 @@ static void comp_wivrn_present_thread(std::stop_token stop_token, wivrn_comp_tar
auto res = vk.device.waitForFences(*cn->psc.fence, true, UINT64_MAX);
// Update encoder status, release image
if ((cn->psc.status &= ~status_bit) == 0)
{
cn->psc.status.notify_all();
for (auto & img: cn->psc.images)
{
if (img.status == pseudo_swapchain::status_t::encoding)
{
img.status = pseudo_swapchain::status_t::free;
break;
}
}
}
try
{
for (auto & encoder: encoders)
@@ -499,20 +513,6 @@ static void comp_wivrn_present_thread(std::stop_token stop_token, wivrn_comp_tar
{
// Ignore errors
}
// Update encoder status, release image
if ((cn->psc.status &= ~status_bit) == 0)
{
cn->psc.status.notify_all();
for (auto & img: cn->psc.images)
{
if (img.status == pseudo_swapchain::status_t::encoding)
{
img.status = pseudo_swapchain::status_t::free;
break;
}
}
}
}
}
@@ -584,8 +584,8 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
.dstAccessMask = vk::AccessFlagBits::eMemoryWrite,
.oldLayout = vk::ImageLayout::eTransferSrcOptimal,
.newLayout = vk::ImageLayout::eVideoEncodeSrcKHR,
.srcQueueFamilyIndex = vk->main_queue.family_index,
.dstQueueFamilyIndex = vk->encode_queue.family_index,
.srcQueueFamilyIndex = vk->queue_family_index,
.dstQueueFamilyIndex = vk->encode_queue_family_index,
.image = psc_image.image,
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor,
.baseMipLevel = 0,

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