53% of texture-slot rewrites leave nothing to show: black and coloured patches on asphalt, vegetation, houses and skin #4859

Open
opened 2026-12-01 11:53:41 +00:00 by gbmrrr · 13 comments
gbmrrr commented 2026-12-01 11:53:41 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gbmrrr on 2026-12-01T11:53:41Z.


What looks wrong

Black, coloured and flashing patches on many unrelated surfaces: asphalt, vegetation, parts of
houses, character skin and clothing. They appear and disappear from frame to frame. Nothing here is
stable enough to photograph; the numbers below are from the log instead.

I cannot name a cause. What I can do is show what the layer reports while it happens, because one
number stands out and it points at the slot state rather than at any one material.

The layer counts every texture slot that is written with a different texture, and how many of those
keep showing what they showed before the new one was ready:

slots that showed a texture and were written with another, since the start:
  ... of the same kind elsewhere, ... of another size, ... others, ... of another dimension;
  ... of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN)

Over one run of gameplay (13,894 draws/frame), the growth of that line was:

kind of rewrite count over the run share
same kind elsewhere 73,440 20.7%
another size 537 0.2%
others 92,132 26.0%
another dimension 188,885 53.2%
total rewrites 354,994
of them kept what they showed 170,336 47.3%

Of the four kinds, VICTORY_KEEP_SHOWN can only keep the first two and others (up to 2). A slot
rewritten with a texture of another dimension cannot keep anything, so it is left with a null
view - zeros, which read as black. That is 53.2% of all rewrites on this run.

So the black patches and the coloured ones may be the same event seen two ways: a slot rewritten
before its new texture is ready shows either the previous image (coloured, another object's texture)
or nothing (black). That is a hypothesis from these numbers, not a measurement: the counters count
rewrites, not frames drawn from an empty slot, and I have no capture of the frames themselves.

GPU and driver

RTX 5070 Ti 16 GB, driver 621.40

CPU, RAM and Windows version

Ryzen 7 9800X3D, 32 GB, Windows 11

VIctory release or commit

v2026.11.30.03, plus local switches (below). The counters quoted exist in that tag.

Settings

Series X, 626p through DLSS Balanced, frame generation 2x, ray tracing off.
VICTORY_KEEP_SHOWN=2, VICTORY_TEXTURE_ROOM_PERCENT=95, VICTORY_SLOT_EVICT_PERCENT=66,
VICTORY_LIBRARY_KEEP_MB=1024, VICTORY_WINDOWS_BAR_MB=2048.

Things that changed the frequency but never removed it, in case they help someone else rule them
out: lowering the memory the layer keeps for the pipeline library and for Windows (4 GB freed) made
it less frequent; VICTORY_SLOT_EVICT_PERCENT=66 started eviction that had never started
(0 to 33 of 33 decisions, no room to 0); VICTORY_KEEP_SHOWN from 1 to 2 changes which
of the two appearances you get, not whether you get one.

Logs

Attached: victory-slot-states.log, filtered to the slot, queue and memory lines, with user paths
and the title's folder removed.

Are you working on a fix?

No. I am reporting it, not claiming a cause. I tried the obvious switches and none of them removed
it; the ones I would look at next are in the memory path (vram_idle_for in host.rs releases an
idle host copy after 1000 ms at 85% of the budget) and the order in which slots are served, but I
have no measurement that either is responsible, and I would rather say that than send someone after
a wrong lead.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6719691389 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859). Originally posted by [gbmrrr](https://github.com/gbmrrr) on 2026-12-01T11:53:41Z. --- ## What looks wrong Black, coloured and flashing patches on many unrelated surfaces: asphalt, vegetation, parts of houses, character skin and clothing. They appear and disappear from frame to frame. Nothing here is stable enough to photograph; the numbers below are from the log instead. I cannot name a cause. What I can do is show what the layer reports while it happens, because one number stands out and it points at the slot state rather than at any one material. The layer counts every texture slot that is written with a different texture, and how many of those keep showing what they showed before the new one was ready: ``` slots that showed a texture and were written with another, since the start: ... of the same kind elsewhere, ... of another size, ... others, ... of another dimension; ... of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN) ``` Over one run of gameplay (13,894 draws/frame), the growth of that line was: | kind of rewrite | count over the run | share | |---|---|---| | same kind elsewhere | 73,440 | 20.7% | | another size | 537 | 0.2% | | **others** | 92,132 | 26.0% | | **another dimension** | **188,885** | **53.2%** | | total rewrites | 354,994 | | | of them kept what they showed | 170,336 | 47.3% | Of the four kinds, `VICTORY_KEEP_SHOWN` can only keep the first two and `others` (up to `2`). A slot rewritten with a texture of **another dimension** cannot keep anything, so it is left with a null view - zeros, which read as black. That is 53.2% of all rewrites on this run. So the black patches and the coloured ones may be the same event seen two ways: a slot rewritten before its new texture is ready shows either the previous image (coloured, another object's texture) or nothing (black). That is a hypothesis from these numbers, not a measurement: the counters count rewrites, not frames drawn from an empty slot, and I have no capture of the frames themselves. ## GPU and driver RTX 5070 Ti 16 GB, driver 621.40 ## CPU, RAM and Windows version Ryzen 7 9800X3D, 32 GB, Windows 11 ## VIctory release or commit `v2026.11.30.03`, plus local switches (below). The counters quoted exist in that tag. ## Settings Series X, 626p through DLSS Balanced, frame generation 2x, ray tracing off. `VICTORY_KEEP_SHOWN=2`, `VICTORY_TEXTURE_ROOM_PERCENT=95`, `VICTORY_SLOT_EVICT_PERCENT=66`, `VICTORY_LIBRARY_KEEP_MB=1024`, `VICTORY_WINDOWS_BAR_MB=2048`. Things that changed the frequency but never removed it, in case they help someone else rule them out: lowering the memory the layer keeps for the pipeline library and for Windows (4 GB freed) made it less frequent; `VICTORY_SLOT_EVICT_PERCENT=66` started eviction that had never started (`0` to `33 of 33` decisions, `no room` to `0`); `VICTORY_KEEP_SHOWN` from `1` to `2` changes which of the two appearances you get, not whether you get one. ## Logs Attached: `victory-slot-states.log`, filtered to the slot, queue and memory lines, with user paths and the title's folder removed. ## Are you working on a fix? No. I am reporting it, not claiming a cause. I tried the obvious switches and none of them removed it; the ones I would look at next are in the memory path (`vram_idle_for` in `host.rs` releases an idle host copy after 1000 ms at 85% of the budget) and the order in which slots are served, but I have no measurement that either is responsible, and I would rather say that than send someone after a wrong lead.
gbmrrr commented 2026-12-01 11:53:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gbmrrr on 2026-12-01T11:53:48Z.


Uploading the file here is not something I can do through gh, so the lines that matter are inline. The full log is 431 lines after filtering; ask and I will paste any part of it.

The slot counter, first and last sample of the run

2026-12-01T11:47:25.937725Z  INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 4142 of the same kind elsewhere, 61 of another size, 24 others, 779 of another dimension; 4227 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked)
2026-12-01T11:47:26.270088Z  INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 9100 of the same kind elsewhere, 85 of another size, 25 others, 790 of another dimension; 9210 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked)
...
2026-12-01T11:50:13.711458Z  INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 76722 of the same kind elsewhere, 589 of another size, 89363 others, 188326 of another dimension; 166674 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked)
2026-12-01T11:50:18.245336Z  INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 77582 of the same kind elsewhere, 598 of another size, 92156 others, 189664 of another dimension; 170336 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked)

