Skip to content

Stable release 0.1.7161

Choose a tag to compare

@github-actions github-actions released this 16 Nov 15:26
· 87 commits to main since this release

v0.1.7161

Stable release 0.1.7161 built and fully verified from 4a54619.

Highlights & Changes

New

  • Display trace when the screen stops updating (opt-in): with [Diagnostics] display_stall_trace=true in config.ini and trace logging on, the elevation service keeps a bounded recording of the display pipeline (DirectX, graphics kernel, compositor, window manager and display driver events) while a game is tracked. When the game is in the foreground and keeps presenting but the screen does not change for a second or more, Capture Engine saves that recording into the session's log folder, so a black screen like GTA V Enhanced's after a save load can be traced without running any extra tool. When a game switches to a new swapchain and its first frame shows normally, up to two such recordings are saved as well, to compare against a black-screen switch. The setting is off by default because each recording takes up to 256 MB; it takes effect when Capture Engine starts.

Improved

  • Windows V-Sync override reported: with Windows' "Variable refresh rate" graphics setting on and a variable-refresh display, Windows replaces V-Sync (SyncInterval=1, also what vsync_mode=fifo asks for) with presentation that shows the newest frame at each refresh. V-Sync then no longer holds a game back, and above the display's maximum refresh rate the frames in between are dropped unshown, which judders. GTA V Enhanced with DLSS Frame Generation off in its menu rendered about 160 frames a second on a 144 Hz display and showed 144. Capture Engine now reports this once per game in sensors.log (Windows replaces SyncInterval=1) and counts it (vrrSyncOverrides=). Windows offers games no way to opt out: queued V-Sync needs that Windows setting off, or a frame-rate cap below the refresh rate.

  • Black screen after loading GTA V Enhanced with frame generation explained: the old picture can stay on screen for seconds after a save load with DLSS or FSR Frame Generation on, also without Capture Engine running. During the load the game calls Windows' cursor-clip function tens of thousands of times per second; Windows queues compositor work for every call and shows the new frame-generation swapchain only once that backlog has cleared. New developer tools in tools/tracing/ read this from display stall traces (dwm_flood_digest.py, etl_payload.py) and reproduce it without the game (run_flood_repro.py).

  • Faster frame-generation test suite (development): the flow scenarios, which run Capture Engine's real overlay and frame-generation switching code against a software-rendered (WARP) game, finish in a sixth of the time (805 s before, 111-143 s after for all 272 scenarios on an 8-core PC, depending on other load). Nearly all of their time was the software rasterizer drawing Capture Engine's display-gamma pass and overlay on every shown frame, so a scenario's frame is now 256x160 and the overlay panel uses its smallest font at a fixed 100% scale: the panel keeps its normal layout inside the frame on every PC, whatever the monitor's scale, and every coverage check now also fails when the panel would reflow or leave the frame. The post-process pass (sharpening and display gamma) still runs on every frame with the product's commands, routes and accounting, but shades only a 16x16 corner, since the scenarios check where and when it runs, not the pixels it writes; scenarios that read recorded or displayed pixels, and every scenario under --verify, shade the whole frame. The two scenarios that judge the overlay's pixels keep a 640x360 frame with the panel at 150%. Each scenario process now runs on one physical core of its own: spread over all cores, the rasterizer spent about half its processor time handing work between its own threads. Scenarios, frame counts and checks are otherwise unchanged.

  • Overlay compatibility regression checks: exercise stacked launcher and effect overlays, overlays that stop drawing, frame-generation switches, and HDR10/scRGB output with FSR, DLSS and XeFG. The checks require one overlay draw per eligible output, correct frame-generation status and no DirectX 12 debug-layer errors.

  • Screen-change timing log: why a process's frames do not reach the screen: when presents expire without a flip and the desktop compositor takes over, the [DisplayTiming] lines now report how many presents and flips the compositor made during the episode and how it ended the process's presents (composition tokens confirmed, retired or discarded). The periodic health line carries the same counts. This tells "the compositor did not present" from "it discarded the frames" from "Capture Engine failed to attribute them". The shared tracing session subscribes to two more Windows composition events for it.

  • Black-screen diagnostics after a DLSS Frame Generation handoff (GTA V Enhanced): the log now times the first change of the screen after a Streamline swapchain handoff (firstScreenChange), and when the screen stops changing although the game keeps presenting it records one [SCANOUT STALL] snapshot per episode: the swapchain's state, the results its Presents returned (Windows drops an occluded window's Presents), the window's visibility, cloaking, foreground state and flip blockers, and the visible windows above the game. Running episodes repeat a short line every two seconds and end with their duration and what changed first.

  • Streamline swapchain-destroy diagnostics: the log always records when Streamline calls its swapchain-destroy callback; with trace logging it also records which module releases the native chain and how many references it still holds, with the call stack of the releasing frames, and how long the NGX feature creation takes. This shows whether a refused FSR swapchain was pinned by a skipped Streamline cleanup.

  • DLSS Frame Generation teardown diagnostics: record the title's Streamline feature-load and resource-release calls, their results, and the options flags that govern retention when frame generation is off.

  • DX12 swapchain replacement diagnostics: report the back-buffer reference balance for the affected window and resize, with caller stacks for the first GetBuffer sites. A refused replacement retries the minimal cleanup only when Capture Engine released a startup reference.

  • Diagnosing frame-generation switch crashes (GTA V Enhanced DLSS FG to FSR FG): when Windows refuses the new swapchain because the previous one still holds the game window, the log now says whether each of the window's earlier DirectX 12 swapchains is still alive or was destroyed, which module released the last reference of a destroyed one, and which modules still hold backbuffer references. Capture Engine observes this without holding a reference on the swapchain or patching any of its functions. The log also names, in one line, the modules outside DirectX that still hold the old swapchain's backbuffers (in the GTA crash: Streamline's DLSS-G plugin).

  • Exact build of every loaded upscaler and frame-generation DLL in the log: the line for each loaded Streamline, NGX or FidelityFX DLL now includes its full file version and build string (for example 2.14.16.0 SHA: b742680bf v2.14.16-rc2). Two builds can share a version number and a file size, so this is the only way to see from a log which build a session used.

Fixed

  • False DLSS Frame Generation detection on version-1 Streamline queries (RoboCop: Rogue City): gated slDLSSGState capability (numFramesToGenerateMax) and completion-fence (inputsProcessingCompletionFence / fence value) reads on state.structVersion so older games passing version-1 state structs never interpret uninitialized padding or adjacent stack memory as active frame generation while DLSS Frame Generation is off.

  • Inject overlay briefly disappearing when enabling DLSS Frame Generation in version-1 Streamline titles (RoboCop: Rogue City): accepted same-queue cold-start Streamline outputs proven via the native swapchain submission path while passive ExecuteCommandLists probing is still deferred during startup, and kept the pre-Streamline overlay drawing until confirmed handover on proven original-queue Streamline swapchains.

  • Inject overlay graph timing in game menus with FSR Frame Generation (GTA V Enhanced): corrected repeated graph positions when the game submits frames faster than the display refreshes. A subsequent session still reported judder, so smooth motion on the displayed images remains under investigation. The graphics test harness can now compose retained and per-frame buffered FSR UI textures and read back every frame FidelityFX hands to the screen, after other overlays and Capture Engine have drawn. From those pixels it checks that the overlay, the game's HUD and fresh text are present exactly once, and that the frame-time graph moves by the same distance on every shown frame through FSR Frame Generation, the menu pause and resume. The [OverlayGraph] log line now counts graph holds and catch-ups separately for game frames and for generated frames, measured against the time each frame stands for, so a session log shows which kind stutters. A route's first frame after the overlay switched between game frames and generated frames is no longer measured against that route's last frame from seconds earlier, which had reported steps of thousands of graph slots at every frame generation switch. In the next session's menu, the overlay drew every game frame and its graph moved evenly against the game's own clock, while the game sent about 157 frames a second to a 144 Hz display with vsync_mode=fifo. The cause is fixed separately below (DLSS Frame Generation stayed loaded after the switch). Until now the hook log recorded the VSync settings of the final Present only once, on the first frame of each thread, so it could not tell whether the sync interval was lost before DirectX or ignored by the driver. The hook log now reports the VSync settings each final Present hands to DirectX and which layer chose them (DXGI final present VSync). It logs a line whenever they change, plus every 10 seconds with the presents per second they ran at.

  • A frame-time spike disappeared from the overlay graph after switching frame generation: when a game replaces its swapchain, for example GTA V Enhanced when it switches from DLSS to FSR Frame Generation, its first frames on the new swapchain reach the screen through the Windows compositor for about half a second. The graph shows the game's present times during that time, so the switch's hitch (556-800 ms in GTA V Enhanced) appeared. When the game's own screen updates resumed, the graph switched back to screen times, which had left out the whole stretch, hitch included, so the spike vanished. The screen-time series now keeps the interval up to the compositor's first frame, so the hitch stays in the graph.

  • Overlay judder and ghosting in GTA V Enhanced menus after switching from DLSS to FSR Frame Generation: when GTA V Enhanced switches, it unloads DLSS Frame Generation while the old swapchain is still alive. Capture Engine holds that unload until Streamline has cleaned up the old swapchain, which prevents a crash. In GTA the cleanup notification never came, so the unload was never passed on. DLSS Frame Generation then stayed loaded for the rest of the session and created FidelityFX's new swapchain as its own (six buffers instead of three). On that swapchain the game's menu ran at about 158 frames a second on a 144 Hz display despite vsync_mode=fifo, so the overlay and its frame-time graph juddered and ghosted. Starting the game directly with FSR Frame Generation was not affected. Capture Engine now passes the unload on as soon as the old swapchain is destroyed, so FSR Frame Generation gets the same swapchain as on a direct start. The hook log shows [SL UNLOAD ORDER] forwarded reason=chain-gone. In menus where GTA V Enhanced turns DLSS Frame Generation off, the game still renders faster than the display refreshes on DLSS Frame Generation's own swapchain (about 160 frames a second on a 144 Hz display, with about 16 a second never shown). That is caused by Windows' "Variable refresh rate" graphics setting (see Improved). The hook log also records what DLSS Frame Generation asks NVIDIA's driver about flip pacing (driver SetFlipConfig).

  • Inject overlay missing for one frame when a game pauses FSR Frame Generation (GTA V Enhanced menus): when FidelityFX presents through Streamline's swapchain, the last generated frame before the pause can reach the screen after FidelityFX has already started on the next frame. Capture Engine stopped drawing on that route too early, so that frame showed no overlay. It now keeps the route until all earlier frames have been shown.

  • Inject overlay disappearing after a DirectX 12 frame-generation switch: keep drawing when a disabled Streamline swapchain is replaced after FSR or DLSS Frame Generation. The replacement now proves its own presentation queue and successful overlay submission before continuing, so it does not rely on the departed swapchain or wait for DLSS to turn on.

  • Late DirectX 12 inject overlay at startup: removed an unnecessary resource-upload submission and a fixed 100 ms pause before the first draw. The selected renderer prepares its resources together with the draw, so GPU command ordering establishes readiness without leaving extra frames blank.

  • Inject overlay appearing late in games with the Social Club or Epic overlay (GTA V Enhanced): with either overlay's module loaded, Capture Engine held its DirectX 12 overlay back for a fixed 500 ms startup warm-up, then a further settle and staged initialization, so it appeared about 0.6 s after other overlays such as ReShade's. The warm-up now applies only while a frame generation runtime owns the game's swapchain at startup; the game's own swapchain gets the overlay from its first frame. A visible startup window of those overlays still pauses it.

  • Inject overlay after a DirectX 12 game replaces its presentation queue: keep the overlay drawing from the replacement swapchain's first frame and keep frame generation reported as off. A new ordinary game queue was previously mistaken for FSR Frame Generation, suppressing the overlay.

  • Epic overlay coexistence in DirectX 12: recognize the launcher's hyphenated overlay DLL names so its rendering is classified as overlay work and follows the existing startup compatibility rules.

  • GTA V Enhanced crash after switching from DLSS to FSR Frame Generation with ReShade: the per-output overlay route attached the overlay to FidelityFX's last submission although that submission ran on a different queue from the one the swapchain belongs to, and Windows removed the GPU device on the first overlay draw (ERR_GFX_STATE). The route now only uses submissions on the swapchain's own queue and checks that queue again before every draw; otherwise the overlay stays on the UI-resource route.

  • Juddering inject overlay with FSR Frame Generation in GTA V Enhanced: Capture Engine now searches the whole Present chain for FidelityFX's Present call, so FidelityFX's last submission can be told apart from overlays that also draw at Present (GTA V Enhanced wraps it in Social Club, Epic's overlay, Streamline and ReShade). In GTA V Enhanced, FidelityFX presents through Streamline's swapchain, and Streamline copies each displayed frame onto the screen image inside FidelityFX's Present. The overlay now draws right after that copy, so the overlay and its frame-time graph update with every displayed frame instead of every rendered frame, also after switching from DLSS to FSR Frame Generation.

  • Compositor frame diagnostics on current Windows 11 builds: the display-timing sensor only read the original layout of Windows' composition-token events, which current Windows 11 builds send in a newer version, so its counts of shown and discarded frames stayed at zero. It reads both layouts again, tells frames shown by composition, by independent flip and not at all apart, and logs for every new swapchain how long Windows took to show its first frame and how many frames it discarded before that.

  • GTA V Enhanced crash after switching from DLSS to FSR Frame Generation: the game kept reporting DLSS-G as on through its state queries for about a second after it unloaded DLSS-G, and Capture Engine took that for DLSS Frame Generation on the new FSR swapchain: it showed DLSS FG, moved the overlay to Streamline's route and drew on the FSR swapchain through the old DLSS queue, which removed the GPU device. Capture Engine now tracks which runtime created the window's current swapchain and whether DLSS-G is still loaded in Streamline; a DLSS-G state report never takes over a swapchain another runtime presents, the overlay stays on the FSR route and the FSR status stays correct. A DLSS-G enabled only through its state reports is still recognised on its own swapchain. A route submit that removes the device no longer counts as a working route.

  • GTA V Enhanced crash during startup: keep startup capability queries from leaving DLSS Frame Generation enabled after the game unloads it. Unload ordering now requires a DirectX 12 swapchain actually created by the DLSS-G plugin; ordinary swapchains passing through Streamline no longer keep the plugin active for later auxiliary DirectX 11 swapchains.

  • GTA V Enhanced crash when switching from DLSS to FSR Frame Generation: the game unloads DLSS-G before it releases its DLSS swapchain, so Streamline never told DLSS-G that the swapchain was gone and Windows refused the FSR swapchain for the window (E_ACCESSDENIED). Capture Engine now holds the unload until that swapchain's proxy released it, which restores Streamline's own order; the game is still answered as if DLSS-G were unloaded. Titles without a live DLSS-G swapchain are unaffected.

  • Inject overlay on the first DirectX 12 DLSS Frame Generation output: prepare the replacement swapchain's overlay on its verified native presentation queue and reuse the warm renderer across the handoff.

  • False DLSS Frame Generation startup freeze reports: repeated configuration calls before the first frame no longer trigger a freeze dump. Capture Engine now traces the title's first Present marker and the first Streamline output callback separately.

  • Windows build verification: write each toolchain closure proof as a new record so an open proof file cannot cause an access-denied failure during the build or release preflight.

  • GPU fault diagnostics during DLSS Frame Generation: when the final-output overlay detects a removed device, Capture Engine collects GPU breadcrumbs and page-fault data if enabled. The DX12 FG switch test can arm DRED in its config for launchers that start it without command-line arguments.

  • DirectX Present crash during startup or frame-generation switching: serialize hook installation when the first game swapchain and the bootstrap swapchain arrive together. Capture Engine keeps one forwarding route for Present and Present1, preventing recursive calls and a stack overflow.

  • Inject overlay when leaving DLSS Frame Generation during rapid switches: draw on the first native DX12 frame and report FG off when the game replaces the confirmed Streamline output while its OFF request is still held. This fixes the brief blank seen with Steam Overlay and ReShade active.

  • Inject overlay during rapid FSR-to-DLSS switches: draw on the replacement Streamline swapchain's first passthrough frame when its overlay backend and presentation queue are ready. This closes the brief gap seen in the DX12 FG switch test with Steam Overlay active.

  • Frame-time graph animation with FSR Frame Generation: draw the graph at generated-output cadence when a DirectX 12 queue proxy forwards FidelityFX's composition. The overlay follows the runtime's output batch even while another overlay submits work during Present.

  • Inject overlay when a restored DX12 game re-enables DLSS Frame Generation: let the first DLSS output draw the overlay when it presents on the same verified native queue and swapchain that already drew it before activation. This removes the startup gap seen after restoring The Witcher 3.

  • Inject overlay after switching from DLSS to FSR in a menu: keep drawing while FidelityFX presents with frame generation off, even when a graphics proxy returns a different view of the backbuffer's DirectX 12 device. Capture Engine verifies that the backbuffer and its owner queue share the same device and clears the previous DLSS FG status during the handoff.

  • Missing crash dumps during concurrent game termination: let the active crash dump finish before another thread forwards a native self-termination request. Capture Engine writes the minidump before the supplementary frame-generation trace.

  • DX12 sharpening and gamma with native FSR Frame Generation: recycle completed FidelityFX callback resources using GPU completion markers, including when a runtime submits through a cached command-queue entry. This prevents completed frames from accumulating GPU allocations across play and save loads.

  • DirectX 12 startup crash with an inactive FidelityFX swapchain: keep sharpening, capture, and overlay submissions on the native swapchain’s present queue when a game such as The Witcher 3 recreates its FSR effect context during startup. The retained output can also draw during a handoff from FSR to DLSS.

  • FSR Frame Generation inject overlay: keep the overlay visible through FSR activation and suspension in The Witcher 3 with stacked graphics proxies. Capture Engine resolves the underlying queue from the FidelityFX swapchain descriptor and checks that it owns the target device before drawing.

  • XeFG status in the inject overlay: the overlay reports active XeFG in The Witcher 3 and other games where another component owns the XeFG enable hook. Capture Engine reads the runtime’s last-present status when it has not observed an enable call.

  • False freeze reports during game startup: ordinary startup dialogs, including the Heroes of the Storm launch dialog, no longer trigger freeze dumps without evidence that presentation stalled. Recognized graphics error dialogs can still trigger a dump immediately.

  • Inject overlay during DLSS Frame Generation swapchain recreation: prepare the replacement swapchain and rearm the overlay callback when DLSS Frame Generation stays enabled across a brief return to the game queue. This closes the overlay gap during the swapchain sequence observed with Ubisoft Connect active.

  • Overlay during FSR-to-DLSS handoff: signal each pending overlay fence on the queue that submitted the draw and retain that queue until signaling finishes. A completed Streamline OFF edge cannot tear down the fresh overlay when FSR later stops, avoiding a missed present during the handoff. An FSR callback that already drew a queued output keeps ownership of that output when it presents after FSR turns off.

  • FSR frame generation teardown crash during save-load transitions: resolved an access violation crash in amd_fidelityfx_dx12.dll (0xC0000005) that occurred when games (such as Avatar: Frontiers of Pandora) disabled FSR frame generation with an explicit null callback before destroying the effect context during save-load or menu transitions. Capture Engine previously synthesized a present-callback bridge on disabled configure packets without an application callback, forcing AMD's presentation swapchain proxy to retain a callback referencing the departing effect context and crashing when the destroyed context was dereferenced on subsequent presents.

  • Overlay continuity during FSR effect context recreation and suspension: destroying an FSR effect context now immediately signals frame generation deactivation, clearing callback expectations and allowing overlay fallback on the verified runtime swapchain queue without waiting for a stall timeout. Stale Streamline teardown grace counters are cleared on authoritative FFX swapchain takeover and prevented from deferring overlay initialization while on an FSR swapchain, maintaining continuous overlay coverage across save-load transitions.

  • FSR frame generation callback lifetime across effect context recreation: Capture Engine retires the callback bridge after the provider accepts a null callback or destroys the effect context. A rejected configure preserves the previously accepted callback and its user context. A retired callback can no longer refresh routing proof. The live presentation swapchain keeps its queue registration until its own teardown.

  • Overlay continuity after disabling FSR frame generation: turning off FSR frame generation no longer causes prolonged blank intervals or missing overlay rendering across subsequent presents. Capture Engine keeps the valid passthrough callback route where the runtime continues to invoke it, and when that route ends or stalls, uses the same verified swapchain queue for overlay initialization and normal drawing until presentation returns to the game, maintaining exactly one overlay draw on every eligible output across the transition and publishing the correct Frame Generation status.

  • Session-scoped diagnostic arm for process self-termination and fault tracking: added a session-scoped diagnostic arm marker (diagnostic_arm.txt) in the active session directory targeting exact process basenames (such as afop.exe). When armed, nonzero process self-terminations (including exit code 3 from internal crash analyzers) trigger a pre-termination minidump capture with fatal-assert scope (thread stacks, referenced memory, and terminating thread) without altering clean exit behavior, normal crash policies, or WER adoption. The arm is checked independently of the log level and applies only to genuine self-termination requests. Marker filenames must be complete. The fault history retains the newest matching first-chance evidence across reporting threads. The per-process transition trace (fg_transition_trace_<pid>.txt) keeps frame generation mode, routing and queue changes visible during steady rendering and uses bounded stack space during termination.

  • Inject overlay visibility with Ubisoft Connect / Uplay overlay: games running with the Ubisoft Connect / Uplay overlay active (such as Avatar: Frontiers of Pandora) no longer cause the inject overlay to disappear. Capture Engine now tracks verified Ubisoft overlay64.dll and overlay.dll modules requiring corroborating Ubisoft path/product evidence, traversing the Present call stack past verified overlay frames to reach the true Present originator (including Streamline and DLSS Frame Generation) and compositing below foreign Present entry chains. Ubisoft version metadata takes effect on the first scan, and a verified late load keeps its position relative to Steam.

Release Assets

  • captureengine-0.1.7161.7z: core product binaries, PDBs, FFmpeg closure, and default configuration
  • captureengine-setup-0.1.7161.exe: graphical installer and uninstaller (shortcuts, startup, elevation service, optional PawnIO driver)
  • testapps-0.1.7161.7z: standalone graphics & frame generation test executables and diagnostic tools
  • ffmpeg-corresponding-source-0.1.7161.7z: complete LGPL corresponding source archive
  • latest_manifest.json / latest_summary.txt: full build and verification evidence

Distribution & Licensing

  • FFmpeg is distributed as shared libraries under LGPL-2.1-or-later; see bundled notices.
  • Binaries are verified with PE hardening checks (ASLR, DEP/NX, CFG) and are not Authenticode-signed.