VICTORY_LEVELS_ON_DEMAND=1: pieces of other textures show in a band at the bottom of the picture (RTX 3070 8 GB) #1047

Open
opened 2026-11-26 03:56:35 +00:00 by github-bot · 1 comment
Owner

@⁠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

  • Windows 10 22H2 (19045) with the Agility SDK 1.620, RTX 3070 8 GB, 32 GB RAM, Series X profile.
  • Tree: the team branch next, which has your main at 0b0074e, plus Windows 10 patches. Diagnostics build.
  • Seen with VICTORY_LEVELS_ON_DEMAND=1 alone (1 run), and with it plus VICTORY_TEXTURE_BUDGET_MB=3500 and 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.

**@⁠adamMasMusic** on GitHub · 2026-11-25 17:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/1047) ## 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 - Windows 10 22H2 (19045) with the Agility SDK 1.620, RTX 3070 8 GB, 32 GB RAM, Series X profile. - Tree: the team branch `next`, which has your `main` at 0b0074e, plus Windows 10 patches. Diagnostics build. - Seen with `VICTORY_LEVELS_ON_DEMAND=1` alone (1 run), and with it plus `VICTORY_TEXTURE_BUDGET_MB=3500` and 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:56:35 +00:00
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 18:28 UTC · original

A data point that may help: with VICTORY_LEVELS_ON_DEMAND=1 I 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 main ca8829f with #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. 0b0074e doesn'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.

**@⁠tippythetaidum** on GitHub · 2026-11-25 18:28 UTC · [original](https://github.com/fxceless/victory-fork/issues/1047#issuecomment-7170965735) A data point that may help: with `VICTORY_LEVELS_ON_DEMAND=1` I 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 `main` `ca8829f` with #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. `0b0074e` doesn'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.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#1047
No description provided.