The texture queue's room, first and last

2026-12-01T11:47:03.047888Z  INFO victory_gpu::host: the texture queue's room: 2380 MB in use - 113 MB free in texture blocks + 850 MB kept for card copies of title buffers + 158 MB kept for render targets = 3275 MB against a line of 14465 MB (95.0 % of a budget of 15227 MB; 14209 MB after face headroom, 334 MB in texture copies): room
2026-12-01T11:47:08.180708Z  INFO victory_gpu::host: the texture queue's room: 2476 MB in use - 113 MB free in texture blocks + 850 MB kept for card copies of title buffers + 174 MB kept for render targets = 3387 MB against a line of 14465 MB (95.0 % of a budget of 15227 MB; 14209 MB after face headroom, 334 MB in texture copies): room
...
2026-12-01T11:50:31.278999Z  INFO victory_gpu::host: the texture queue's room: 12520 MB in use - 953 MB free in texture blocks + 0 MB kept for card copies of title buffers + 895 MB kept for render targets = 12462 MB against a line of 13544 MB (95.0 % of a budget of 14257 MB; 13288 MB after face headroom, 1669 MB in texture copies): room
2026-12-01T11:50:36.345990Z  INFO victory_gpu::host: the texture queue's room: 12518 MB in use - 953 MB free in texture blocks + 0 MB kept for card copies of title buffers + 895 MB kept for render targets = 12460 MB against a line of 13542 MB (95.0 % of a budget of 14255 MB; 13286 MB after face headroom, 1669 MB in texture copies): room

Eviction, last

