[rendering] All tree leaves vanish for one frame, then come back (repeats while playing) #135

Open
opened 2026-12-03 22:32:29 +00:00 by Tymon3kk · 4 comments

What looks wrong

While playing (on foot and while driving), the leaves of every tree on screen disappear at once for about one game frame: trunks and branches stay, palms are bare, the red flowers are gone. Low bushes and grass stay. The next frame everything is back. It repeats every so often, anywhere with trees. It also happened on the older VIctory builds.

Seen at about 22:16:39 UTC in the attached log (frame generation was OFF in that run, so these are not generated frames). The log shows 0 dropped draws and 0 SLOT_EVICT evictions around that time. A 4090 player I watched did not see this, so it may depend on timing (8-thread CPU here).

Screenshot: before / during / after.

GPU and driver

RTX 5070 Ti 16 GB, driver 621.40

CPU, RAM and Windows version

Ryzen 7 9800X3D (SMT off, 8 threads), 32 GB, Windows 11 Pro 26200

Darner release or commit

v2026.12.03.01 (built from tag bd0de0c)

Settings

Series X, 2560x1440, DLSS Balanced, frame generation off, ray tracing off, TEXTURE QUALITY high, everything else play defaults.

Logs

darner-play-20261203-221349-8784

Are you working on a fix?

No

### What looks wrong While playing (on foot and while driving), the leaves of every tree on screen disappear at once for about one game frame: trunks and branches stay, palms are bare, the red flowers are gone. Low bushes and grass stay. The next frame everything is back. It repeats every so often, anywhere with trees. It also happened on the older VIctory builds. Seen at about 22:16:39 UTC in the attached log (frame generation was OFF in that run, so these are not generated frames). The log shows 0 dropped draws and 0 SLOT_EVICT evictions around that time. A 4090 player I watched did not see this, so it may depend on timing (8-thread CPU here). Screenshot: before / during / after. ### GPU and driver RTX 5070 Ti 16 GB, driver 621.40 ### CPU, RAM and Windows version Ryzen 7 9800X3D (SMT off, 8 threads), 32 GB, Windows 11 Pro 26200 ### Darner release or commit v2026.12.03.01 (built from tag bd0de0c) ### Settings Series X, 2560x1440, DLSS Balanced, frame generation off, ray tracing off, TEXTURE QUALITY high, everything else play defaults. ### Logs [darner-play-20261203-221349-8784](/attachments/719a8114-6ca0-484d-81ba-6765ae173dfa) ### Are you working on a fix? No
Contributor

I get the same thing on an RTX 5080 (Ryzen 7 5800X3D, 8 cores, 32 GB, Windows 11), Series S profile, DLSS balanced at 1113x626, ray tracing off, a local build at main 57dea7f: for one frame every palm and island tree is gone, and at other times the main character gets a dark patch or stretched bits for one frame. Frame generation on shows the same.

It follows DARNER_CARD_STEPS. Counted with a capture of the window at about 25 frames a second (a frame that differs from both its neighbours in a block of the picture, while the neighbours agree, counts as one), standing still by day, 308 s a run:

  • default (DARNER_CARD_STEPS=2): 13 and 16 glitch frames; 17 with the stock scripts\play-nvidia.ps1 -SeriesS settings
  • DARNER_CARD_STEPS=0: 0, 1 and 1
  • DARNER_CARD_STEPS=1: still there (3 in 72 s, against 9 and 12 with 2)
  • DARNER_CARD_STEPS_LEARN=1: 2 (224 pages learned, 2.96 submissions waited a frame)
  • DARNER_CARD_STEPS_LEARN=1 with DARNER_LATE_FILLS=1: the picture goes black and blown-out white from frame to frame (733 glitch frames, 705 of them the whole frame; 29 pages learned)
  • no help: DARNER_INDIRECT_BATCH=1 with DARNER_INDIRECT_WINDOW=0, DARNER_CARD_ALL=0, DARNER_UPLOAD_AHEAD=0 with DARNER_PRELUDE_UPLOADS=0, DARNER_COPIES_IN_PLACE=0, DARNER_CARD_FORWARD=1. DARNER_WC_NO_BACK=0 makes it much worse (76 in 72 s).

