Characters intermittently flicker black. #488
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner#488
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What looks wrong
Setting
DARNER_RELAYto 0 does not cause any issues.Before you post
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=0removed 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=0withDARNER_ASYNC_SUBMIT=1left 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 readywith 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=1counts 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.DARNER_RELAY=0DARNER_THIN=0DARNER_THIN=0,DARNER_ASYNC_SUBMIT=1DARNER_THIN=0,DARNER_ASYNC_SUBMIT=1, ray tracing Hardware(Order: A1 B1 B2 A2, then C1 D1 D2 C2, then E1 A3 E2, then HW A1 E1 E2 A2.)
DARNER_RELAY=0turns off: the B runs logDARNER_ASYNC_SUBMIT=1 needs the relay and lists cut at their waits: submissions are prepared by the thread that makes themandDLSS 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.list calls are written down and translated by threads of ours (DARNER_THIN=1). D and E don't, and E logssubmissions 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.DARNER_RELAY=0with ray tracing.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. WithDARNER_THIN=0that 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.DARNER_RELAY=0cost 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=0andDARNER_ASYNC_SUBMIT=1indarner-settings.txt(ordarner 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=0with ray tracing, longer runs. Two or three runs per setting.Logs attached:
darner-issue-488-logs.zip, the 15 runs' logs andbench.ps1summaries, 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.[rendering] Characters intermittently flicker black.to Characters intermittently flicker black.