NVIDIA 8 GB: faster view copies, fix mouths and skin artifacts, collected upstream fixes #611
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!611
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-611"
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?
@tmart06 on GitHub · 2026-11-27 13:55 UTC · original
tmart06:nvidia/view-copy-lock→a-publier· +3059 −192 · 29 files · 1 commits · draftWork to make this tree run better on an 8 GB NVIDIA card. It mixes one original change with
ports of other people's work, so it is a draft and is probably best split before review.
What changed
Original here:
shadow.rs: the per-view copy is made without holding theEXACTlock, the sweep of keptcopies runs only every so often, and dropped copies are released after the lock.
VICTORY_VIEW_COPY_ASIDE=0restores the old way. Matters withVICTORY_VIEW_BYTES=1.lifecycle.rs: under--cfg pgo_record, writes the LLVM profile before the process endswith
TerminateProcess. Compiles to nothing otherwise.Ported (credit to the authors):
rules, dirty list for card copies, related memory changes.
Characters' mouths move on NVIDIA. This PR is already open here.
it. Merged by hand onto this tree's early texture pass.
TRANSLATOR_VERSIONis 5, so shaders are translated again.Testing
Windows 11, RTX 4060 Ti 8 GB, Ryzen 5 7600X.
victory-gpulibrary tests: 411 passed, 34 ignored (after the last GPU change).victory-formatslibrary tests: 41 passed, 5 ignored.gfx10decoder tests: 8 passed.victory-hle: 162 passed before thelifecycle.rschange; not rerun since.victory-shader: many tests crash or fail on this machine both before and after thesechanges; compared one test per process, no test differed at the time of the #578 port. Not
rerun after #431. Two of #578's own tests are among the crashes.
cargo xtask policy: no findings in the sources (only an untracked local build folder).In game:
VICTORY_TEXTURE_NO_WAIT=0andVICTORY_CARD_STEPS=1; arms stayed right withCARD_STEPS=2.(
VICTORY_VIEW_BYTES=0and the 8 GB profile) and a native-CPU build that are not part ofthis change. How much each gave is not known.
Known problems
sampled_wrong_so_farwas not zero in one run; not looked into.🤖 Generated with Claude Code
View 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.