Cost here, two alternated pairs of 150 s: DARNER_CARD_STEPS=0 is +4.97 ms a frame (+-0.34), 24.9 and 24.0 fps against 27.3 and 28.3. DARNER_CARD_STEPS_LEARN=1 costs about the same on this PC.

It matches the note in host/card_steps.rs (mod late): the game writes some constant buffers again after sending the list that reads them. For anyone who wants it gone today: DARNER_CARD_STEPS=0 (F1: ADVANCED > CARD STEPS), at about 13 % fps here. I am not working on a fix. I can attach the logs and the captured frames of any of these runs.

I get the same thing on an RTX 5080 (Ryzen 7 5800X3D, 8 cores, 32 GB, Windows 11), Series S profile, DLSS balanced at 1113x626, ray tracing off, a local build at main 57dea7f: for one frame every palm and island tree is gone, and at other times the main character gets a dark patch or stretched bits for one frame. Frame generation on shows the same. It follows `DARNER_CARD_STEPS`. Counted with a capture of the window at about 25 frames a second (a frame that differs from both its neighbours in a block of the picture, while the neighbours agree, counts as one), standing still by day, 308 s a run: - default (`DARNER_CARD_STEPS=2`): 13 and 16 glitch frames; 17 with the stock `scripts\play-nvidia.ps1 -SeriesS` settings - `DARNER_CARD_STEPS=0`: 0, 1 and 1 - `DARNER_CARD_STEPS=1`: still there (3 in 72 s, against 9 and 12 with 2) - `DARNER_CARD_STEPS_LEARN=1`: 2 (224 pages learned, 2.96 submissions waited a frame) - `DARNER_CARD_STEPS_LEARN=1` with `DARNER_LATE_FILLS=1`: the picture goes black and blown-out white from frame to frame (733 glitch frames, 705 of them the whole frame; 29 pages learned) - no help: `DARNER_INDIRECT_BATCH=1` with `DARNER_INDIRECT_WINDOW=0`, `DARNER_CARD_ALL=0`, `DARNER_UPLOAD_AHEAD=0` with `DARNER_PRELUDE_UPLOADS=0`, `DARNER_COPIES_IN_PLACE=0`, `DARNER_CARD_FORWARD=1`. `DARNER_WC_NO_BACK=0` makes it much worse (76 in 72 s). Cost here, two alternated pairs of 150 s: `DARNER_CARD_STEPS=0` is +4.97 ms a frame (+-0.34), 24.9 and 24.0 fps against 27.3 and 28.3. `DARNER_CARD_STEPS_LEARN=1` costs about the same on this PC. It matches the note in `host/card_steps.rs` (`mod late`): the game writes some constant buffers again after sending the list that reads them. For anyone who wants it gone today: `DARNER_CARD_STEPS=0` (F1: ADVANCED > CARD STEPS), at about 13 % fps here. I am not working on a fix. I can attach the logs and the captured frames of any of these runs.

Another PC, and a different result: here DARNER_CARD_STEPS=0 and DARNER_CARD_STEPS_LEARN=1 both made one-frame character glitches about three times as frequent, not fewer, with the Series X profile. With Series S there were none to begin with, and =0 cost about 4.8 ms a frame, close to the +4.97 ms above. The scene has no trees, so it may be a different glitch from the leaves.

