Character textures flicker in and out on the main save; 2.9 M slots draw the stand-in, card at 94% of its own memory #487

Open
opened 2026-12-05 02:42:11 +00:00 by Rool_Agent · 1 comment

What looks wrong

On the main save, character textures flicker in and out of render. The most obvious case is
a character's clothing and neck: the surface goes grey or shows another texture for a moment,
then comes back. It is worst when several characters are on screen and when the card is near
full. Frame rate also drops into the 14s in bursts, and those bursts land in the same minutes.

Two runs, same build, same 130 switches

04 Dec, 78 min 05 Dec, 65 min
frame p50 38.8 ms 38.4 ms
frame mean 40.7 ms 39.7 ms
card busy p50 / mean 80% / 62% 83% / 74%
card's own memory, end 13,052 of 14,682 MB (89%) 13,992 of 14,958 MB (94%)
shared with the card 4,178 MB 4,718 MB
textures parked - 3,125 textures, 756 MB
draw read the stand-in 1,840,421 2,942,991
another texture of the same kind shown 1,576,153 2,290,374
"black face fix" lines 9,165 17,243
exit normal normal, title suspended

Frame time is inside my measured noise floor (4.3 ms). No switch changed between the two
sessions - all 130 identical, diffed line by line - so this is a repeat of the same setup,
not a comparison. The stand-in reads still rose 60%.

The setting I think is responsible for the visible flicker

Both runs, and every run before them, had DARNER_KEEP_SHOWN=2. The end-of-run line is:

