Repository navigation
Stable release 0.1.7156
v0.1.7156
Stable release 0.1.7156 built and fully verified from ff04ae0.
Highlights & Changes
New
-
The inject overlay works with Intel XeSS frame generation (XeFG), in games that ship it and through OptiScaler: XeSS frame generation presents every displayed frame itself, the generated ones from a thread of its own, on a swapchain and a GPU queue of its own, so CaptureEngine used to draw on none or only some of them. CaptureEngine now recognizes the swapchain XeSS frame generation creates, also when it takes over the game's own swapchain, and draws the overlay once on every frame it presents, generated or not, on XeSS frame generation's own queue, without copies and without waiting for the GPU. The overlay shows "XeFG 2x" to "XeFG 4x" while generation is on, from the frames actually presented, and the frame rates show what reaches the screen and what the game renders. Inject-capture recordings contain every frame XeSS frame generation presents, each with its own presentation time, with or without the overlay. Turning generation on and off, changing the factor, resizing the window and leaving XeSS frame generation for the game's own swapchain and back keep the overlay on screen throughout. The hook log names the swapchain and queue XeSS frame generation presents with (
[FG PRESENTER],[RUNTIME OUTPUT]) and every call that changes its state (XeFG: ...). -
The FPS limiter paces the game's frames under XeSS frame generation, not the generated output: CaptureEngine's frame cap now holds the game's own frame on its thread, right before it goes to XeSS frame generation, and lets every frame XeSS frame generation presents pass, the way it already handles FSR frame generation: a 120 fps cap with XeFG 2x renders 60 frames and shows 120, spaced by XeSS frame generation itself instead of a second limiter behind it. A frame cap the game sets in Intel's latency reduction (XeLL) runs alongside: whichever cap is lower holds the frames, and the hook log names both and the one that holds (
XeLL: frame caps in series). XeLL's per-frame markers also give the PC latency estimate the moment each frame started, as NVIDIA's markers do in DLSS games.
Improved
-
Crash logs say whether a stack overflow runs through CaptureEngine: when a game dies of a stack overflow,
crash.lognow carries one line that walks the crashed thread's stack: how many frames it holds, the function calls that repeat at the crash, how many of the frames belong to CaptureEngine, and where the thread started (StackOverflow attribution: ... CE frames=...). A startup crash of The Talos Principle Reawakened with OptiScaler and ReShade could previously be told apart from a CaptureEngine fault only with a debugger: 75,000 nested calls of OptiScaler's own hook, none of them CaptureEngine's. -
DirectX 12 hooks coexist with native API input wrappers: body interception can preserve the two-argument FidelityFX API across a foreign entry detour, including its scratch-register prologue, while keeping live argument registers intact. Unloaded body-hook registrations can be retired without touching an address that another image may already have reused.
Fixed
-
The Steam overlay works again in DLSS frame generation games when ReShade or OptiScaler is loaded too (The Talos Principle Reawakened): with two or more overlay-type tools loaded, CaptureEngine handed Streamline's frame generation swapchain back wrapped in an object of its own, even though its hook below the Steam overlay already saw every frame of that swapchain. The Steam overlay hooks the swapchain it is given, found CaptureEngine's code instead of Windows' and could not hook it, so it never drew anything. CaptureEngine now returns the swapchain as created whenever its hook below the other overlays covers it, and keeps its own wrapper only where it is CaptureEngine's sole view of the frames. The hook log names the choice for every Streamline swapchain (
Streamline runtime swapchain ... returned as created (view=real-below-foreign-chain ...)). -
The Steam overlay keeps its HDR color-space hook when the game starts many threads at once: CaptureEngine watches the game's HDR color-space changes from inside Windows' function so that the Steam overlay can hook its start. That hook was tried only once and, when it met a thread being created at that moment, CaptureEngine took the function's start instead, where the Steam overlay cannot follow it. It is now retried like CaptureEngine's other hooks below the Steam overlay (
DXGI: SetColorSpace1 body hook ... installed on attempt N). The back-buffer reference diagnostics retry their hook the same way. -
Ending FSR frame generation behind OptiScaler's FFX inputs no longer reads a wrong security cookie: when CaptureEngine observes AMD's
ffxDestroyContextbelow another program's detour, it replays the start of AMD's function from a copy of its own. That start loads a security cookie relative to the code's address, and the copy loaded it from the wrong place, which could crash the game or fail AMD's stack check when frame generation was turned off or the game exited. The copy now addresses the real cookie; the hook log shows the correction (DeepHook: Fixed prolog RIP-relative). -
Switching from DLSS frame generation to FSR frame generation through OptiScaler keeps FSR FG and its overlay: when OptiScaler first passed the game's DLSS frame generation requests on to a running DLSS FG and the game then switched to OptiScaler's FSR frame generation, the game's continuing DLSS requests in the first seconds still counted as DLSS FG, because Streamline had presented the frames shortly before. CaptureEngine took down its FSR overlay route and never showed FSR FG again. The swapchain FSR frame generation creates now ends that evidence at once (
[FG PRESENTER] ... Streamline proves itself again with its next present). -
DLSS frame generation switched on before a game's first frame shows as DLSS FG through OptiScaler's wrapper: a game that turns DLSS frame generation on at startup, before it renders anything, had its request held because Streamline had not presented a frame yet to prove it real, and CaptureEngine never applied it afterwards: DLSS FG ran while the overlay said FG off. The request is now applied as soon as Streamline presents, and CaptureEngine's DLSS FG state follows whenever Streamline starts or stops presenting (
Streamline Hook: Streamline FG signal is no longer a front). -
XeSS frame generation stays observed when the game unloads and reloads Intel's DLLs, and a second copy cannot break it: Windows maps a reloaded
libxess_fg.dllorlibxell.dllat its old address without CaptureEngine's hooks, and CaptureEngine's record of the unloaded copy refused to hook it again, so XeSS frame generation went unseen: no overlay status, no frame pacing at the game's frame. The records of an unloaded copy are now forgotten before the next one is hooked (XeFG: ... mapped after an unload). A second copy loaded from another folder while the first is still loaded is left alone (second image ... left unobserved): hooking it had pointed the first copy's hooked functions at the second copy's code. -
FSR frame generation without a game UI layer shows the overlay on every displayed frame, smooth and sharp (OptiScaler's DLSS-to-FSR frame generation, The Talos Principle Reawakened): when a game hands AMD's frame generation no separate UI layer, as OptiScaler does with
EnableFfxInputs=true, CaptureEngine drew its overlay into the rendered image before frame generation, so AMD interpolated it like part of the scene: the overlay changed only with each rendered frame (45 times a second on a 90 fps screen), the frame time graph scrolled in visible steps, and generated frames showed it warped by the scene's motion, which can make the whole picture look less smooth. CaptureEngine now hands the overlay to its final-output route as soon as that route has proven itself on AMD's presenter thread, and draws it on every displayed frame after AMD composed it, generated ones included; until then, and if that proof is lost, the rendered image keeps the overlay so it never disappears. The handover waits until AMD presents from its own thread: at frame generation start AMD presents a few frames from the game's thread first, and handing over earlier cost the overlay on the next frame (7 frames without it in the first seconds of a test run). The game's own render thread no longer submits overlay GPU work in that mode either. The hook log shows the handover (FFX proxy overlay route transition no-ui-resource-backbuffer -> no-ui-resource-topmost,final-batch overlay ownership GRANTED (no UI resource: ...)). -
OptiScaler DLSS-G input calls keep the active FSR overlay visible: repeated DLSS-G options and Reflex activation no longer trigger FSR overlay teardown or repeatedly start DLSS UI rendering when another runtime is actually generating the frames.
-
OptiScaler DLSS-to-FSR frame generation works with default FFX inputs: fixed the missing inject overlay with
EnableFfxInputs=true, as reported in The Talos Principle Reawakened. CaptureEngine now observes native FidelityFX output calls below existing input detours, including calls through saved originals, while preserving those detours and their ability to detach. The existing FSR composition and GPU queue paths stay in use. -
FSR frame generation can resize with the final-output overlay active: the resizing swapchain's completed overlay command lists release their old backbuffers before
ResizeBuffers, preventing DXGI from rejecting the resize because those buffers remain referenced. -
Frame generation that another tool ships in its own folder is recognized as frame generation (OptiScaler): OptiScaler keeps Intel's XeSS frame generation (
libxess_fg.dll,libxell.dll) and AMD's FSR frame generation in itsOptiScalerfolder, and CaptureEngine took everything in that folder for part of an overlay. It then misjudged which component presented a frame: with OptiScaler's XeSS frame generation in The Talos Principle Reawakened, the frames XeSS presented looked like Streamline's or the game's own. A frame-generation runtime is now recognized by its file name wherever it is installed, and a copy ofdxgi.dllor another Windows graphics DLL outside the Windows folder is treated as code of its own instead of as Windows. The hook log names who presents on every swapchain and thread ([PRESENT ORIGIN], with a 10-second summary), and the overlay coverage check no longer counts a frame CaptureEngine did not draw on as covered merely because frame generation is on: only frames the generating runtime itself presents can carry an overlay CaptureEngine drew earlier (uncoveredByOriginator=in[OVERLAY COVERAGE]). -
The overlay no longer vanishes for 30 frames when a game switches from FSR frame generation to another one: CaptureEngine hides the overlay briefly after a long pause with frame generation on, such as a loading screen. Switching from FSR frame generation to a frame generation with a swapchain of its own (such as XeSS frame generation) looked like such a pause, because FSR frame generation's frames are drawn through a different path that the pause detection does not see, and the overlay disappeared for the first 30 frames. A pause is no longer measured across a change of swapchain; the hook log notes each such change (
Scene transition gap rebased on a new swapchain). -
With the Steam overlay and RTSS both running, RTSS's Present hook is no longer taken for Steam's when Streamline or XeSS frame generation loads after them: when CaptureEngine cannot tell from the code address which overlay hooked the game's Present, the overlay that loaded last owns it. Streamline's
sl.interposer.dllandlibxess_fg.dllare watched only to know they are loaded, but each load still counted as the latest overlay, so in a game that loaded Steam, then RTSS, then Streamline, CaptureEngine applied its Steam-overlay handling to RTSS's hook. Only real overlays count as the latest one now, and the hook log no longer calls those two DLLs overlays. -
OptiScaler's frame generation in place of DLSS frame generation no longer shows or runs as DLSS FG: with OptiScaler set to take the game's DLSS frame generation requests (
FGInput=DLSSG) and generate with XeSS or FSR frame generation instead, the game still turns DLSS frame generation on, but OptiScaler answers those calls, not NVIDIA's Streamline. CaptureEngine took them for DLSS frame generation: the overlay said "DLSS FG 2x" and CaptureEngine treated frames as Streamline's that Streamline never presented. A DLSS frame generation request answered by another program while Streamline presents no frames, or made while another frame generation presents the frames itself, now leaves CaptureEngine's DLSS FG state off, and NVIDIA frame-generation features created beside it are ignored. When OptiScaler only passes the requests on to a DLSS frame generation that really runs, Streamline presents the frames and it is DLSS FG as before. The hook log says so once per change (Streamline Hook: FG signal ON (2x) via ... is a front). -
OptiScaler's FSR frame generation output shows the overlay and no longer crashes the game when DLSS frame generation is switched on (The Talos Principle Reawakened): OptiScaler generates with its own copy of AMD's
amd_fidelityfx_framegeneration_dx12.dllfrom its folder, next to the game's copy of the same name, and calls it in a way CaptureEngine's usual routes do not see. CaptureEngine watched only the game's copy, never noticed OptiScaler's frame generation start, and kept the overlay off. When the game then asked for DLSS frame generation (which OptiScaler answers itself), CaptureEngine took that for a switch from FSR to DLSS, drew on FSR's swapchain from the game's GPU queue, and the GPU device was removed (0x887A002B): the game closed without a crash dump. CaptureEngine now watches every loaded copy of AMD's frame generation runtime and follows the one that creates the frame generation swapchain (FFX Hook: the frame-generation swapchain was created by ...). A DLSS request that another program answers no longer ends an FSR frame generation start. CaptureEngine also never draws on a frame generation swapchain from a GPU queue it only guessed (No swapchain queue captured ... SKIPPING the overlay). -
Games with OptiScaler installed as
dxgi.dllno longer crash when Streamline starts (The Talos Principle Reawakened): OptiScaler and CaptureEngine both hook Streamline's functions, and OptiScaler checks that its hook onsl.common.dllis still in place. CaptureEngine placed its own hook in front of OptiScaler's by rewriting the bytes OptiScaler had written; OptiScaler took that for a freshly loadedsl.common.dlland hooked it again in front of CaptureEngine, so each called the other until the game ran out of stack (0xC00000FD). CaptureEngine now leaves a Streamline function alone when another program has already hooked it and sees the game's calls through its ownGetProcAddressand import hooks instead, which still run before the other program's hook. Functions nobody else hooked, and every other kind of hook CaptureEngine places, are unchanged. The hook log names each function it left and the program that owns it (InlineHook: Left ... owner=...,Streamline Hook: Left ...). -
cengine.dllstatus always matches the recording event a program just received: the engine announced a recording that started, went live or began stopping before its status showed it, so a program readingce_runtime_get_statusright after the event could still see the previous state. The status now changes first and the event follows, as it already did for settings and the runtime state.
Changed
- Under FSR frame generation without a game present callback, overlays hooked into Present draw above the CaptureEngine overlay while they show something, and the CaptureEngine overlay no longer skips frames when they stop (GTA V Enhanced, OptiScaler's FSR output): CaptureEngine drew its overlay into the last graphics submission before each displayed frame so it stayed on top. When that last submission was another overlay's, such as a Steam notification or OptiScaler's start-up message, the frame right after it stopped drawing had no CaptureEngine overlay at all. CaptureEngine now draws into AMD's own last submission for each frame, which every displayed frame has. Overlays that draw after AMD's frame generation (Steam notifications and the Steam overlay, OptiScaler's own messages, effects applied at Present) now cover the CaptureEngine overlay while they are visible, and are not part of inject-capture recordings under FSR frame generation. The hook log notes each change (
[OVERLAY LAYER] No-callback FSR: N submission(s) now follow the runtime's last batch).
Release Assets
captureengine-0.1.7156.7z: core product binaries, PDBs, FFmpeg closure, and default configurationcaptureengine-setup-0.1.7156.exe: graphical installer and uninstaller (shortcuts, startup, elevation service, optional PawnIO driver)testapps-0.1.7156.7z: standalone graphics & frame generation test executables and diagnostic toolsffmpeg-corresponding-source-0.1.7156.7z: complete LGPL corresponding source archivelatest_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.