PC: RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores, 24 threads), 32 GB, Windows 11 Home 26200. Build: v2026.12.03.02 (f3840d7), a diagnostics build (cargo build --profile diag -p darner --features diagnostics), because the flicker detector is only in those. Settings: 4K output, DLSS Performance, frame generation 2x, ray tracing off; Series X, or Series S with its scene at 720.
Method: scripts/bench.ps1 -Flicker -RayTracing off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0, on the same copied save each run (the opening cinematic from its first frame, no input). The switch goes in with -Switches; the summary's effective list and the log (placement switches set: ... DARNER_CARD_STEPS=N, and learned lines for _LEARN) confirm it. DARNER_FLICKER_DETECT=1 counts a "flicker" when 3 or more of 16x9 tiles change and come back on the next present, and a "black" when 2 or more tiles go black for one or two presents.

profile switch fps ms a frame p99 flicker black
Series X default (CARD_STEPS=2), A1 / A2 26.1 / 26.4 38.3 / 37.9 84.7 / 81.0 ms 27 / 35 10 / 8
Series X DARNER_CARD_STEPS=0, B1 / B2 25.5 / 25.0 39.2 / 40.0 73.0 / 76.3 ms 94 / 119 24 / 36
Series X DARNER_CARD_STEPS=1, two runs 26.25 / 26.2 38.1 / 38.2 116 / 73.4 ms 29 / 28 9 / 12
Series X DARNER_CARD_STEPS_LEARN=1, two runs 25.45 / 25.45 39.3 / 39.3 86.4 / 87.6 ms 80 / 104 26 / 27
Series S default, A1 / A2 36.2 / 36.6 27.6 / 27.3 63.6 / 61.3 ms 0 / 0 0 / 0
Series S DARNER_CARD_STEPS=0, B1 / B2 30.5 / 31.4 32.8 / 31.8 61.1 / 61.2 ms 0 / 1 0 / 1

