Colour banding in some launches on an RTX 5060 Ti (not tied to MERGE_GAP or the opt-ins, see re-test) #1203
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#1203
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?
@MrEjecutor on GitHub · 2026-11-25 23:57 UTC · original
Setup: RTX 5060 Ti 16 GB (Blackwell, 32-lane waves), Core Ultra 5 225F, 32 GB, Windows 11. Build:
d827419, diagnostics profile, plus a local patch that only feeds scripted keys to the pad. Switches: run 279's set from the README (run 253's list plusVICTORY_CARD_WINDOWS_MB=2048 VICTORY_CARD_BUFFERS_MIN_KB=64 VICTORY_CARD_BUFFERS_MB=1280 VICTORY_TEXTURE_BACK=1 VICTORY_CARD_HASH_LEN=1) andVICTORY_SHADER_LOOP_LIMIT=256. Two 900 s runs, one right after the other, the same scripted walk through the prologue (warm cache), one with and one without the two merge switches:MERGE_GAP/MERGE_RUNSWhat changed on screen: with the two switches, smooth gradients (sky, lit walls, fog, skin) came out as flat colour bands, like a picture with too few colours, and hair often looked grey. Without them, the same scenes are smooth and hair has its colour. An earlier run with the full set, played by hand rather than scripted, did not show the banding as strongly, so it may depend on what is on screen.
This fits the README's own warning that the merge over small gaps is not exact. On this card, at least, it does not pay for itself.
Still there without them: characters lit from behind come out almost black (a close-up of a face against a window, figures in the common room). That is not the merge switches.
Not tested: more than one run per side, other GPUs, and which of the two switches alone causes the banding. No captures attached (nothing from the title leaves this machine).
AI use: runs, numbers and this text were done with Claude Code; the owner of the machine watched the runs.
@MrEjecutor on GitHub · 2026-11-26 00:42 UTC · original
Follow-up on the same RTX 5060 Ti, now on
d3e4988, with the same scripted walk (900 s, warm cache), the run 279 set withoutMERGE_GAP/MERGE_RUNS:VICTORY_LIGHT_REFRESH=1 VICTORY_STEP_INDEX=1 VICTORY_FILLS_PLAIN=1 VICTORY_CARD_HASH_WIDE=1d3e4988itself is a clear step up here fromd827419(4.2 to 4.5 fps median, and the worst tenth of frames from 1.2 to 2.4 fps).With the four opt-ins on, the colour banding came back: the same flat bands over smooth gradients (fog, walls, faces) that
MERGE_GAP=64gave in the first report, in the same rooms that were clean without them. I did not split the four, so I cannot say which one does it; my guess would be one of the refresh shortcuts (LIGHT_REFRESH), since the banding looks like stale data feeding the lighting, but that is a guess.Not tested: each opt-in on its own,
altvalues, more than one run per side.AI use: runs, numbers and this text were done with Claude Code.
@Garu667 on GitHub · 2026-11-26 06:24 UTC · original
Think I can narrow your four down 🙂 On an RTX 3080 (
be721d5, boat mission) I turned onVICTORY_CARD_HASH_WIDE=1alone (no LIGHT_REFRESH / STEP_INDEX / FILLS_PLAIN) and got exactly that banding: flat bands over the sky and in cutscenes, ~44k distinct colours per capture vs ~94k with it off, same scene. FwiwMERGE_GAP=64/MERGE_RUNS=4096are on in all my runs and the picture is clean without HASH_WIDE, so on this card the merge switches aren't it. Details on6d20eed. Thanks for the careful runs btw!@Garu667 on GitHub · 2026-11-26 06:55 UTC · original
Update: the banding needs
VICTORY_CARD_HASH_WIDE=1together withVICTORY_CARD_HASH_LEN=1. WithHASH_WIDE=1 HASH_LEN=0the picture is clean on the RTX 3080 (~107k colours per capture vs ~44k banded) and the card's compare/hash lists stay fast (3.4 + 1.5 ms). Table on6d20eed.@Garu667 on GitHub · 2026-11-26 07:22 UTC · original
Correction: I could not reproduce the banding with
VICTORY_CARD_HASH_WIDE=1afterwards. Three more runs on the 3080 with it (HASH_LEN0 or 1, per-pipeline meter on or off) are all clean, so my one banded run looks like a bad launch, not the switch. Sorry about that. If you split your four opt-ins one at a time,HASH_WIDEalone might well come out clean too. Table on6d20eed.@MrEjecutor on GitHub · 2026-11-26 07:38 UTC · original
Thanks for chasing this, and for the correction. It made me recheck our own side, and our evidence is weaker than the first post reads:
MERGE_GAPrun and the clean run without it were one launch each, back to back.d827419, the full run 279 set withMERGE_GAP=64, played by hand rather than scripted) showed no banding at all.So on this RTX 5060 Ti it may also be per launch rather than per switch, which fits what you saw. I will re-test before claiming anything: several launches of each case on the same build and scene (with
MERGE_GAP, without it, and the four opt-ins one at a time), counting distinct colours per capture as you did, and post the table here.Not tested yet: everything above beyond the single runs already reported.
AI use: the analysis and this text were done with Claude Code.
@Garu667 on GitHub · 2026-11-26 08:19 UTC · original
Thanks, that plan sounds right. For comparison, on the RTX 3080 the posterized look showed up in 1 launch out of ~10 on the same build and scene (
46bf535, boat mission), with switches that were clean in the other launches. Method, in case it helps keep the tables comparable: distinct RGB colours over a full capture (VICTORY_CAPTURE_WORLD_EVERY=64), last 6 captures of a ~3 min standing run; clean runs sat at ~94k-107k here, the bad one at ~44k.MERGE_GAP=64 / MERGE_RUNS=4096: colour banding on an RTX 5060 Ti, and faster without themto Colour banding in some launches on an RTX 5060 Ti (not tied to MERGE_GAP or the opt-ins, see re-test)@MrEjecutor on GitHub · 2026-11-26 09:10 UTC · original
Re-test as promised. Same RTX 5060 Ti, one build (
988aa41plus a local patch that only feeds scripted keys to the pad), the run 279 set, the same scripted walk through the prologue, 600 s each, warm cache, one launch after another:MERGE_GAP=64 MERGE_RUNS=4096)MERGE_GAP/MERGE_RUNSVICTORY_LIGHT_REFRESH=1VICTORY_STEP_INDEX=1VICTORY_FILLS_PLAIN=1VICTORY_CARD_HASH_WIDE=1"Banding" was judged by eye on captures taken at the same two moments of every launch (a lit room at about 330 s and a sunset view at about 470 s): smooth gradients in all eight. In the banded launches we saw before, every capture of the launch was banded, so two moments are enough to see it.
So neither claim in this issue holds up here.
MERGE_GAPdoes not cause the banding and the four opt-ins do not either. "Faster withoutMERGE_GAP" was also a single-launch difference; with repeats it is within the spread (4.8 and 3.9 with it, 4.7 and 4.8 without). This matches what @Garu667 found: banding in some launches only, whatever the switches. I have retitled the issue so it does not mislead.On distinct colours per capture: on our captures that count followed the scene (dark rooms have few colours) more than the banding, so I compared captures from the same moment instead.
Not tested: how often a banded launch happens here (it showed up in 2 of about 30 launches of this fork over the last two days, across several builds and switch sets), or what triggers it.
AI use: runs, comparison and this text were done with Claude Code.
@Garu667 on GitHub · 2026-11-26 09:33 UTC · original
Thanks for the careful re-test, that settles it. Same picture on the RTX 3080: posterized launches in about 1 of 12 so far (
46bf535andf6a09d3), whatever the switches, and every capture of that launch is banded, as you saw. Fair point on the colour count following the scene; comparing captures from the same moment is the better check. If either of us catches another banded launch, the log of that launch next to a clean one on the same build might show what differs at start-up.