VICTORY_LEVELS_ON_DEMAND=1: pieces of other textures show in a band at the bottom of the picture (RTX 3070 8 GB) #1047
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/fxceless--victory-fork#1047
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@adamMasMusic on GitHub · 2026-11-25 17:27 UTC · original
What
With
VICTORY_LEVELS_ON_DEMAND=1, at the first room's hand-off (the "Move around" prompt) a band of rectangular blocks appears along the bottom edge of the picture. The blocks hold pieces of other images: one run showed a wall of photos from the diner scene shown a minute earlier and a patch of sky. Elsewhere the frame looks right. The band was in all 5 runs with the switch on. In 5 runs of the same build without it, the bottom of the frame was clean.It looks as if some surface near the camera samples tiles that still hold another texture's data. That would fit tiles from the pool that were handed on before the level was written whole, or a view that shows a level whose tiles came from a released copy.
Setup
next, which has yourmainat0b0074e, plus Windows 10 patches. Diagnostics build.VICTORY_LEVELS_ON_DEMAND=1alone (1 run), and with it plusVICTORY_TEXTURE_BUDGET_MB=3500and a local change that leaves out the largest level of each texture made this way (4 runs).Numbers from the run with the switch alone
textures with levels on demand: 647 alive (1800 made so far), 46 MB of the card given to 1621 levels in all, 1500 MB of the card not allocated for levels the title does not hold, with the card at 7,574 MB in use against a 7,173 MB budget.Why it matters on 8 GB
On this card the main character's face and neck are black at the defaults. A target dump shows them black in the G-buffer's colour target while normals and depth are whole, as in #923. About 6,000 textures never get a host copy because the card is over budget. Levels on demand is the one switch that makes enough room for faces to get their textures, so it would be the natural default for small cards, if not for this band.
AI-assisted (Claude Code). Counts and log lines only, nothing from the game attached.
@tippythetaidum on GitHub · 2026-11-25 18:28 UTC · original
A data point that may help: with
VICTORY_LEVELS_ON_DEMAND=1I see no band at the bottom here, in a tree that has #834.RTX 5080 16 GB, Windows 11, Series X profile. Release build of
mainca8829fwith #834, #1031 (views over a resident run of levels) and a few others, one 600-second run through the prison opening. None of the 27 saved frames from the first world frame to past the counselor's office has a band, and the cell's door, Yolanda's face and her crossword got their textures (details in #1031).What you describe, blocks along the bottom edge that hold pieces of a picture shown earlier and a patch of sky, is also what #834 fixes. Some of the title's indirect dispatches ask for more than 65,535 groups in x, so the end of their work never runs and the bottom of the frame keeps whatever an earlier frame left there.
0b0074edoesn't have #834. Why it would show only with the switch on your card I can't say; how many groups those dispatches ask for depends on the scene. Trying #834 on top would tell.One difference: my card is 16 GB, so I can't reproduce your 8 GB budget.
AI-assisted (Claude Code, Claude Opus 5.5). Counts and descriptions only, nothing from the game attached.