Colour banding in some launches on an RTX 5060 Ti (not tied to MERGE_GAP or the opt-ins, see re-test) #1203

Open
opened 2026-11-26 03:59:25 +00:00 by github-bot · 8 comments
Owner

@⁠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 plus VICTORY_CARD_WINDOWS_MB=2048 VICTORY_CARD_BUFFERS_MIN_KB=64 VICTORY_CARD_BUFFERS_MB=1280 VICTORY_TEXTURE_BACK=1 VICTORY_CARD_HASH_LEN=1) and VICTORY_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:

with MERGE_GAP/MERGE_RUNS without
first world frame 79 s 56 s
world frame time, median 270 ms (3.7 fps) 236 ms (4.2 fps)
10th percentile fps 0.9 1.2
90th percentile fps 5.8 5.8
draws per frame, mean 3,731 3,955
device removed no no

What 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-25 23:57 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203) 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 plus `VICTORY_CARD_WINDOWS_MB=2048 VICTORY_CARD_BUFFERS_MIN_KB=64 VICTORY_CARD_BUFFERS_MB=1280 VICTORY_TEXTURE_BACK=1 VICTORY_CARD_HASH_LEN=1`) and `VICTORY_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: | | with `MERGE_GAP`/`MERGE_RUNS` | without | |---|---:|---:| | first world frame | 79 s | 56 s | | world frame time, median | 270 ms (3.7 fps) | 236 ms (4.2 fps) | | 10th percentile fps | 0.9 | 1.2 | | 90th percentile fps | 5.8 | 5.8 | | draws per frame, mean | 3,731 | 3,955 | | device removed | no | no | What 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:59:26 +00:00
Author
Owner

@⁠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 without MERGE_GAP/MERGE_RUNS:

without the four new opt-ins with VICTORY_LIGHT_REFRESH=1 VICTORY_STEP_INDEX=1 VICTORY_FILLS_PLAIN=1 VICTORY_CARD_HASH_WIDE=1
world frame time, median 222 ms (4.5 fps) 229 ms (4.3 fps)
10th percentile fps 2.4 0.8
preparing, median 82 ms 82 ms
device removed no no

d3e4988 itself is a clear step up here from d827419 (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=64 gave 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, alt values, more than one run per side.

AI use: runs, numbers and this text were done with Claude Code.

**@⁠MrEjecutor** on GitHub · 2026-11-26 00:42 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7179032111) Follow-up on the same RTX 5060 Ti, now on `d3e4988`, with the same scripted walk (900 s, warm cache), the run 279 set without `MERGE_GAP`/`MERGE_RUNS`: | | without the four new opt-ins | with `VICTORY_LIGHT_REFRESH=1 VICTORY_STEP_INDEX=1 VICTORY_FILLS_PLAIN=1 VICTORY_CARD_HASH_WIDE=1` | |---|---:|---:| | world frame time, median | 222 ms (4.5 fps) | 229 ms (4.3 fps) | | 10th percentile fps | 2.4 | 0.8 | | preparing, median | 82 ms | 82 ms | | device removed | no | no | `d3e4988` itself is a clear step up here from `d827419` (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=64` gave 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, `alt` values, more than one run per side. AI use: runs, numbers and this text were done with Claude Code.
Author
Owner

@⁠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 on VICTORY_CARD_HASH_WIDE=1 alone (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. Fwiw MERGE_GAP=64/MERGE_RUNS=4096 are on in all my runs and the picture is clean without HASH_WIDE, so on this card the merge switches aren't it. Details on 6d20eed. Thanks for the careful runs btw!

**@⁠Garu667** on GitHub · 2026-11-26 06:24 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7184404309) Think I can narrow your four down 🙂 On an RTX 3080 (`be721d5`, boat mission) I turned on **`VICTORY_CARD_HASH_WIDE=1` alone** (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. Fwiw `MERGE_GAP=64`/`MERGE_RUNS=4096` are on in all my runs and the picture is clean without HASH_WIDE, so on this card the merge switches aren't it. Details on 6d20eed. Thanks for the careful runs btw!
Author
Owner

@⁠Garu667 on GitHub · 2026-11-26 06:55 UTC · original

Update: the banding needs VICTORY_CARD_HASH_WIDE=1 together with VICTORY_CARD_HASH_LEN=1. With HASH_WIDE=1 HASH_LEN=0 the 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 on 6d20eed.

**@⁠Garu667** on GitHub · 2026-11-26 06:55 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7184916173) Update: the banding needs `VICTORY_CARD_HASH_WIDE=1` **together with** `VICTORY_CARD_HASH_LEN=1`. With `HASH_WIDE=1 HASH_LEN=0` the 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 on 6d20eed.
Author
Owner

