diff options
Diffstat (limited to 'docs/linux_proton.md')
| -rw-r--r-- | docs/linux_proton.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/linux_proton.md b/docs/linux_proton.md index 61627b69a..8117a01f5 100644 --- a/docs/linux_proton.md +++ b/docs/linux_proton.md | |||
| @@ -97,6 +97,13 @@ What it does: | |||
| 97 | - **Limits:** a hard time limit (`--seconds`, then SIGTERM and SIGKILL 10 s later), a lock so one run happens at a | 97 | - **Limits:** a hard time limit (`--seconds`, then SIGTERM and SIGKILL 10 s later), a lock so one run happens at a |
| 98 | time (`--lock`, by default in `XDG_RUNTIME_DIR`), and teardown of Wine and the whole session on exit, time-out or | 98 | time (`--lock`, by default in `XDG_RUNTIME_DIR`), and teardown of Wine and the whole session on exit, time-out or |
| 99 | signal. | 99 | signal. |
| 100 | - **Shader cache:** the session's `XDG_CACHE_HOME`, where NVIDIA's `GLCache` and Mesa's shader cache go, is the | ||
| 101 | caller's when it is set, or the folder `--cache DIR` names; both are kept from run to run, so a later launch does | ||
| 102 | not compile every pipeline in the driver again. Without either, or with `--cache fresh`, it is a new folder in the | ||
| 103 | run folder, for a cold-cache run. The summary's first line says which (`shader cache: kept in DIR` or `fresh`). | ||
| 104 | The flag picks the XDG cache root; a driver's own variable (`MESA_SHADER_CACHE_DIR`, the older | ||
| 105 | `MESA_GLSL_CACHE_DIR`, NVIDIA's `__GL_SHADER_DISK_CACHE_PATH`) wins over it. A fresh run unsets them and empties | ||
| 106 | the run folder's `session/cache`, so it is cold; with a kept cache the caller's variables stay. | ||
| 100 | - **Traces:** `gta6rt --run` with `--trace` and `--trace-d3d12`, a fresh `--overlay` and save folder in the run | 107 | - **Traces:** `gta6rt --run` with `--trace` and `--trace-d3d12`, a fresh `--overlay` and save folder in the run |
| 101 | folder. Every other `LEONIDA_*` variable reaches the runtime unchanged, so `LEONIDA_INPUT_SCRIPT=a@210,a@240` | 108 | folder. Every other `LEONIDA_*` variable reaches the runtime unchanged, so `LEONIDA_INPUT_SCRIPT=a@210,a@240` |
| 102 | presses A as above. Arguments after `--` go to `gta6rt`. | 109 | presses A as above. Arguments after `--` go to `gta6rt`. |