2026-12-01T11:50:31.279026Z  INFO victory_gpu::host: textures let go with their slots under pressure (VICTORY_SLOT_EVICT), since the start: 0 textures (0 MB), 0 slots put back to waiting, 0 made again (0 of them within 2 s, away 0.0 s on average), 0 given up as a draw used them meanwhile; the last look: evicting, of 32707 idle-looking textures 0 kept as a table showed them lately and 30200 not to be taken (a slot sha ...
2026-12-01T11:50:36.346006Z  INFO victory_gpu::host: textures let go with their slots under pressure (VICTORY_SLOT_EVICT), since the start: 0 textures (0 MB), 0 slots put back to waiting, 0 made again (0 of them within 2 s, away 0.0 s on average), 0 given up as a draw used them meanwhile; the last look: evicting, of 32711 idle-looking textures 0 kept as a table showed them lately and 30204 not to be taken (a slot sha ...

Memory, last

2026-12-01T11:50:36.979011Z  INFO victory_gpu::host: memory now: committed 31431 MB, the card's own 12518 MB in use of a budget of 14253 MB, the PC's shared with the card 5640 MB in use
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7310315940 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7310315940). Originally posted by [gbmrrr](https://github.com/gbmrrr) on 2026-12-01T11:53:48Z. --- Uploading the file here is not something I can do through `gh`, so the lines that matter are inline. The full log is 431 lines after filtering; ask and I will paste any part of it. ### The slot counter, first and last sample of the run ``` 2026-12-01T11:47:25.937725Z INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 4142 of the same kind elsewhere, 61 of another size, 24 others, 779 of another dimension; 4227 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked) 2026-12-01T11:47:26.270088Z INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 9100 of the same kind elsewhere, 85 of another size, 25 others, 790 of another dimension; 9210 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked) ... 2026-12-01T11:50:13.711458Z INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 76722 of the same kind elsewhere, 589 of another size, 89363 others, 188326 of another dimension; 166674 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked) 2026-12-01T11:50:18.245336Z INFO victory_gpu::descriptor::host: slots that showed a texture and were written with another, since the start: 77582 of the same kind elsewhere, 598 of another size, 92156 others, 189664 of another dimension; 170336 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (VICTORY_KEEP_SHOWN=checked) ``` ### The texture queue's room, first and last ``` 2026-12-01T11:47:03.047888Z INFO victory_gpu::host: the texture queue's room: 2380 MB in use - 113 MB free in texture blocks + 850 MB kept for card copies of title buffers + 158 MB kept for render targets = 3275 MB against a line of 14465 MB (95.0 % of a budget of 15227 MB; 14209 MB after face headroom, 334 MB in texture copies): room 2026-12-01T11:47:08.180708Z INFO victory_gpu::host: the texture queue's room: 2476 MB in use - 113 MB free in texture blocks + 850 MB kept for card copies of title buffers + 174 MB kept for render targets = 3387 MB against a line of 14465 MB (95.0 % of a budget of 15227 MB; 14209 MB after face headroom, 334 MB in texture copies): room ... 2026-12-01T11:50:31.278999Z INFO victory_gpu::host: the texture queue's room: 12520 MB in use - 953 MB free in texture blocks + 0 MB kept for card copies of title buffers + 895 MB kept for render targets = 12462 MB against a line of 13544 MB (95.0 % of a budget of 14257 MB; 13288 MB after face headroom, 1669 MB in texture copies): room 2026-12-01T11:50:36.345990Z INFO victory_gpu::host: the texture queue's room: 12518 MB in use - 953 MB free in texture blocks + 0 MB kept for card copies of title buffers + 895 MB kept for render targets = 12460 MB against a line of 13542 MB (95.0 % of a budget of 14255 MB; 13286 MB after face headroom, 1669 MB in texture copies): room ``` ### Eviction, last ``` 2026-12-01T11:50:31.279026Z INFO victory_gpu::host: textures let go with their slots under pressure (VICTORY_SLOT_EVICT), since the start: 0 textures (0 MB), 0 slots put back to waiting, 0 made again (0 of them within 2 s, away 0.0 s on average), 0 given up as a draw used them meanwhile; the last look: evicting, of 32707 idle-looking textures 0 kept as a table showed them lately and 30200 not to be taken (a slot sha ... 2026-12-01T11:50:36.346006Z INFO victory_gpu::host: textures let go with their slots under pressure (VICTORY_SLOT_EVICT), since the start: 0 textures (0 MB), 0 slots put back to waiting, 0 made again (0 of them within 2 s, away 0.0 s on average), 0 given up as a draw used them meanwhile; the last look: evicting, of 32711 idle-looking textures 0 kept as a table showed them lately and 30204 not to be taken (a slot sha ... ``` ### Memory, last ``` 2026-12-01T11:50:36.979011Z INFO victory_gpu::host: memory now: committed 31431 MB, the card's own 12518 MB in use of a budget of 14253 MB, the PC's shared with the card 5640 MB in use ```
github-actions[bot] commented 2026-12-01 11:53:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-12-01T11:53:51Z.


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 you have and which Windows version (10 or 11).

If this issue needs logs and none are posted here within 12 hours, it will be closed. Add them by editing your post or in a comment.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7310317150 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7310317150). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T11:53:51Z. --- 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 you have and which Windows version (10 or 11). **If this issue needs logs and none are posted here within 12 hours, it will be closed.** Add them by editing your post or in a comment.
gbmrrr commented 2026-12-01 11:54:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gbmrrr on 2026-12-01T11:54:22Z.


The two logs the bot asks for are below.

1. The play log, filtered to the slot, queue and memory lines (user paths and the title's folder removed) — that is the comment above this one.

2. The crash log. Nothing has crashed in these runs; there is no crashes.log for them:

$ ls -la "$LOCALAPPDATA/VIctory/data/7952987A/crashes.log"
ls: cannot access ... crashes.log: No such file or directory

For the record, this session did hit the GPU device hang once (0x887A0006, "the device was lost before fence value") on an earlier configuration, which is the same symptom as #4624 and not what this issue is about; no crash log was written for it either.

If a full unfiltered log is wanted, say so and I will paste the parts asked for — it is 126 MB for the longest run of the day, so it would have to be a range, not the whole file.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7310330987 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7310330987). Originally posted by [gbmrrr](https://github.com/gbmrrr) on 2026-12-01T11:54:22Z. --- The two logs the bot asks for are below. **1. The play log**, filtered to the slot, queue and memory lines (user paths and the title's folder removed) — that is the comment above this one. **2. The crash log.** Nothing has crashed in these runs; there is no `crashes.log` for them: ``` $ ls -la "$LOCALAPPDATA/VIctory/data/7952987A/crashes.log" ls: cannot access ... crashes.log: No such file or directory ``` For the record, this session did hit the GPU device hang once (`0x887A0006`, "the device was lost before fence value") on an earlier configuration, which is the same symptom as #4624 and not what this issue is about; no crash log was written for it either. If a full unfiltered log is wanted, say so and I will paste the parts asked for — it is 126 MB for the longest run of the day, so it would have to be a range, not the whole file.
cloph-dsp commented 2026-12-01 12:01:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cloph-dsp on 2026-12-01T12:01:18Z.


Reading the counters in this report against the source, the "53%" and the black patches do not point at the same place, and I think the another dimension number is a classification artefact rather than a slot that went null.

Where the four counters come from. fn rewritten (crates/victory-gpu/src/descriptor/host.rs:5270) buckets on Kin, and Kin is decided by fn kin (host.rs:5215).

  • another dimension is REWRITTEN[3], i.e. Kin::None — the bucket's label says dimension, but the value is the "no kind at all" case.
  • Kin::None is returned by two branches: a[0] == 1 || b[0] == 1 || from[1] != to[1] (Placed pair whose placement or plane differs), and the dimension fallback (0, _) | (_, 0) => Kin::None.
  • That dimension closure yields 0 for any Placed view whose resource[0] == 1 — a placed texture with no host copy — so two ordinary placed textures, both without host copies, compare (0, 0) and land in Kin::None no matter what shape they are. Nothing about their dimension is being tested.

That explains the numbers without a null slot. kept is Kin::kept(...), and Kin::None => false is unconditional — VICTORY_KEEP_SHOWN cannot make it true at any value, exactly as you observed. But the counter is incremented in rewritten(kin, kept) at the two show_later / show_new_later sites (host.rs:2847, host.rs:4034), and in the first of them the kept == false path does not leave the slot null: it calls neutral_for(&view, self.at(index)) (host.rs:2854), which for a 2D or 2D-array view binds the 1×1 gray neutral() texture (host.rs:411, filled 0x80). You would see a small gray, not black, and the "reads as zeros" comment at host.rs:5256 only holds for dimensions neutral_for refuses (1D/3D/cubes → null_for).

So a slot counted in another dimension is most likely either (a) a placed twin with no host copy being re-written, which is routine, or (b) a dimension change where neutral_for binds gray. Neither is the black-patch mechanism by itself.

What would separate them. The two candidate mechanisms are distinguishable in the log you already have, and both need only counters, no capture:

  1. Split REWRITTEN[3] by which branch produced it — the host-copy-missing (0, _) case from kin, versus a genuine from[1] != to[1]. If most of the 188,885 are the former, the label is misleading and the number says nothing about what the slot showed.
  2. Count how many of the kept == false cases actually got neutral_for returning None (i.e. went through null_for). pop_causes() already exposes LATE[3] ("slots given the neutral texture"); a companion counter for the None arm would give the real null count instead of inferring it from rewrites. Right now pop_causes derives nulls as all - kept, which counts every non-kept rewrite as a null even when the neutral texture was bound.

None of this needs the title: kin, Kin::kept and neutral_for's dimension table are pure functions of the view words, so a synthetic test on hand-built View values would pin the bucketing down.

I have not changed anything — this is reading, not a fix, and I am not claiming the black patches come from here either. If you can post the another dimension split (placed-without-host-copy vs real dimension change), that decides whether to fix kin's (0, 0) case or to go after the upload ordering.

AI-assisted: Hy4 flash. Source only; no game data, assets or extracted shaders used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7310521595 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7310521595). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-12-01T12:01:18Z. --- Reading the counters in this report against the source, the "53%" and the black patches do not point at the same place, and I think the `another dimension` number is a classification artefact rather than a slot that went null. **Where the four counters come from.** `fn rewritten` (`crates/victory-gpu/src/descriptor/host.rs:5270`) buckets on `Kin`, and `Kin` is decided by `fn kin` (`host.rs:5215`). - `another dimension` is `REWRITTEN[3]`, i.e. `Kin::None` — the bucket's *label* says dimension, but the value is the "no kind at all" case. - `Kin::None` is returned by two branches: `a[0] == 1 || b[0] == 1 || from[1] != to[1]` (Placed pair whose placement or plane differs), and the `dimension` fallback `(0, _) | (_, 0) => Kin::None`. - That `dimension` closure yields **0 for any Placed view whose `resource[0] == 1`** — a placed texture with no host copy — so two ordinary placed textures, both without host copies, compare `(0, 0)` and land in `Kin::None` no matter what shape they are. Nothing about their dimension is being tested. **That explains the numbers without a null slot.** `kept` is `Kin::kept(...)`, and `Kin::None => false` is unconditional — `VICTORY_KEEP_SHOWN` cannot make it true at any value, exactly as you observed. But the counter is incremented in `rewritten(kin, kept)` at the two `show_later` / `show_new_later` sites (`host.rs:2847`, `host.rs:4034`), and in the *first* of them the `kept == false` path does **not** leave the slot null: it calls `neutral_for(&view, self.at(index))` (`host.rs:2854`), which for a 2D or 2D-array view binds the 1×1 gray `neutral()` texture (`host.rs:411`, filled `0x80`). You would see a small gray, not black, and the "reads as zeros" comment at `host.rs:5256` only holds for dimensions `neutral_for` refuses (1D/3D/cubes → `null_for`). So a slot counted in `another dimension` is most likely either (a) a placed twin with no host copy being re-written, which is routine, or (b) a dimension change where `neutral_for` binds gray. Neither is the black-patch mechanism by itself. **What would separate them.** The two candidate mechanisms are distinguishable in the log you already have, and both need only counters, no capture: 1. Split `REWRITTEN[3]` by which branch produced it — the host-copy-missing `(0, _)` case from `kin`, versus a genuine `from[1] != to[1]`. If most of the 188,885 are the former, the label is misleading and the number says nothing about what the slot showed. 2. Count how many of the `kept == false` cases actually got `neutral_for` returning `None` (i.e. went through `null_for`). `pop_causes()` already exposes `LATE[3]` ("slots given the neutral texture"); a companion counter for the `None` arm would give the real null count instead of inferring it from rewrites. Right now `pop_causes` derives nulls as `all - kept`, which counts *every* non-kept rewrite as a null even when the neutral texture was bound. None of this needs the title: `kin`, `Kin::kept` and `neutral_for`'s dimension table are pure functions of the view words, so a synthetic test on hand-built `View` values would pin the bucketing down. I have not changed anything — this is reading, not a fix, and I am not claiming the black patches come from here either. If you can post the `another dimension` split (placed-without-host-copy vs real dimension change), that decides whether to fix `kin`'s `(0, 0)` case or to go after the upload ordering. AI-assisted: Hy4 flash. Source only; no game data, assets or extracted shaders used.
andrewpozdnakov7-jpg commented 2026-12-01 12:02:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T12:02:50Z.


The release's counter counts texture rewrites. The another dimension bucket also includes views whose dimension is unavailable to the classifier, for example an SRV using its default descriptor. Classifier in v2026.11.30.03

When the old view is dropped, the mirror tries to build a gray stand-in for the incoming view. A null view is the fallback. The existing texture slots shown a gray stand-in since the start, by kind line can help tell how much that path was used. If that line is already in your filtered log, its first and last readings would be useful alongside the rewrite count. Mirror · Stand-in counter

#4863 fixes one separate failure path where the first failed stand-in allocation is cached for the rest of the run. Its focused fixture covers the retry, and the cause of these patches in play remains open.

AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7310565627 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7310565627). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-12-01T12:02:50Z. --- The release's counter counts texture rewrites. The `another dimension` bucket also includes views whose dimension is unavailable to the classifier, for example an SRV using its default descriptor. [Classifier in v2026.11.30.03](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/descriptor/host.rs#L7555-L7583) When the old view is dropped, the mirror tries to build a gray stand-in for the incoming view. A null view is the fallback. The existing `texture slots shown a gray stand-in since the start, by kind` line can help tell how much that path was used. If that line is already in your filtered log, its first and last readings would be useful alongside the rewrite count. [Mirror](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/descriptor/host.rs#L6128-L6146) · [Stand-in counter](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/copystat.rs#L1170-L1178) #4863 fixes one separate failure path where the first failed stand-in allocation is cached for the rest of the run. Its focused fixture covers the retry, and the cause of these patches in play remains open. AI-assisted with OpenAI Codex.
gbmrrr commented 2026-12-01 12:40:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gbmrrr on 2026-12-01T12:40:28Z.


