Skip to content

Stable release 0.1.7157

Choose a tag to compare

@github-actions github-actions released this 25 Oct 18:41
· 552 commits to main since this release

v0.1.7157

Stable release 0.1.7157 built and fully verified from 637d729.

Highlights & Changes

Improved

  • NVIDIA LOD-spread fix documentation: clarified that nv_lod_spread_fix forces the High Quality (HQ) texture filtering setting in Vulkan and OpenGL because the driver erroneously keeps the lower-quality Quality (Q) setting for FERMI_UNOPT_LOD_SPREAD even when HQ is selected (unlike D3D10–12). Documented the real visual effects: excessive temporal shimmering with negative mip bias and excessive blur with positive mip bias.

  • AAC audio encoding: updated FFmpeg to a pinned revision of the 9.1 release branch with newer NMR quality and bitrate-control refinements. Recordings continue to use NMR's best-quality mode.

  • 10-bit desktop and WGC recordings use a third less video memory for the smoothness buffer: the buffered frames (300 ms of delay, 64 frames at 4K120) used to keep each 10-bit value in 16 bits. They are now stored packed at 16 bits per pixel instead of 24, and the encoder rebuilds exactly the same 10-bit picture from them: at 4K the buffer shrinks from about 1519 to 1013 MB, for DXGI duplication and WGC, SDR and HDR alike. The delay, the frame count, frame selection and audio sync are unchanged, and the extra GPU work per frame is about what the old copy cost. The media log names the route ([WGC] Retained reservoir route: ... -> P010_PACKED16 (yuv (packed P010))) and counts the rebuilt frames (packedUnpacks=). wgc_retained_packed_p010=false in [WGC] keeps the unpacked frames, for comparison.

  • The first recording after starting CaptureEngine no longer spends about a second compiling shaders: the color conversion, buffered-frame, cursor, face camera and overlay shaders of the recording path are now compiled when CaptureEngine is built, not at the first recording start of every session; that was about 0.65 s for the cursor and camera overlay alone, on a CPU core next to the game. All capture methods, codecs, bit depths and SDR/HDR use them. The media log shows Shader bytecode: precompiled=N runtimeCompiled=0.

  • Faster build gate (development): the unit tests and the Python tool self-tests now run while the frame-generation flow scenarios run, instead of before them; they used one processor core while the scenarios keep all the others busy, and added about 95 seconds to every gate. An unfiltered gate skips the flow scenarios entirely when nothing they are built from or run with changed since their last passing run (their sources and headers, the version resources and export lists of the stand-in runtimes, the libraries and linker they are linked with, the build scripts, the compiler, their config and Windows' WARP and Direct3D 12 modules), which is the case for changes to the app, the media engine, settings and the other parts the scenarios never load; --rerun-flow-tests and --verify (also --verify-runtime and a resumed verification) always run them. Any failed flow run, forced or filtered ones included, makes the next gate run them again, and a flow-test program that cannot list its scenarios fails the gate instead of passing with nothing run. The slowest scenarios now start first, and the log lists them with their times.

Fixed

  • PC latency no longer drops out when frame generation changes its factor: the overlay's PC latency row started its measurement over whenever the frame-generation factor changed, and showed PC Latency -- for about a second until it had new samples. DLSS dynamic multi frame generation switches between 2x, 3x and 4x by itself during normal gameplay, so the reading kept dropping out there. The measurement now carries across factor changes while the same frame generation keeps running; switching frame generation on or off, or to another kind, still starts it over. The overlay log's [Overlay] PC latency chain line counts these changes (factorChanges=).

  • The frametime graph stays stable while a game is minimized or composed by the desktop: occasional game-owned flips could alternate the graph between presentation and display-change timing, repeatedly changing its history even though the game stayed in the same presentation mode (seen in The Talos Principle Reawakened's minimized menu). The sensor now keeps every sample in its established composed mode until it confirms that the game's own flips have resumed without compositor frames. Latency keeps all timestamps, and the sensor's bounded health log counts these mixed completions as ownWhileComposed=.

  • WGC and desktop recordings keep their video timing aligned when the game's frame rate changes: smoothing capture timestamps could leave a permanent offset of several milliseconds after the source slowed down or sped up. The smoother now fits recent source timestamps to keep its phase aligned while preserving smooth frame selection, real stalls, and the existing synchronization limits. The media log identifies the new timing model once per recording as model=source_phase_fit.

  • WGC and desktop recordings avoid a frozen picture at the start when the game runs at or below the recording frame rate: the startup buffer now waits for the number of frames the source can deliver, rather than always expecting the recording frame rate. This avoids an unnecessary full-second wait and the roughly 0.3-second frozen opening seen with an 84 fps game recorded at 120 fps. At matching frame rates, startup selects a frame that leaves the full required reserve. Old buffered frames make room before the capture pool starts rejecting new ones. Startup frames lost to pool pressure are reported in the media log and count against the smoothness verdict.

  • The media log reports the buffered-frame converter once per recording: [RetainedYuv] Ingress converter released could appear up to three times with the same counts when a recording stopped; the counts now cover one recording.

  • WGC and desktop recordings avoid a freeze when the cursor or camera first appears: cursor and retained NV12/P010 overlay shaders are prepared before video frames are encoded, including when an overlay starts out hidden. The first cursor frame previously paused encoding for roughly three quarters of a second.

  • Recording summaries report real repeat counts: source-limited and timer repeats remain accurate when shared recording status resets at shutdown; summaries could previously claim over four billion repeats and give a misleading smoothness verdict.

  • DXGI duplication recordings no longer fall back to the larger RGB frame buffer at random: the first desktop frame proves the capture format, and CaptureEngine set up its frame buffer for that format from two threads at once. Now and then the buffer came out in one format while its NV12/P010 views were made for another; the capture then kept its frames in full RGB for the whole recording (about 1.3 GB more video memory at 4K in 8-bit for the same delay, 2025 instead of 759 MB) and logged Retained-YUV plane RTV creation failed ... 0x80070057. The capture thread now waits with the first frame until the format is adopted, then delivers it; the log shows Duplication delivered format adopted ... frame delivery opened.

  • Desktop recordings show the mouse cursor and the face camera again: since v0.1.7155, WGC and DXGI duplication recordings keep their buffered frames in the encoder's own NV12/P010 format and draw the cursor and the face camera into each frame from a small separate layer. Neither could be drawn into that layer, so those recordings had no hardware cursor and no face camera at all; only a software cursor Windows paints into the desktop image itself (while dragging a window, for example) showed up. Both are drawn again, on every frame including repeated ones. Should an overlay fail to draw on a frame, the media log now says so ([RetainedYuv] Cursor layer draw failed, [CursorRenderer] No render target view) and the encoder summary counts it (layerFailures=).

  • A desktop screenshot on an HDR desktop no longer freezes CaptureEngine: on an HDR desktop, a screenshot without a game captures the desktop through Windows Graphics Capture. Before the first one, CaptureEngine asked Windows whether it may hide the yellow capture border and waited for the answer on the thread that also runs the hotkeys. When Windows did not answer at once, as on the affected system, it handed the answer back to that same thread, which was blocked waiting for it: the screenshot never finished, no hotkey worked afterwards and Exit in the tray menu no longer closed CaptureEngine. SDR desktop screenshots and recordings never waited there. The question is now asked once in the background and nothing waits for it. The log names the answer ([WGC] Borderless access answered: ...) and when CaptureEngine is asked to close ([Runtime] Shutdown requested).

  • A deleted config.ini comes back when CaptureEngine starts, with the elevation service on: CaptureEngine runs without administrator rights and cannot create files in its Program Files folder, so a deleted config.ini stayed missing until setup ran again. When the elevation service is on (the default after setup), CaptureEngine now asks it to recreate the file from the default settings at startup; it never replaces an existing file, writes only into its own installation folder and gives the file the usual rights so you can edit it without administrator rights. The log names the outcome ([Settings] config.ini was missing; the elevation service restored it, or the service's answer in the could not be created warning). Needs the elevation service from this version; an older one is left alone.

  • Hotkeys, recording and screenshots work without a config.ini: when config.ini was missing from an installation under Program Files, CaptureEngine (running without administrator rights) cannot create a new one there, and it then ran on bare internal defaults instead of the default settings: no hotkey at all, so Ctrl+9 and Ctrl+0 did nothing, and no output folder or frame rate. The recording and capture processes read different fallbacks again (F9 to record, no screenshot key, recordings beside the program). Every part of CaptureEngine now runs on the settings a fresh config.ini would hold, taken from the copy built into the program, until the file exists again; running setup again restores the file itself. The log says so once ([Settings] config.ini is missing and could not be created ... the built-in first-run template applies, and [Config] ... in the other processes).

Security

  • Creating config.ini never follows a link: a symbolic link planted at the name config.ini in a folder ordinary users can write (a custom or portable installation) could make CaptureEngine running as administrator create the link's target and open it to all users. The first-run file and the elevation service's restore now never follow a link at that name, and the service refuses a folder that is itself a link.

Release Assets

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

Distribution & Licensing

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