FSR 3 frame generation ignores the interface at 3840x2160: no hudless colour, UI ghosts (fine at 2560x1440) #259
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?
Summary
With FSR frame generation on, at a 3840x2160 output the generated frames contain the interface
(both the title's HUD and the overlay), so the HUD ghosts/smears on camera movement. At 2560x1440
there is no ghosting: the log shows the generator receives a "colour without the interface" plane
there (
hudless_format=24,two_planes=true), while at 3840x2160 it is created withhudless_format=0and no present ever carries the hudless colour. FSR upscaling itself is correctin both cases.
Environment
v2026.12.03.02(release build)amd_fidelityfx_upscaler_dx12.dll,amd_fidelityfx_loader_dx12.dll,amd_fidelityfx_framegeneration_dx12.dll) in thefidelityfxfolder beside the exe
4k(3840x2160 output) for the failing runs;1440(2560x1440 output) for theworking runs
Steps to reproduce
DARNER_MENU_RES=4k,DARNER_MENU_FG_TYPE=fsr,DARNER_MENU_FRAMEGEN=2(Series X, HDR as usual).
DARNER_MENU_RES=1440and the same frame-generation settings.Actual
(they are in the generated frames).
Expected
At 3840x2160 the generated frames should get the same "colour without the interface" (hudless)
colour and a separate interface plane that the 2560x1440 case already gets, so the interface is
composited after generation and does not ghost.
Evidence from the logs
3840x2160 (failing):
2560x1440 (working):
The 2560x1440 run also logs what the 3840x2160 run does not:
That is, at 2560x1440 the title presents two planes (an SDR interface plane and the HDR10 scene
plane), which gives the layer a scene-only colour to hand to the generator; at 3840x2160 it
presents a single plane (format 24,
plane_color_space=Some(12)), so the interface is alreadycomposited into the presented colour and there is nothing without it to pass to FSR frame
generation.
What I tried
DARNER_FRAMEGEN_HUDLESS=1at 3840x2160: no change, the context is still created withhudless_format=0and presents still report0 with the colour without the interface.resolution-dependent present path rather than FSR or the FidelityFX files.
Possible cause / request
The 4K path appears not to wire the "copy of the presented colour in front of the title's interface
composite" that the DLSS frame-generation path has (the log there is:
DLSS Frame Generation: ... an interface drawn here before the interface composite would be in the colour without the interface), and the two-plane present the sub-4K path relies on does not happenat native 3840x2160.
Please make 3840x2160 behave like the sub-4K output: either copy the presented colour before the
interface composite and pass it as
hudlessColor(with the interface as the UI plane), or use thetwo-plane composer at 4K, so FSR frame generation excludes the interface there too.
Logs
darner-play-20261204-072410-19816.log(also 2026-12-04 08:42 run), lineswith
hudless_format=0darner-play-20261204-081255-24280.log, lines withhudless_format=24/two_planes=trueDARNER_FRAMEGEN_HUDLESS=1:darner-play-20261204-085006-11948.log(Game paths replaced with
<game>as the rules ask.)I checked the single-plane path from release
v2026.12.03.02(f3840d73) with synthetic draw metadata and real D3D12 textures on Windows WARP. At 3840×2160, format 24, the first present registered the target. After a matching composite draw and submission, FSR's selection returned the copy for that same target, and all 8,294,400 pixels matched the seeded image on readback. A different target of the same size could not consume it. A 2560×1440 copy offered for a 3840×2160 back buffer was rejected with a size warning. This exercised the copy and selection code without the title, AMD driver, or FidelityFX interpolation.In this release FSR already uses the same single-plane copy helper as DLSS. The first present of a new target can miss the copy, but that alone doesn't explain 205 misses. Could you check the existing 4K log for
the colour without the interface is copied in front of the title's interface composite (first time)andthe colour without the interface is not the back buffer's size? The first message still has aDLSS Frame Generationprefix on the FSR path. Whether each appears, and the dimensions if present, would distinguish a recorded copy from a rejected size. Thethis pipeline draws into the texture the title presentsmessage alone comes from a draw that did not match the composite.@superhero-520 wrote in #259 (comment):
Thank you sincerely for your reply — I checked the existing 4K logs as you asked. Short answer: neither of the two messages
you named appears anywhere, at 4K or at 1440p, so this is not a rejected size: no copy is ever
recorded at 4K.
the colour without the interface is copied in front of the title's interface composite (first time):0 occurrences in every log (5 runs at 3840x2160, 4 runs at 2560x1440).
the colour without the interface is not the back buffer's size: 0 occurrences in every log.The only resolution-specific line is the one you said comes from a draw that did not match:
It appears exactly once per 3840x2160 run, with the same pipeline hashes every time, and never in a
2560x1440 run.
Per-run summary (all logs from v2026.12.03.02):
At 2560x1440 the hudless colour does not come from the copy helper at all: the title presents two
planes (
the colour spaces of the title's present planes spaces=[Some(0), Some(12)],two_planes=true) and the context is made withhudless_format=24. At 3840x2160 there is a singleplane (
plane_color_space=Some(12)), so the copy helper has to run — but the composite draw is notmatched, so it never does, and the counters stay at
N presents with it on (0 with the colour without the interface)for the whole run (e.g. 205/0, 274/0, 243/0).Note it is not a first-present miss: the mismatch line is logged once at startup and no copy follows
for thousands of presents afterwards.
DARNER_FRAMEGEN_HUDLESS=1at 4K does not change it(
hudless_format=0, same counts; logdarner-play-20261204-085006-11948.log).So the question is why the 4K draw that writes the presented texture is not matched as the interface
composite. The pipeline above is stable across runs (same vertex/pixel hashes and state), and
after_the_copy_in_its_list=false. If you can make that pipeline match (or say what else the matchneeds — blend/depth state, the presented texture's format/plane count, a per-plane test), I can run a
build with extra logging or a debug switch and send the output. Full logs are available:
darner-play-20261204-072410-19816.log(4K) anddarner-play-20261204-081255-24280.log(1440p).Thanks for checking the 4K logs. The draw you quoted reaches the presented texture, but the detector requires both shaders in the existing interface-composite signature and a single non-indexed triangle. The quoted draw uses a different shader pair and has blending disabled. Matching it would risk copying the target before the scene was drawn.
The existing copy and composite counters are printed on the DLSS path only. I prepared a diagnostic build branch that reports those counters for FSR when presents are missing HUD-less colour. It leaves the matching and rendering code unchanged. If you try a 4K run from that revision, please share one or two lines beginning FSR 3 frame generation, colour without the interface. The counts will show whether any recognised composite reaches a presented texture and whether it leads to a copy.
I checked the log output with synthetic counts and ran the focused Cargo type check. No game was run here.
If you cherry-pick or rebase the contribution, please keep the Git author. If you fold it into your own commit, please add this trailer.
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>@andrewpozdnakov7-jpg wrote in #259 (comment):
Thanks — I built
fix/fsr-hudless-copy-diagnosticslocally and ran it at both resolutions. The countsanswer your question directly: at 3840x2160 no recognised composite reaches a presented texture (0),
so no copy is made (0); at 2560x1440 the hudless colour comes from the two-plane present, not from the
copy helper, so nothing misses.
Build note (disclosed because it is not the stock build): the C++ half of
libmimalloc-sysdoes notcompile on this machine —
cl.exeexits with code 2 after printing only its banner, reproducibly,while the identical command line from the same crate directory compiles when run by hand. For this
diagnostic build only I replaced the
mimalloccrate with a stand-in that forwards to the systemallocator (
[patch.crates-io]). The copy/composite code and its counters are untouched; the localbuild stamps
version=unknown(fast profile).3840x2160 — 150 s,
hudless_format=0, every present at0 with the colour without the interfaceFSR 3 frame generation, colour without the interface: 0 copies in front of the title's interface composite; 0 interface composite draws into a presented texture (0 after a copy in their list), 1264 draws of other pipelines into one
FSR 3 frame generation, colour without the interface: 0 copies in front of the title's interface composite; 0 interface composite draws into a presented texture (0 after a copy in their list), 738 draws of other pipelines into one
FSR 3 frame generation, colour without the interface: 0 copies in front of the title's interface composite; 0 interface composite draws into a presented texture (0 after a copy in their list), 135 draws of other pipelines into one
The "did not match" line appears once, as before:
pipeline=[vertex 8652ce3974dde3c4, pixel 76cf21306691cd0c] ... after_the_copy_in_its_list=false.2560x1440 — about 22 s of frame generation,
hudless_format=24the colour spaces of the title's present planes spaces=[Some(0), Some(12)]
FSR 3 frame generation: its context was made display=[2560, 1440] max_render=[1280, 720] format=24 hudless_format=24 flags=0x8
FSR 3 frame generation: first frame with the colour without the interface two_planes=true
FSR 3 frame generation: 143 presents with it on (143 with the colour without the interface), 0 off, 0 prepare dispatches failed
No
colour without the interface:counter line at all in this run, which fits it being printed onlywhen presents miss.
What this says
matches the interface-composite signature — consistent with your finding that the 4K draw uses a
different shader pair and has blending disabled.
involved there at all. That is why the two resolutions behave differently rather than merely
differently fast.
Where a fix could go, in the order I would try them
(as it already is below 4K), the copy helper is not needed and the ghosting disappears; this reuses
the path that demonstrably works at 2560x1440.
triangle: e.g. the last write into the presented texture between the scene composite and the
present, provided it happens after the scene has been drawn. That would cover the 4K draw without
risking a copy before the scene is rendered.
the heuristic covers it.
Happy to run further builds: a version that logs the presented texture's writers in order, or a build
with a switch that forces the copy point so we can see whether it produces the hudless colour at 4K.
Logs:
darner-play-20261204-121744-28424.log(4K) anddarner-play-20261204-122236-22304.log(1440p)
Thanks for running both resolutions and calling out the diagnostic build's allocator change. At 4K the counters show zero recognized interface-composite draws and zero copy attempts across the run. At 1440p the two-plane present supplied HUD-less colour for all 143 presents.
That narrows the 4K blocker to finding a reliable source of HUD-less colour. We would need a confirmed point after scene rendering and before the HUD is drawn. The last write to the presented texture alone can already include the HUD. The copy-size path is downstream of the copy attempt, so these logs give us no reason to change its limits.
@andrewpozdnakov7-jpg wrote in #259 (comment):
I traced the 4K case further and have a working local fix. It changes the source of the HUD-less colour
rather than the copy point on the presented texture.
What the earlier data showed: at 3840x2160 the presented texture is written exactly once per frame
(the "other pipelines" counter equals the present count in every interval, and equals one per frame at
~12.7 fps) by the pipeline with vertex 8652ce3974dde3c4 / pixel 76cf21306691cd0c, blending off. No
draw matches INTERFACE_COMPOSITE (0602c2384acbb3b2 / a78d088fa55aa495), so no copy is ever recorded.
Since the presented texture only holds the finished composite, a copy point "after the scene, before
the HUD" does not exist there in this path.
The fix: copy the PC FidelityFX upscaler's output. That texture is the scene at the output size, before
the title draws its interface over it, and darner already records its dispatch. In
record_host_upscale, after the dispatch is recorded, I copy the output into darner's hudless textures(with
crate::list::ensure_state, the same state tracking the depth/motion snapshots use, restoring theoutput to
plan::output_state), register it inHUD_PENDING, and mark the list.hudless_forthenfalls back to that copy (
target 0) when no copy of the presented texture was recorded. The existinginterface-composite path is unchanged and still wins where it matches.
Two files change, on top of the diagnostic branch (commit 512de15, branch
fix/fsr-hudless-4k-upscale-copy):crates/darner-gpu/src/host.rs +24 (HostList::scene marker)
crates/darner-gpu/src/streamline.rs +90/-7 (copy at the upscaling; fallback in hudless_for;
one more counter)
Locally, at 3840x2160 with FSR frame generation 2x:
its context was made display=[3840, 2160] max_render=[2560, 1440] format=28 hudless_format=28
92 presents with it on (92 with the colour without the interface), 766 off
118 presents with it on (118 with the colour without the interface), 810 off
146 presents with it on (146 with the colour without the interface), 0 off
Before the change the same run reported
hudless_format=0and0 with the colour without the interfacein every interval. With the interface excluded from the generated frames, the HUD ghostingat 4K is gone; 2560x1440 still uses the two-plane present and is untouched.
Known limits, in case you want to reshape it:
integration). A title that composites its interface before upscaling would not be helped.
or a present with no fresh upscaling can take the newest earlier copy. A frame id on the copy would
make that exact.
textures are kept, about 133 MB of video memory).
fastprofile built with a stand-in for themimalloccrate (its C++part does not compile with this machine's MSVC, reproducibly); the branch itself is stock source
apart from the two files above.
Thanks for the 4K follow-up. The 146 of 146 sample with HUD-less colour and the unchanged 1440p two-plane result are good evidence to include in a draft PR.
The frame-pairing limit is the next correctness check. Please cover a present with no fresh upscale, such as a loading or menu transition. If the upscaled scene cannot be paired to that present, falling back to the existing result would avoid feeding an earlier scene to frame generation. Please keep the local allocator substitution in the test notes.
@andrewpozdnakov7-jpg wrote in #259 (comment):
Correcting the earlier report: the condition is 4K + HDR, and the blocker is the HDR format, not the draw
detection.
The reporter's first description was wrong. The interface ghosting happens only at 3840x2160 with HDR
on. With HDR off at 4K, or at 2560x1440 with HDR on, there is no ghosting. My earlier runs missed this
because the run I treated as the 4K success (darner-play-20261204-133059) had HDR disabled
(
HDR mode: disabled (SDR presentation)); the 4K runs with HDR on still reportedhudless_format=0.What the logs show now
3840x2160, HDR on (darner-play-20261204-135839-27432.log, also 14:05):
PC FidelityFX upscaler created render=[1920, 1080] output=[3840, 2160] provider="4.1.2"
WARN DLSS Frame Generation: the presented texture cannot be copied for the colour without the
interface; none is tagged format=67 levels=1 samples=1
its context was made display=[3840, 2160] max_render=[1920, 1080] format=24 hudless_format=0
0 copies ... (0 at the upscaler's output, before the first draw into it); 0 interface composite draws;
1817 / 1467 / 307 draws of other pipelines into one
2560x1440, HDR on (darner-play-20261204-140205-4252.log):
the colour spaces of the title's present planes spaces=[Some(0), Some(12)]
its context was made display=[2560, 1440] ... hudless_format=24
first frame with the colour without the interface two_planes=true
143 presents with it on (143 with the colour without the interface)
So the decisive factor is format 67, not resolution. Under HDR the texture that would have to be copied
is R9G9B9E5_SHAREDEXP (DXGI format 67), which
host::swap_formatdoes not map (it takes 8-bit,10-bit and FP16 families), so
hudless_texturerefuses it and no copy is ever recorded. Without HDR thesame path gets a 24/28 texture and works. Below 4K, HDR uses the two-plane present and the composer
mixes scene and interface in PQ, so hudless comes from the scene plane and no copy is needed.
An experiment, and why it is not the fix
I let
hudless_textureaccept format 67 as it is and copied the upscaler's output. The copy thensucceeded:
hudless_format=67, every present carried the colour without the interface, and the UIghosting disappeared. But the picture then flickered continuously. The reason is colour space:
R9G9B9E5 at that point is the linear, pre-tone-mapping scene, while the generated frame is presented in
24 (HDR10 PQ). The generator interpolates a linear image between PQ frames, so generated and real frames
alternate between two encodings. Making the copy possible is not the same as making it the right image.
What a correct 4K + HDR fix needs
A HUD-less colour in the output's colour space (PQ, format 24), without the interface. Two ways:
before the title's interface composite, and hand that to frame generation.
plane is the hudless colour and no copy is involved.
Until one of those exists, the honest options for this configuration are frame generation off at
4K + HDR, SDR at 4K, or 1440p + HDR with frame generation.
@andrewpozdnakov7-jpg wrote in #259 (comment):
I know this means a lot of repairs are needed instead of just changing a few lines of code, so I'm reporting this discovery to you
Thanks for separating the HDR and SDR runs. That leaves 4K HDR open. There is one detail for the composer option:
compose.rs::ps_pqalready expects its scene input in PQ and starts by decoding it. Passing the linear upscaler output to that shader as-is would treat linear values as PQ. Changing the DXGI pixel format alone also leaves the colour-space conversion unresolved.For a fallback, we would need a scene-only image that matches the HDR presentation's tone mapping and colour space. The successful two-plane path is a useful reference for that check. Microsoft's DirectX HDR guidance