mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-24 21:55:57 +00:00
Merge pull request #917: let the game run one frame further ahead of the GPU, sync_ahead, off by default (#676 by ProSep, carried by itaskaev2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
b2db7809b4
11 files changed
+275
-17
No files matched your search
@@ -50,6 +50,20 @@
|
||||
# Windows timer resolution of 1 ms for steadier frame pacing (0 = the Windows default).
|
||||
# timer_1ms = 1
|
||||
|
||||
# One frame ahead of the GPU.
|
||||
# Let the game build the next frame while the GPU still draws the previous one, 0 or 1. Default: off. Each frame the
|
||||
# game waits once for the GPU to finish the frame it presented last; with 1 that wait covers the frame before it
|
||||
# instead. On Great Sky Island (Linux, RX 9070 XT) with shadow_defer = 1 this took about 73 to 100 fps. Costs one more
|
||||
# frame of input delay. The frame rate swings less from frame to frame when uncapped than before, but more than
|
||||
# without it. GPU results the game reads back after that wait, for example occlusion queries, can be a frame old.
|
||||
# Works on 1.2.1 and 1.4.3; 1.1.0 ignores it. Needs shadow storage, which is on by default on Linux and Wine and needs
|
||||
# the environment variable TOTK_SHADOW=1 on native Windows; without it the setting is ignored and the log says so.
|
||||
# sync_ahead = 0
|
||||
# With sync_ahead = 1: when the game changes memory the GPU still reads, queue the copy into the GPU's shadow of that
|
||||
# memory for the GPU to run in order, 0 or 1. Default: on. With 0 the replay thread waits for the GPU to finish
|
||||
# reading instead, which costs part of the gain.
|
||||
# shadow_defer = 1
|
||||
|
||||
# Shaders and pipelines.
|
||||
# Draws whose pipeline is still building: default waits on a reserved worker; draw is the previous scheduling.
|
||||
# pipe_wait = default
|
||||
|
||||
Reference in new issue
Block a user