Fix outdated docs
This commit is contained in:
+9
-11
@@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
## Compile
|
## Compile
|
||||||
|
|
||||||
From your checkout directory, with automatic detection of encoders
|
From your checkout directory
|
||||||
```bash
|
```bash
|
||||||
cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
cmake --build build-server
|
cmake --build build-server
|
||||||
```
|
```
|
||||||
|
|
||||||
It is possible to disable specific encoders, by adding options
|
By default, all encoders are enabled. It is possible to disable them at build time with the following options:
|
||||||
```
|
```
|
||||||
-DWIVRN_USE_NVENC=OFF
|
-DWIVRN_USE_NVENC=OFF
|
||||||
-DWIVRN_USE_VAAPI=OFF
|
-DWIVRN_USE_VAAPI=OFF
|
||||||
@@ -18,14 +18,10 @@ It is possible to disable specific encoders, by adding options
|
|||||||
-DWIVRN_USE_X264=OFF
|
-DWIVRN_USE_X264=OFF
|
||||||
```
|
```
|
||||||
|
|
||||||
Force specific audio backends
|
wivrnctl is an optional tool enabled by default and the only part that requires libsystemd/libelogind.
|
||||||
|
It can be disabled with
|
||||||
```
|
```
|
||||||
-DWIVRN_USE_PIPEWIRE=ON
|
-DWIVRN_USE_WIVRNCTL=OFF
|
||||||
```
|
|
||||||
|
|
||||||
Systemd service and pretty hostname support
|
|
||||||
```
|
|
||||||
-DWIVRN_USE_SYSTEMD=ON
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Lighthouse driver support for use with lighthouse-tracked devices
|
Lighthouse driver support for use with lighthouse-tracked devices
|
||||||
@@ -33,7 +29,9 @@ Lighthouse driver support for use with lighthouse-tracked devices
|
|||||||
-DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=ON
|
-DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=ON
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally, if your environment requires absolute paths inside the OpenXR runtime manifest, you can add `-DWIVRN_OPENXR_MANIFEST_TYPE=absolute` to the build configuration.
|
For a few dependencies it is possible to select system or embedded versions, check `WIVRN_USE_SYSTEM_xxx` in case you are missing dependencies.
|
||||||
|
|
||||||
|
For more advanced options, check [CMakeLists.txt](../CMakeLists.txt).
|
||||||
|
|
||||||
## Profiling / tracing build
|
## Profiling / tracing build
|
||||||
|
|
||||||
@@ -52,7 +50,7 @@ See [profiling](profiling.md) for how to run the server with tracing and capture
|
|||||||
|
|
||||||
# Dashboard
|
# Dashboard
|
||||||
|
|
||||||
The WiVRn dashboard requires Qt6, and the WiVRn server.
|
The WiVRn dashboard requires Qt6, Kirigami, and the WiVRn server.
|
||||||
|
|
||||||
## Compile
|
## Compile
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Configurable items
|
# Configurable items
|
||||||
|
|
||||||
Configuration is done on server side.
|
Configuration is split between headset and server. Headset contains most configuration, while server has system specific items such as encoders and paths.
|
||||||
Files are read from
|
Files are read from
|
||||||
- `/usr/share/wivrn/config.json` (where `/usr` is selected at configure time with `CMAKE_INSTALL_PREFIX`)
|
- `/usr/share/wivrn/config.json` (where `/usr` is selected at configure time with `CMAKE_INSTALL_PREFIX`)
|
||||||
- `/etc/wivrn/config.json`
|
- `/etc/wivrn/config.json`
|
||||||
@@ -13,9 +13,9 @@ If you installed WiVRn from a flatpack, the config is in `$HOME/.var/app/io.gith
|
|||||||
All elements are optional and have default values.
|
All elements are optional and have default values.
|
||||||
|
|
||||||
## `bit-depth`
|
## `bit-depth`
|
||||||
Default value: `8` (bits)
|
Default value: 10-bit if supported by the selected codec, encoder and decoder. 8-bit otherwise.
|
||||||
|
|
||||||
Bit depth of the video. 8-bit is supported by all encoders. 10-bit is supported by `vaapi` and `nvenc` encoders using `h265` or `av1`.
|
Bit depth of the video. 8-bit is supported by all encoders. 10-bit is supported by `vulkan`, `vaapi` and `nvenc` with `h265` or `av1` codecs.
|
||||||
|
|
||||||
## `encoder`
|
## `encoder`
|
||||||
The encoder to use, either a single string or object applied to all streams, or a list of string or objects with values for left, right and alpha.
|
The encoder to use, either a single string or object applied to all streams, or a list of string or objects with values for left, right and alpha.
|
||||||
@@ -24,13 +24,13 @@ When a string it is used, it is equivalent to the `encoder` item of the object.
|
|||||||
WiVRn encodes each eye separately, and the alpha channel as one for both eyes. Each stream is processed independently, this may use resources more effectively and reduce latency.
|
WiVRn encodes each eye separately, and the alpha channel as one for both eyes. Each stream is processed independently, this may use resources more effectively and reduce latency.
|
||||||
|
|
||||||
### `encoder`
|
### `encoder`
|
||||||
Default value: `vulkan` if supported, `nvenc` if Nvidia GPU and compiled with nvenc, `vaapi` for all other GPU when compiled with ffmpeg, else `x264`.
|
Default value, in order: `vulkan` if supported, `nvenc` on Nvidia GPU, `vaapi` on all other GPU, else `x264`.
|
||||||
|
|
||||||
Identifier of the encoder, one of
|
Identifier of the encoder, one of
|
||||||
* `x264`: software encoding
|
* `x264`: software encoding
|
||||||
* `nvenc`: Nvidia hardware encoding
|
* `nvenc`: Nvidia hardware encoding
|
||||||
* `vaapi`: AMD/Intel hardware encoding
|
* `vaapi`: AMD/Intel hardware encoding
|
||||||
* `vulkan`: for any GPU that supports vulkan video encode
|
* `vulkan`: Vulkan Video encode, cross-vendor hardware encoding
|
||||||
|
|
||||||
### `codec`
|
### `codec`
|
||||||
Default value: best supported by both headset and encoder of `av1`, `h264`, `h265`.
|
Default value: best supported by both headset and encoder of `av1`, `h264`, `h265`.
|
||||||
|
|||||||
Reference in New Issue
Block a user