diff options
| author | MoonEyes <ducoinbenjamin@yahoo.fr> | 2026-12-02 00:07:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-12-02 00:07:43 +0000 |
| commit | 5d06e4793ea69a58db72e6b05ab8a7f6fd64847c (patch) | |
| tree | 8c16d41764631f1cea97aa5f3f805b2bdcf35634 /docs/linux_proton.md | |
| parent | ce08fea0af9be991b2b1fe1a6d3be5f3c9814aa4 (diff) | |
| parent | f4831896242ebadf893fe061b5467673d2970861 (diff) | |
Merge pull request #2967 from aznohonza/tools/cgroup-memory-peak
game_run_summary: record the run cgroup's memory peak
Diffstat (limited to 'docs/linux_proton.md')
| -rw-r--r-- | docs/linux_proton.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/linux_proton.md b/docs/linux_proton.md index fd73f6cb3..3dbcc0539 100644 --- a/docs/linux_proton.md +++ b/docs/linux_proton.md | |||
| @@ -111,8 +111,10 @@ What it does: | |||
| 111 | with a local change that leaves this trace off (`LEONIDA_NO_TRACE_D3D12=1`); `main`'s script always passes | 111 | with a local change that leaves this trace off (`LEONIDA_NO_TRACE_D3D12=1`); `main`'s script always passes |
| 112 | `--trace-d3d12`. | 112 | `--trace-d3d12`. |
| 113 | - **Summary:** `tools/game_run_summary.py` prints the run time, how it ended, exceptions by code, D3D12 calls by | 113 | - **Summary:** `tools/game_run_summary.py` prints the run time, how it ended, exceptions by code, D3D12 calls by |
| 114 | outcome, presents, the most frequent failing calls and the `[rt]` lines by category with numbers masked. It never | 114 | outcome, presents, the most frequent failing calls, the cgroup's peak memory and the `[rt]` lines by category |
| 115 | prints a log line. `--screenshot-every S` captures the game window into the run folder (ImageMagick's `import` and | 115 | with numbers masked. The peak is `memory.peak` (cgroup v2, kernel 5.19+): the run's own systemd scope when it is |
| 116 | started in one (`systemd-run --user --scope`), else the caller's cgroup since it was created. It never prints a | ||
| 117 | log line. `--screenshot-every S` captures the game window into the run folder (ImageMagick's `import` and | ||
| 116 | `xprop`). | 118 | `xprop`). |
| 117 | 119 | ||
| 118 | The run folder's `stderr.log`, `boot.jsonl` and screenshots can show or quote what the title prints, so they stay on | 120 | The run folder's `stderr.log`, `boot.jsonl` and screenshots can show or quote what the title prints, so they stay on |