Characters intermittently flicker black. #488

Open
opened 2026-12-05 02:46:31 +00:00 by Bing_Yanchi · 1 comment

What looks wrong

Setting DARNER_RELAY to 0 does not cause any issues.

Before you post

  • I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this.
  • This issue is about one problem.
  • I verified the game files and run no mods.

RAY TRACING in F1

Hardware

GPU and driver

RTX 3070 Ti, driver 621.47

CPU, RAM and Windows version

Ryzen 9 7950X, 64GB, Windows 11

Darner release or commit

v2026.12.03.02

Settings

darner-settings.txt

Log files attached

darner-preload-20261205-021017-39492.log

Are you working on a fix?

No

### What looks wrong Setting `DARNER_RELAY` to 0 does not cause any issues. ### Before you post - [x] I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this. - [x] This issue is about one problem. - [x] I verified the game files and run no mods. ### RAY TRACING in F1 Hardware ### GPU and driver RTX 3070 Ti, driver 621.47 ### CPU, RAM and Windows version Ryzen 9 7950X, 64GB, Windows 11 ### Darner release or commit v2026.12.03.02 ### Settings darner-settings.txt ### Log files attached darner-preload-20261205-021017-39492.log ### Are you working on a fix? No

I see the same one-frame dark flashes on characters, on an RTX 4080 with v2026.12.04.01, and DARNER_RELAY=0 removed nearly all of them here too. But it does more than lower the relay. It also turns off the line of submissions (thin lists and async submission), and with it DLSS frame generation, and it cost about 19 ms a frame (26.5 to 17.6 fps). With ray tracing off, the flashes follow the thin lists: DARNER_THIN=0 with DARNER_ASYNC_SUBMIT=1 left about a third of them, kept frame generation, and was a little faster. With hardware ray tracing on, as in this report, that switch made no clear difference.

PC: RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores, 24 threads), 32 GB, Windows 11 (build 26300). Build: a diagnostics build of 9b288a7 (v2026.12.04.01; cargo build --profile diag -p darner --features diagnostics --locked), because the flicker detector is only in those. Settings: Series X, 4K output, DLSS Performance, DLSS frame generation 2x unless the table says otherwise, ray tracing off unless it says Hardware.
Method: scripts/bench.ps1 -Flicker -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0 -Switches ... (-FrameGen ready with frame generation off in F1's file for C and D), on the same copied save each run (the opening cinematic from its first frame, no input). First an unscored 240 s run, since this release rebuilds the shader cache; after it no run was making pipelines (median 0). Then the groups below, each in A B B A order, in the order listed. 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. A scene cut or two in the cinematic counts in every run.

run switches frame generation fps ms a frame p99 card busy (nvidia-smi) flicker black
A1 / A2 / A3 default (relay 2, thin lists on) 2x 26.6 / 26.5 / 26.3 37.6 / 37.75 / 38.0 80.2 / 86.7 / 79.8 ms 72-74 % 42 / 43 / 45 14 / 4 / 10
B1 / B2 DARNER_RELAY=0 off (see below) 17.6 / 17.6 56.8 / 56.9 128.9 / 100.2 ms 44 % 5 / 2 1 / 1
C1 / C2 default off 35.3 / 33.8 28.35 / 29.55 57.0 / 62.0 ms 80-82 % 135 / 142 22 / 30
D1 / D2 DARNER_THIN=0 off 27.6 / 28.95 36.25 / 34.55 63.8 / 71.6 ms 68 % 15 / 21 2 / 2
E1 / E2 DARNER_THIN=0, DARNER_ASYNC_SUBMIT=1 2x 28.75 / 28.6 34.75 / 34.95 73.6 / 71.2 ms 76-77 % 16 / 14 4 / 2
HW A1 / A2 default, ray tracing Hardware 2x 27.95 / 23.35 35.8 / 42.8 98.3 / 109.3 ms 71-83 % 70 / 41 23 / 15
HW E1 / E2 DARNER_THIN=0, DARNER_ASYNC_SUBMIT=1, ray tracing Hardware 2x 23.1 / 22.3 43.3 / 44.9 101.3 / 86.3 ms 66-69 % 47 / 61 19 / 21

(Order: A1 B1 B2 A2, then C1 D1 D2 C2, then E1 A3 E2, then HW A1 E1 E2 A2.)

  • What DARNER_RELAY=0 turns off: the B runs log DARNER_ASYNC_SUBMIT=1 needs the relay and lists cut at their waits: submissions are prepared by the thread that makes them and DLSS Frame Generation: the line of submissions did not start; frame generation stays off. Their summaries have 0 presents with frame generation on. So B's numbers aren't the relay alone.
  • Thin lists, with ray tracing off: with frame generation off in both, thin lists on (C) had 135 and 142 flicker events, and off (D) 15 and 21. With frame generation on, the default (A) had 42-45, and E, which keeps async submission but not thin lists, had 16 and 14. The logs confirm the switches: A and C log list calls are written down and translated by threads of ours (DARNER_THIN=1). D and E don't, and E logs submissions are prepared and sent by a thread of ours ... (DARNER_ASYNC_SUBMIT=1). D and E are at about A's frame rate (28-29 against 26.5 fps), so it's not just fewer frames. I don't know why C, with frame generation off, has three times A's count.
  • With hardware ray tracing (your setting): E had 47 and 61 against 70 and 41 for the default, so no clear difference. The kept frames of an E run are the same kind as without ray tracing, so something besides thin lists makes them there too. The two default runs also differed a lot in fps (27.95 and 23.35), so these four runs are noisier than the others. I haven't tried DARNER_RELAY=0 with ray tracing.
  • What the events are: the detector keeps the frames of each run's first 40 events. In the runs I looked at (C1, D1, and HW A1 and E2), most show one character's clothes going dark for one frame: a white shirt, a hoodie, or a jacket seen from behind turns black, then is back on the next present. That's the same as on v2026.12.03.02 in #135. Counted from the per-second flicker: lines over the whole run (so a little more than the table's 180 s), the default runs have most of theirs in one dialogue scene: 34, 31 and 39 of 44, 45 and 49. With DARNER_THIN=0 that scene had none in D and 7 and 3 in E. Most of what remains comes later, on a character standing at a window, whose jacket goes dark. With hardware ray tracing, both settings still have them in the dialogue scene (27 and 29 at the default, 10 and 13 in E) and later on.
  • Cost: DARNER_RELAY=0 cost about 19 ms a frame against the default (56.8 against 37.75 ms), with frame generation off as well. E was about 3 ms a frame faster than the default here (34.85 against 37.8 ms), perhaps because thin lists' heap-refresh waits (#193, PR #397) go with them. That's a guess.