The Series X default and =0 runs were A B B A; then =1 and _LEARN=1 alternated; then Series S A B B A. Four earlier Series X runs of the same build and scene at the default (two of them with DARNER_THIN_HEAP_ORDER=0, for #193) had 24-42 flicker and 11-14 black.

What the events are. The detector keeps the frames of each run's first 40 events. In the Series X runs I looked at (one default, one =0, one _LEARN=1), most of them show one character's clothes going dark for one frame: a white shirt, a grey hoodie or a jacket turns black, then is back on the next present. That sounds like "the main character gets a dark patch" from the comment above. Counted from the flicker: lines, the default runs have most of their events in one dialogue scene (24 and 30 between 55 and 100 s into the window, 5 and 8 elsewhere). The =0 runs have about twice as many in that scene (50 and 48) and many more outside it (50 and 77), for example on the jacket of a character standing at a window.

Cost of turning it off: with Series X about 1.5 ms a frame (38.1 against 39.6 ms, two runs each), and with Series S about 4.8 ms (27.5 against 32.3 ms). _LEARN=1 with Series X cost about the same as =0.

So on this PC, DARNER_CARD_STEPS=0 doesn't work around the character flashes. With Series X it makes them more frequent, and with Series S it costs fps without anything to fix in this scene. =1 behaved like the default. That doesn't contradict the trees: the cinematic has no foliage in view, and I haven't tested standing among trees. Series S showing nothing here also differs from the comment above, where Series S showed them on an 8-core CPU. That could be the CPU (8 threads against 24), the scene, or both. I haven't tested which.

Not checked: outdoors with trees, frame generation off, the release build (it has no flicker detector), other Series S scene sizes. Two runs per setting.

Logs attached: darner-issue-135-logs.zip, the twelve runs' logs and bench.ps1 summaries, and the summaries of the four earlier default runs. The event frames the detector kept aren't included: they're the game's pixels. User and PC names are replaced.

Another PC, and a different result: here `DARNER_CARD_STEPS=0` and `DARNER_CARD_STEPS_LEARN=1` both made one-frame character glitches about three times as frequent, not fewer, with the Series X profile. With Series S there were none to begin with, and `=0` cost about 4.8 ms a frame, close to the +4.97 ms above. The scene has no trees, so it may be a different glitch from the leaves. **PC:** RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores, 24 threads), 32 GB, Windows 11 Home 26200. **Build:** v2026.12.03.02 (`f3840d7`), a diagnostics build (`cargo build --profile diag -p darner --features diagnostics`), because the flicker detector is only in those. **Settings:** 4K output, DLSS Performance, frame generation 2x, ray tracing off; Series X, or Series S with its scene at 720. **Method:** `scripts/bench.ps1 -Flicker -RayTracing off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0`, on the same copied save each run (the opening cinematic from its first frame, no input). The switch goes in with `-Switches`; the summary's `effective` list and the log (`placement switches set: ... DARNER_CARD_STEPS=N`, and `learned` lines for `_LEARN`) confirm it. `DARNER_FLICKER_DETECT=1` counts a "flicker" when 3 or more of 16x9 tiles change and come back on the next present, and a "black" when 2 or more tiles go black for one or two presents. | profile | switch | fps | ms a frame | p99 | flicker | black | |---|---|---|---|---|---|---| | Series X | default (`CARD_STEPS=2`), A1 / A2 | 26.1 / 26.4 | 38.3 / 37.9 | 84.7 / 81.0 ms | 27 / 35 | 10 / 8 | | Series X | `DARNER_CARD_STEPS=0`, B1 / B2 | 25.5 / 25.0 | 39.2 / 40.0 | 73.0 / 76.3 ms | 94 / 119 | 24 / 36 | | Series X | `DARNER_CARD_STEPS=1`, two runs | 26.25 / 26.2 | 38.1 / 38.2 | 116 / 73.4 ms | 29 / 28 | 9 / 12 | | Series X | `DARNER_CARD_STEPS_LEARN=1`, two runs | 25.45 / 25.45 | 39.3 / 39.3 | 86.4 / 87.6 ms | 80 / 104 | 26 / 27 | | Series S | default, A1 / A2 | 36.2 / 36.6 | 27.6 / 27.3 | 63.6 / 61.3 ms | 0 / 0 | 0 / 0 | | Series S | `DARNER_CARD_STEPS=0`, B1 / B2 | 30.5 / 31.4 | 32.8 / 31.8 | 61.1 / 61.2 ms | 0 / 1 | 0 / 1 | The Series X default and `=0` runs were A B B A; then `=1` and `_LEARN=1` alternated; then Series S A B B A. Four earlier Series X runs of the same build and scene at the default (two of them with `DARNER_THIN_HEAP_ORDER=0`, for #193) had 24-42 flicker and 11-14 black. **What the events are.** The detector keeps the frames of each run's first 40 events. In the Series X runs I looked at (one default, one `=0`, one `_LEARN=1`), most of them show one character's clothes going dark for one frame: a white shirt, a grey hoodie or a jacket turns black, then is back on the next present. That sounds like "the main character gets a dark patch" from the comment above. Counted from the `flicker:` lines, the default runs have most of their events in one dialogue scene (24 and 30 between 55 and 100 s into the window, 5 and 8 elsewhere). The `=0` runs have about twice as many in that scene (50 and 48) and many more outside it (50 and 77), for example on the jacket of a character standing at a window. **Cost of turning it off:** with Series X about 1.5 ms a frame (38.1 against 39.6 ms, two runs each), and with Series S about 4.8 ms (27.5 against 32.3 ms). `_LEARN=1` with Series X cost about the same as `=0`. So on this PC, `DARNER_CARD_STEPS=0` doesn't work around the character flashes. With Series X it makes them more frequent, and with Series S it costs fps without anything to fix in this scene. `=1` behaved like the default. That doesn't contradict the trees: the cinematic has no foliage in view, and I haven't tested standing among trees. Series S showing nothing here also differs from the comment above, where Series S showed them on an 8-core CPU. That could be the CPU (8 threads against 24), the scene, or both. I haven't tested which. Not checked: outdoors with trees, frame generation off, the release build (it has no flicker detector), other Series S scene sizes. Two runs per setting. Logs attached: `darner-issue-135-logs.zip`, the twelve runs' logs and `bench.ps1` summaries, and the summaries of the four earlier default runs. The event frames the detector kept aren't included: they're the game's pixels. User and PC names are replaced.
Collaborator

