mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
README: Document how to run Vulkan validation.
This commit is contained in:
parent
435d5a9b9e
commit
c62380c051
16
README.md
16
README.md
|
@ -178,6 +178,22 @@ You can verify that it stuck with the command.
|
|||
xrandr --prop
|
||||
```
|
||||
|
||||
## Running Vulkan Validation
|
||||
|
||||
To run Monado with Vulkan validation the loader's layer functionality can be used.
|
||||
```
|
||||
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ./build/src/xrt/targets/service/monado-service
|
||||
```
|
||||
The same can be done when launching a Vulkan client.
|
||||
|
||||
If you want a backtrace to be produced at validation errors, create a `vk_layer_settings.txt`
|
||||
file with the following content:
|
||||
```
|
||||
khronos_validation.debug_action = VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_BREAK
|
||||
khronos_validation.report_flags = error,warn
|
||||
khronos_validation.log_filename = stdout
|
||||
```
|
||||
|
||||
## Using libsurvive
|
||||
|
||||
To enable the libsurvive driver, libsurvive has to be installed as a library with a pkgconfig file
|
||||
|
|
Loading…
Reference in a new issue