A second run, longer, on the same build, with the switches unchanged:

rewrites over the session: 8,409,988
  same kind elsewhere   923,923    11.0%
  another size            7,332     0.1%
  others              1,648,215    19.6%
  another dimension   5,830,518    69.3%   <- nothing can be kept

kept what they showed  2,583,828 of 8,415,000  (30.7%)

The share of rewrites that land on the kind VICTORY_KEEP_SHOWN cannot cover was 53.2% in the
run in the report and 69.3% in this one, over 8.4 million rewrites. It scales with how long the
session runs, not with any one place in the world, which is consistent with the patches appearing
everywhere rather than in one material.

Machine and settings as in the report; nothing was changed between the two runs except that this one
was longer (draws/frame peaked at 14,628 against 13,894).

The frame rate held: the layer ended the session normally and saved its pipeline library (999 MB),
with 0 pipelines failed and 0 shaders left untranslated.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7311481882 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7311481882). Originally posted by [gbmrrr](https://github.com/gbmrrr) on 2026-12-01T12:40:28Z. --- A second run, longer, on the same build, with the switches unchanged: ``` rewrites over the session: 8,409,988 same kind elsewhere 923,923 11.0% another size 7,332 0.1% others 1,648,215 19.6% another dimension 5,830,518 69.3% <- nothing can be kept kept what they showed 2,583,828 of 8,415,000 (30.7%) ``` The share of rewrites that land on the kind `VICTORY_KEEP_SHOWN` cannot cover was **53.2%** in the run in the report and **69.3%** in this one, over 8.4 million rewrites. It scales with how long the session runs, not with any one place in the world, which is consistent with the patches appearing everywhere rather than in one material. Machine and settings as in the report; nothing was changed between the two runs except that this one was longer (draws/frame peaked at 14,628 against 13,894). The frame rate held: the layer ended the session normally and saved its pipeline library (999 MB), with 0 pipelines failed and 0 shaders left untranslated.
andrewpozdnakov7-jpg commented 2026-12-01 12:43:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T12:43:38Z.


Thanks for the longer run. I found one concrete fallback bug while following up on the dimension bucket. When a texture SRV uses its default description and its host copy is missing, the renderer substitutes a plain 2D null descriptor even for a registered 1D texture, array, 3D texture, or multisampled texture.

#4882 uses the registered texture's shape for that fallback. In the Windows descriptor fixture the old code picked the wrong dimension in six of seven cases. The patch picked the expected dimension in all seven. The fixture used a stub device, so the effect on the scene in your report is still open. The 69.3% is a cumulative rewrite counter and includes cases whose incoming dimension the classifier did not have.

AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7311557710 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7311557710). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-12-01T12:43:38Z. --- Thanks for the longer run. I found one concrete fallback bug while following up on the dimension bucket. When a texture SRV uses its default description and its host copy is missing, the renderer substitutes a plain 2D null descriptor even for a registered 1D texture, array, 3D texture, or multisampled texture. #4882 uses the registered texture's shape for that fallback. In the Windows descriptor fixture the old code picked the wrong dimension in six of seven cases. The patch picked the expected dimension in all seven. The fixture used a stub device, so the effect on the scene in your report is still open. The 69.3% is a cumulative rewrite counter and includes cases whose incoming dimension the classifier did not have. AI-assisted with OpenAI Codex.
Lorionlol commented 2026-12-01 15:22:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lorionlol on 2026-12-01T15:22:36Z.


Measurements from another machine that may help separate the two appearances.

Machine: RTX 5080 16 GB, Ryzen 7 9800X3D, 64 GB, Windows 11 (26300), driver 621.40.
Settings: Series S, DLSS Quality, hardware ray tracing (VICTORY_HW_RT=1).
Build: a local tree based on v2026.11.30.03, with some local settings and a few counters added (named below). The counters only count; they change nothing.

1. The flashing patches are the stand-in

I made the stand-in opaque magenta instead of the 0x80 grey of neutral_for. This is a local diagnostic switch. With it, the white and grey patches seen while moving turned magenta. When the camera stands still, nothing shows.

2. What did not change them