We're working on the leaves case here (every tree's leaves gone for one frame, trunks stay). This only tells others; it doesn't reserve the issue. If you're on it too, or want to work together, say so and we'll share what we find.

What we take from the thread so far

  • iridiumlotus: with DARNER_CARD_STEPS=0 the glitch frames went from 13 and 16 (default) to 0, 1 and 1 per 308 s, at +4.97 ms a frame (+-0.34), 24.9 and 24.0 fps against 27.3 and 28.3. DARNER_CARD_STEPS_LEARN=1 gave 2, at about the same cost. DARNER_CARD_STEPS=1 still showed it (3 in 72 s, against 9 and 12 with the default 2).
  • Trillazill: on a 4080 with Series X, DARNER_CARD_STEPS=0 made the one-frame character flashes more frequent (flicker 27 / 35 at default, 94 / 119 with =0), in a scene with no trees. So the character flashes are probably a separate bug, and we are not treating them as part of this one.
  • Daytz and co11ector (#263, PR #335): the far-plane stand-in for the CPU occlusion image was taken once in the session, and the blinks went from 7 to 5 in 60 s on one pair of runs. That is a small effect so far, and one pair can't size it. Daytz also saw props such as trash cans blink for exactly one frame, which reads more like stale cull output than a missing texture.

Working idea (a hypothesis, not tested by us yet)

iridiumlotus pointed to the note in crates/darner-gpu/src/host/card_steps.rs (mod late, on main f3840d73d): the title writes some constant buffers again after sending the list that reads them, so the card can draw with the bytes from before that rewrite. The note describes characters and the boat, not foliage, so it is only a fit that the leaves read such a page. The reports come from an 8-thread CPU (Tymon3kk) and an 8-core one (iridiumlotus), and Tymon3kk mentions a 4090 player they watched who did not see it; a race between the title's late write and our copy would fit that.

A stale occlusion seed (#263) would also cull the trunks, and the trunks stay in the reports here. That is one reason we rank it lower for this case.

A second idea, from Daytz in #263: the tables holding the cull's written views are read late. As far as we read main, Darner copies a table at record only when it holds a constant-buffer view or lies past the heap's size, not for written views. Zelbrad's VIda (471c423) has a switch that copies those tables when the list is recorded, VICTORY_SNAPSHOT_UAV_TABLES; it is off by default there and we have no A/B numbers for it. We don't claim it works.

What we're doing

  1. Starting now (the build is under way): an A/B on an RTX 2070 SUPER (8 cores, 16 threads), Series S + DLSS Performance, diagnostics build of main f3840d73d with the flicker detector on. Arms: the default, DARNER_CARD_STEPS=0, and DARNER_LATE_WAIT=2 (the default is 3; 2 waits for the card in more cases), an idea relayed to us from Fluxer. We expect LATE_WAIT=2 to cost some fps.
  2. Then a diagnostics-only comparison of the bytes of a late-written page at record, at submit and when the card reads it.

Questions

  • Who sees the leaves vanish, and with how many CPU threads (and SMT on or off)?
  • Has anyone run the flicker detector (DARNER_FLICKER_DETECT=1, diagnostics build) while standing among trees? Counts and the log would help.
  • iridiumlotus: can the capture counter you used (about 25 frames a second, a block that differs from both neighbours) be shared?

This post was written with AI assistance (Claude Code).

We're working on the leaves case here (every tree's leaves gone for one frame, trunks stay). This only tells others; it doesn't reserve the issue. If you're on it too, or want to work together, say so and we'll share what we find. **What we take from the thread so far** - iridiumlotus: with `DARNER_CARD_STEPS=0` the glitch frames went from 13 and 16 (default) to 0, 1 and 1 per 308 s, at +4.97 ms a frame (+-0.34), 24.9 and 24.0 fps against 27.3 and 28.3. `DARNER_CARD_STEPS_LEARN=1` gave 2, at about the same cost. `DARNER_CARD_STEPS=1` still showed it (3 in 72 s, against 9 and 12 with the default 2). - Trillazill: on a 4080 with Series X, `DARNER_CARD_STEPS=0` made the one-frame character flashes more frequent (flicker 27 / 35 at default, 94 / 119 with `=0`), in a scene with no trees. So the character flashes are probably a separate bug, and we are not treating them as part of this one. - Daytz and co11ector (#263, PR #335): the far-plane stand-in for the CPU occlusion image was taken once in the session, and the blinks went from 7 to 5 in 60 s on one pair of runs. That is a small effect so far, and one pair can't size it. Daytz also saw props such as trash cans blink for exactly one frame, which reads more like stale cull output than a missing texture. **Working idea (a hypothesis, not tested by us yet)** iridiumlotus pointed to the note in `crates/darner-gpu/src/host/card_steps.rs` (`mod late`, on main f3840d73d): the title writes some constant buffers again after sending the list that reads them, so the card can draw with the bytes from before that rewrite. The note describes characters and the boat, not foliage, so it is only a fit that the leaves read such a page. The reports come from an 8-thread CPU (Tymon3kk) and an 8-core one (iridiumlotus), and Tymon3kk mentions a 4090 player they watched who did not see it; a race between the title's late write and our copy would fit that. A stale occlusion seed (#263) would also cull the trunks, and the trunks stay in the reports here. That is one reason we rank it lower for this case. A second idea, from Daytz in #263: the tables holding the cull's written views are read late. As far as we read main, Darner copies a table at record only when it holds a constant-buffer view or lies past the heap's size, not for written views. Zelbrad's VIda (471c423) has a switch that copies those tables when the list is recorded, `VICTORY_SNAPSHOT_UAV_TABLES`; it is off by default there and we have no A/B numbers for it. We don't claim it works. **What we're doing** 1. Starting now (the build is under way): an A/B on an RTX 2070 SUPER (8 cores, 16 threads), Series S + DLSS Performance, diagnostics build of main f3840d73d with the flicker detector on. Arms: the default, `DARNER_CARD_STEPS=0`, and `DARNER_LATE_WAIT=2` (the default is 3; 2 waits for the card in more cases), an idea relayed to us from Fluxer. We expect `LATE_WAIT=2` to cost some fps. 2. Then a diagnostics-only comparison of the bytes of a late-written page at record, at submit and when the card reads it. **Questions** - Who sees the leaves vanish, and with how many CPU threads (and SMT on or off)? - Has anyone run the flicker detector (`DARNER_FLICKER_DETECT=1`, diagnostics build) while standing among trees? Counts and the log would help. - iridiumlotus: can the capture counter you used (about 25 frames a second, a block that differs from both neighbours) be shared? This post was written with AI assistance (Claude Code).
Collaborator

Results of our A/B for the one-frame leaf flicker. Short version: on our PC the default flickered in 2 of 3 runs, and both DARNER_CARD_STEPS=0 and DARNER_LATE_WAIT=2 showed none. CARD_STEPS=0 cost about 1.9 fps. LATE_WAIT=2 showed no cost we can see, but the runs are too few to say it is free.

Credit. DARNER_LATE_WAIT=2 is cafe's idea. In our earlier comment (issuecomment-870094) we wrote that it was "relayed to us from Fluxer"; it was cafe's, and we should have named them. The DARNER_CARD_STEPS=0 numbers we compare with are iridiumlotus's above.

Setup

  • RTX 2070 SUPER 8 GB, Ryzen 7 5800X (8 cores, 16 threads), 32 GB, driver 621.40, Windows 11, GPU clocks unlocked.
  • Series S + DLSS Performance (checked in every log).
  • Main f3840d73d, normal diagnostics build, DARNER_FLICKER_DETECT=1 in every run.
  • Our free-roam save, not chosen for palms; the camera pans right and back from 60 s on. 240 s in the world, one unscored settle run first, then the order A B C C B A. The last 180 s are scored for fps. The flicker count is for the whole window.
  • No cargo running during the series, no disk errors in the event log.

Results (A = default, B = DARNER_CARD_STEPS=0, C = DARNER_LATE_WAIT=2)

Run Setting flicker / black frames avg fps (last 180 s) p95 frame time
settle default 11 / 0 15.7 72.6 ms
A1 default 35 / 0 11.82 111.7 ms
B1 CARD_STEPS=0 0 / 0 10.64 106.7 ms
C1 LATE_WAIT=2 0 / 0 13.81 81.2 ms
C2 LATE_WAIT=2 0 / 0 12.91 88.0 ms
B2 CARD_STEPS=0 0 / 0 11.23 106.0 ms
A2 default 0 / 0 13.91 80.0 ms

A2 also logged 1 frozen frame (t=313.4); no other run had any. The settle run is unscored for fps (it also ran the shader preload for the new exe; the scored runs did not); its flicker count is shown because it happened.

Reading

  • Flicker: the default flickered in 2 of 3 runs (11, 35, 0). Each fix showed 0 in both of its runs. For the leaf flicker, that points the same way as iridiumlotus (CARD_STEPS=0: 13 and 16 down to 0, 1 and 1); it says nothing about the character flashes Trillazill saw get worse with CARD_STEPS=0. It adds LATE_WAIT=2 as a second setting that removed it here.
  • Cost of CARD_STEPS=0: pair means 10.94 fps against 12.87 for the default, about -1.9 fps, roughly +14 ms a frame. Both B runs are below every A and C run. The direction matches iridiumlotus's +4.97 ms; ours is larger because our frame rate is lower.
  • Cost of LATE_WAIT=2: pair mean 13.36 fps. We can't see a cost, but the two default runs differ by 2.1 fps among themselves, so this is inside the noise: unresolved, not "free".

Limits

  • Counts are small, and one run per cell. With two runs per arm we give no confidence interval.
  • The default's own count varies from 0 to 35 between runs (on the detector's clock, A1's flicker fell between t=88.7 and t=143.2 s, the settle run's between t=218.4 and t=311.7 s). So this does not size the effect, and a 0 in a fix run could be luck.
  • One PC, one scene, and not among palms.
  • DARNER_LATE_WAIT=3 is the default, as far as we read main; we did not test other values.