@⁠Garu667 on GitHub · 2026-11-26 07:22 UTC · original

Correction: I could not reproduce the banding with VICTORY_CARD_HASH_WIDE=1 afterwards. Three more runs on the 3080 with it (HASH_LEN 0 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_WIDE alone might well come out clean too. Table on 6d20eed.

**@⁠Garu667** on GitHub · 2026-11-26 07:22 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7185390111) Correction: I could not reproduce the banding with `VICTORY_CARD_HASH_WIDE=1` afterwards. Three more runs on the 3080 with it (`HASH_LEN` 0 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_WIDE` alone might well come out clean too. Table on 6d20eed.
Author
Owner

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

  • The banded MERGE_GAP run and the clean run without it were one launch each, back to back.
  • An earlier run on the same build (d827419, the full run 279 set with MERGE_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.

**@⁠MrEjecutor** on GitHub · 2026-11-26 07:38 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7185678851) 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: - The banded `MERGE_GAP` run and the clean run without it were one launch each, back to back. - An earlier run on the same build (`d827419`, the full run 279 set with `MERGE_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.
Author
Owner

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

**@⁠Garu667** on GitHub · 2026-11-26 08:19 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7186455760) 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.
github-bot changed title from MERGE_GAP=64 / MERGE_RUNS=4096: colour banding on an RTX 5060 Ti, and faster without them to Colour banding in some launches on an RTX 5060 Ti (not tied to MERGE_GAP or the opt-ins, see re-test) 2026-11-26 11:20:05 +00:00
Author
Owner

@⁠MrEjecutor on GitHub · 2026-11-26 09:10 UTC · original

Re-test as promised. Same RTX 5060 Ti, one build (988aa41 plus 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:

Launch Switches World fps, median Banding
1 run 279 set (with MERGE_GAP=64 MERGE_RUNS=4096) 4.8 none
2 same 3.9 none
3 without MERGE_GAP/MERGE_RUNS 4.7 none
4 same 4.8 none
5 without merge, plus VICTORY_LIGHT_REFRESH=1 4.3 none
6 without merge, plus VICTORY_STEP_INDEX=1 4.6 none
7 without merge, plus VICTORY_FILLS_PLAIN=1 4.5 none
8 without merge, plus VICTORY_CARD_HASH_WIDE=1 4.2 none

"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_GAP does not cause the banding and the four opt-ins do not either. "Faster without MERGE_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.

**@⁠MrEjecutor** on GitHub · 2026-11-26 09:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7187535532) Re-test as promised. Same RTX 5060 Ti, one build (`988aa41` plus 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: | Launch | Switches | World fps, median | Banding | |---|---|---:|---| | 1 | run 279 set (with `MERGE_GAP=64 MERGE_RUNS=4096`) | 4.8 | none | | 2 | same | 3.9 | none | | 3 | without `MERGE_GAP`/`MERGE_RUNS` | 4.7 | none | | 4 | same | 4.8 | none | | 5 | without merge, plus `VICTORY_LIGHT_REFRESH=1` | 4.3 | none | | 6 | without merge, plus `VICTORY_STEP_INDEX=1` | 4.6 | none | | 7 | without merge, plus `VICTORY_FILLS_PLAIN=1` | 4.5 | none | | 8 | without merge, plus `VICTORY_CARD_HASH_WIDE=1` | 4.2 | none | "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_GAP` does not cause the banding and the four opt-ins do not either. "Faster without `MERGE_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.
Author
Owner

@⁠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 (46bf535 and f6a09d3), 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.

**@⁠Garu667** on GitHub · 2026-11-26 09:33 UTC · [original](https://github.com/fxceless/victory-fork/issues/1203#issuecomment-7188145738) Thanks for the careful re-test, that settles it. Same picture on the RTX 3080: posterized launches in about 1 of 12 so far (46bf535 and f6a09d3), 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.
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#1203
No description provided.