Repository navigation
Stable release 0.1.7155
v0.1.7155
Stable release 0.1.7155 built and fully verified from 78661a2.
Highlights & Changes
New
-
Recordings interrupted by a crash are repaired automatically: when capture or encoding crashed, or CaptureEngine (or another program running its engine) ended unexpectedly, the half-written recording used to stay behind as an unplayable or unseekable
capture_stage_*file, and an audio-only recording looked finished but had no duration. CaptureEngine now repairs it right after a helper crash, or at its next start, intocapture_recovered_*.mkv(or.mka) with an index and duration, every audio track and the video ending at the same instant, and shows a tray notification. MKV recordings now close their blocks every second, so a crash loses at most about one second instead of up to five. Files that cannot be read are kept ascapture_incomplete_*instead of being deleted. -
Crash-safe MP4/MOV recordings on request (
[Output] fragmented_mp4=true): mp4 and mov recordings are written in fragments of about a second, so an interrupted recording stays playable and is repaired like an MKV. Off by default: a fragmented file cannot state its exact end, so its audio may end up to one audio frame (about 20 ms) after the video; MKV stays the container with exact track lengths. -
Other programs can drive CaptureEngine (
cengine.dlland an SDK folder): CaptureEngine's engine (the helper processes, recording, hotkeys, the desktop overlay, screenshots, game launching, settings and the sensor driver, elevation service and autostart setup) now runs insidecengine.dllbehind a documented C API, and the CaptureEngine app is one program that uses it. The installation contains ansdkfolder with the header files, import libraries for clang/MinGW and MSVC, the export list, a CMake package (find_package(cengine)), an example program and a developer guide with recipes for every task. A program placed in the CaptureEngine folder can start the engine, record, take screenshots, change settings and receive events such as a finished recording with its file path. Only one engine runs per Windows session: while the CaptureEngine app runs, another program is told the engine is busy. -
Programs that use
cengine.dllcan host CaptureEngine's helper processes in their own executable (CE_FEATURE_SELF_ROLE_HOST): a program that wants game injection, capture and encoding in separate processes (so a crash there does not end the program) used to getcaptureengine.exeprocesses for them. With the new feature bit, those helpers, the per-application audio worker, the hardware sensors and administrator setup steps run as further instances of the program's own executable, which hands them to the engine by callingce_role_host_main()first thing inmain; the engine then starts even withoutcaptureengine.exe. The SDK's example program shows it (--self-role-host), and each helper's log names the executable it ran from ([RoleHost] helper executable=...). -
Recording picks the best video encoder of your GPU automatically (
[Video] encoder=auto, the new default): recordings usedav1_nvencunless you changed it, so on AMD or Intel graphics, and on NVIDIA GPUs without an AV1 encoder, recording failed until the right encoder was configured by hand. CaptureEngine now finds the GPU that will encode (the game's GPU with inject capture, the captured monitor's GPU for screen capture, or the first GPU that can encode when that one cannot) and test-opens its encoders there once, best first: AV1, then HEVC, then H.264, through the vendor's own encoder (NVENC, AMF, Quick Sync) and then Windows Media Foundation. Withbit_depth=autoor10it prefers an encoder that also records 10-bit and HDR, the configured container must support the codec, and if the chosen encoder still fails to open at the recording's real size or settings, the next one is used for that same recording. The result is remembered for the GPU, so later recordings start without testing again (about 0.2 s once, measured on an RTX 5070, which picks AV1).av1_auto,hevc_autoandh264_autochoose only within that codec, and live streaming withautouses the GPU's best H.264 encoder. A named encoder such ashevc_amfis used exactly as before and never switched. The media log shows each test ([EncoderAuto] Probe ...) and one line per decision with the GPU, the choice and every candidate tried ([EncoderAuto] request=auto ...). Existingconfig.inifiles keep the encoder they name.
Improved
-
The injected DLLs are 5.6 MB smaller and leave 32-bit games more address space:
capture_hook_x86.dllandcapture_hook_x64.dlleach carried 5.6 MB of room for the pacing diagnostics trace inside the file, so every game CaptureEngine injected into had to map it, although only a debug-logging session ever fills that trace. The trace now takes its memory only when debug logging starts it, and the hook log says so ([PacingTrace] armed: ... (5632 KiB, allocated)). In a 32-bit game, where the game and everything loaded into it share at most 4 GB, the hook now occupies about 6 MB less. -
Less memory for every thread of an injected game: CaptureEngine's frame statistics kept a 32 KB work buffer that Windows sets up for every thread of the game, not only the one that renders, in DirectX games through the hook DLLs and in Vulkan games through the overlay layer; a game with 200 threads paid more than 6 MB for it. The overlay's 1% and 0.1% lows are now worked out with about 330 bytes on the rendering thread and give the same values. The per-thread data drops from about 40 KB to 7-9 KB in the hook DLLs and to under 1 KB in the Vulkan layer.
-
Every CaptureEngine program and DLL is 0.25 to 0.6 MB smaller: each one carried debug information for the parts of the C runtime it contains, which the debuggers CaptureEngine's crash analysis uses never read (CaptureEngine's own debug information is in the
.pdbfiles next to them) but which every process loading the file had to map, games included. It is left out now, 4.3 MB less across the ten files; the small Vulkan gate layer and the elevation service are less than half their previous size, and crash dumps resolve exactly as before. The build now also rejects a CaptureEngine file that carries such data again, holds more than 256 KB of preset writable data, or sets aside more than 16 KB for every thread of the process that loads it. -
The hook DLLs store each overlay and sharpening shader once: the Direct3D 11 and Direct3D 12 code each had their own copy of the same compiled shaders; one copy is shared now, 55 KB less per hook DLL.
-
Forced anisotropic filtering in Direct3D 11 games no longer forgets shaders it has room for: CaptureEngine remembers, per game thread, which shaders it has already examined, so switching back to one costs nothing. Depending on where the graphics driver happened to place them in memory, a few shaders could push each other out even with the memory a quarter full, and every switch to them repeated the slower lookup. Each shader now has two possible places, and one is only given up when both are full.
-
CPU clocks in the overlay without the sensor driver, and NVIDIA GPU values without LibreHardwareMonitor (
[HardwareSensors] backend): the CPU clock row stayed empty unless the PawnIO driver was installed and CaptureEngine ran with administrator rights through the elevation service, and every GPU temperature, power or clock needed LibreHardwareMonitor. CaptureEngine now reads the CPU's average clock (the performance cores on hybrid CPUs) and its fastest core from Windows itself, and the temperature, power and clocks of an NVIDIA GPU straight from the driver when it is the PC's only graphics card; LibreHardwareMonitor is started only for what is left (CPU temperature and power, fan, voltage, other GPUs) and not at all when nothing is.backend=nativenever starts it,backend=lhmkeeps the previous behavior, and the sensor log names the source of every value ([Sensors] sources (backend=auto): ...). -
Per-application audio capture shuts Windows' audio client down properly: the short-lived worker that records one application's audio used to leave Windows' capture client running until the worker exited, a precaution against a crash in Windows' audio mixer seen in June. A new test that tears thousands of captures down in every way CaptureEngine ever did found no crash on current Windows, so the worker now stops and releases each client (
[ProcessLoopback] client stopped and releasedin the log). The worker stays a separate process, so a crash on another system would still not affect the recording of anything else. -
Programs that use
cengine.dllcan keep their own FFmpeg: CaptureEngine's FFmpeg libraries now have names of their own (avcodec-ce-63.dlland so on) and carry their helper libraries inside (Opus, AV1 encoders, Intel's video runtime, the C++ runtime) instead of shipping them as separate DLLs. A program that runs the engine in its own process and already loaded its own FFmpeg, libc++ or libopus could otherwise make Windows hand CaptureEngine that program's copy, with crashes or broken recordings as the result. Theffmpegfolder now holds just the five FFmpeg DLLs. -
Crash reports and dumps say which part of CaptureEngine crashed: every thread CaptureEngine starts now carries a name (for example
CE media r0003 encoder,CE app audio capture,CE runtime engine), which debuggers, Process Explorer and performance traces show, andcrash.lognames the faulting thread (Faulting thread tid=... name='...'). That matters most when recording runs inside another program or withisolated_helpers=off, where every part shares one process. When the last in-process recording is gone, the log reports what it left behind ([MediaTeardown] residue handles=+0 threads=+0 ...), and so does every destroyed runtime ([RuntimeTeardown] residue ...), so a leak shows up as growing numbers across recordings. -
backbuffer_countnow also limits how far Vulkan games queue frames ahead: in Vulkan, CaptureEngine can only raise a swapchain's image count, never lower it below what the game asks for, because a game sizes its rendering to that count and fails when images are taken away. So in a game that asks for 3 images, such as Strange Brigade,backbuffer_count=2did nothing. Now, on GPUs and drivers that support the Vulkan present-wait extensions, CaptureEngine keeps the image count and before each present waits until the presentbackbuffer_count - 1frames earlier has reached the screen, the same way the setting already limits the queue in DirectX games. That wait never takes longer than 1 second. When a present does not complete within that time (a minimized window, for example), CaptureEngine stops waiting and only checks until the game's presents complete again, so the game is never held up. CaptureEngine stays out of the way where waiting would be wrong: in games that use these extensions themselves, with frame generation that places its own frames (DLSS frame generation, for example), when one present covers several swapchains, and when the image count already limits the queue. If the driver refuses the device with the extensions added, the device is created without them. The Vulkan layer log says once per device whether pacing is on and why not (queue-depth pacing on this device: ...), says once per swapchain whether it paces (queue-depth pacing for swapchain ...), reports the waits every 10 seconds, and logs each missed 1 s limit and each recovery. The 10-second report continues across swapchain re-creations (generations=), because games such as Strange Brigade rebuild their swapchain every few seconds and on every minimize, which used to suppress the report entirely. -
Fewer repeat-then-skip stutters in inject recordings when the game runs close to the recording frame rate: with an uncapped game hovering around 120 fps on a 120 fps recording, small frame-time jitter made the recorder show one frame twice and then skip the next, a visible 0-step/2-step hitch. In The Talos Principle with DLSS 3x about 0.8 of these per second were avoidable. The recorder now plans the next four output frames together from the frames it already holds. It only changes a choice when that avoids a repeat or a skip, and never shows a frame more than one output frame (8.3 ms at 120 fps) away from its place relative to the audio. In replays of that session and of jittered 110-121 fps test sources this removes about two thirds to nearly all of these stutters, at about 0.3 ms more typical timing error and a lower worst case (8 instead of 11 ms). Games running steadily at 60, 144 or 240 fps record exactly as before. This applies to inject capture with and without frame generation; screen capture (WGC, DXGI duplication) is unchanged, since its repeats in tested sessions were all slots where Windows delivered no new frame. The media log reports the changed choices (
Horizon playout avoided-repeat/avoided-skip,[Inject CFR] Horizon playout over ...,Horizon*totals in[Inject CFR QUALITY SUMMARY]). -
Capture-sync recordings in Direct3D 10, 11 and 12 games follow the FPS limiter's exact frame grid: with capture sync, the limiter holds every frame to an exact grid at the recording rate, but CaptureEngine timestamped each recorded frame when it copied it, before the limiter's wait. So the timestamps carried how long the game took to build each frame and jumped by several milliseconds whenever the game's load changed, and the recorder had to keep realigning to them. In BioShock Infinite at a 120 fps capture sync the frames reached the screen within 0.2 ms of the grid, yet their timestamps landed 1.2 to 6.1 ms early and shifted by about 4.5 ms with load; the recorder realigned 8 times in 36 seconds and showed 14 frames twice and skipped 12. Each frame now carries the moment the limiter actually presents it, so a 120 fps recording of a 120 fps capture-synced game gets an evenly spaced source; a general FPS cap above the recording rate is now converted in an even pattern too. Relative to the sound, each frame now sits where it appeared on screen; before, it sat up to one limiter wait (at most one frame interval) too early. Frames that miss their slot keep their own time, and frame generation, Vulkan, Direct3D 9 and 8, OpenGL and DirectDraw are unchanged (the last four already capture at their present). The hook log names the timestamp source when it changes (
pre-limiter captures stamped by ...) and the limiter statistics count it (stamp(...)); the media log counts frames stamped ahead of their arrival (StampAhead=in[Inject Contention]). The limiter trace log no longer cuts its statistics line short. -
FPS limiter latency recovers instantly after a stutter spike: frame pacing never needed to recover, but the limiter's low-latency placement did. After one spike it released the game earlier than necessary for the next 64 frames, and a spike that made one frame late kept a safety margin that took up to about ten seconds to shrink (roughly 4 ms of extra input latency after a 4 ms spike at 120 fps). Now the two largest frame times of the last 64 frames are ignored when sizing the budget, and the safety margin only grows when late frames repeat within those 64 frames, so an isolated spike costs nothing once it is over while a game whose frames are really getting slower is still protected. The trace log notes each ignored spike (
front-load isolated overrun ignored). -
FPS limiter with FSR frame generation limits the game, not AMD's output frames (DirectX 12, capture sync and general limiter): CaptureEngine used to wait on AMD's presenter thread for every displayed frame, on top of AMD's own frame pacing, while the game itself was only held back by AMD's queue filling up. It now limits the game's own frame rate right where the game hands each frame to FSR (half the configured rate at 2x, a third at 3x, on an exact grid) and lets AMD space the displayed frames, as AMD recommends; the configured value is still the displayed frame rate. It applies with FSR frame generation on and off, with and without the game's present callback. If a game stops handing frames through FSR's swapchain, CaptureEngine notices within a few presents and limits the displayed frames again. The hook log says which side owns pacing (
FPS Limiter: the game's Present into the frame-generation runtime owns pacing,... paces again). -
The frame-time graph no longer makes the overlay rebuild all of its text every frame: with the graph shown, the overlay redid its text on every frame just to move the graph, although the text only changes at its update interval (half a second by default). Now only the graph is redrawn between text updates, and drawing it is about four times faster with exactly the same result, so the overlay's own drawing work per frame drops from about 13 to 3 microseconds, which shows at high frame rates. The hook log reports every 10 seconds how many frames were fully rebuilt, graph-only or reused, and what each kind cost.
-
Fewer graphics calls per frame for the Direct3D 11 overlay: this matters most through translation layers like DXUP, where every call goes through the translator. The overlay no longer re-uploads unchanged drawing data, no longer saves and restores the game's render targets twice, identifies the swapchain's API once instead of every frame, and reads the graphics DLLs' version information only when a DLL is loaded or unloaded instead of on every frame.
-
The FPS limiter releases frames on time instead of up to 0.7 ms late: the limiter sleeps on a Windows high-resolution timer until shortly before a frame's slot and spends the last moment in a precise wait. That last stretch was capped at 0.25 ms, but when a game keeps Windows' timer at 1 ms resolution, as BioShock Infinite does, the timer often woke 0.5 to 0.6 ms late: 30 to 45% of the limiter's waits ended after the slot, by up to 0.68 ms, which showed as uneven frame times. The limiter now measures how late the timer wakes and starts the precise wait early enough for 99% of wakes (up to 1 ms before the slot). That precise wait takes CPU time, about as long as the margin per frame; the hook log's limiter statistics show both (
marginUs,fineMeanUs). CaptureEngine also no longer raises Windows' timer resolution to 1 ms for its Reflex-based frame pacing, because on the test system that made the high-resolution timer itself less precise (it is still raised when that timer is unavailable). -
Smoother frame times with CaptureEngine's FPS limiter in Direct3D 10 and 11 games: the limiter waits in the game's present call until the frame's slot comes, and in Direct3D 10/11 the game's frame stays with the driver until that present call hands it to the GPU. So the GPU sat idle while CaptureEngine waited and only started on the frame afterwards, and when the frame reached the screen depended on how long the GPU needed for it rather than on the limiter. In BioShock Infinite at a 140 fps cap this made displayed frame times vary more than twice as much as the limiter's own timing (frame-time standard deviation about 350 µs against 138 µs; uncapped the game reaches 50-80 µs), showed frames about 3 ms later than necessary, and made the render-ahead limit (
cpu_prerender_limit) wait on every other frame. CaptureEngine now hands the recorded frame to the GPU right before the limiter waits, so the GPU renders it during the wait and the frame is ready when its slot comes. The cap, its timing and Direct3D 12, Vulkan, OpenGL and Direct3D 9 games are unchanged. The limiter's statistics line in the hook log now counts these hand-overs (preWaitSubmits) and shows how precisely the limiter's waits ended (wake(...)), including whether the system timer or the final wait phase was late. -
Direct3D 12 rows of the perf CSV show CaptureEngine's present work: each Direct3D 12 frame's row in
perf_metrics_*.csvlacked the overlay time and the split around the game's present call, so the CSV could not show how long the present itself took (Heroes of the Storm through a Direct3D 11-to-12 translation layer, for example), and its FPS-limiter wait was the previous frame's. The row now carriesoverlay_us,pre_present_us,present_call_us,post_present_usand this frame'sfps_limit_wait_us, like Direct3D 11 rows.total_uskeeps its meaning (CaptureEngine's frame processing), and every present still writes exactly one row. -
The render-ahead limit (
cpu_prerender_limit) in Direct3D 11 games no longer keeps a CPU core busy while it waits: when a game's swapchain has no frame-latency wait object (BioShock Infinite, for example), CaptureEngine held the game's render thread back by asking the GPU, in a tight loop, whether an earlier frame had finished. Whenever the GPU was the bottleneck the thread spun through the whole wait, 0.05 to 2 ms per frame in BioShock Infinite, up to about half a CPU core at 240 fps. CaptureEngine now marks the end of each presented frame with a GPU fence and sleeps until the frame the limit allows has finished, and before it sleeps it hands the GPU the work the game already recorded for the next frame, so the GPU does not wait for the CPU. The limit itself is unchanged; devices without fence support keep the previous method. The wait now shows where it belongs: in the perf CSV'sprerender_wait_uscolumn (always 0 for Direct3D 11 before), in the limiter stage of the hook log's[PRESENT STAGE COST]line instead ofstartup_routing, and every 10 seconds in a new[D3D11 PRERENDER]line. -
Repeated frames no longer cost an encode in AV1 recordings and streams with NVIDIA (
av1_nvenc): when a recording slot repeats the previous picture (the game renders fewer frames than the recording rate, a static screen, or encoder overload), CaptureEngine encoded the same picture again, which takes NVENC as long as a new frame. At 4K 120 fps with preset p6 that left no headroom, so short overloads trimmed frames (12-14 in one session). AV1 can tell the player to show the frame it already has again with a 5-byte header, and CaptureEngine now writes that instead. Frame count, timestamps, audio sync and the repeated pictures stay exactly as before; under overload the existing frame pacing can now trade repeats for time instead of trimming. NVENC budgets its bitrate per encoded frame, so CaptureEngine raises the encoder's bitrate by the share of skipped frames and the recording keeps the configured bitrate: in CaptureEngine's hardware test (RTX 5070) the unique frames came out 0.2 to 3.7 dB PSNR better at about the same size, and identical without repeats. Live streams stay within 10% of the configured bitrate in any second and add no latency beyond the encoder's own. Keyframes follow the encoder's frame count, so with many repeats they can be up to twice the keyframe interval apart. Repeats are still encoded with B-frames or lookahead, right after a keyframe, while the cursor or face camera moves, and for HEVC and H.264. If the encoder returns a frame that cannot be shown again (an unexpected keyframe), the repeats already promised behind it keep their time, also as the last frame of a recording. The media log reports it ([AV1 ShowExisting]). This needs the bundled FFmpeg's new option to change the bitrate without a new keyframe. -
Forced AF in Direct3D 11 decides once per draw instead of at every sampler change: in games whose device CaptureEngine wraps (BioShock Infinite, for example), each sampler change ran CaptureEngine's AF decision right away, against a shader and textures the game often changed again before drawing; the draw then decided once more. In BioShock Infinite that redone work was a quarter to a third of forced AF's cost (about 40 ms of CPU time per second at peak). Sampler changes now wait for the draw that uses them, and the game reads back exactly what it set in the meantime. Saving or switching the device context's state (
SwapDeviceContextState), clearing it and command lists keep the pending changes correct. The same now applies where CaptureEngine reaches a game's Direct3D 11 rendering through hooks on the real device context and routes its calls through a function table of its own (after a late injection, for example; see the fix below), because there it sees every draw. Rendering CaptureEngine can only hook in place, such as that of Direct3D 11-to-12 translation layers like DXUP in Heroes of the Storm, decides at the sampler change as before. Which textures get AF is unchanged. The cost line counts the deferred changes (deferral(deferred/s ...)). -
Less CPU time for forced AF in 32-bit Direct3D 11 games: CaptureEngine counts its forced-AF work for the hook log's cost lines, several times per texture bind, sampler update and sampler creation. In a 32-bit game each of those counts was a 64-bit operation that the processor carries out slowly there, about 40 cycles each, more than much of the work being counted (BioShock Infinite: millions per second). 32-bit games now count with 32 bits, which costs under one cycle. The cost lines report the same numbers.
-
Less CPU time per texture and sampler bind with forced AF in Direct3D 11 games: each texture or sampler bind and each sampler update made CaptureEngine rescan all 16 pixel-sampler slots, twice, to find which ones the game had bound and which held CaptureEngine's AF version (BioShock Infinite: well over a million binds per second). CaptureEngine now keeps both as the slots change. A sampler update that changes adjacent slots now reaches Direct3D as one call instead of one call per slot, and the updates are counted per device context instead of in one process-wide counter shared by all render threads. Which textures get AF is unchanged. The cost line reports the slots per call (
rebinds(slotsPerCall)). -
Less CPU time for forced AF when a Direct3D 11 game switches pixel shaders: every pixel-shader switch made CaptureEngine read the shader's forced-AF data back from Direct3D, even when the game bound the shader that was already set (BioShock Infinite switches up to 180,000 times per second). The shader already set now costs nothing, and each render thread remembers up to 1024 shaders it switched to, so a game alternating between its shaders reads that data once per shader. A first version kept only 64 per device context, too few for BioShock Infinite: half of its switches still read the data. The memory keeps no shader alive; a shader the game releases is forgotten as Direct3D destroys it, so a new shader at the same address is always read afresh. Which textures get AF is unchanged. The cost line counts these switches (
shaderSwitches(repeat memo lookup evicted)). -
Forced-AF cost report for Direct3D 11 games covers all of its work: the hook log's forced-AF cost line (
[D3D11 AF COST],[D3D11 AF COST wrapper]) left out the shader lookup each pixel-shader switch makes, and nothing timed the work CaptureEngine adds to each sampler the game creates (BioShock Infinite creates about 157,000 per second). Shader switches are now timed on their own, lookup included (shaderUs,shaders=inestMsPerS), and[D3D11 SAMPLER CREATES]reports CaptureEngine's time per creation next to Direct3D's own (ceUs,runtimeUs,estMsPerS). This shows how much of a game's CPU time forced AF really takes. The cost line also measures how often a sampler update's AF work is redone before the game's next draw, and what deciding only at the draw would save (deferral(...)), as evidence for a possible further reduction. -
Less CPU time per sampler a Direct3D 11 game creates while sampler overrides are on: for every sampler a game created, CaptureEngine took a process-wide lock and copied its whole configuration (dozens of text settings) just to read the sampler settings, and it rewrote the sampler's tag even when Direct3D had handed back an existing, already tagged object. BioShock Infinite creates a sampler on almost every draw for each texture that is still streaming in, so this ran on its render thread thousands of times per second right after loading a save. Together with the replacement scans fixed above, this is the likely cause of textures streaming in slowly there (not yet measured in the game). Sampler creation now reads the thread's cached settings and leaves an unchanged tag alone. Each creating thread also remembers the sampler descriptions it has seen and the objects it has already checked, so a repeated creation skips both the settings work and reading the tag back, and counts itself without any process-wide atomic operation. In BioShock Infinite that still cost CaptureEngine about as much time as Direct3D's own creation; a repeated creation now also skips a settings check that only matters when the game binds a sampler, finds its entry with a hash that 32-bit games compute twice as fast, counts itself once instead of four times, and no longer reads the system clock. This memory holds no sampler alive (Direct3D allows a device 4096 of them); a sampler the game releases is forgotten as Direct3D destroys it, so a new sampler at the same address is always tagged afresh. Every 10 seconds the hook log counts the game's sampler creations, how many of them returned an already tagged object, and how many the per-thread memory answered (
[D3D11 SAMPLER CREATES],memo(desc tag raced threads)). -
Less CPU time per sampler a Direct3D 12 game creates while sampler overrides are on: with forced AF, mip mapping or mip bias configured, every Direct3D 12 sampler a game or a Direct3D 11-to-12 translation layer created made CaptureEngine take a process-wide lock and copy its whole configuration twice, hash the sampler settings again and take one more lock for a log that had stopped logging after 16 samplers. Engines and translators that create sampler descriptors every frame paid this on their render thread. Sampler creation now reads the thread's cached settings and their hash, which are computed once per configuration change, and skips the finished log without a lock. The same cached settings now also serve Direct3D 11 sampler creation. Which samplers get changed, and how, is unchanged.
-
Less CPU time per frame in every game CaptureEngine hooks: each frame, CaptureEngine still took a process-wide lock and copied its whole configuration (dozens of text settings) several times to read single values: for the render-ahead limit and vsync setting at every Direct3D 9, 11 and 12 present, for the frame-latency pacing of DXGI games, for the Direct3D 7 overlay route, and in DLSS, DLSS Frame Generation and Streamline calls that games make every frame, such as each DLSS parameter they set. Direct3D 9 additionally kept a full copy per frame that nothing read. These paths now read the thread's cached settings, which are refreshed on every configuration change, so overrides still take effect at the next frame and behave exactly as before.
-
Less locking for forced AF in Direct3D 11 games CaptureEngine reaches through hooks on the real device: every texture, sampler or shader change on such a game's Direct3D 11 rendering (for example Heroes of the Storm through a Direct3D 11-to-12 translation layer) took one process-wide lock and a table lookup, so a game that records on several threads at once also waited for its own other threads there. Each rendering context now keeps its forced-AF state to itself and reaches it without any shared lock.
-
One forced-anisotropic-filtering implementation for all Direct3D 11 games: CaptureEngine reaches a game's Direct3D 11 rendering in one of two ways, through its own stand-in for the game's device (when it intercepted the device's creation, as in BioShock Infinite) or through hooks on the real one (for example after a late injection, or with a Direct3D 11-to-12 translation layer such as DXUP in Heroes of the Storm). Each way used to decide forced AF with its own code, and only one of them got the recent speed-ups: in BioShock Infinite forced AF still cost about 0.8 ms of the game's CPU time per frame. Both ways now share one implementation, so every Direct3D 11 game gets the cached per-sampler decisions, a configuration change takes effect at the next draw everywhere, and both write the same cost line to the hook log (
[D3D11 AF COST]and[D3D11 AF COST wrapper]). Sampler creation with mip bias or AF disabled is shared too. -
Video memory of a recording broken down in the log: the media log now has a
[GpuMemory]line that splits the recording's GPU memory into the WGC/DXGI smoothness buffer, the encoder's input frames, repeat caches, conversion copies and overlays, plus the remainder the encoder and drivers use internally. It is logged while the total changes and once when the recording stops, with the peak. The video memory added by opening the encoder is logged too ([GpuMemory] Codec open). Windows' per-process video memory counters, including the per-process value in Task Manager, count a texture shared between two GPU devices once per device although it uses the memory once; the line shows that part separately (countedTwice) and the real usage (physical). The total dedicated usage of the GPU is not affected. This shows where memory goes when a recording uses more VRAM than expected. -
Up to 62% less video memory for WGC and DXGI duplication recording: the smoothness buffer that keeps these recordings smooth (300 ms by default) now holds its frames already converted to the video encoder's format (NV12/P010) instead of full RGB frames. Delay, frame count, smoothness and audio sync stay the same. At 4K 120 fps a 10-bit recording needs about 1.5 GB instead of 2 GB and an 8-bit recording about 0.75 GB. HDR recordings, which did not fit the full 300 ms into the 3000 MB budget before, now get it with about 2 GB. Cursor and face camera are still drawn into every output frame. This includes DXGI duplication, which captures on its own GPU device and now converts into frames it shares with the encoder. Recordings with output scaling or HDR recorded as SDR keep RGB frames, as does DXGI duplication on GPUs that cannot share NV12/P010 frames between devices;
[WGC] wgc_retained_yuv=falserestores the previous behavior. The log shows the chosen format per recording ([WGC] Retained reservoir route). -
Less background CPU work during game loading: repeated requests for an already loaded DLL no longer wake a full hook scan or repeat Unreal console-variable discovery when Windows load/unload notifications are available. New modules and reloads still trigger discovery immediately, and loader-return discovery remains available if notification registration fails. Hook-thread summaries now distinguish coalesced loader returns from fallback requests.
-
Less CPU work when forcing anisotropic filtering in Direct3D 11 games and API translators: forced AF is decided per texture on the game's render thread, at every texture, sampler or shader change (for example Heroes of the Storm through a Direct3D 11-to-12 translation layer). Each sampler's decision is now worked out once and reused for all later draws, also when the game switches between samplers from draw to draw, so a texture or sampler change costs one cached lookup instead of several Direct3D queries, replacement-cache scans and lock round trips. Up to 128 sampler states per device context stay referenced for this; they hold no texture memory. Vertex, geometry, tessellation and compute shader texture and sampler bindings are no longer intercepted at all, because forced AF only ever changes pixel-shader samplers. Shader sample dependencies use compact records, and shader or texture changes recheck only affected samplers while still restoring ordinary filtering for protected resources (single-mip render targets, depth and non-color formats, explicit-LOD sampling). Presentation and DLSS overrides no longer trigger sampler replacement checks when all sampler settings are at their defaults. A configuration change still takes effect at the next texture or sampler change. The hook log now reports this work every 10 seconds while it happens (
[D3D11 AF COST]: binds per second, reused and recomputed decisions, sampled CPU time of the bind hooks and of the sampler updates, and the total per second). Games whose Direct3D 11 device goes through CaptureEngine's own device wrapper (for example BioShock Infinite) get the same report as[D3D11 AF COST wrapper]. -
Quick Sync pipeline depth follows the frame rate:
[QuickSync] async_depthnow defaults toauto, which keeps about 100 ms of frames in flight (12 at 120 fps) like NVENC does. The previous fixed default of 4 stalled every frame once CaptureEngine's conversion had to wait more than about three frame intervals behind the game's GPU work, which is the cause of the NVIDIA encoder overloads fixed earlier. Explicit values from 1 to 64 still apply, and the live-streaming preset keeps its low-latency value. Existing configuration files that still containasync_depth=4keep 4; set it toautoto use the new behavior. -
Less video memory for SDR recordings: CaptureEngine no longer sets up the Windows video processor and its full-size staging copy (about 33 MB at 4K) for recordings it converts with its own shaders. Both are now created only when a frame actually needs the video processor, which today means scaled recordings and 16-bit floating-point SDR sources.
-
Encoder overload easier to diagnose: when handing a frame to the hardware encoder takes most of a frame interval, the media log now shows whether the encoder was waiting on CaptureEngine's own GPU copy and color conversion, and whether that work ran slowly or sat queued behind the game's rendering. This works for inject capture, Windows Graphics Capture and DXGI desktop duplication, for both new and repeated frames. One frame per second is measured without blocking, and the results are summarized in one line every few seconds while recording, with a final line when the recording stops. The per-second encoder timing line now covers every capture method and also shows how many frames are inside the encoder against its pipeline depth, and the log records the pipeline depth the encoder actually opened with. A second line per window follows one frame through each of CaptureEngine's GPU steps (conversion, releasing the game's frame buffer, the encoder hand-off, the start of the next frame) and shows, for each step, how long the GPU took next to how long CaptureEngine took to submit it, so a step at which the GPU waits for the encoder stands out.
-
The Vulkan layer log says why a game may be composed instead of flipping on its own: a Vulkan game that the desktop compositor draws shows no tearing and at most one new picture per refresh, even with vsync off. For each swapchain the log now records whether the window covers its monitor, whether the swapchain matches the window's size, whether Windows stretches the window for display scaling, whether it is a layered (transparent) window, and which NVIDIA presentation modules were loaded when the swapchain was created (
presentation path at ... blockers=). The window is checked again every 512 frames and logged again only when something changed. -
Video encoder workload visible in the log: while a recording or stream is encoding, the sensors log now reports every 10 seconds, and once more for the last stretch when encoding stops, how busy each part of the GPU was while it encoded: 3D rendering, split into the game's share and everything else (including CaptureEngine's own conversion), compute, copy, video encode, video decode and any other engine. A video-encode engine near 100% means the encoder itself is at its limit and only a faster preset helps. A video-encode engine well below that while frames are still repeated means the encoder is waiting on other GPU work. The values come from the same Windows GPU counters CaptureEngine already reads for the overlay, so this adds no measurement cost.
Fixed
-
Release lint and sanitizer verification gates pass cleanly: resolved pre-release static analysis, file-size ratchets, and clang-tidy findings across media encoding headers, packaging tests, and platform thread labeling; added default member initializers to the overlay configuration to eliminate undefined bool evaluations under UBSan; and accommodated AddressSanitizer thread provenance in process residue regression tests.
-
Builds kept outdated 32-bit copies of the frame-generation test apps: the DLSS and FSR frame-generation test apps are built for 64-bit only, because their runtimes are, but copies from older builds stayed in
installed/testapp/x86with their old build settings, and every build's checks kept examining them. The build now removes them (Removed ... stale x86 output(s) of x64-only test appsin the build log); they were never part of the packages. -
Programs that record through
cengine.dllno longer lose graphics memory with every recording: each recording made inside a program's own process (the default for programs usingcengine.dll, orisolated_helpers=off) left its NVIDIA video encoder device behind, with about 22 driver threads and roughly 250 MB of video memory, so a program that recorded often slowly ran out of both. Every encoded frame also kept a small allocation alive until the recording's process ended, also in the CaptureEngine app. Recording now gives the encoder's frames back, so the device is released when the recording ends. The log shows it at the end of each recording ([EncoderBridge] Encoder D3D11 device released (references left=0)) and names the owners of any threads a recording left behind ([MediaTeardown] residue threads: ...). -
A recording started while the previous one is still being saved now records: when a new recording started before the last one had finished saving (stopping and starting again right away, by hotkey or from a program using
cengine.dll), the new recording never went live and ended up canceled with no file. The finishing recording reset the shared recording state when its file was done, wiping out the new recording's start; with game capture it could also withdraw the new recording's encoder textures and discard its first frames. A recording that is told to stop now keeps its own copy of that state for the rest of its saving, so nothing it does afterwards reaches the next recording; the media log says so ([RecordingLifecycle] Detached from the shared live state). -
A program using
cengine.dllgets aconfig.iniwhen the folder has none: the engine creates a missingconfig.inifrom the built-in template, but it looked for that template in the running program, which only the CaptureEngine app carries, so for any other program no file was created and the engine ran on built-in defaults.cengine.dllnow carries the template itself. The engine inside such a program also registers the Vulkan overlay layer and starts game injection from the CaptureEngine folder, never from the program's own folder. -
Editing
config.iniin the installation folder no longer asks for administrator rights after an update: setup lets ordinary users editconfig.iniin the installation folder (under Program Files by default), but gave that permission only to aconfig.iniit created itself. Aconfig.inifrom an older installation, from a folder you copied in, or one saved over by an editor running as administrator kept the folder's read-only permissions, so every save needed administrator rights. Setup now gives the permission on every install and update, toconfig.iniandconfig.ini.new. It never changes permissions through a link: ifconfig.inior one of CaptureEngine's data folders (logs,captures,screenshots,benchmarks) is a junction or symbolic link, the link is left as it is and the folder or file it points to is not touched. The setup log reports the result (config: ... opened_to_users=) and each link it left alone. -
A missing
config.iniis recreated editable, and CaptureEngine says when it cannot recreate it: whenconfig.iniis missing, CaptureEngine writes a new one with its built-in defaults. Running as administrator, it created that file with the installation folder's permissions, so under Program Files only administrators could edit it. It now gives the file the same permission setup givesconfig.ini. Running normally, CaptureEngine cannot create files in Program Files at all, and it then ran on its built-in defaults without saying why. The log now says so once at startup ([Settings] config.ini is missing and could not be created ...); running setup again restores the file. -
"Open config" no longer starts your editor as administrator: when CaptureEngine runs as administrator, the editor started from the tray menu ran as administrator too. Editors that save through a temporary file and a rename then replaced
config.iniwith a copy only administrators can change, so editing it normally asked for administrator rights from then on. CaptureEngine now hands the file to the Windows desktop (Explorer), which starts your editor as you. If Explorer is not running, the file opens as before. The log says which way it was opened ([Controller] Open config: ...). -
Direct3D 9, Direct3D 8 and DirectDraw games no longer risk a crash when CaptureEngine closes while they run: when CaptureEngine stopped (closing the app, or a program using
cengine.dllending its engine), the game's CaptureEngine module released its capture textures from its own background thread while the game kept drawing. Direct3D 9 and 8 devices must only be used from one thread at a time, so that could crash the graphics driver inside the game; it did reproducibly in CaptureEngine's Direct3D 9 test app on an NVIDIA GPU, right after an automatic recording stopped and CaptureEngine exited. DirectDraw games had the same problem with the Direct3D 7 overlay CaptureEngine draws with on the game's device. The capture now only stops on that thread, and the textures are released on the game's own thread: in Direct3D 9 and 8 at its next device reset or on its first frame when CaptureEngine starts again, in DirectDraw at its next frame, surface creation or device release. The hook log shows both steps ([InjectLifecycle] DX9: host generation retired on HookThread,... released on the game's thread; likewiseDX8:andDDraw:). -
The sensor notes no longer say CPU sensors need CaptureEngine itself to run as administrator: the generated
config.iniand the LibreHardwareMonitor plugin'sREADME.txtsaid CPU temperature, package power and core clock stay blank unless CaptureEngine runs elevated. With the PawnIO driver installed, the optional elevation service (offered by the setup and in the tray menu) reads them while CaptureEngine runs without administrator rights; both notes now say so. Existingconfig.inifiles are not changed. -
The default
config.inino longer callsstreamline_upgradenon-functioning: the note still said no Streamline 1.x game had been upgraded end to end, although the bridge runs The Witcher 3 with DLSS super resolution and 4x multi-frame generation. It now says so and that other 1.x titles are untested; where one differs, CaptureEngine refuses and logs why. Existingconfig.inifiles are not changed. -
A stopped audio-only recording is no longer reported as canceled: the file was saved, but right after saving it CaptureEngine also treated the stop as one that came before the recording started and recorded a second, canceled result over the saved one. The overlay could then show the recording as canceled, the recording manifest ended with a canceled entry, and a program using
cengine.dllwas told the recording was canceled and got no file path. Video recordings were not affected. The media log showed it as[RecordingLifecycle] Stop accepted before the recording ever startedright after[STOP SUMMARY] Audio-only recording finalized. -
CaptureEngine installed in a folder Windows cannot name in its code page now says so instead of running half-configured: when the installation path contains characters the Windows code page cannot express and the drive has no 8.3 short names, CaptureEngine ran with default settings and wrote no logs, without telling you. It now shows a message that explains the cause and how to fix it (a folder with Latin characters, or 8.3 names on that drive) and does not start. A second CaptureEngine started while one is running also no longer creates an empty log session folder before it reports that CaptureEngine is already running.
-
Closing CaptureEngine right after stopping a recording no longer cuts the recording short: when CaptureEngine was closed while a recording was still being written (after a long recording or to a slow drive or network share), it waited at most 10 seconds for its helper processes and then ended them, although the recording process allows itself 60 seconds for the video encoder alone and keeps writing for as long as the file still advances. The recording then lost its end or could not be played. CaptureEngine now never ends its helper processes when it closes; it waits until each has finished, while the tray icon keeps showing that it is shutting down. While it waits, the log says every 10 seconds which helpers are still running (
[HostChildren] shutdown still waiting). -
Release memory-safety check of the overlay's teardown: the overlay's shutdown assumed that every renderer registered as Direct3D 11 was CaptureEngine's own Direct3D 11 renderer and wrote one of that renderer's settings at a fixed position into memory the actual renderer did not own. The sanitizer stage of release verification stopped on it. In released builds only CaptureEngine's own renderer is ever registered as Direct3D 11, so games were not affected; the setting now reaches whichever renderer is registered through that renderer's own interface, as Direct3D 12 renderers already did.
-
Release verification passes its sanitizer stage again: a Direct3D 11 dispatch test called generated code in a way the sanitizer's function-type check cannot follow, which stopped the sanitizer stage, and two recently changed test files exceeded the accepted static-analysis findings. Only tests changed; CaptureEngine itself is unaffected.
-
FPS limiter with DLSS frame generation paces whole game frames, not single images (DirectX 12): in games where DLSS presents every image itself, such as The Talos Principle and GTA V Enhanced, CaptureEngine's FPS limiter treated each of DLSS's images as one of the game's own frames whenever it paced them itself (the basic limiter, or while the game's Reflex frames are missing). It waited for a frame slot on DLSS's presenting thread up to twice per frame, so at 4x under a 140 fps cap the game could drop to about 22 fps instead of 35. These images are now paced the way the limiter already paces them after an FSR phase and in Vulkan: one wait per group of generated images, which pass straight through. Where the game's own present also reaches CaptureEngine, nothing changes, so the game is never limited twice.
-
Short stutter after pauses when the limiter hands pacing back to Reflex (DirectX 12): many games, Unreal Engine titles like The Talos Principle among them, run Reflex on one thread and present on another, so a Reflex frame can arrive just after the image it belongs to. The limiter counted that as missing Reflex and held two or three frames itself after every pause or frame generation switch. It now allows for that one-image delay and still takes over again within the first frame whose Reflex frame is really missing.
-
Latency and stutter for a second or two after a stall with DLSS multi frame generation (DirectX 12, Reflex): after a short stall, CaptureEngine's FPS limiter waits for three steady Reflex frames before it hands pacing back to the NVIDIA driver, and it expected a new Reflex frame at every image it checked. In The Talos Principle with DLSS 4x, every generated image reaches CaptureEngine on its own, so the last image of each frame never had a new Reflex frame and counted as a stall: CaptureEngine held DLSS's presenting thread for about 25 ms on every frame and restarted the hand-over, for about 1.6 seconds until timing happened to line up. The limiter now judges the hand-over per game frame: one Reflex frame covers all images of its frame, so pacing returns to the driver within three frames. If the game really stops its Reflex frames, the limiter still takes over again within the first frame that is missing one.
-
High input latency with DLSS 3x and 4x multi frame generation after switching from FSR frame generation (DirectX 12): after switching from FSR to DLSS frame generation in The Talos Principle, DLSS presents every image from its own thread, and CaptureEngine's FPS limiter treated each of those images as one of the game's own frames. After the short stall of each switch, the limiter waits for three steady Reflex frames before it hands pacing back to the NVIDIA driver, but at 4x it looked at two images per game frame and the second never had a new Reflex frame, so the hand-over never happened. CaptureEngine then held every frame for about 30 ms itself, and PC latency at 4x with a 120 fps capture sync was 115 to 145 ms (3x: 57 ms). The limiter now counts one evaluation per group of generated images there, as it already does for Vulkan, so pacing returns to the driver within a few frames after each switch. A 30 fps base frame rate (120 fps at 4x) still costs its own latency.
-
Repeat-and-skip bursts in recordings at menu transitions with DLSS frame generation after switching from FSR (inject capture, DirectX 12): to time recorded frames to the screen, CaptureEngine matches each captured image to Windows' report of when an image reached the screen, in order. When an image had no report of its own (more images than reports, or a dropped report), it was given the next image's report instead, every later image was matched one report too late, and the learned delay kept growing: in The Talos Principle it went from 16 ms to over half a second across three menu transitions, and each correction showed about 12 repeated and 12 skipped frames in the recording. An image whose nearest report already belongs to the image before it now keeps its own timing, and a correction starts the matching afresh. The media log counts these images (
claimed=in[Inject DLSS FG] final-output timing). -
False sharpening gap in the hook log after switching DLSS frame generation off: after DLSS frame generation was switched off following an FSR phase, CaptureEngine keeps drawing through the DLSS presentation route for a moment, and that route applies sharpening itself. The hook log still reported those frames as not sharpened (
PostProcess: DX12 still not correcting reason=left-before-decision, 4800 frames in one session) although the picture was sharpened. Frames sharpened by another route in the same present now count as sharpened. -
FPS limiter halved the frame rate while DLSS frame generation was enabled but generating nothing (DirectX 12): in menus and loading screens a game can keep DLSS frame generation switched on while it presents only its own frames. The limiter still paced the game at the rate frame generation would multiply, so in The Talos Principle with a 120 fps capture sync the menu ran, and was recorded, at 60 fps for 7 seconds. CaptureEngine now treats DLSS frame generation as idle only when two independent proofs agree: for 12 frames the DLSS runtime reports no interpolated frames, and over the last 16 game frames about one image reaches the screen per game frame, so entering a menu raises the cap within a few tenths of a second. Both are needed, because with hardware flip metering DLSS reports one presented frame while it does generate. The game frames are counted from the game's own Reflex present markers, so this also works after switching from FSR to DLSS frame generation, where DLSS presents every image from its own thread and the game's present never reaches CaptureEngine's present hook. While idle, the limiter paces the game at the full target, and the driver's Reflex frame interval asks for the frame-generation factor on top, so a driver that divides its interval by that factor lands on the target too. When generation resumes, the halved pace returns within a few frames. The hook log reports each change of the runtime's report (
[DLSSG HEALTH] ON but idle for pacing/interpolating or off for pacing) and of the measured image rate (FG: DLSS-G output ratio ...), and the limiter names the proof when both agree (fgProof=dlss-g-idle). -
Inject recordings froze for about a second when FSR frame generation was switched on in AV1 recordings (DirectX 12): switching frame generation on replaces the game's swapchain, and CaptureEngine can only start capturing the new one once the recorder has let go of the old swapchain's last frame. The recorder lets go of a frame when the GPU has finished reading it, and it checked that only when it encoded a frame. While the game's picture paused for the switch, the recorder repeated the last frame, and AV1 repeats with NVIDIA are written without an encode. So the check did not run until the next real encode: in The Talos Principle the recording showed one frame for 0.96 s while the game was already presenting with FSR frame generation. The recorder now also checks after every repeat, so the old frame is released within one output frame. The hook log reports each such wait as one episode, with how long it took (
SharedCapture deferring resource reset ... (deferrals=... waitedMs=...),resource reset proceeds after ...), instead of 12 lines for the whole session. -
Inject recordings froze for almost two seconds when switching from FSR to DLSS frame generation (DirectX 12): after FSR frame generation is switched off, The Talos Principle renders on a different graphics queue than the one it presents from. CaptureEngine recognizes a game's own frames by the rendering work it submits on the presenting queue, so each frame looked like one inserted by a frame-generation runtime, and none was recorded. Under FSR, FSR itself identified every frame, but once its swapchain was gone nothing did: the game ran at a steady 120 fps without frame generation for 1.4 s while the recording showed one frame for 1.87 s, against a 219 ms pause in the game's own presents. Recording only resumed when DLSS frame generation started. Now, while no frame-generation runtime is active, every frame the game presents is recorded as its own, since nothing else can present. With frame generation active nothing changes. The hook log reports this case (
Present without counted command lists is capturable as an application frame). -
Inject recordings no longer open on an old frame followed by a jump: the game starts handing frames to CaptureEngine as soon as recording is requested, while the recorder is still preparing, and the recorder started the video with the oldest of those waiting frames. In BioShock Infinite at 120 fps, the first frame of every recording showed the game as it was about 270 ms earlier. It also stayed on screen while the encoder prepared itself on that first frame (about 120 ms at 4K: opening the output file and compiling the color-conversion shaders). The video then skipped 12 frames to catch up and repeated 3 while its buffer refilled. Now the recorder starts with the frame that belongs at the recording's start time, drops the older waiting frames, and if only old frames are available it waits up to a quarter second for a current one, so a stalled game still starts recording. The encoder prepares the output file and conversion shaders during the hidden warm-up, so the first frame encodes as fast as any other. The recording's frame clock now starts at the moment that first frame was picked, not a few milliseconds later when it had been encoded, so the second frame follows it directly instead of skipping one. Screen capture (WGC, DXGI duplication) also compiles the conversion shaders during its warm-up now, so its first frame no longer pays for them either. The media log reports the start frame's age and how many old frames were dropped (
Inject CFR start frame: ageUs=...), any wait (Inject CFR start waiting ...), where the frame clock started (Inject CFR live grid anchored at ...), and the warm-up preparation (Inject transactional video prewarm ...,[VideoPrewarm] inject ...). -
FPS limiter could skip one frame's pacing with FSR frame generation while another overlay is hooked (DirectX 12): while the game's own Present into FSR frame generation owns the pacing, the frame-generation outputs pass the limiter, and a pass leaves a marker so the post-present step that follows belongs to that output. A present CaptureEngine forwards around a third-party overlay (such as the Steam overlay) passed without any post-present step, so the marker stayed set, and the thread's next real release - the game's own release after a nested present, or the first paced frame after frame generation was switched off - was taken for an output's and skipped. Only a pass with a matching post-present step sets the marker now, every limiter call clears it first, and the hook log's ownership lines count such unpaired passes (
unpaired=). -
Small memory leak at every recording start: when a recording's first frame arrives, CaptureEngine sets the video encoder up again and replaced the previous, still unused encoder and container setup without freeing it, so every recording left a few kilobytes behind for the rest of the session. The previous setup is now released first.
-
Cursor and face camera ahead of the game picture in inject recordings: when CaptureEngine delays the game picture to line it up with audio that arrives late (the measured audio capture latency), inject recordings still drew the cursor and the face camera for the undelayed moment. Both ran ahead of the game picture by that delay, and the face camera also ahead of the microphone. Each output frame now draws both for the same moment as its game picture, as WGC and DXGI duplication recordings already did. Recordings without that delay are unchanged.
-
Automatic encoder choice (
[Video] encoder=auto) stopped working once the first frame arrived: CaptureEngine sets the encoder up again for a recording's first frame and when the game's picture switches between 8-bit, 10-bit and HDR, and that forgot that the encoder was chosen automatically. An encoder that then failed to open at the recording's real size or settings was no longer replaced by the next one, so the recording failed, and a GPU first known at that point no longer decided the encoder. The automatic choice now survives these restarts; the media log shows[EncoderAuto] reinit: request=auto kept .... -
backbuffer_countdid nothing in 64-bit DirectX 10/11/12 games while the Steam overlay or another overlay was loaded: CaptureEngine limits the flip queue by adding a frame-latency waitable object to the game's swapchain. That is only safe while it can also correct the game's later resize calls, which Windows would otherwise reject. With an overlay loaded it has to hook the resize functions below the overlay's own patch, and that hook never installed: the resize functions in current Windows (10.0.26100) begin with a stack setup CaptureEngine's hook installer did not recognize (Prolog at ... is not a recognized stack shape). So the setting was silently withheld in every such game (Talos, Strange Brigade and the test apps in all recent logs), while games without an overlay worked. The installer now recognizes that setup, accepting it only where it provably leaves the stack and every argument untouched. A second cause hit games that ship their owndxgi.dllin the game folder, such as a ReShade proxy (The Witcher 3): the check that the resize function belongs to Windows' DXGI asked for "dxgi.dll" by name, got the proxy, and rejected the real function. It now checks against the system DXGI image. 32-bit games, Direct3D 8/9, DirectDraw and Vulkan apply the setting their own way and were not affected. The hook log shows the result inresize flag reconciliation ready ... site=body-below-entry. -
Misleading render-ahead and queue-depth messages in the hook log (DirectX 10/11/12): when a game's swapchain had no frame-latency waitable object (Strange Brigade DX12 with the Steam overlay, for example), CaptureEngine still tried to set the swapchain's maximum frame latency, which Windows always rejects there (
SetMaximumFrameLatency(1) failed hr=0x887A0001), and reported every skippedbackbuffer_countpacing wait as "requested by the application", the opposite of what had happened.cpu_prerender_limititself was enforced all along by CaptureEngine's own render-ahead limiter (in that session on every frame). CaptureEngine now reads the swapchain's real flags first: it skips the call that cannot succeed and says which mechanism enforces the limit instead, and the pacing message names the actual reason: an older bitblt-model chain (BioShock Infinite DX11, for example) carriesbackbuffer_countas its buffer count and needs no pacing, a flip chain with more buffers than configured and no waitable cannot be limited, and otherwise the waitable is the application's own. -
Judder in recordings with DLSS multi frame generation (inject capture, DirectX 12 and Vulkan): with 3x and 4x MFG in The Talos Principle, recordings had stretches with up to 40 repeated and 40 skipped frames per second, although the encoder was nearly idle and no overload was reported. CaptureEngine spreads the generated frames NVIDIA hands over in a burst onto evenly spaced timestamps, and that clock could fall up to eight frames behind the moment a frame was actually handed over. Frames then reached the recorder after their own timestamp, too late for the slot they belonged to, so it repeated the previous frame and skipped one on the next slot. A frame's timestamp can no longer be earlier than its hand-over, so every frame arrives with the intended head start, and in those stretches video no longer runs up to about 27 ms ahead of the audio. The hook log's
Final Streamline output ... plannedline counts these corrections (causalAnchors,maxCausalAnchorUs); the Vulkan layer's line counts them too. -
Repeated and skipped frames in inject recordings while the GPU was still copying the newest frames: the recorder skips frames whose GPU copy is not finished yet, but it only ever held back the single newest one, because it sized that from a check that never waits. Under DLSS multi frame generation the newest two or three copies were often still running. Picking one of them made the recorder repeat the previous frame and then skip that frame on the next slot. It now holds back exactly the frames whose copy is provably still running and records the newest finished one instead. This applies to every inject capture, including FSR frame generation. The media log reports it (
Fence tail extended over in-flight inject copies,pendingCopyTail=in[Inject CFR] Repeat pressure,PendingCopyTailTicks/PendingCopyTailPeakin[Inject CFR QUALITY SUMMARY]). -
Hook log overstated CaptureEngine's cost with FSR frame generation: the
[OVERLAY COST] FFX proxy Presentdiagnostic counted the FPS limiter's intentional waits as CaptureEngine and AMD processing time (about 1.9 ms and 3.7 ms per frame in GTA V Enhanced). It now measures only the work around the wait, so the numbers show the real cost. -
Frozen "ghost" overlay above the live one when FSR frame generation pauses (GTA V Enhanced quit dialog, DirectX 12): pressing Alt+F4 in GTA opens a quit dialog that pauses FSR frame generation, and an old copy of the overlay appeared on top of the live one, which kept updating underneath. The old copy came from the very start of the FSR session: CaptureEngine had drawn it into its own stand-in UI texture, the game later used its own, and when the dialog switched back AMD blended the stand-in with its 55-second-old content over the picture. CaptureEngine now clears its stand-in texture whenever it moves the overlay onto the game's frame for paused or starting frame generation.
-
FSR frame generation pacing fix did not engage in GTA V Enhanced (and any game that could not reach the cap before): with a 120 fps limit and FSR frame generation off, GTA only reached about 62 fps, and the limiter read every frame as a slightly missed deadline. It built up a safety reserve of almost a whole frame, kept it when FSR frame generation was switched on, and as a result never started the game's next frame after FSR's generated frame. Frames that are simply too slow for the cap no longer count as missed deadlines, and the limiter starts fresh whenever the cap, the frame-generation factor or the frame-generation state changes.
-
Uneven frame times with FSR frame generation and the FPS limiter (DirectX 12): at a 120 fps cap the generated frames reached the screen about 1.4 ms later than the real ones, so frames alternated roughly 6.5 and 10 ms apart instead of 8.3 ms, with or without V-Sync. CaptureEngine let the game start its next frame the moment FSR took the previous one, and AMD's presentation of the generated frame then waited on the GPU behind the game's new work. The game now starts its next frame right after FSR has presented the generated frame(s) of the previous one, which also shortens how long a finished frame waits; it is never released so late that its frame could miss its slot. The hook log summarizes it every 600 frames (
FPS Limiter: frame-generation release ... byOutputs= byBound=). -
Overlay showed too few displayed frames with frame generation ("Base/Display" and the latency estimate): with FSR frame generation at a 120 fps cap the overlay read "60 / 101 FPS" while 120 frames per second reached the screen, because the displayed rate came from the middle value of recent frame intervals, and with frames shown alternately 6.5 and 10.1 ms apart that middle value is one side of the pattern. The displayed rate is now the average interval (long hitches still left out), so it reads 120, and the latency estimate's frame-generation hold uses the same correct interval.
-
The render-ahead limit (
cpu_prerender_limit) did nothing in Strange Brigade (Vulkan) and similar Vulkan games: CaptureEngine applies the limit by adding a small marker to the game's graphics queue at each present and waiting until the GPU has finished an earlier frame. It skipped that whenever another thread of the game also submitted work, a check meant for the frame limiter that had nothing to do with whether the marker is safe. Strange Brigade presents from its graphics queue while a second thread submits too, so the limit never took effect and latency stayed at about 55 ms with or without it. Vulkan already guarantees CaptureEngine exclusive use of that queue during the present call, so the marker is now added there regardless of other threads. Games that present from a separate compute queue keep the previous rules, and CaptureEngine now also notices when their rendering moves to another thread after startup. This works the same whether the NVIDIA driver presents Vulkan natively or through a DXGI swapchain. For Vulkan, theprerender_wait_uscolumn ofperf_metrics_*.csvnow shows how long the limit held the game back (it was always 0), and the Vulkan layer log adds a summary every 10 seconds (Vulkan Prerender: summary). -
The overlay showed the refresh rate instead of the game's frame rate when Windows composes a game: with the frame-time source set to screen changes, a game the desktop compositor draws (no tearing, at most one new picture per refresh) has no screen changes of its own; the compositor's are its refresh rate. Mirror's Edge on DXVK ran at about 925 fps with vsync off, but the overlay showed 144 fps and a flat graph, which looked like vsync. While a game is composed, all frame-rate figures now follow the game's own presents again: FPS, 1% and 0.1% lows, frame-time variation and graph, the benchmark's display frame times and the frame-rate columns of
perf_metrics_*.csv. Latency still uses the compositor's screen times. As soon as the game's frames reach the screen as flips of their own, the overlay returns to screen changes. The hook log's frame-timing-source line says when this applies (composed=1). -
FPS and frame-time graph jumped between the real screen rate and the game's present rate when Windows composes a game: when the desktop compositor draws a game's frames instead of showing them directly (no tearing, at most one new picture per refresh), the overlay takes its screen times from the compositor. A single stray flip of the game's own ended that, although the compositor was still showing the game, and for the next 10 seconds the overlay received no screen times at all and showed the game's present rate instead. In Mirror's Edge on DXVK the overlay switched between 144 fps (the actual screen updates on a 144 Hz display) and about 460 fps (presents that never reached the screen) with a 9-second hole in its timing. The composed state now ends only when the game's own flips complete and the compositor no longer shows its frames, and it resumes immediately when the game is composed again. The sensors log notes once per composed stretch when the game's own flips were ignored this way, and the line that ends the state counts how often that happened (
refusedStops). -
DXUP's Direct3D 9 was reported as DXVK: CaptureEngine called every Direct3D 9 DLL from outside the Windows system folder "DXVK", so the hook log of a game running DXUP's Direct3D 9 (Mirror's Edge, for example) said
dxvkD3D9=1. CaptureEngine's handling of such a DLL is unchanged and correct for any translation layer: it never probes it with a test device. The log now names the actual runtime (DXVK, DXUP or another replacement, read from the DLL's version information), and only a real DXVK DLL gets the "(DXVK)" overlay label. The check is also remembered per loaded DLL instead of reading the DLL's path on every frame in Direct3D 9 games. -
The Direct3D 11 overlay could unbind a game's extra render targets: before drawing, it saved and restored only the first of the render targets the game had bound at Present and unbound the others. A game that relies on its multiple render targets staying bound across Present lost them. All of them, the depth buffer and every viewport are now put back.
-
Flickering overlay and wasted CPU time with DXUP's Direct3D 11: DXUP's Direct3D 11 reports the back-buffer number of the Direct3D 12 swapchain beneath it (0, 1, 0, 1, ...), but like Windows' own Direct3D 11 it lets the game draw only into buffer 0. CaptureEngine drew the overlay on the reported buffer: with DXUP 1.1 every second frame's buffer was refused, so the overlay was missing from every second frame and each miss cost a failed lookup and two log lines (3,388 of 6,788 frames in Mirror's Edge with all DXUP files installed); with older DXUP versions it drew into a buffer DXUP then overwrote, and rebuilt its drawing target on every frame (16,000 times in a 40-second menu session at 450 to 750 FPS). Inject recordings and screenshots read the same refused buffer. The overlay, sharpening, recording and screenshots of Direct3D 10 and 11 games now always use buffer 0, the one the game draws into, and keep one drawing target per swapchain. Windows' own Direct3D 11 and DXVK always report buffer 0, so games without DXUP behave as before. A target that cannot be built is logged once per change with a repeat count instead of on every frame. Heroes of the Storm on DXUP was affected too; Direct3D 12, 9, 8 and DirectDraw were not.
-
Washed-out screenshots with ghost text in some games: screenshots of 8-bit SDR games kept the alpha channel of the game's image, which is not part of the picture: the display ignores it and games leave anything there. BioShock Infinite, for example, keeps stale loading-screen text in it, so its screenshots looked partly transparent, bright and washed out, with faint "Loading..." and location text over the scene. Screenshots are now always saved fully opaque, exactly as the image appeared on screen. When a source had non-opaque alpha, the log notes it (
[Screenshot] Source alpha ignored). -
Tray and hotkeys froze for a quarter second on every configuration change: after
config.inichanged, CaptureEngine's main thread waited for the injection helper to confirm the reload, and that helper only looked for new commands every 250 ms (100 ms while a game ran), so tray menu and global hotkeys stopped responding for 250-313 ms each time. The same wait delayed every hotkey the helper confirms, such as the overlay toggle. The main process now wakes the helper the moment it sends a command, so only the reload itself remains (about 75 ms). -
The render-ahead limit (
cpu_prerender_limit) did nothing in Direct3D 10 games: when the game's swapchain had no frame-latency wait object, CaptureEngine applied its own limit to Direct3D 11 swapchains only, and on Windows 10 and later it also mistook a Direct3D 10 swapchain for a Direct3D 11 one. Limits of 1-6 now set the Direct3D 10 device's own frame latency, which the graphics runtime enforces, and a limit of 0 waits for the GPU before each frame is presented. The hook log names the path once per swapchain and limit (Prerender limit N on the d3d10 path). -
Direct3D 11 games running on DXVK were treated as Direct3D 10: DXVK's Direct3D 11 devices also answer as Direct3D 10 devices, and since a fix for Direct3D 10 games in May CaptureEngine took every device that answers as both for Direct3D 10. Where CaptureEngine's Direct3D hooks rather than its Vulkan layer handled such a game, the overlay said "DX10 (DXVK)" and the Direct3D 10 overlay, capture and screenshot paths ran. A device that answers as both is now Direct3D 10 only when a Direct3D 10 runtime is loaded and the device runs at a Direct3D 10 feature level, which holds for real Direct3D 10 games on Windows and on DXVK. The hook log notes the decision once per swapchain (
[GraphicsAPI] swapchain=... answers ID3D10Device and ID3D11Device). -
The overlay named a newer Direct3D 11 version than the game uses: CaptureEngine raised a game's label to "DX11.1" up to "DX11.4" whenever anything asked its device for a newer interface: CaptureEngine itself (with a render-ahead limit of 1-6, every Direct3D 11 game showed "DX11.4"), the graphics runtime, Windows components or another overlay. Only the game's own requests count now; the hook log names the module behind every request it ignores (
D3D11.N use ignored) and behind every one it counts. -
vkd3d-proton games showed "DX12" instead of "DX12 (VKD3D-Proton)": the Direct3D 12 overlay recognized only Wine's vkd3d, and one of its drawing paths always said "DX12". All Direct3D 12 overlay paths now name vkd3d-proton the way the Vulkan overlay already did.
-
Games running on DXUP showed "DX12" instead of their own API: DXUP translates DirectDraw (with Direct3D 6 and 7), Direct3D 8, 9 and 11 to Direct3D 12, and CaptureEngine's overlay sits on its Direct3D 12 output, so every DXUP game said "DX12". The overlay now names the game's API with the translator, at the detail CaptureEngine recorded for it: "DX7 (DXUP)", "DX8 (DXUP)", "DX9Ex (DXUP)" or "DX11.1 (DXUP)", for example. This includes games whose overlay CaptureEngine draws on DXUP's Direct3D 11 output: a 32-bit Direct3D 9 game such as Mirror's Edge showed "DX11.1 (DXUP)" and now shows "DX9 (DXUP)". The same holds with only DXUP's
d3d9.dllnext to the game, where DXUP draws through Windows' own Direct3D 11: Mirror's Edge showed "DX11" that way. DXUP's own requests to its Direct3D 11 no longer count as the game's. DXUP is recognized by the product name in its DLLs' version information, so other DLLs with the same file names (ReShade'sd3d9.dllordxgi.dll, for example) keep the game's own label. -
Direct3D 10.1 games could fail to start with CaptureEngine running: when a game loaded the Direct3D 10.1 runtime, or any other module that brings Direct3D 11 in with it, after CaptureEngine had started, CaptureEngine redirected that module's Direct3D 11 device creation to its own wrapper before it knew where the real function was, so every device creation failed (
E_FAIL). CaptureEngine now looks the real function up first and leaves the module alone when it cannot; the hook log notes it (D3D11 originals resolved on the load of module). -
Forced AF stopped following texture and shader changes in Direct3D 11 games CaptureEngine joins after they started: when CaptureEngine reaches a game's Direct3D 11 rendering through hooks on the real device context (after a late injection, for example), those hooks sat in the context's function table, which Direct3D 11 itself rewrites while the game runs. From the first flush of each frame on, the game's draws bypassed CaptureEngine, so forced AF stayed as decided at the last sampler change: a texture or pixel shader the game switched to without changing samplers kept the previous decision, and textures that must keep their own filtering (single-mip textures, explicit-LOD sampling) could get AF. A game that turned on Direct3D 11's multithread protection or swapped device context state also bypassed CaptureEngine's sampler, shader and texture hooks, so its samplers reached Direct3D without AF and reading them back returned CaptureEngine's version. CaptureEngine now gives each such context a function table of its own that hands every call on to whatever Direct3D 11 currently uses, so Direct3D's own rewrites can no longer remove CaptureEngine's hooks. Tables are returned when the game destroys the context. The hook log names each context it switches over (
[D3D11 DISPATCH] adopted) and any it cannot (kept, slot hooks instead). -
The performance log of Direct3D 11 games showed only Direct3D's own present time: with debug logging, CaptureEngine writes a per-frame performance table (
perf_metrics_*.csv). For a Direct3D 11 game presenting through CaptureEngine's stand-in for its swapchain (BioShock Infinite, for example), the table's one row per frame came from an inner hook that saw only the real present:total_uswas Direct3D's own time, and every column for CaptureEngine's work stayed zero. The row now comes from the outer hook and splits the frame into CaptureEngine's overlay drawing (overlay_us) and its GPU time (overlay_gpu_us), the recording's frame copy (capture_us), CaptureEngine's work before and after the present (pre_present_us,post_present_us) and the present itself (present_call_us). The GPU time is measured only while the table is written and never makes the game wait. -
The performance log stayed empty for Direct3D 11 games that present with
Present1, and showed only the frame time for those CaptureEngine hooks on the real swapchain: a Direct3D 11 game that shows its frames through the newerPresent1call (instead ofPresent) got no row at all inperf_metrics_*.csv, whether it presented through CaptureEngine's stand-in for its swapchain or through CaptureEngine's hook on the real swapchain. APresentthat CaptureEngine reached through that hook got a row with onlytotal_us, every column for CaptureEngine's work at zero. Each such frame now gets its row with the same columns as a stand-in'sPresent(overlay, its GPU time, the recording's frame copy, CaptureEngine's work before and after the present, the present itself), Direct3D 10 games alike. The hook log names the hook that writes these rows ([PERF CSV]). -
The Direct3D 12 timing summary in the hook log showed meaningless present phases: with debug logging, CaptureEngine logs a
[PERF] DX12 Present summaryline for every 32 sampled presents (one in 64), averaging how long each step of its swapchain stand-in's present took. Since 2026-10-12 the clocks ofmetrics_update,process_frame_external,fps_limiterandpresent_callnever started in a Direct3D 12 game, so those averages (and thepresent_callmaximum) were the machine's absolute clock cut to 32 bits, arbitrary figures that were often negative or thousands of seconds, andswapchain_acquirewas always 0. Each step is now timed from its own start, and only on the presents that feed a summary sample. -
Direct3D 11.1 to 11.4 device functions failed in games whose device CaptureEngine wraps: when CaptureEngine intercepts a game's Direct3D 11 device creation (for example in BioShock Infinite), the game talks to CaptureEngine's stand-in for the device. That stand-in told the game it supported the newer device versions 11.1 to 11.4, but then failed every function those versions add (such as
CreateBlendState1,CreateDeferredContext1orCreateDeviceContextState) with "interface not supported", because it had kept only the newest version the real device offered. A game using them could lose rendering features or fail to start. Each version is now forwarded on its own. -
Steam overlay still missing in BioShock Infinite on some launches: Steam only hooks a DXGI factory's swapchain creation while the factory's function table still points into Windows' own DXGI, so with the Steam overlay loaded CaptureEngine intercepts swapchain creation further inside those functions and leaves the table alone. When the game was still starting threads at that moment, CaptureEngine's hook was refused once and it took the factory's function table instead for the rest of the session. Steam then skipped every factory, as its own log shows (
points to another module, skipping hooks), and never drew. These two hooks now retry the way the Present hook already did; the last attempt still proves that no thread is executing the code being changed. The hook log states when a refusal still leaves the table to CaptureEngine. -
BioShock Infinite crashed with forced anisotropic filtering ("Rendering thread exception: Fatal error!"): shortly after loading a save the game stopped with its own error dialog. BioShock creates a new Direct3D 11 sampler on almost every draw for each texture that is still streaming in (with that texture's detail-level limit and fade bias) and releases it right after. CaptureEngine kept the anisotropic replacement it made for each of these samplers until the AF setting changed, so within a minute the replacements used up Direct3D 11's limit of 4096 sampler objects per device. The game's own sampler creation then failed, its retry after freeing its own unused samplers failed too, and it crashed. A replacement now lives exactly as long as the game sampler it stands in for, plus a small per-context cache, so CaptureEngine's share follows the game's own samplers instead of growing. Each texture still gets anisotropic filtering with its own detail limit and bias, the same textures as before stay protected, and finding an existing replacement no longer means scanning every replacement made so far, which got slower with every new sampler. Every 10 seconds the hook log reports how many replacements were created and reused and how many game samplers hold one (
[D3D11 AF REPLACEMENTS]), and it now logs every failed sampler creation of the game (Game CreateSamplerState failed), not only those CaptureEngine had changed. -
Changing Direct3D 11 forced AF altered texture mip bias: an AF-level change could apply the configured mip-bias offset or SGSSAA adjustment a second time. Samplers now retain the application's requested descriptor so changed settings are applied once, including when changing or removing an offset while AF remains active. Both the device-wrapper and raw-hook paths use the same correction.
-
WGC/DXGI recording stopped after a resize: switching the smoothness buffer between YUV and RGB storage could be mistaken for a changed recording bit depth. Size changes now keep the configured output depth and continue through the existing geometry-fitting path; actual HDR or automatic output-depth changes still end the recording safely.
-
Face-camera crash while delayed recording starts: growing the camera-frame history to cover the screen-capture delay could read a freed history entry. The selected frame and its timestamp now remain valid while the history grows.
-
Forced AF forgot its replacements at every resize in Direct3D 11 games CaptureEngine reaches through hooks: before a swapchain resize CaptureEngine dropped everything it knew about each rendering context, also on other threads. A sampler the game was binding at that moment on another thread could be lost, and afterwards a texture that must not get anisotropic filtering (for example one with a single detail level) could keep CaptureEngine's replacement until the game bound that sampler again. A resize now only makes CaptureEngine let go of its references to the game's textures, which is what the resize needs, and keeps the rest; a context that has not been used since the previous resize is still forgotten entirely, so a destroyed one cannot keep its device in memory.
-
Texture sampling settings lost after a rendering-state reset with forced AF: in Direct3D 11 games that CaptureEngine reaches through hooks on the real device (for example after a late injection or through a translation layer), a game that reset its rendering state and then bound the same sampler again could have that bind dropped while forced anisotropic filtering was on, so the texture was drawn with Direct3D's default sampler (other filtering and wrapping) until the game changed samplers. CaptureEngine now also follows the state resets it previously did not see (clearing the state, finishing or executing a command list, swapping the context state), and a new deferred context no longer inherits what CaptureEngine knew about an earlier one at the same address. The game also reads back its own sampler instead of CaptureEngine's anisotropic replacement on this path, as it already did otherwise.
-
Steam overlay missing in 32-bit and Direct3D 11 games: in BioShock Infinite (32-bit, Direct3D 11) the Steam overlay never appeared while CaptureEngine was injected, for two reasons. On 32-bit games CaptureEngine hooked the start of DXGI's Present function, because it could only intercept that function further inside on 64-bit, and Steam leaves a function alone whose start already jumps somewhere else. CaptureEngine now intercepts Present on 32-bit games below the function start as well, after the instructions an overlay overwrites, and leaves the start to Steam and other overlays as it already did on 64-bit. Where a function's start does not have the expected form, it keeps hooking the start as before, and the hook log says so (
DeepHook(x86)). Second, when a Direct3D 10 or 11 game created its swapchain while Steam was loaded, CaptureEngine handed Steam its own stand-in object instead of the real swapchain. Steam then expected the game's frames on the stand-in while they arrived on the real swapchain, so it never drew. Direct3D 12 games already got the real swapchain once CaptureEngine saw every Present below the other overlays. Direct3D 10 and 11 games now get it under the same condition, provided CaptureEngine also intercepts the swapchain's resizes there, which is where it lets go of the back buffer its own overlay draws on. The hook log states the decision for each swapchain and which part was missing. In addition, CaptureEngine's hooks for Present1 and for swapchain resizes below the other overlays could be refused for the whole session when the game happened to be starting threads while they were installed. They are now retried like the Present hook already was. CaptureEngine's overlay is then drawn last, on top of Steam's. -
Two hook-log lines per frame in Direct3D 11 games with the overlay: the overlay wrote a line before every draw (BioShock Infinite: 34,000 lines and 3 MB, 92% of its hook log, in 85 seconds). It now logs the first frames, then only when the device, context or render target changes, and otherwise every 10,000 frames with a count of the skipped lines.
-
Per-frame work and a fast-growing log with Direct3D 11-to-12 translation layers: when a game created its first Direct3D 11 device and swapchain through a translation layer's own export (seen with Heroes of the Storm and DXUP installed in the game folder), a diagnostic that tracks who holds swapchain references patched the translator's swapchain class for the whole session. CaptureEngine could then no longer remember that the game's swapchain only forwards to the translator's real one, so on every frame it re-checked this on the game's render thread, retried a refused hook and wrote one log line (27 MB in 20 minutes). The diagnostic now applies only to DXGI's own swapchains, a refused hook is retried only after its slot changes, and the warning is logged once per change with a count.
-
Smoothness buffer back to full RGB after a capture recovery: when WGC or DXGI duplication capture recovered (for example after a display change), the buffer dropped the NV12/P010 setting and the video memory reservation mode, so the rest of the recording used more video memory. Both settings now survive the recovery.
-
Face camera ahead of the microphone in WGC and DXGI duplication recordings: the camera picture always showed the newest camera frame, while the screen and the microphone audio of each output frame are delayed by the smoothness buffer (up to 300 ms), so lips moved before the voice. Each output frame now shows the camera frame taken at its own content time, from a short history of recent camera frames on the GPU. The face-camera log line reports the remaining offset (
slotLagUs). -
Possible corrupted frames in WGC and DXGI duplication recordings: the capture thread and the video encoder issued GPU commands on the same Direct3D 11 context without coordinating, so one thread's render target or shader setup could in rare cases land in the middle of the other's draw. Both now take the same lock around these commands. Found in code review, not in a recording log.
-
Late-loaded Unreal modules missed during discovery: a full console-variable scan now preserves module notifications that arrive after its snapshot, so modules loaded while the scan is running still receive their configured overrides. Failed module enumeration remains eligible for retry, with repeated failures summarized in the log.
-
Sampler overrides applied twice through Direct3D 11 to Direct3D 12 translation: when a translator creates a native sampler inside a Direct3D 11 sampler call, CaptureEngine now keeps the Direct3D 11 policy in charge. The native descriptor preserves shader/resource safety decisions and does not add the configured mip bias again. Direct3D 11 bind-time AF replacements also preserve mip settings already applied at creation under the same configuration; samplers created before interception keep the existing fallback.
-
DirectX 12 inject recording across swapchain replacements: when a game replaced its swapchain, for example while switching between DLSS frame generation and FSR frame generation, and Windows happened to place the new swapchain at the old one's memory address with the same size and format, inject capture kept treating it as the old swapchain. The recording then kept the previous swapchain's capture setup instead of starting a fresh one, so capture that depends on the new swapchain's own command queue (such as FSR frame generation's final-output capture) could stop delivering frames. Whether it happened depended on memory allocation luck. CaptureEngine now marks each swapchain it captures from without holding on to it, so every new swapchain reliably gets its own capture setup. The hook log reports when a new swapchain reuses the captured one's address.
-
Encoder overload while the GPU is busy (NVIDIA): recordings could fall below their frame rate and repeat frames whenever the game kept the GPU busy, even with the fastest encoder preset, although the encoder itself had capacity to spare. CaptureEngine's small per-frame GPU conversion has to wait its turn behind the game's rendering, and the encoder only allowed about two frame intervals for that wait before every new frame stalled. The encoder now keeps enough frames in flight to absorb about 100 ms of waiting at any frame rate (13 frames at 120 fps instead of 3). This costs extra video memory for the queued frames (about 25 MB per frame at 4K 10-bit) and adds the same small delay before packets reach the file or stream; recorded timing, frame order and audio sync are unaffected. Setting
surfacesin the custom encoder options overrides the depth. Screen-capture audio no longer counts frames that are merely waiting inside the encoder as lost video. -
Inject capture overloaded the encoder at presets DXGI desktop duplication handles (NVIDIA): with inject capture, a heavier encoder preset could make the recording repeat frames although the encoder was not fully busy, while DXGI desktop duplication sustained even heavier presets at the same resolution and frame rate. On NVIDIA, the Windows video processor that converted each frame to the encoder's YUV format only finished once the hardware encoder had worked off its earlier frames, so CaptureEngine's conversion and the encoder kept waiting for each other. CaptureEngine now converts SDR frames to NV12/P010 with its own GPU shaders, as it already did for HDR, keeping the same color matrix (BT.709, or BT.2020 when configured), the configured full or limited range and left-sited chroma; game frames in RGBA order no longer need an extra full-frame channel-swap pass. Scaled recordings and 16-bit floating-point sources still use the video processor. The copy of each frame kept for repeating it under overload is now taken before the frame goes to the encoder instead of after, because reading a frame the encoder already owns also made CaptureEngine's GPU work wait for the encoder; this applies to every capture method. In addition, to know when it may hand each game frame buffer back, CaptureEngine signaled a GPU fence after reading the frame and pushed that work to the GPU on its own, ahead of handing the frame to the encoder. On NVIDIA, each such extra GPU submission held CaptureEngine's following GPU work until the encoder had finished up to two earlier frames, so every conversion waited for the encoder and the encoder for the conversion, and the encoder sat partly idle while frames queued up. CaptureEngine now marks the end of its reads with a GPU query that travels with the encoder hand-off instead of a submission of its own, and that only the encoder's own thread checks, between frames, so it never interferes with the hardware encoder's use of the GPU device; it marks it before handing the frame to the encoder (which also returns the game's frame buffer sooner), and no longer queues a redundant GPU wait for a game frame it has already confirmed finished on the CPU. The sensors log's encoder-workload lines no longer include stray single-poll windows with near-zero activity.
-
Encoder idle time between frames while the game keeps the GPU busy (NVIDIA): with NVENC, any GPU work CaptureEngine queued right after handing a frame to the encoder waited until the encoder had finished that frame. Between frames the encoder therefore sat idle for CaptureEngine's next conversion, plus however long that conversion waited behind the game's rendering. Without a heavy game this cost about 2% of the encoder's capacity; with a game saturating the GPU it could make recordings repeat frames again. NVENC now runs on its own Direct3D 11 device. CaptureEngine converts each frame on its own device, the encoder reads the result through shared textures, and a frame goes to the encoder only after CaptureEngine has seen its conversion finish on the GPU, which normally requires no waiting. Nothing on CaptureEngine's GPU queue waits for the encoder any more; this also covers scaled recordings and 16-bit floating-point sources, which still use the Windows video processor. Each frame now reaches the encoder about one frame interval later than before, or at most about 33 ms later when the GPU is very busy. Recorded timing, frame order and audio sync are unaffected. If the shared textures cannot be set up, the encoder keeps sharing CaptureEngine's device as before, and the media log says why. The per-second encoder timing line shows how many frames are waiting for their conversion and how long CaptureEngine had to wait, if at all.
-
Screen capture on PCs with two GPUs: for Windows Graphics Capture and DXGI desktop duplication, CaptureEngine created its GPU device on whichever graphics adapter Windows lists first. On laptops with integrated and NVIDIA or AMD graphics, that is usually the integrated GPU, where NVENC or AMF cannot run, so such recordings could fail to start. On desktops with two graphics cards, the recorded monitor could be attached to the other card, which forced a copy of every frame between the cards and made DXGI desktop duplication unavailable. CaptureEngine now picks a GPU that can run the configured encoder and, among those, prefers the one driving the recorded monitor. The media log names the chosen GPU and says whether frames still have to cross between GPUs. PCs with a single GPU are unchanged.
-
Media Foundation recordings could show a later frame's content: FFmpeg's Media Foundation encoder hands each frame to the hardware encoder and immediately returns the frame's GPU texture to the shared pool. The hardware encoder works asynchronously, so CaptureEngine could write its next conversion into a texture that had not been encoded yet. CaptureEngine now keeps every Media Foundation input frame until the encoder has returned that frame's packet. Media Foundation also gets the separate encoder device described above, because on NVIDIA it runs on the same hardware encoder.
-
Builds fetched FFmpeg's full history although the source was already at its pinned version: before reusing the FFmpeg source checkout,
python build.py --skip-updateschecks that it sits on the pinned commit. The MSYS2 git the build runs strips braces from its command-line arguments, so that check never matched, and every build that reached it (for example the first build in a fresh checkout) ran a fullgit fetch --unshallowof FFmpeg's history, which is slow and fails without network access. The check now passes git an argument it receives unchanged, so a checkout already at the pin is recognized locally without any network access, and moving to a pin whose commit is already present no longer fetches either. The build log says when a pinned commit is genuinely missing and history has to be fetched.
Changed
-
Programs that use
cengine.dllrun the engine inside their own process ([Runtime] isolated_helpers): game injection, recording and encoding, and log collection run as threads of the program that loads the engine, so it needs no CaptureEngine process for them. The CaptureEngine app itself keeps its separatecaptureengine.exehelper processes, so a crash in capture or encoding ends only that helper and every recording starts in a fresh process;isolated_helpers=offruns the app in-process as well (for testing),onforces separate processes for any program (programs can ask for them withCE_FEATURE_ISOLATED_HELPERS). Two things still start their own processes: recording a single application's audio (one short-lived worker per captured application, because tearing down Windows' per-application audio capture can crash the process that owns it) and the hardware sensors. An in-process program keeps its own process and GPU scheduling priority unless it opts in (CE_FEATURE_PROCESS_TUNING). Log files keep their names (inject.log,media_<id>_<pid>.log,logger.log); the runtime log names each helper's transport at startup ([Runtime] helper transports: ...). A relative or empty recording or screenshot folder is resolved against the CaptureEngine folder, also when another program loads the engine. -
The app now talks to its engine like any other program: a few details changed with it.
--auto-recordno longer starts the recording process at launch; it starts with the first recording, like every other recording. The tray's "Start with Windows" checkmark shows whether the autostart entry is actually registered rather than the stored preference. If the sensor process cannot be stopped before the PawnIO driver is uninstalled, the tray now says that the uninstallation did not complete (before, only the log did). The app's own lines incaptureengine.logstart with[Client:CaptureEngine]. -
Both FPS limiters default to
auto([FpsLimiter] capture_sync_limiter_mode=auto,general_limiter_mode=auto): new installs usedbasic, so a game with its own NVIDIA Reflex was still paced by CaptureEngine's timer next to the game's Reflex.autohands the cap to the game's Reflex while the game has it turned on (always the case with DLSS frame generation) and usesbasicotherwise, including with FSR frame generation and on AMD and Intel graphics. With frame generation the configured value stays the displayed frame rate in every mode. Existingconfig.inifiles keep the mode they name. -
The
fg_fallbackFPS limiter mode is retired ([FpsLimiter] capture_sync_limiter_mode/general_limiter_mode): it never paced differently frombasic- every mode already treats the configured rate as the displayed rate and divides it by the active frame-generation factor - so it only made the choice look harder than it is. Aconfig.inithat still saysfg_fallbackkeeps exactly the same pacing asbasicand logs one line per key saying the mode is retired.autonow chooses between the game's own Reflex pacing (when the game has turned Reflex on) andbasic, and its log line names which limiter (capture sync, general, display ceiling) it decided for.
Release Assets
captureengine-0.1.7155.7z: core product binaries, PDBs, FFmpeg closure, and default configurationcaptureengine-setup-0.1.7155.exe: graphical installer and uninstaller (shortcuts, startup, elevation service, optional PawnIO driver)testapps-0.1.7155.7z: standalone graphics & frame generation test executables and diagnostic toolsffmpeg-corresponding-source-0.1.7155.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.