Next

  • More default runs, and a scene among palms, to size the flicker.
  • The diagnostics-only comparison of the bytes of a late-written page at record, at submit and when the card reads it.

Ask: if you see the leaves vanish, please try DARNER_LATE_WAIT=2 and report the count per run, with several runs on each side (default and =2), in the same scene. Say your CPU threads and profile. The counter is DARNER_FLICKER_DETECT=1 in a diagnostics build (cargo build --profile diag -p darner --features diagnostics).

We haven't pasted any log, because logs hold user paths and game file names. We can attach the flicker: counter lines of these runs with the names cleaned out, if that helps.

This post was written with AI assistance (Claude Code).

Results of our A/B for the one-frame leaf flicker. Short version: on our PC the default flickered in 2 of 3 runs, and both `DARNER_CARD_STEPS=0` and `DARNER_LATE_WAIT=2` showed none. `CARD_STEPS=0` cost about 1.9 fps. `LATE_WAIT=2` showed no cost we can see, but the runs are too few to say it is free. **Credit.** `DARNER_LATE_WAIT=2` is cafe's idea. In our earlier comment (issuecomment-870094) we wrote that it was "relayed to us from Fluxer"; it was cafe's, and we should have named them. The `DARNER_CARD_STEPS=0` numbers we compare with are iridiumlotus's above. **Setup** - RTX 2070 SUPER 8 GB, Ryzen 7 5800X (8 cores, 16 threads), 32 GB, driver 621.40, Windows 11, GPU clocks unlocked. - Series S + DLSS Performance (checked in every log). - Main f3840d73d, normal diagnostics build, `DARNER_FLICKER_DETECT=1` in every run. - Our free-roam save, not chosen for palms; the camera pans right and back from 60 s on. 240 s in the world, one unscored settle run first, then the order A B C C B A. The last 180 s are scored for fps. The flicker count is for the whole window. - No cargo running during the series, no disk errors in the event log. **Results** (A = default, B = `DARNER_CARD_STEPS=0`, C = `DARNER_LATE_WAIT=2`) | Run | Setting | flicker / black frames | avg fps (last 180 s) | p95 frame time | |---|---|---|---|---| | settle | default | 11 / 0 | 15.7 | 72.6 ms | | A1 | default | 35 / 0 | 11.82 | 111.7 ms | | B1 | CARD_STEPS=0 | 0 / 0 | 10.64 | 106.7 ms | | C1 | LATE_WAIT=2 | 0 / 0 | 13.81 | 81.2 ms | | C2 | LATE_WAIT=2 | 0 / 0 | 12.91 | 88.0 ms | | B2 | CARD_STEPS=0 | 0 / 0 | 11.23 | 106.0 ms | | A2 | default | 0 / 0 | 13.91 | 80.0 ms | A2 also logged 1 frozen frame (t=313.4); no other run had any. The settle run is unscored for fps (it also ran the shader preload for the new exe; the scored runs did not); its flicker count is shown because it happened. **Reading** - Flicker: the default flickered in 2 of 3 runs (11, 35, 0). Each fix showed 0 in both of its runs. For the leaf flicker, that points the same way as iridiumlotus (`CARD_STEPS=0`: 13 and 16 down to 0, 1 and 1); it says nothing about the character flashes Trillazill saw get worse with `CARD_STEPS=0`. It adds `LATE_WAIT=2` as a second setting that removed it here. - Cost of `CARD_STEPS=0`: pair means 10.94 fps against 12.87 for the default, about -1.9 fps, roughly +14 ms a frame. Both B runs are below every A and C run. The direction matches iridiumlotus's +4.97 ms; ours is larger because our frame rate is lower. - Cost of `LATE_WAIT=2`: pair mean 13.36 fps. We can't see a cost, but the two default runs differ by 2.1 fps among themselves, so this is inside the noise: unresolved, not "free". **Limits** - Counts are small, and one run per cell. With two runs per arm we give no confidence interval. - The default's own count varies from 0 to 35 between runs (on the detector's clock, A1's flicker fell between t=88.7 and t=143.2 s, the settle run's between t=218.4 and t=311.7 s). So this does not size the effect, and a 0 in a fix run could be luck. - One PC, one scene, and not among palms. - `DARNER_LATE_WAIT=3` is the default, as far as we read main; we did not test other values. **Next** - More default runs, and a scene among palms, to size the flicker. - The diagnostics-only comparison of the bytes of a late-written page at record, at submit and when the card reads it. **Ask:** if you see the leaves vanish, please try `DARNER_LATE_WAIT=2` and report the count per run, with several runs on each side (default and `=2`), in the same scene. Say your CPU threads and profile. The counter is `DARNER_FLICKER_DETECT=1` in a diagnostics build (`cargo build --profile diag -p darner --features diagnostics`). We haven't pasted any log, because logs hold user paths and game file names. We can attach the `flicker:` counter lines of these runs with the names cleaned out, if that helps. This post was written with AI assistance (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
4 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#135
No description provided.