docs/linux: Wine/Proton gotchas and RADV settings measured in #192

This commit is contained in:
DoubleGhosty
2026-12-01 11:07:16 +01:00
parent 5c2570ce8a
commit 504bcbc253

View File

@ -148,5 +148,32 @@ The settings in `scripts/play-proton.sh` go in front of `%command%` the same way
unimplemented console import and names it. A missing Wine export shows in
Proton's log.
- **A run that exits with no log and no core dump**: check
`grep 'realtime timeout' /proc/<pid>/limits`. Electron apps (VS Code, Brave)
pass on an `RLIMIT_RTTIME` hard limit of 0, and then the first CPU-time timer on
a thread kills the process. `systemd-run --user --scope` keeps the 0; starting
it as a `systemd-run --user` service does not (#192).
- **Proton's stdout**: Valve Proton's default verb swallows it. Use
`PROTON_VERB=runinprefix` with `WINEDLLOVERRIDES=dxgi=n`. Proton copies d3d12
into system32 again at every launch, so copy yours after it. Set
`VKD3D_SHADER_CACHE_PATH`, or vkd3d writes its cache into the working directory.
- **`d3dcompiler_47`**: the winetricks one lacks `cs_5_1`; Windows 11's works.
- **RADV whole-GPU resets** on a compute ring, a few minutes in: in #192 they
stopped once copies went to SDMA (`RADV_EXPERIMENTAL=transfer_queue`).
`VKD3D_CONFIG=single_queue` also avoids them, at about 5× the frame time.
## Settings measured on RADV
From #192 (RX 7900 XTX, Zen 4 8 cores, Proton Experimental, Series X at 1440p;
median frame time over runs of 240 s or more):
| Setting | Effect there |
|---|---|
| `RADV_EXPERIMENTAL=transfer_queue` | −4 ms |
| `VICTORY_LAND_THREADS=4` (8 cores, no SMT) | −1.5 ms |
| `VICTORY_PORT_CBV=1` | −4.7 ms |
| `VICTORY_CARD_STEPS=0` | +60 ms (keep the default) |
| `VICTORY_LAND_ECHO=0` | needed there: faces lost their skin without it |
Logs to keep when something fails: the terminal output, `PROTON_LOG=1`'s file, and
with the diagnostics build a run with `VICTORY_LOG=info`.