Expose idle sampled texture eviction in the F1 menu #3127
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3127
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3127"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Heldenkrieger01 on GitHub · 2026-11-29 20:09 UTC · original
Heldenkrieger01:t3/sampled-evict-f1→main· +74 −2 · 3 files · 1 commits · openPlayers investigating VRAM pressure such as #3035 can turn on Evict idle sampled textures under F1 → Memory, then restart. Eviction stays off by default. Freeing idle textures can reduce memory pressure and can cause foliage flicker. This change does not establish a fix for the reported 8 GB overload.
victory playordinarily leaves shader sample marks off. Upstream0185ab56measured a 5–7 ms per-frame cost in two steady stretches on an RTX 3090. A saved ON requests marks only when eviction is still enabled after raw overrides and the player has not explicitly set marks. OFF and DEFAULT keep the launcher's marks policy. PowerShell retains its existing marks-on policy and honours an explicit zero or unset. In both launchers, raw settings take precedence over the F1 preference, and command-line switches take precedence over the file. The dedicatedVICTORY_MENU_SAMPLED_EVICTpreference survives first-start settings migration.#4581 proposes a pressure-triggered default and #3128 an adapter-capacity default. This PR leaves that decision to those changes. DEFAULT defers to the launcher, and an explicit raw eviction mode passes through.
Earlier manual comparisons using raw switches measured 9.4/11.1 rendered FPS with eviction off/on on an RTX 3080 10 GB. Yuanzer measured 11 median FPS off and 14–15 on across four RTX 5060 Ti 8 GB runs. Neither comparison measured temporal flicker. Earlier live F1 testing with #2244 covered the previous menu row and persistence format. The reworked launcher settings were verified separately. 8 GB comparison · Earlier F1 report
Verification covered F1 persistence, migration and effective launcher settings, seven PowerShell child-process environment probes, the rendered Memory page and staged asset policy. Both local workspace Clippy configurations encounter existing diagnostics in untouched shader code. The workspace run passed both focused regressions and reported three failures in GPU ownership and stats-panel tests before it was stopped.
Reviewed with sol-loop: 2 rounds with gpt-6.2-sol. Sol verdict: approved.
Created with GPT-6.2 Astra in Codex.
github-bot referenced this pull request2026-11-29 20:34:53 +00:00
@Yuanzer on GitHub · 2026-11-29 20:34 UTC · original
Two integration notes from local testing:
@Yuanzer on GitHub · 2026-11-29 22:15 UTC · original
Integration check with #2244 at
14dc775eplus this PR's head (45a4c42), built as a release binary and run live on the RTX 5060 Ti 8 GB / i7-14700KF setup:\n\n- F1 in zh-CN exposes 回收空闲采样纹理 with the help text 使用着色器采样标记释放长期没有使用的纹理,可降低显存压力,但可能让植被闪烁。重启游戏后生效。\n- After opening the row it showed 默认; one Enter changed it to 开 and displayed the save-at-next-start notice.\n- %LOCALAPPDATA%\victory\victory-settings.txt then contained exactly VICTORY_SAMPLED_EVICT=1.\n- The row/help/value text kept complete lower strokes in the live Unicode renderer and did not overflow the 60-cell F1 box.\n- Screen capture was taken in the loaded world at 10,574 draws/frame, not on the loading screen; the run log contained no error or device-removal message.\n\nThis verifies the F1 integration and persistence path. I left the setting ON for the subsequent 8 GB memory test.edfb36df2etobbdbede662bbdbede662toca8595d931ca8595d931to84b9b033c784b9b033c7to6b96ce671a6b96ce671ato1ec608c263github-bot referenced this pull request2026-12-01 06:26:33 +00:00
1ec608c263to1bd2a18b18View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.