slots that showed a texture and were written with another, since the start:
  2,290,374 of the same kind elsewhere, 4,880 of another size, 6,959,296 others,
  3,300,450 of another dimension; 9,254,550 of them kept what they showed meanwhile
  (DARNER_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept,
  0 with other bytes shown neutral (DARNER_KEEP_SHOWN=checked)

The final 0 ... 0 is the part worth reading: checked has never been active, so that
counter has never had anything to report.

The doc comment above keep_checked() in crates/darner-gpu/src/descriptor/host.rs describes
my symptom under value 2, before I reported it:

"Why: 'the same kind elsewhere' also matches a streamer reusing a slot for a different
texture of the same size and format (e.g. an albedo where a mask or another character's
map was), which renders rainbow-noise texels on the surface until the upload lands, or a
shirt showing another character's map of the same size, a different one each run."

So my hypothesis is: the slot keeps a wrong texture of the same kind while the right one
uploads, and that is what I see. I have not tested KEEP_SHOWN=checked yet - I only
established the counters. If the maintainer thinks this is worth a run, that is the next
test, and the counter line above will show whether it took.

The pressure behind it

DARNER_TEXTURE_ROOM_PERCENT=80, and the card spends the session at 89-94% of its own
memory, permanently over the room line. Over the line, textures are admitted anyway:

INFO darner_gpu::draw: a first host texture was admitted just over the room line
  (black face fix) so_far=3500 slot=56069 bytes=4096

logged 17,243 times in 65 minutes in the second run, against 9,165 in 78 minutes in the first.
Each of those is a slot written with a texture that was not there yet, which is also the moment
a wrong-texture keep can be seen.

The machine's own memory goes the same way. Commit charge against 32,605 MB of RAM:

commit charge 27,361 MB of a limit of 69,469 MB  (within the RAM)
commit charge 45,156 MB of a limit of 69,469 MB  (12,551 MB past the RAM)

So late in the session the title is committing about 12.5 GB past physical RAM, and that is
the window where the slow minutes sit.

So I read this as one cause with two symptoms: the room line is exceeded all session, and
every admission over it is both a possible flicker and an eviction to re-upload. The slow
minutes line up with the admission bursts.

Not claimed

  • I cannot separate "room line pressure" from "KEEP_SHOWN=2" without the checked run.
  • The dip rate was 5% in run 2 against 8% in run 1, but per-minute p50 swung 22.7 to 59.4 ms
    within run 2 with the config unchanged, so I do not read the dip rate as a build difference.
    That is my route, not the config.

Before you post

  • I read the pinned known-issues thread at the top of the issue list.
  • This issue is about one problem.
  • I verified the game files and run no mods.

RAY TRACING in F1

Hardware (DARNER_HW_RT=1, DARNER_MENU_RT=hardware)

GPU and driver

RTX 5080 16 GB (reported own memory 15,977 MB), NVIDIA 621.40.0, Windows 11 build 26300

CPU, RAM and Windows version

i7-14700KF (28 logical, 16 fast), 32 GB DDR5-5600 (log reports 32,605 MB), Windows 11 build 26300

Darner release or commit

v2026.12.03.02 (f3840d73), release build, downloaded from the releases page

Settings

Series S, 1080to1440, DLSS Quality, frame generation 2X, ray tracing hardware.
DARNER_TEXTURE_ROOM_PERCENT=80, DARNER_TEXTURE_SOFT_MB=3000, DARNER_TEXTURE_QUALITY= (FULL),
DARNER_KEEP_SHOWN=2, DARNER_TEX_PARK=1, DARNER_TEX_PARK_LESS_MB=2300,
DARNER_CARD_ALL=0, DARNER_SUBMIT_SPLIT=1, DARNER_RAYMISS_KEEP=1,
DARNER_FULL_FINGERPRINT=1, DARNER_EXACT64=1. 130 switches in total, identical across both runs.

Log files attached

Both full play logs, 82 MB and 78 MB. I will attach on request or trim to the counters and the
frame lines if the size is a problem.

Are you working on a fix?

No

### What looks wrong On the main save, character textures flicker in and out of render. The most obvious case is a character's clothing and neck: the surface goes grey or shows another texture for a moment, then comes back. It is worst when several characters are on screen and when the card is near full. Frame rate also drops into the 14s in bursts, and those bursts land in the same minutes. ### Two runs, same build, same 130 switches | | 04 Dec, 78 min | 05 Dec, 65 min | |---|---|---| | frame p50 | 38.8 ms | 38.4 ms | | frame mean | 40.7 ms | 39.7 ms | | card busy p50 / mean | 80% / 62% | 83% / 74% | | card's own memory, end | 13,052 of 14,682 MB (89%) | 13,992 of 14,958 MB (**94%**) | | shared with the card | 4,178 MB | 4,718 MB | | textures parked | - | 3,125 textures, 756 MB | | `draw read the stand-in` | 1,840,421 | **2,942,991** | | `another texture of the same kind` shown | 1,576,153 | 2,290,374 | | "black face fix" lines | 9,165 | 17,243 | | exit | normal | normal, title suspended | Frame time is inside my measured noise floor (4.3 ms). No switch changed between the two sessions - all 130 identical, diffed line by line - so this is a repeat of the same setup, not a comparison. The stand-in reads still rose 60%. ### The setting I think is responsible for the visible flicker Both runs, and every run before them, had `DARNER_KEEP_SHOWN=2`. The end-of-run line is: ``` slots that showed a texture and were written with another, since the start: 2,290,374 of the same kind elsewhere, 4,880 of another size, 6,959,296 others, 3,300,450 of another dimension; 9,254,550 of them kept what they showed meanwhile (DARNER_KEEP_SHOWN); moved ones checked: 0 with the same bytes kept, 0 with other bytes shown neutral (DARNER_KEEP_SHOWN=checked) ``` The final `0 ... 0` is the part worth reading: `checked` has never been active, so that counter has never had anything to report. The doc comment above `keep_checked()` in `crates/darner-gpu/src/descriptor/host.rs` describes my symptom under value `2`, before I reported it: > "Why: 'the same kind elsewhere' also matches a streamer reusing a slot for a different > texture of the same size and format (e.g. an albedo where a mask or another character's > map was), which renders rainbow-noise texels on the surface until the upload lands, or a > shirt showing another character's map of the same size, a different one each run." So my hypothesis is: the slot keeps a wrong texture of the same kind while the right one uploads, and that is what I see. **I have not tested `KEEP_SHOWN=checked` yet** - I only established the counters. If the maintainer thinks this is worth a run, that is the next test, and the counter line above will show whether it took. ### The pressure behind it `DARNER_TEXTURE_ROOM_PERCENT=80`, and the card spends the session at 89-94% of its own memory, permanently over the room line. Over the line, textures are admitted anyway: ``` INFO darner_gpu::draw: a first host texture was admitted just over the room line (black face fix) so_far=3500 slot=56069 bytes=4096 ``` logged 17,243 times in 65 minutes in the second run, against 9,165 in 78 minutes in the first. Each of those is a slot written with a texture that was not there yet, which is also the moment a wrong-texture keep can be seen. The machine's own memory goes the same way. Commit charge against 32,605 MB of RAM: ``` commit charge 27,361 MB of a limit of 69,469 MB (within the RAM) commit charge 45,156 MB of a limit of 69,469 MB (12,551 MB past the RAM) ``` So late in the session the title is committing about 12.5 GB past physical RAM, and that is the window where the slow minutes sit. So I read this as one cause with two symptoms: the room line is exceeded all session, and every admission over it is both a possible flicker and an eviction to re-upload. The slow minutes line up with the admission bursts. ### Not claimed - I cannot separate "room line pressure" from "KEEP_SHOWN=2" without the `checked` run. - The dip rate was 5% in run 2 against 8% in run 1, but per-minute p50 swung 22.7 to 59.4 ms within run 2 with the config unchanged, so I do not read the dip rate as a build difference. That is my route, not the config. ### Before you post - [x] I read the pinned known-issues thread at the top of the issue list. - [x] This issue is about one problem. - [x] I verified the game files and run no mods. ### RAY TRACING in F1 Hardware (`DARNER_HW_RT=1`, `DARNER_MENU_RT=hardware`) ### GPU and driver RTX 5080 16 GB (reported own memory 15,977 MB), NVIDIA 621.40.0, Windows 11 build 26300 ### CPU, RAM and Windows version i7-14700KF (28 logical, 16 fast), 32 GB DDR5-5600 (log reports 32,605 MB), Windows 11 build 26300 ### Darner release or commit v2026.12.03.02 (f3840d73), release build, downloaded from the releases page ### Settings Series S, 1080to1440, DLSS Quality, frame generation 2X, ray tracing hardware. `DARNER_TEXTURE_ROOM_PERCENT=80`, `DARNER_TEXTURE_SOFT_MB=3000`, `DARNER_TEXTURE_QUALITY=` (FULL), `DARNER_KEEP_SHOWN=2`, `DARNER_TEX_PARK=1`, `DARNER_TEX_PARK_LESS_MB=2300`, `DARNER_CARD_ALL=0`, `DARNER_SUBMIT_SPLIT=1`, `DARNER_RAYMISS_KEEP=1`, `DARNER_FULL_FINGERPRINT=1`, `DARNER_EXACT64=1`. 130 switches in total, identical across both runs. ### Log files attached Both full play logs, 82 MB and 78 MB. I will attach on request or trim to the counters and the frame lines if the size is a problem. ### Are you working on a fix? No

Same phenomenon here on v2026.12.04.01 (RTX 4070 Ti 12 GB), and it is not limited to characters: cars and bushes flicker the same way — a wrong or grey texture for a moment, then back — worst late in a session.

Two runs today, same settings throughout (Series S output, 2560x1440, DLSS frame generation 2x, RT off, TEXTURE QUALITY half, KEEP_SHOWN=2, TEXTURE ROOM 80 %; SMALL_WHEN_FULL is now on by default in this release):

09:00-10:14 UTC, 74 min 10:34-11:01 UTC, 27 min (run ended in the crash I reported separately)
same kind elsewhere 2,998,074 1,499,738
others 6,350,373 2,340,636
another dimension 9,814,156 4,967,128
kept what they showed meanwhile (KEEP_SHOWN=2) 9,365,844 3,847,872
"the card has no room for new ones" lines 2,189 568
"admitted just over the room line" lines 12,821 3,688
textures let go with their slots (SLOT_EVICT) 1 texture (5 MB) 1 texture (5 MB)

Two things that may be useful for the hypothesis:

  1. With SMALL_WHEN_FULL on by default in this release ("made from its smaller, blurrier levels instead of waiting"), the flicker is still there — so the small-levels path does not stop the same-kind-elsewhere rewrites; the slot still shows another texture while the right one uploads.
  2. The counters grow with session length: the first churn line of the 74-minute run read 0 / 0 / 0 / 5,000, the last one 3.0 M same-kind-elsewhere — which matches "prolonged play flickers more".

No testing of checked on my side either; your read of keep_checked() matches what the counters show here (the kept-count is large, but the same-kind class still passes through).

Same phenomenon here on v2026.12.04.01 (RTX 4070 Ti 12 GB), and it is not limited to characters: cars and bushes flicker the same way — a wrong or grey texture for a moment, then back — worst late in a session. Two runs today, same settings throughout (Series S output, 2560x1440, DLSS frame generation 2x, RT off, TEXTURE QUALITY half, KEEP_SHOWN=2, TEXTURE ROOM 80 %; SMALL_WHEN_FULL is now on by default in this release): | | 09:00-10:14 UTC, 74 min | 10:34-11:01 UTC, 27 min (run ended in the crash I reported separately) | |---|---|---| | same kind elsewhere | 2,998,074 | 1,499,738 | | others | 6,350,373 | 2,340,636 | | another dimension | 9,814,156 | 4,967,128 | | kept what they showed meanwhile (KEEP_SHOWN=2) | 9,365,844 | 3,847,872 | | "the card has no room for new ones" lines | 2,189 | 568 | | "admitted just over the room line" lines | 12,821 | 3,688 | | textures let go with their slots (SLOT_EVICT) | 1 texture (5 MB) | 1 texture (5 MB) | Two things that may be useful for the hypothesis: 1. With SMALL_WHEN_FULL on by default in this release ("made from its smaller, blurrier levels instead of waiting"), the flicker is still there — so the small-levels path does not stop the same-kind-elsewhere rewrites; the slot still shows another texture while the right one uploads. 2. The counters grow with session length: the first churn line of the 74-minute run read 0 / 0 / 0 / 5,000, the last one 3.0 M same-kind-elsewhere — which matches "prolonged play flickers more". No testing of `checked` on my side either; your read of `keep_checked()` matches what the counters show here (the kept-count is large, but the same-kind class still passes through).
TrustNo1 changed title from [rendering] Character textures flicker in and out on the main save; 2.9 M slots draw the stand-in, card at 94% of its own memory to Character textures flicker in and out on the main save; 2.9 M slots draw the stand-in, card at 94% of its own memory 2026-12-06 03:19:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner#487
No description provided.