mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 15:19:58 -04:00
Bring public main's video memory fix and 0.10.1's defaults into the 0.10.2 line.
Main gained three commits after 0.10.1's release commit: a render target that was drawn over gives its image to the next target of its size, such an image is handed on after 8 presents and freed after 32 while the card is past its pressure share, and 0.10.1 kept CPU helper threads on Automatic and Start next frame early on. The settings keep this line's defaults (Helpers work ahead 4, Helpers take small jobs 16), the comments that said both were off in 0.10.1 now say what 0.10.1 shipped, the texture log keeps both sides' counters, and 0.10.2's notes say which two defaults are new. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -12,13 +12,19 @@
|
||||
game and 1.5 GB for the launcher; a GPU with Vulkan 1.3 and `VK_EXT_external_memory_host` (current NVIDIA and AMD
|
||||
cards).
|
||||
|
||||
## Changed
|
||||
## Fixed
|
||||
|
||||
- **Every setting under the Game tab's Testing heading is off by default again:**
|
||||
- *CPU helper threads* (`replay_workers = 0`; it was Automatic in 0.10.0);
|
||||
- *Start next frame early* (`tail_early = 0`; it was on in 0.10.0);
|
||||
- *Helpers work ahead* and *Helpers take small jobs* (`replay_pipe` and `replay_small`, off as before).
|
||||
- **Video memory no longer fills up while you walk or turn the camera** (by epicmeme546). In 0.10.0 the video memory
|
||||
in use climbed by several gigabytes within seconds of moving, in any area, until the card was full: the frame rate
|
||||
fell to 2 to 4 frames a second and the game could end. The game lays its render targets out anew in every frame, one
|
||||
behind the other. One of them, a shadow map, changes its size with the view, and every target behind it then lies at
|
||||
a new address in each frame. A moved target should take over the image of the one it replaces, but that image counted
|
||||
as in use until the game recycled the old target's texture object, so every frame got about a dozen new images and
|
||||
each old one stayed for 120 frames or more: 6.7 GiB of them at 3416x1440 and 12.2 GiB at 3840x2160, on top of the
|
||||
10 GiB an area needs at those sizes. Such an image now goes to the next target of its size once nothing has drawn
|
||||
with it or sampled it for 16 frames, and sooner once the card is past 80 % of its memory. Walking through Kokiri
|
||||
Forest at 3416x1440 on a 20 GiB card: 15.9 GiB in use before, 9.7 to 10.7 GiB now. The same walk at 3840x2160 with
|
||||
the memory budget of a 16 GiB card: 10.9 to 11.4 GiB, where a player's 16 GiB card had 22.2 GiB asked of it.
|
||||
|
||||
They are experimental and were measured on few cards. A value you chose yourself, in the settings menu or in
|
||||
nx2navi.ini, stays as you set it: to keep 0.10.0's behaviour, set *CPU helper threads* to Automatic and *Start next
|
||||
frame early* to On. Everything else is as in 0.10.0; see its notes.
|
||||
Everything else is as in 0.10.0, the settings under the Game tab's Testing heading included: *CPU helper threads* is
|
||||
Automatic (half the processor's cores less one: 3 on 8 cores) and *Start next frame early* is on. See 0.10.0's notes.
|
||||
|
||||
@@ -21,8 +21,9 @@ cards).
|
||||
- *Helpers take small jobs*: 16 (`replay_small = 16`);
|
||||
- *Start next frame early*: On (`tail_early = 1`).
|
||||
|
||||
They are still experimental. A value you chose yourself, in the settings menu or in nx2navi.ini, stays as you set
|
||||
it: to keep 0.10.1's behaviour, set them back to 0 and Off.
|
||||
The first and the last were already so in 0.10.1; the two in the middle are new. They are still experimental. A
|
||||
value you chose yourself, in the settings menu or in nx2navi.ini, stays as you set it: to keep 0.10.1's behaviour,
|
||||
set *Helpers work ahead* and *Helpers take small jobs* back to 0.
|
||||
|
||||
## Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user