If you want to try it: DARNER_THIN=0 and DARNER_ASYNC_SUBMIT=1 in darner-settings.txt (or darner play --set DARNER_THIN=0 --set DARNER_ASYNC_SUBMIT=1). It's a test, not a fix, and on this PC it only helped with ray tracing off. I didn't look for other glitches beyond what the detector counts.

Not checked: another scene, other cards, the release build (it has no flicker detector), DARNER_RELAY=0 with ray tracing, longer runs. Two or three runs per setting.

Logs attached: darner-issue-488-logs.zip, the 15 runs' logs and bench.ps1 summaries, plus the warm-up run's summary, with user and PC names replaced. The event frames the detector kept aren't included: they're the game's pixels.

I see the same one-frame dark flashes on characters, on an RTX 4080 with v2026.12.04.01, and `DARNER_RELAY=0` removed nearly all of them here too. But it does more than lower the relay. It also turns off the line of submissions (thin lists and async submission), and with it DLSS frame generation, and it cost about 19 ms a frame (26.5 to 17.6 fps). With ray tracing off, the flashes follow the thin lists: `DARNER_THIN=0` with `DARNER_ASYNC_SUBMIT=1` left about a third of them, kept frame generation, and was a little faster. With hardware ray tracing on, as in this report, that switch made no clear difference. **PC:** RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900 (12 cores, 24 threads), 32 GB, Windows 11 (build 26300). **Build:** a diagnostics build of `9b288a7` (v2026.12.04.01; `cargo build --profile diag -p darner --features diagnostics --locked`), because the flicker detector is only in those. **Settings:** Series X, 4K output, DLSS Performance, DLSS frame generation 2x unless the table says otherwise, ray tracing off unless it says Hardware. **Method:** `scripts/bench.ps1 -Flicker -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0 -Switches ...` (`-FrameGen ready` with frame generation off in F1's file for C and D), on the same copied save each run (the opening cinematic from its first frame, no input). First an unscored 240 s run, since this release rebuilds the shader cache; after it no run was making pipelines (median 0). Then the groups below, each in A B B A order, in the order listed. `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. A scene cut or two in the cinematic counts in every run. | run | switches | frame generation | fps | ms a frame | p99 | card busy (nvidia-smi) | flicker | black | |---|---|---|---|---|---|---|---|---| | A1 / A2 / A3 | default (relay 2, thin lists on) | 2x | 26.6 / 26.5 / 26.3 | 37.6 / 37.75 / 38.0 | 80.2 / 86.7 / 79.8 ms | 72-74 % | **42 / 43 / 45** | 14 / 4 / 10 | | B1 / B2 | `DARNER_RELAY=0` | off (see below) | 17.6 / 17.6 | 56.8 / 56.9 | 128.9 / 100.2 ms | 44 % | **5 / 2** | 1 / 1 | | C1 / C2 | default | off | 35.3 / 33.8 | 28.35 / 29.55 | 57.0 / 62.0 ms | 80-82 % | **135 / 142** | 22 / 30 | | D1 / D2 | `DARNER_THIN=0` | off | 27.6 / 28.95 | 36.25 / 34.55 | 63.8 / 71.6 ms | 68 % | **15 / 21** | 2 / 2 | | E1 / E2 | `DARNER_THIN=0`, `DARNER_ASYNC_SUBMIT=1` | 2x | 28.75 / 28.6 | 34.75 / 34.95 | 73.6 / 71.2 ms | 76-77 % | **16 / 14** | 4 / 2 | | HW A1 / A2 | default, ray tracing Hardware | 2x | 27.95 / 23.35 | 35.8 / 42.8 | 98.3 / 109.3 ms | 71-83 % | **70 / 41** | 23 / 15 | | HW E1 / E2 | `DARNER_THIN=0`, `DARNER_ASYNC_SUBMIT=1`, ray tracing Hardware | 2x | 23.1 / 22.3 | 43.3 / 44.9 | 101.3 / 86.3 ms | 66-69 % | **47 / 61** | 19 / 21 | (Order: A1 B1 B2 A2, then C1 D1 D2 C2, then E1 A3 E2, then HW A1 E1 E2 A2.) - **What `DARNER_RELAY=0` turns off:** the B runs log `DARNER_ASYNC_SUBMIT=1 needs the relay and lists cut at their waits: submissions are prepared by the thread that makes them` and `DLSS Frame Generation: the line of submissions did not start; frame generation stays off`. Their summaries have 0 presents with frame generation on. So B's numbers aren't the relay alone. - **Thin lists, with ray tracing off:** with frame generation off in both, thin lists on (C) had 135 and 142 flicker events, and off (D) 15 and 21. With frame generation on, the default (A) had 42-45, and E, which keeps async submission but not thin lists, had 16 and 14. The logs confirm the switches: A and C log `list calls are written down and translated by threads of ours (DARNER_THIN=1)`. D and E don't, and E logs `submissions are prepared and sent by a thread of ours ... (DARNER_ASYNC_SUBMIT=1)`. D and E are at about A's frame rate (28-29 against 26.5 fps), so it's not just fewer frames. I don't know why C, with frame generation off, has three times A's count. - **With hardware ray tracing (your setting):** E had 47 and 61 against 70 and 41 for the default, so no clear difference. The kept frames of an E run are the same kind as without ray tracing, so something besides thin lists makes them there too. The two default runs also differed a lot in fps (27.95 and 23.35), so these four runs are noisier than the others. I haven't tried `DARNER_RELAY=0` with ray tracing. - **What the events are:** the detector keeps the frames of each run's first 40 events. In the runs I looked at (C1, D1, and HW A1 and E2), most show one character's clothes going dark for one frame: a white shirt, a hoodie, or a jacket seen from behind turns black, then is back on the next present. That's the same as on v2026.12.03.02 in #135. Counted from the per-second `flicker:` lines over the whole run (so a little more than the table's 180 s), the default runs have most of theirs in one dialogue scene: 34, 31 and 39 of 44, 45 and 49. With `DARNER_THIN=0` that scene had none in D and 7 and 3 in E. Most of what remains comes later, on a character standing at a window, whose jacket goes dark. With hardware ray tracing, both settings still have them in the dialogue scene (27 and 29 at the default, 10 and 13 in E) and later on. - **Cost:** `DARNER_RELAY=0` cost about 19 ms a frame against the default (56.8 against 37.75 ms), with frame generation off as well. E was about 3 ms a frame faster than the default here (34.85 against 37.8 ms), perhaps because thin lists' heap-refresh waits (#193, PR #397) go with them. That's a guess. If you want to try it: `DARNER_THIN=0` and `DARNER_ASYNC_SUBMIT=1` in `darner-settings.txt` (or `darner play --set DARNER_THIN=0 --set DARNER_ASYNC_SUBMIT=1`). It's a test, not a fix, and on this PC it only helped with ray tracing off. I didn't look for other glitches beyond what the detector counts. Not checked: another scene, other cards, the release build (it has no flicker detector), `DARNER_RELAY=0` with ray tracing, longer runs. Two or three runs per setting. Logs attached: `darner-issue-488-logs.zip`, the 15 runs' logs and `bench.ps1` summaries, plus the warm-up run's summary, with user and PC names replaced. The event frames the detector kept aren't included: they're the game's pixels.
TrustNo1 changed title from [rendering] Characters intermittently flicker black. to Characters intermittently flicker black. 2026-12-06 03:19:46 +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#488
No description provided.