docs(env): document LARP_REFLEX_SLEEP and its latency vs overlap tradeoff

Clarify that LARP_REFLEX_SLEEP=0 is not a free throughput switch: skipping
pre-tick Reflex CPU sleep can keep ~1 additional frame queued on the host,
trading input-to-photon latency for copy/graphics queue overlap.
This commit is contained in:
Bud-Open
2026-12-06 09:47:22 +00:00
parent e898e29080
commit 7feb80ee67

View File

@ -56,6 +56,7 @@ Set these in `Larp\bin\launch.ps1` (or in your shell before running `larp.exe ru
| `LARP_STREAMLINE_VERIFY` | `0` to skip | on | Authenticode signature check of `sl.interposer.dll` before it is loaded (`LARP_FG_BACKEND=streamline` only). |
| `LARP_STREAMLINE_LOG` | `<folder>` | unset | Streamline's own verbose log in that folder (`LARP_FG_BACKEND=streamline` only). |
| `LARP_SL_BUFFERS` | `2..8` | `4` | Back buffers of the swap chain while Streamline owns it (`LARP_FG_BACKEND=streamline` only). |
| `LARP_REFLEX_SLEEP` | `0`, `off`, `false`, `no` to disable | `1` (on) | Controls whether `reflex::tick_begin()` calls the driver's pre-tick Reflex CPU sleep. Setting `0` skips only the pre-tick sleep while keeping Streamline Reflex and PCL frame markers active for DLSS Frame Generation. Not a free throughput switch: skipping the pre-tick sleep can keep ~1 additional frame queued on the host, trading input-to-photon latency for copy/graphics queue overlap (observed under Linux Proton / vkd3d-proton; native Windows untested). |
| `LARP_DITTOSR_PATH` | `<folder>` | `dittosr\` beside `larp.exe` | Folder holding DittoSR's `amd_fidelityfx_dx12.dll` (and its `dittosr.ini`): the upscaler `dittosr` and the frame generator `ditto` in the `F10` menu. DittoSR's frame generation is given the frame without the interface and the interface is put back over its frames unmoved (off with `LARP_FG_HUDLESS=0`). |
| `LARP_MOUSE_CAMERA` | `direct`, `1`, `native` | unset (right stick) | Opt-in direct 1:1 mouse camera (no stick deadzone/smoothing) ported from Darner; `LARP_MOUSE_CAMERA_SENS` sets radians per mouse count (default `0.0015`). |
| `LARP_MAP_MOUSE` | `0` to disable | on (mouse & keyboard) | Mouse on the world map: click = waypoint, drag = pan, wheel = zoom, right click = back. |