diff options
Diffstat (limited to 'docs/boot.md')
| -rw-r--r-- | docs/boot.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/boot.md b/docs/boot.md index 2b7186e30..e9c64a6b3 100644 --- a/docs/boot.md +++ b/docs/boot.md | |||
| @@ -116,6 +116,17 @@ Useful switches: | |||
| 116 | diagnostic). | 116 | diagnostic). |
| 117 | * `LEONIDA_DEVICE_FAULT=1` enables Vulkan device-loss diagnostics and checkpoints where available. The first | 117 | * `LEONIDA_DEVICE_FAULT=1` enables Vulkan device-loss diagnostics and checkpoints where available. The first |
| 118 | observed loss prints a `[rt] device-fault:` report to stderr. | 118 | observed loss prints a `[rt] device-fault:` report to stderr. |
| 119 | * `LEONIDA_TITLE_HUD=1` shows live counters in the title bar of the window the title presents in | ||
| 120 | (`runtime/shims/title_hud.h`). It updates twice a second with: | ||
| 121 | - the frame rate and the average and worst frame time from PresentX; | ||
| 122 | - the process's private memory and working set; | ||
| 123 | - its local GPU memory against the DXGI budget, and its shared GPU memory; | ||
| 124 | - the graphics and compute pipelines created, and the seconds spent in `vkCreate*Pipelines` in the last half | ||
| 125 | second. A pipeline compiled in the frame shows up there as a hitch. This needs `LEONIDA_MEM_PROBE`; without it | ||
| 126 | the field reads `PSO -`. | ||
| 127 | - the time since the first present. | ||
| 128 | |||
| 129 | A thread of its own sets the text with `SendMessageTimeout`, so a busy window thread never holds a present. | ||
| 119 | * `DISABLE_RTSS_LAYER=1` and `DISABLE_VULKAN_OBS_CAPTURE=1` when MSI Afterburner or OBS is installed; their | 130 | * `DISABLE_RTSS_LAYER=1` and `DISABLE_VULKAN_OBS_CAPTURE=1` when MSI Afterburner or OBS is installed; their |
| 120 | implicit layers add swapchain usage that shows up as validation errors ([testing.md](testing.md), "Known | 131 | implicit layers add swapchain usage that shows up as validation errors ([testing.md](testing.md), "Known |
| 121 | problems"). | 132 | problems"). |