v2026.11.29.02 - flickering trees #2900

Closed
opened 2026-11-29 18:45:52 +00:00 by github-bot · 11 comments
Owner

@⁠hrk1337 on GitHub · 2026-11-29 18:40 UTC · original

There was the same issue in the build v2026.11.29.01 with VICTORY_WAVE_FOLDED=0

fix:
VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298,55679a0547649d0b,89d08e561897d4e5,7c9a6a83826cdfac,21f7ad7863620328

**@⁠hrk1337** on GitHub · 2026-11-29 18:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900) There was the same issue in the build v2026.11.29.01 with VICTORY_WAVE_FOLDED=0 fix: VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298,55679a0547649d0b,89d08e561897d4e5,7c9a6a83826cdfac,21f7ad7863620328
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 18:45:52 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 18:40 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 18:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7260671007) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠hrk1337 on GitHub · 2026-11-29 18:42 UTC · original

victory-nvidia-play-20261129-183352-21280.log

**@⁠hrk1337** on GitHub · 2026-11-29 18:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7260690612) [victory-nvidia-play-20261129-183352-21280.log](https://github.com/user-attachments/files/35580189/victory-nvidia-play-20261129-183352-21280.log)
Author
Owner

@⁠AntonDumov on GitHub · 2026-11-29 18:52 UTC · original

Isolated the v2026.11.29.02 (f889bb07) tree/bush flickering down to the 4 wave-wide tree instance-culling compute shaders added in 24556e2b (InstanceCulling:CS_Tree_BatchCull, _ImposterOnly, _ValidateInst, _ValidateInstInv).

Setup

  • Build: v2026.11.29.02 (f889bb07), release build, warm shader & pipeline cache
  • Hardware / OS: Ryzen 7 7800X3D, 96 GB RAM, RTX 5070 Ti 16 GB (driver 621.24), Windows 11 build 26300
  • Profile / switches: Series S, DLSS Quality (VICTORY_DLSS_PRESET=auto), DLSS FG 3x, 60 fps cap, VICTORY_BVH_BUILDER unset, VICTORY_BVH_MISS=1, VICTORY_NAN_SCRUB=1, VICTORY_EARLY_DEPTH=1, VICTORY_POOL_SMALL=0, VICTORY_LEVELS_ON_DEMAND=0, VICTORY_AMBIENT_CHROMA_SCRUB unset

A/B test results

  1. Baseline (f889bb07, all 4 CS_Tree_* shaders running):
    • Trees and bushes flicker rapidly outdoors.
    • Log confirms all 4 compute pipelines from 24556e2b translate and bind (55679a0547649d0b, 89d08e561897d4e5, 7c9a6a83826cdfac, 21f7ad7863620328).
    • Log confirms not VRAM eviction or descriptor exhaustion: VICTORY_SLOT_EVICT: 0 textures (0 MB), binds dropped for lack of contiguous slots: 0.00/frame, 0 shaders compiling.
  2. Leaving out the 4 CS_Tree_* pipelines (VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298,55679a0547649d0b,89d08e561897d4e5,7c9a6a83826cdfac,21f7ad7863620328):
    • Distant trees disappear (only close-range trees appear when walking up to them, matching pre-24556e2b / #1516).
    • Close-range trees that do appear do NOT flicker at all.
  3. Restoring VICTORY_LEAVE_OUT to default + VICTORY_SAFE_SINGLE_WAVE=0 (with fresh victory.exe preload):
    • Distant trees return and flicker again immediately.

Conclusion

  • Rules out VRAM eviction, descriptor slot drops, VICTORY_POOL_SMALL, VICTORY_LEVELS_ON_DEMAND, VICTORY_AMBIENT_CHROMA_SCRUB, and VICTORY_SAFE_SINGLE_WAVE (#1006).
  • Points directly at the wave-wide lowering of the 4 InstanceCulling:CS_Tree_* compute shaders in 24556e2b (crates/victory-shader/src/emit/mod.rs) on 32-lane NVIDIA hosts (likely culling/instance-visibility output varying frame to frame in the wave-wide form).
**@⁠AntonDumov** on GitHub · 2026-11-29 18:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7260829385) Isolated the `v2026.11.29.02` (`f889bb07`) tree/bush flickering down to the 4 wave-wide tree instance-culling compute shaders added in `24556e2b` (`InstanceCulling:CS_Tree_BatchCull`, `_ImposterOnly`, `_ValidateInst`, `_ValidateInstInv`). ### Setup - **Build:** `v2026.11.29.02` (`f889bb07`), release build, warm shader & pipeline cache - **Hardware / OS:** Ryzen 7 7800X3D, 96 GB RAM, RTX 5070 Ti 16 GB (driver `621.24`), Windows 11 build `26300` - **Profile / switches:** Series S, DLSS Quality (`VICTORY_DLSS_PRESET=auto`), DLSS FG 3x, 60 fps cap, `VICTORY_BVH_BUILDER` unset, `VICTORY_BVH_MISS=1`, `VICTORY_NAN_SCRUB=1`, `VICTORY_EARLY_DEPTH=1`, `VICTORY_POOL_SMALL=0`, `VICTORY_LEVELS_ON_DEMAND=0`, `VICTORY_AMBIENT_CHROMA_SCRUB` unset ### A/B test results 1. **Baseline (`f889bb07`, all 4 `CS_Tree_*` shaders running):** - Trees and bushes flicker rapidly outdoors. - Log confirms all 4 compute pipelines from `24556e2b` translate and bind (`55679a0547649d0b`, `89d08e561897d4e5`, `7c9a6a83826cdfac`, `21f7ad7863620328`). - Log confirms **not** VRAM eviction or descriptor exhaustion: `VICTORY_SLOT_EVICT: 0 textures (0 MB)`, `binds dropped for lack of contiguous slots: 0.00/frame`, `0` shaders compiling. 2. **Leaving out the 4 `CS_Tree_*` pipelines (`VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298,55679a0547649d0b,89d08e561897d4e5,7c9a6a83826cdfac,21f7ad7863620328`):** - Distant trees disappear (only close-range trees appear when walking up to them, matching pre-`24556e2b` / #1516). - **Close-range trees that do appear do NOT flicker at all.** 3. **Restoring `VICTORY_LEAVE_OUT` to default + `VICTORY_SAFE_SINGLE_WAVE=0` (with fresh `victory.exe preload`):** - Distant trees return and **flicker again immediately**. ### Conclusion - Rules out VRAM eviction, descriptor slot drops, `VICTORY_POOL_SMALL`, `VICTORY_LEVELS_ON_DEMAND`, `VICTORY_AMBIENT_CHROMA_SCRUB`, and `VICTORY_SAFE_SINGLE_WAVE` (#1006). - Points directly at the wave-wide lowering of the 4 `InstanceCulling:CS_Tree_*` compute shaders in `24556e2b` (`crates/victory-shader/src/emit/mod.rs`) on 32-lane NVIDIA hosts (likely culling/instance-visibility output varying frame to frame in the wave-wide form).
Author
Owner

@⁠AntonDumov on GitHub · 2026-11-29 19:36 UTC · original

Follow-up bisect of the 4 InstanceCulling:CS_Tree_* shaders from 24556e2b (same v2026.11.29.02 / f889bb07, RTX 5070 Ti setup):

  • Skip only _ValidateInst + _ValidateInstInv (VICTORY_LEAVE_OUT=...,7c9a6a83826cdfac,21f7ad7863620328): rapid tree/bush flickering still occurs.
  • Skip only _ImposterOnly (VICTORY_LEAVE_OUT=...,89d08e561897d4e5): rapid tree/bush flickering still occurs.
  • Skip only CS_Tree_BatchCull (VICTORY_LEAVE_OUT=...,55679a0547649d0b):
    • The rapid tree flickering, flickering rocks around the trees, and large screen-wide artifacts that flashed whenever trees flickered all stop.
    • Distant trees stop appearing until approached at close range, and stay rendered when walking away (same behavior as pre-24556e2b / #1516).

So 55679a0547649d0b (InstanceCulling:CS_Tree_BatchCull) is the culprit behind the rapid tree/rock flickering and large screen artifacts in the wave-wide form.

**@⁠AntonDumov** on GitHub · 2026-11-29 19:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7261408644) Follow-up bisect of the 4 `InstanceCulling:CS_Tree_*` shaders from `24556e2b` (same `v2026.11.29.02` / `f889bb07`, RTX 5070 Ti setup): - **Skip only `_ValidateInst` + `_ValidateInstInv`** (`VICTORY_LEAVE_OUT=...,7c9a6a83826cdfac,21f7ad7863620328`): rapid tree/bush flickering still occurs. - **Skip only `_ImposterOnly`** (`VICTORY_LEAVE_OUT=...,89d08e561897d4e5`): rapid tree/bush flickering still occurs. - **Skip only `CS_Tree_BatchCull`** (`VICTORY_LEAVE_OUT=...,55679a0547649d0b`): - The rapid tree flickering, flickering rocks around the trees, and large screen-wide artifacts that flashed whenever trees flickered all stop. - Distant trees stop appearing until approached at close range, and stay rendered when walking away (same behavior as pre-`24556e2b` / #1516). So **`55679a0547649d0b` (`InstanceCulling:CS_Tree_BatchCull`)** is the culprit behind the rapid tree/rock flickering and large screen artifacts in the wave-wide form.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:44 UTC · original

The tree flicker is fixed in v2026.11.29.03.

It was an issue with the way the shaders are processed. When I tested the last release, my system was reusing shaders that an earlier test build had already processed, and those didn't flicker. On a fresh install the release processed some of them a different way, and that way caused the flicker. This build was tested from an empty shader cache, the way a fresh install starts.

The first start rebuilds the shader cache once, so the first run is slower. If trees still flicker for you on v2026.11.29.03, or anything else in this report is still there, please say so here with a new log.

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7261513550) The tree flicker is fixed in [v2026.11.29.03](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.03). It was an issue with the way the shaders are processed. When I tested the last release, my system was reusing shaders that an earlier test build had already processed, and those didn't flicker. On a fresh install the release processed some of them a different way, and that way caused the flicker. This build was tested from an empty shader cache, the way a fresh install starts. The first start rebuilds the shader cache once, so the first run is slower. If trees still flicker for you on v2026.11.29.03, or anything else in this report is still there, please say so here with a new log.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:58 UTC · original

Thanks for the logs. Your run looks like v2026.11.29.02. v2026.11.29.03 is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7261709363) Thanks for the logs. Your run looks like v2026.11.29.02. [v2026.11.29.03](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.03) is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.
Author
Owner

@⁠AntonDumov on GitHub · 2026-11-29 20:03 UTC · original

Can confirm. On new build after rerunning preload trees are rendered without issues. Thanks for the quick fix!

**@⁠AntonDumov** on GitHub · 2026-11-29 20:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7261765158) Can confirm. On new build after rerunning preload trees are rendered without issues. Thanks for the quick fix!
Author
Owner

