mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 11:29:58 -04:00
Turn the lazy write-back off by default and offer it in the settings menu as Experimental FPS boost.
With it on, single frames come out with the whole scene lit differently (brighter, shadows off). The flight recorder's thumbnails of 1,800 presents standing in Hyrule Field show none with it off in every run, and with it on 43 to 181 while four other threads keep the CPU busy (10 to 97 in earlier runs, 0 on an idle machine); the cause is not found. Two candidate fixes (arming only against a sync whose copies were handed over, and snapshots waiting for GPU writes in flight) did not change the count, and fetching at every release made it far worse. So wb_lazy is 0 unless set, on every platform (mem_init loses its special case), and the Screen tab has the row Experimental FPS boost for it on Windows, with its text in the four menu languages; like every setting read at the start it notes "after restart". The 0.7.0 notes describe it as experimental and off, say about 1.6 GiB for the video memory a full shader cache no longer holds (2,484 to 846 MiB at the title screen in the measured run), and list the two fixes before this one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -646,10 +646,12 @@
|
||||
# first submission ends when that submission's passes are through, without waiting for the copy back (3 to 4 ms of
|
||||
# every frame). 0: the copy back is part of the submission, and the wait covers it.
|
||||
# wb_split = 1
|
||||
# 1: what the game's shaders write into its memory is copied back from the video card once, and after that only when
|
||||
# the game's CPU code touches it (most of it never is: 66 MiB a frame in Hyrule Field). 0: copied back at the end of
|
||||
# every GPU submission, as before. On Linux it is off unless set here.
|
||||
# wb_lazy = 1
|
||||
# 0: what the game's shaders write into its memory is copied back from the video card at the end of every GPU
|
||||
# submission. 1 (experimental): copied back once, and after that only when the game's CPU code touches it (most of it
|
||||
# never is: 66 MiB a frame in Hyrule Field), for about a third more frames a second in open areas. With 1, single
|
||||
# frames of the scene can flicker; tell us what you see if you try it. In the settings menu: Experimental FPS boost
|
||||
# (Screen tab).
|
||||
# wb_lazy = 0
|
||||
# 1: the game's flushes of mirrored memory are copied into the mirrors even where the write watch already sees every
|
||||
# page the game wrote; 0 (default) copies only the written pages there, which saved 47-57 MiB of copies a frame in
|
||||
# Kokiri Forest.
|
||||
|
||||
Reference in New Issue
Block a user