mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 09:39:58 -04:00
Leave asynchronous replay off in the low-end GPU mode.
It can show a dark or flickering frame now and then, so the mode no longer turns it on with its other defaults. Its row under the mode's switch still turns it on for a player who wants it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -348,10 +348,10 @@
|
||||
# stays within what the driver reports free (vram_heap_limit = auto, vram_reserve_mb = 512), large texture upload
|
||||
# batches go to the GPU early (upload_batch_mb = 256; every batch goes at 64 MiB of staging at the latest with or
|
||||
# without it, so only a value below 64 acts), game memory is copied for the GPU while a frame is recorded and
|
||||
# the game waits less for the GPU (mirror_stage = 1, submit_finish_gpu = 0), frames are prepared on a thread of their
|
||||
# own (replay_async = 1, which can show a dark or flickering frame now and then), pools the game refills every frame
|
||||
# stay in system memory (mirror_hot = 25), and a texture read after another image was drawn over its memory gets
|
||||
# memory of its own (tex_clobber = 1). 0, the default: each of these stays as it was in 0.9.1, and none of these keys
|
||||
# the game waits less for the GPU (mirror_stage = 1, submit_finish_gpu = 0), pools the game refills every frame stay
|
||||
# in system memory (mirror_hot = 25), and a texture read after another image was drawn over its memory gets memory of
|
||||
# its own (tex_clobber = 1). Frames prepared on a thread of their own (replay_async) stay off in this mode too, as they
|
||||
# can show a dark or flickering frame now and then; its row under the mode's switch turns them on. 0, the default: each of these stays as it was in 0.9.1, and none of these keys
|
||||
# is read. Read at start.
|
||||
# low_end_gpu = 0
|
||||
# Textures the game released that are kept as they are (1 to 16384); past this count only those that lose nothing
|
||||
|
||||
@@ -599,12 +599,13 @@ static const char *raw_get(const char *name);
|
||||
// first submission ends once the replay has submitted it (vk_memory.c stage_on, vk_sync.c vk_sync_recorded_wait),
|
||||
// texture checks share their write-watch queries (vk_memory.c snap_widen_n), video memory stays within the heaps'
|
||||
// budgets (vk_device.c vram_heap_limits, vk_vma_budget.c), large upload batches go to the queue early (vk_memory.c
|
||||
// vk_upload_end), frames are prepared on a thread of their own and pools the game refills every frame stay in system
|
||||
// memory (vk_backend.c, vk_memory.c hot_check). Without the key each of these keeps what 0.9.1 did.
|
||||
// vk_upload_end) and pools the game refills every frame stay in system memory (vk_memory.c hot_check). Without the
|
||||
// key each of these keeps what 0.9.1 did. Asynchronous replay (vk_backend.c, NX2NAVI_REPLAY_ASYNC) is not among them:
|
||||
// it can show a dark or flickering frame now and then, so the mode leaves it off and its row under the mode's switch
|
||||
// turns it on for a player who wants it.
|
||||
static const struct { const char *key, *value; } LOWEND[] = {
|
||||
{"MESH_EMULATION", "1"}, {"TEX_CLOBBER", "1"}, {"MIRROR_STAGE", "1"}, {"SUBMIT_FINISH_GPU", "0"}, {"SNAP_WIDEN", "8"},
|
||||
{"VRAM_HEAP_LIMIT", "auto"}, {"VRAM_RESERVE_MB", "512"}, {"UPLOAD_BATCH_MB", "256"}, {"REPLAY_ASYNC", "1"},
|
||||
{"MIRROR_HOT", "25"},
|
||||
{"VRAM_HEAP_LIMIT", "auto"}, {"VRAM_RESERVE_MB", "512"}, {"UPLOAD_BATCH_MB", "256"}, {"MIRROR_HOT", "25"},
|
||||
};
|
||||
// The keys that count only while the mode is on (LOWEND_ONLY): without it each reads as unset, whatever the settings
|
||||
// file or the environment says, so nothing of the mode acts unless a player turned it on. The menu shows their rows
|
||||
|
||||
@@ -180,7 +180,8 @@ static const char *const text_en[UI_TEXT_COUNT] = {
|
||||
"decoder translated from the console. Lighter streaming while you move.",
|
||||
[UI_MENU_LOWEND_ASYNC] = "Asynchronous replay",
|
||||
[UI_MENU_LOWEND_ASYNC_DESC] = "Translates the game's GPU commands on a thread of their own instead of the game's, so "
|
||||
"the game prepares the next frame meanwhile.",
|
||||
"the game prepares the next frame meanwhile. Off by default: it can show a dark or "
|
||||
"flickering frame now and then.",
|
||||
[UI_MENU_LOWEND_PASS_TIMES] = "Pass times in the log",
|
||||
[UI_MENU_LOWEND_PASS_TIMES_DESC] = "GPU time of every render pass and dispatch goes to the log, with the largest "
|
||||
"viewport each kind of pass draws with. Costs a little frame time.",
|
||||
|
||||
Reference in New Issue
Block a user