One change per run, at the same place, judged by eye:

  • VICTORY_SHOW_AFTER=0: the "neutral texture meanwhile" count of the show-after line went to 0, but the patches stayed. So the stand-in also comes from another path: the title writes a slot with a view of a texture that has no host copy yet (waiting_texture, then later, then neutral_for). SHOW_AFTER does not cover that path.
  • VICTORY_TEXTURE_ROOM_PERCENT=92 (instead of 88): "no room for new ones" went from about 62,000 to about 31,000 a minute. No visible change.
  • Frame generation off; DLSS off (the title's own upscaler); VICTORY_LOD_SCALE=1 (0.3 in my tree): no visible change.
  • Other programs closed to free about 1.3 GB of VRAM: the DXGI budget the layer reads stayed at 14,889 MB, so nothing changed in the layer's decisions.

3. How long slots waited, by the way their upload went

A local counter measured the time from a slot asking for its texture to the slot showing it, in the magenta run (about 1 min 45 s):

way slots stand-in meanwhile mean over 33 ms
uploaded ahead (copy queue) 75,777 75,333 0.7 ms 307
uploaded in the list 14,097 13,956 84 ms 8,251

The visible flashes match the second row.

Why those slots were not uploaded ahead, counted in draw.rs just before texture::ahead::take:

  • the host copy was not fresh: 17,435 (already uploaded once, and the title rewrote its memory);
  • also read through a table: 5,719;
  • turned down by claim: 4,274. The largest reason there is holds being set, meaning the copy had already had an upload.

The ahead path takes only the first upload of a fresh copy. That is by design: a copy that is already shown may still be read by lists in flight.

4. Possible directions (not tried)

  • Start the host copy and its upload when the title writes the slot, instead of at the first draw that reads it.
  • Upload into a new copy on the copy queue when the shown copy needs a re-upload, and flip the slot once the upload has run (renaming). The old image then stays until the new one is ready.
  • Put table-read slots on the same path.

The black patches

I see black patches too, and they did not turn magenta. The null-view fallback described above would fit, but I have no counter for it.

I can share the counters as a PR (off by default), or run a build with a candidate fix on this machine.

(Measured on my PC; the write-up was drafted with Claude Code.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7315805777 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7315805777). Originally posted by [Lorionlol](https://github.com/Lorionlol) on 2026-12-01T15:22:36Z. --- Measurements from another machine that may help separate the two appearances. **Machine:** RTX 5080 16 GB, Ryzen 7 9800X3D, 64 GB, Windows 11 (26300), driver 621.40. **Settings:** Series S, DLSS Quality, hardware ray tracing (`VICTORY_HW_RT=1`). **Build:** a local tree based on `v2026.11.30.03`, with some local settings and a few counters added (named below). The counters only count; they change nothing. ### 1. The flashing patches are the stand-in I made the stand-in opaque magenta instead of the 0x80 grey of `neutral_for`. This is a local diagnostic switch. With it, the white and grey patches seen while moving turned magenta. When the camera stands still, nothing shows. ### 2. What did not change them One change per run, at the same place, judged by eye: - **`VICTORY_SHOW_AFTER=0`:** the "neutral texture meanwhile" count of the show-after line went to 0, but the patches stayed. So the stand-in also comes from another path: the title writes a slot with a view of a texture that has no host copy yet (`waiting_texture`, then `later`, then `neutral_for`). `SHOW_AFTER` does not cover that path. - **`VICTORY_TEXTURE_ROOM_PERCENT=92` (instead of 88):** "no room for new ones" went from about 62,000 to about 31,000 a minute. No visible change. - **Frame generation off; DLSS off (the title's own upscaler); `VICTORY_LOD_SCALE=1` (0.3 in my tree):** no visible change. - **Other programs closed to free about 1.3 GB of VRAM:** the DXGI budget the layer reads stayed at 14,889 MB, so nothing changed in the layer's decisions. ### 3. How long slots waited, by the way their upload went A local counter measured the time from a slot asking for its texture to the slot showing it, in the magenta run (about 1 min 45 s): | way | slots | stand-in meanwhile | mean | over 33 ms | |---|---|---|---|---| | uploaded ahead (copy queue) | 75,777 | 75,333 | 0.7 ms | 307 | | uploaded in the list | 14,097 | 13,956 | 84 ms | 8,251 | The visible flashes match the second row. Why those slots were not uploaded ahead, counted in `draw.rs` just before `texture::ahead::take`: - **the host copy was not fresh:** 17,435 (already uploaded once, and the title rewrote its memory); - **also read through a table:** 5,719; - **turned down by `claim`:** 4,274. The largest reason there is `holds` being set, meaning the copy had already had an upload. The ahead path takes only the first upload of a fresh copy. That is by design: a copy that is already shown may still be read by lists in flight. ### 4. Possible directions (not tried) - Start the host copy and its upload when the title writes the slot, instead of at the first draw that reads it. - Upload into a new copy on the copy queue when the shown copy needs a re-upload, and flip the slot once the upload has run (renaming). The old image then stays until the new one is ready. - Put table-read slots on the same path. ### The black patches I see black patches too, and they did not turn magenta. The null-view fallback described above would fit, but I have no counter for it. I can share the counters as a PR (off by default), or run a build with a candidate fix on this machine. *(Measured on my PC; the write-up was drafted with Claude Code.)*
CLHelper commented 2026-12-01 16:34:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CLHelper on 2026-12-01T16:34:05Z.


A standing-still data point, and a code pointer for the re-upload row in Lorionlol's table.

RTX 4060 Laptop GPU (8 GB, driver 576.80), 32 GB, Windows 11; Series S, DLSS performance, frame generation and ray tracing off; a local diagnostics build on c71899d9e with the play defaults VICTORY_SHOW_AFTER=1 and VICTORY_KEEP_SHOWN=1. Two 200 s runs, the player standing still indoors at about 25 fps, one with VICTORY_TEXTURE_NO_WAIT=1 and one without. Per 5 s, from the report lines over the last ~70 s of each run:

TEXTURE_NO_WAIT=1 unset
textures uploaded 86-215 95-290
"the neutral texture meanwhile" (show-after line) ~2,800 ~3,200
slots shown after their upload ~2,500, 0.60-0.64 frames late on average, longest 3 ~2,700, 0.63-0.66, longest 6

So with nothing moving, show-after put the neutral texture into about 22-26 slots a frame, many more than the textures uploaded in that time (about 1-2 a frame). TEXTURE_NO_WAIT makes no difference here: its line read 0.0 refreshes left for the next frame and 0.0 first fillings a frame. The person watching saw textures blink while standing still in both runs; which slots the counts hit on screen was not checked.

A possible reason, from reading 5fabb46ea (not built or run with a change):

  • draw.rs:4750: late is show_after() and the slot not made from this view; it does not ask whether the texture is new.
  • The no-upload path (draw.rs:4839), the upload-ahead path (draw.rs:4863) and mirror_after (descriptor/host.rs:4369) each also ask crate::pool::fresh.
  • The upload path does not: draw.rs:4915 calls texture_slot_show_after for any late slot. A texture that was uploaded before and is uploaded again (Lorionlol's 17,435 "host copy was not fresh") therefore shows the neutral texture until its list has run, rather than its previous image.

If that is the path, asking pool::fresh there too would keep the previous image for re-uploads, as the other three paths do. That needs a check I have not done: the guard exists against device loss from textures made a moment ago, and Lorionlol notes that a copy that is already shown may still be read by lists in flight.

VICTORY_POP_WATCH saw no frames in these runs (our presents are composed, which the watch skips), so there is no blip count to add.

AI-assisted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7317820608 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7317820608). Originally posted by [CLHelper](https://github.com/CLHelper) on 2026-12-01T16:34:05Z. --- A standing-still data point, and a code pointer for the re-upload row in Lorionlol's table. RTX 4060 Laptop GPU (8 GB, driver 576.80), 32 GB, Windows 11; Series S, DLSS performance, frame generation and ray tracing off; a local diagnostics build on c71899d9e with the play defaults `VICTORY_SHOW_AFTER=1` and `VICTORY_KEEP_SHOWN=1`. Two 200 s runs, the player standing still indoors at about 25 fps, one with `VICTORY_TEXTURE_NO_WAIT=1` and one without. Per 5 s, from the report lines over the last ~70 s of each run: | | `TEXTURE_NO_WAIT=1` | unset | |---|---|---| | textures uploaded | 86-215 | 95-290 | | "the neutral texture meanwhile" (show-after line) | ~2,800 | ~3,200 | | slots shown after their upload | ~2,500, 0.60-0.64 frames late on average, longest 3 | ~2,700, 0.63-0.66, longest 6 | So with nothing moving, show-after put the neutral texture into about 22-26 slots a frame, many more than the textures uploaded in that time (about 1-2 a frame). `TEXTURE_NO_WAIT` makes no difference here: its line read 0.0 refreshes left for the next frame and 0.0 first fillings a frame. The person watching saw textures blink while standing still in both runs; which slots the counts hit on screen was not checked. A possible reason, from reading 5fabb46ea (not built or run with a change): - `draw.rs:4750`: `late` is `show_after()` and the slot not made from this view; it does not ask whether the texture is new. - The no-upload path (`draw.rs:4839`), the upload-ahead path (`draw.rs:4863`) and `mirror_after` (`descriptor/host.rs:4369`) each also ask `crate::pool::fresh`. - The upload path does not: `draw.rs:4915` calls `texture_slot_show_after` for any `late` slot. A texture that was uploaded before and is uploaded again (Lorionlol's 17,435 "host copy was not fresh") therefore shows the neutral texture until its list has run, rather than its previous image. If that is the path, asking `pool::fresh` there too would keep the previous image for re-uploads, as the other three paths do. That needs a check I have not done: the guard exists against device loss from textures made a moment ago, and Lorionlol notes that a copy that is already shown may still be read by lists in flight. `VICTORY_POP_WATCH` saw no frames in these runs (our presents are composed, which the watch skips), so there is no blip count to add. AI-assisted.
ffaddd-ddd commented 2026-12-01 16:56:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ffaddd-ddd on 2026-12-01T16:56:07Z.


Very close to the numbers in the opening post, on different hardware and a later build — with one part that differs enough to be worth a look.

AI use: DeepSeek (deepseek-v4.1-flash) prepared this from the reporter's log; every figure is quoted from it.

Session

GPU        RTX 4060 Laptop 8 GB (8188 MiB), driver 621.40 (32.0.16.2140)
CPU / RAM  Ryzen 9 7945HX, 32 GB
OS         Windows 11 23H2 22631.6199
Build      v2026.11.30.03, SHA-256 d178c927...fea3711
Settings   series-s 1280x720, DLSS off, frame generation off, cap 30
Session    11:13:44 - 16:11:42 (4 h 58 min), 232 MB of log, 689,882 lines, 0 crashes

The counters at the end of the run

slots that showed a texture and were written with another, since the start:
  1,034,776 of the same kind elsewhere,
      4,156 of another size,
    538,385 others,
 18,677,683 of another dimension;
    484,646 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN);
  moved ones checked: 480,711 with the same bytes kept, 554,334 with other bytes shown neutral
kind of rewrite count share
same kind elsewhere 1,034,776 5.1%
another size 4,156 0.0%
others 538,385 2.7%
another dimension 18,677,683 92.2%
total rewrites 20,255,000
of them kept what they showed 484,646 2.4%

Where this agrees, and where it does not

Agrees: the dominant kind is another dimension, by a wide margin — 92.2% here against 53.2% in the opening post. So this is not one machine's accident.

Does not agree, and I think this is the part worth reading: the opening post has 47.3% of rewrites keeping what they showed; this run has 2.4%. Same code path, same build family, an order of magnitude apart.

The two moved ones checked counters say why, or at least say where:

480,711  moved slots whose memories began and ended alike   -> kept
554,334  moved slots whose memories differed or were unreadable -> shown neutral

That is 53.5% / 46.5% — over half of the checked moves are judged "other bytes" and drop to the neutral texture. In this run that judgement is being made about a million times, and each one is a slot that shows neutral for however long the new upload takes. If uploads are being refused (see #4989: 0 of 141,063 admitted over 1.5 hours on this same session), the neutral stays a long time.

So on this PC the two issues may be one story: rewrites that cannot keep what they showed, plus uploads that are not admitted, and the surface stays neutral. That is the mechanism the opening post describes for the visible patches, and it would explain why they appear and disappear rather than staying wrong.

On the other hand, the picture is mostly right

To be fair to the build: over the same session the game ran at median 14.4 fps in world, 0.5% of samples under 10 fps, and no crash, and most surfaces looked correct. What I see is a smaller, sparser version of the opening post's patches: an occasional white prop (a held apple stays untextured), occasional flicker. Not the widespread patches described there.

What would help

  1. Is there a counter for how long a slot stays neutral after such a rewrite? If a slot goes neutral and the upload is then refused, the duration is unbounded — that is what I think I am seeing, and it is not visible from the rewrite counts alone.

  2. VICTORY_KEEP_SHOWN=2 is the only setting that can keep another dimension rewrites. The comment in descriptor/host.rs warns that it also matches a streamer reusing a slot for a different texture of the same size and format (rainbow-noise texels, another character's map). Given 92.2% of rewrites are this kind, is 2 expected to help more than it hurts on 8 GB, or is the answer that this kind must not be kept?

Logs

victory-nvidia-play-20261201-105533-61704.log (232 MB) is attached gzipped to #4989 on the same PC and session, together with a per-second CSV. Say the word and I will attach either here as well.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7318479354 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7318479354). Originally posted by [ffaddd-ddd](https://github.com/ffaddd-ddd) on 2026-12-01T16:56:07Z. --- Very close to the numbers in the opening post, on different hardware and a later build — with one part that differs enough to be worth a look. **AI use: DeepSeek (deepseek-v4.1-flash) prepared this from the reporter's log; every figure is quoted from it.** ## Session ``` GPU RTX 4060 Laptop 8 GB (8188 MiB), driver 621.40 (32.0.16.2140) CPU / RAM Ryzen 9 7945HX, 32 GB OS Windows 11 23H2 22631.6199 Build v2026.11.30.03, SHA-256 d178c927...fea3711 Settings series-s 1280x720, DLSS off, frame generation off, cap 30 Session 11:13:44 - 16:11:42 (4 h 58 min), 232 MB of log, 689,882 lines, 0 crashes ``` ## The counters at the end of the run ``` slots that showed a texture and were written with another, since the start: 1,034,776 of the same kind elsewhere, 4,156 of another size, 538,385 others, 18,677,683 of another dimension; 484,646 of them kept what they showed meanwhile (VICTORY_KEEP_SHOWN); moved ones checked: 480,711 with the same bytes kept, 554,334 with other bytes shown neutral ``` | kind of rewrite | count | share | |---|---|---| | same kind elsewhere | 1,034,776 | 5.1% | | another size | 4,156 | 0.0% | | others | 538,385 | 2.7% | | **another dimension** | **18,677,683** | **92.2%** | | total rewrites | **20,255,000** | | | **of them kept what they showed** | **484,646** | **2.4%** | ## Where this agrees, and where it does not **Agrees:** the dominant kind is `another dimension`, by a wide margin — 92.2% here against 53.2% in the opening post. So this is not one machine's accident. **Does not agree, and I think this is the part worth reading:** the opening post has **47.3%** of rewrites keeping what they showed; this run has **2.4%**. Same code path, same build family, an order of magnitude apart. The two `moved ones checked` counters say why, or at least say where: ``` 480,711 moved slots whose memories began and ended alike -> kept 554,334 moved slots whose memories differed or were unreadable -> shown neutral ``` That is 53.5% / 46.5% — over half of the checked moves are judged "other bytes" and drop to the neutral texture. In this run that judgement is being made about a million times, and each one is a slot that shows neutral for however long the new upload takes. **If uploads are being refused (see #4989: 0 of 141,063 admitted over 1.5 hours on this same session), the neutral stays a long time.** So on this PC the two issues may be one story: rewrites that cannot keep what they showed, plus uploads that are not admitted, and the surface stays neutral. That is the mechanism the opening post describes for the visible patches, and it would explain why they appear and disappear rather than staying wrong. ## On the other hand, the picture is mostly right To be fair to the build: over the same session the game ran at **median 14.4 fps in world, 0.5% of samples under 10 fps, and no crash**, and most surfaces looked correct. What I see is a smaller, sparser version of the opening post's patches: an occasional white prop (a held apple stays untextured), occasional flicker. Not the widespread patches described there. ## What would help 1. Is there a counter for **how long** a slot stays neutral after such a rewrite? If a slot goes neutral and the upload is then refused, the duration is unbounded — that is what I think I am seeing, and it is not visible from the rewrite counts alone. 2. `VICTORY_KEEP_SHOWN=2` is the only setting that can keep `another dimension` rewrites. The comment in `descriptor/host.rs` warns that it also matches a streamer reusing a slot for a different texture of the same size and format (rainbow-noise texels, another character's map). Given 92.2% of rewrites are this kind, is `2` expected to help more than it hurts on 8 GB, or is the answer that this kind must not be kept? ## Logs `victory-nvidia-play-20261201-105533-61704.log` (232 MB) is attached gzipped to **#4989** on the same PC and session, together with a per-second CSV. Say the word and I will attach either here as well.
transbinaryunicorn-sys commented 2026-12-01 17:28:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by transbinaryunicorn-sys on 2026-12-01T17:28:28Z.


In-game test of this PR against clean main. Short version: the flashing patches of #4859 look unchanged.

Setup: RTX 5090 32 GB, driver 615.78.08, Linux (Nobara) with GE-Proton11-14 (gabeparra's ntdll/wineserver patches) and vkd3d-proton master. Series X, 4K output, DLSS Performance, FG 3x, ray tracing off, upstream play defaults (VICTORY_PATCH_SSE4A=0). Normal release builds:

Both started from the same copied save and walked the same route, which is where the flashes show up (none while standing). The two builds share the translator fingerprint and the shader cache.

By eye: both flash: bright patches on trees, telephone poles and pieces of road while walking. I can't tell a difference; if anything P felt slightly worse. That's subjective.

Counters (slots that showed a texture and were written with another, end of each run):

same kind elsewhere another size others another dimension kept what they showed
R 99,909 921 21,606 597,564 (83.0 %) 2,193 (0.3 %)
P 99,970 809 22,397 626,824 (83.6 %) 1,731 (0.2 %)

That was expected, since the PR changes the shape of the null fallback, not how often the stand-in is shown. Notable for #4859: on this machine 83 % of rewrites land in "another dimension" (53–69 % in the reports there), so almost nothing can be kept and the gray stand-in shows. At dusk 0x80 gray reads as a bright flash on dark foliage and road.

If a part of that bucket is views whose dimension the classifier can't see (as noted in #4859), classifying those correctly so that VICTORY_KEEP_SHOWN can keep the old view might remove most of the flashes. I'm looking into that next.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7319355859 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7319355859). Originally posted by [transbinaryunicorn-sys](https://github.com/transbinaryunicorn-sys) on 2026-12-01T17:28:28Z. --- In-game test of this PR against clean `main`. Short version: **the flashing patches of #4859 look unchanged.** **Setup:** RTX 5090 32 GB, driver 615.78.08, Linux (Nobara) with GE-Proton11-14 (gabeparra's ntdll/wineserver patches) and vkd3d-proton master. Series X, 4K output, DLSS Performance, FG 3x, ray tracing off, upstream play defaults (`VICTORY_PATCH_SSE4A=0`). Normal release builds: - **R:** `main` 5fabb46e - **P:** `main` + this PR (35b8b3e8) Both started from the same copied save and walked the same route, which is where the flashes show up (none while standing). The two builds share the translator fingerprint and the shader cache. **By eye:** both flash: bright patches on trees, telephone poles and pieces of road while walking. I can't tell a difference; if anything P felt slightly worse. That's subjective. **Counters** (`slots that showed a texture and were written with another`, end of each run): | | same kind elsewhere | another size | others | another dimension | kept what they showed | |---|---|---|---|---|---| | R | 99,909 | 921 | 21,606 | **597,564 (83.0 %)** | 2,193 (0.3 %) | | P | 99,970 | 809 | 22,397 | **626,824 (83.6 %)** | 1,731 (0.2 %) | That was expected, since the PR changes the shape of the null fallback, not how often the stand-in is shown. Notable for #4859: on this machine **83 %** of rewrites land in "another dimension" (53–69 % in the reports there), so almost nothing can be kept and the gray stand-in shows. At dusk 0x80 gray reads as a bright flash on dark foliage and road. If a part of that bucket is views whose dimension the classifier can't see (as noted in #4859), classifying those correctly so that `VICTORY_KEEP_SHOWN` can keep the old view might remove most of the flashes. I'm looking into that next.
transbinaryunicorn-sys commented 2026-12-01 17:55:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by transbinaryunicorn-sys on 2026-12-01T17:55:19Z.


Workaround that removes the flashing here: VICTORY_KEEP_SHOWN=2. And a measurement that changes what the "another dimension" share means.

Setup: RTX 5090, Linux (GE-Proton11-14, vkd3d-proton master), clean main 5fabb46e, normal release build, upstream play defaults, ray tracing off. Same copied save and the same walking route every run. The flashes (bright patches on trees, poles and road pieces) only happen while moving.

1. What "another dimension" actually is. I added a local counter (measurement only) that splits Kin::None by cause. Of 480,000 such rewrites in one run:

cause count share
new view is a placed buffer view 202,140 42 %
new view has no texture dimension (not a texture) 268,839 56 %
of these: a resource view with its default description 0 0 %
texture → texture of another dimension (2D ↔ array etc.) ~9,000 ~2 %

Most common (old → new SRV dimension): 1→0 215,806, 4→0 (Texture2D → no texture) 179,666, 2→0 51,081. So on this machine the big bucket is almost entirely slots the title switches from a texture to a buffer. Nothing can or should be kept there, and it is not where the flashes come from. The default-description misclassification does not occur here.

2. Where the flashes come from: "others", i.e. another texture of the same dimension, which the default (checked) does not keep.

run (clean main) kept what they showed others flashing
default (checked) ~1,500–2,200 ~23,000 constant while walking
VICTORY_KEEP_SHOWN=2 409,432 209,090 gone

With =2, now and then a texture visibly switches from gray, or one nearby looks briefly not quite right. That's the documented risk of keeping "others". By eye it is far less noticeable than the constant flashing. On this setup the trade-off clearly favours =2 (maybe as the default, or keeping "others" only when format and size match?).

Follow-up with a back-to-back check on the same clean build (main 5fabb46e, upstream defaults, ray tracing off, same save and walking route), only VICTORY_KEEP_SHOWN changed:

run kept what they showed others flashing while walking
VICTORY_KEEP_SHOWN=checked (default) 1,358 17,340 yes, constantly
VICTORY_KEEP_SHOWN=2 409,432 209,090 none

The flashes come back as soon as the default is restored and are gone again with =2. So on this machine (RTX 5090, Linux) the flashes are the gray stand-in shown for "others" rewrites (another texture of the same dimension), which checked doesn't keep. The side effect of =2 is the one documented in the code: now and then a texture visibly switches from gray, or one nearby is briefly not quite right. By eye that's much less noticeable than the flashing.

For actually playing, this is a game changer: the occasional texture switching from gray is far less annoying than the constant flashing while walking.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7320066750 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7320066750). Originally posted by [transbinaryunicorn-sys](https://github.com/transbinaryunicorn-sys) on 2026-12-01T17:55:19Z. --- **Workaround that removes the flashing here: `VICTORY_KEEP_SHOWN=2`.** And a measurement that changes what the "another dimension" share means. **Setup:** RTX 5090, Linux (GE-Proton11-14, vkd3d-proton master), clean `main` 5fabb46e, normal release build, upstream play defaults, ray tracing off. Same copied save and the same walking route every run. The flashes (bright patches on trees, poles and road pieces) only happen while moving. **1. What "another dimension" actually is.** I added a local counter (measurement only) that splits `Kin::None` by cause. Of 480,000 such rewrites in one run: | cause | count | share | |---|---|---| | new view is a placed **buffer** view | 202,140 | 42 % | | new view has no texture dimension (not a texture) | 268,839 | 56 % | | of these: a resource view with its default description | **0** | 0 % | | texture → texture of another dimension (2D ↔ array etc.) | ~9,000 | ~2 % | Most common (old → new SRV dimension): `1→0` 215,806, `4→0` (Texture2D → no texture) 179,666, `2→0` 51,081. So on this machine the big bucket is almost entirely slots the title switches **from a texture to a buffer**. Nothing can or should be kept there, and it is not where the flashes come from. The default-description misclassification does not occur here. **2. Where the flashes come from:** "others", i.e. another texture of the same dimension, which the default (`checked`) does not keep. | run (clean main) | kept what they showed | others | flashing | |---|---|---|---| | default (`checked`) | ~1,500–2,200 | ~23,000 | constant while walking | | `VICTORY_KEEP_SHOWN=2` | **409,432** | 209,090 | **gone** | With `=2`, now and then a texture visibly switches from gray, or one nearby looks briefly not quite right. That's the documented risk of keeping "others". By eye it is far less noticeable than the constant flashing. On this setup the trade-off clearly favours `=2` (maybe as the default, or keeping "others" only when format and size match?). Follow-up with a back-to-back check on the **same clean build** (`main` 5fabb46e, upstream defaults, ray tracing off, same save and walking route), only `VICTORY_KEEP_SHOWN` changed: | run | kept what they showed | others | flashing while walking | |---|---|---|---| | `VICTORY_KEEP_SHOWN=checked` (default) | 1,358 | 17,340 | **yes, constantly** | | `VICTORY_KEEP_SHOWN=2` | 409,432 | 209,090 | **none** | The flashes come back as soon as the default is restored and are gone again with `=2`. So on this machine (RTX 5090, Linux) the flashes are the gray stand-in shown for "others" rewrites (another texture of the same dimension), which `checked` doesn't keep. The side effect of `=2` is the one documented in the code: now and then a texture visibly switches from gray, or one nearby is briefly not quite right. By eye that's much less noticeable than the flashing. For actually playing, this is a game changer: the occasional texture switching from gray is far less annoying than the constant flashing while walking.
nick0451 commented 2026-12-01 18:39:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-12-01T18:39:44Z.


One more data point on the trade-off of VICTORY_KEEP_SHOWN=2, now the victory play default (f4a8eeeb). It's a wrong texture that wasn't brief.

Setup: RTX 3090 24 GB, driver 610.88, Series S, DLSS performance, ray tracing off. Main 5fabb46e + #4694, with VICTORY_KEEP_SHOWN=2 and VICTORY_SHADER_OPT=445, off-screen, a scripted walk from a city save, one screenshot a minute.

What it showed: at the start, a new-model SUV parked beside the player had its normal clean dark-grey body. Later the walk ended in a parking lot, where an SUV of the same model had a rusty, blocky red-orange patchwork over its whole body, like a low-resolution texture from something else. It is still wrong in the shots at 4.7 and 14.3 minutes, so it lasted at least 9.5 minutes, with the camera still. The player confirmed this model has no such variant in the game.

What I can't say: this was one run, and there's no run of the same scene with checked. So it isn't proven that 2 caused it; a slot showing the wrong texture for want of the right one would look the same either way. It does fit "keep what was shown until the new one has uploaded": if the new texture never uploads, the kept one stays. The texture-slot line in that log might show it; I can look for the slot if that helps. I have the frames, and can attach a cropped one if a picture is wanted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321294829 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4859#issuecomment-7321294829). Originally posted by [nick0451](https://github.com/nick0451) on 2026-12-01T18:39:44Z. --- One more data point on the trade-off of `VICTORY_KEEP_SHOWN=2`, now the `victory play` default (`f4a8eeeb`). It's a wrong texture that wasn't brief. **Setup:** RTX 3090 24 GB, driver 610.88, Series S, DLSS performance, ray tracing off. Main `5fabb46e` + #4694, with `VICTORY_KEEP_SHOWN=2` and `VICTORY_SHADER_OPT=445`, off-screen, a scripted walk from a city save, one screenshot a minute. **What it showed:** at the start, a new-model SUV parked beside the player had its normal clean dark-grey body. Later the walk ended in a parking lot, where an SUV of the same model had a **rusty, blocky red-orange patchwork** over its whole body, like a low-resolution texture from something else. It is still wrong in the shots at 4.7 and 14.3 minutes, so it lasted at least 9.5 minutes, with the camera still. The player confirmed this model has no such variant in the game. **What I can't say:** this was one run, and there's no run of the same scene with `checked`. So it isn't proven that `2` caused it; a slot showing the wrong texture for want of the right one would look the same either way. It does fit "keep what was shown until the new one has uploaded": if the new texture never uploads, the kept one stays. The texture-slot line in that log might show it; I can look for the slot if that helps. I have the frames, and can attach a cropped one if a picture is wanted.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#4859
No description provided.