@⁠hrk1337 on GitHub · 2026-11-29 20:42 UTC · original · edited 2026-11-29 21:02 UTC

victory-nvidia-play-20261129-193740-8980.log
I’m still having this issue with trees. logs v2026.11.29.03
I deleted the old folder \victory\cache and performed preload shaders

**@⁠hrk1337** on GitHub · 2026-11-29 20:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7262300085) · edited 2026-11-29 21:02 UTC [victory-nvidia-play-20261129-193740-8980.log](https://github.com/user-attachments/files/35582890/victory-nvidia-play-20261129-193740-8980.log) I’m still having this issue with trees. logs v2026.11.29.03 I deleted the old folder \victory\cache and performed preload shaders
Author
Owner

@⁠hrk1337 on GitHub · 2026-11-29 21:08 UTC · original

and the game started crashing

victory-nvidia-play-20261129-210155-16240.log

**@⁠hrk1337** on GitHub · 2026-11-29 21:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7262641945) and the game started crashing [victory-nvidia-play-20261129-210155-16240.log](https://github.com/user-attachments/files/35583492/victory-nvidia-play-20261129-210155-16240.log)
Author
Owner

@⁠AntonDumov on GitHub · 2026-11-29 21:14 UTC · original

@⁠hrk1337 Both of your v2026.11.29.03 logs still have VICTORY_WAVE_FOLDED=0 set (check C:\Users\admin1\AppData\Local\victory\victory-settings.txt or your launch switches).

In v2026.11.29.03 (05d1c564), VICTORY_WAVE_FOLDED=0 explicitly turns off the new fallback folding fix (you can also see the 3 wave64 compute shaders still failing to translate in your second log), so even after clearing the cache and running preload, it rebuilt the same flickering v2026.11.29.02 translation.

Try:

  1. Remove VICTORY_WAVE_FOLDED=0 from victory-settings.txt (and keep VICTORY_LEAVE_OUT at the default 02384a60fda6f2d0,731a39171b568298, as in your second log).
  2. Re-run preload (or let it rebuild on first launch).
  3. The crash in your second log is a GPU hang (0x887A0006 / device lost on the relay thread with VICTORY_RELAY=2) — if that still happens after removing VICTORY_WAVE_FOLDED=0, try lowering VICTORY_RELAY (e.g. 1 or 0).
**@⁠AntonDumov** on GitHub · 2026-11-29 21:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7262718638) @⁠hrk1337 Both of your `v2026.11.29.03` logs still have **`VICTORY_WAVE_FOLDED=0`** set (check `C:\Users\admin1\AppData\Local\victory\victory-settings.txt` or your launch switches). In `v2026.11.29.03` (`05d1c564`), `VICTORY_WAVE_FOLDED=0` explicitly turns off the new fallback folding fix (you can also see the 3 wave64 compute shaders still failing to translate in your second log), so even after clearing the cache and running `preload`, it rebuilt the same flickering `v2026.11.29.02` translation. Try: 1. Remove `VICTORY_WAVE_FOLDED=0` from `victory-settings.txt` (and keep `VICTORY_LEAVE_OUT` at the default `02384a60fda6f2d0,731a39171b568298`, as in your second log). 2. Re-run `preload` (or let it rebuild on first launch). 3. The crash in your second log is a GPU hang (`0x887A0006` / device lost on the relay thread with `VICTORY_RELAY=2`) — if that still happens after removing `VICTORY_WAVE_FOLDED=0`, try lowering `VICTORY_RELAY` (e.g. `1` or `0`).
Author
Owner

@⁠hrk1337 on GitHub · 2026-11-29 21:29 UTC · original

@⁠AntonDumov Thank you very much. That worked.

**@⁠hrk1337** on GitHub · 2026-11-29 21:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2900#issuecomment-7262913003) @⁠AntonDumov Thank you very much. That worked.
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/trustno1-coder--VIctory-NVIDIA#2900
No description provided.