diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c9a135f..8827b453 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,6 +122,7 @@ if(WIN32) ws2_32 d3d11 dxgi D3DCompiler setupapi + dwmapi ) set_source_files_properties(third-party/ViGEmClient/src/ViGEmClient.cpp PROPERTIES COMPILE_DEFINITIONS "UNICODE=1;ERROR_INVALID_DEVICE_OBJECT_PARAMETER=650") diff --git a/docs/source/about/advanced_usage.rst b/docs/source/about/advanced_usage.rst index 61c9e60f..e0903223 100644 --- a/docs/source/about/advanced_usage.rst +++ b/docs/source/about/advanced_usage.rst @@ -333,6 +333,26 @@ Example 3840x1600, ] +dwmflush +^^^^^^^^ + +Description + Invoke DwmFlush() to sync screen capture to the Windows presentation interval. + + .. Caution:: Applies to Windows only. Alleviates visual stuttering during mouse movement. + If enabled, this feature will automatically deactivate if the client framerate exceeds + the host monitor's current refresh rate. + +Default + ``enabled`` + +Examples + + Windows + .. code-block:: text + + dwmflush = enabled + Audio ----- diff --git a/src_assets/common/assets/web/config.html b/src_assets/common/assets/web/config.html index 203e807f..01954e76 100644 --- a/src_assets/common/assets/web/config.html +++ b/src_assets/common/assets/web/config.html @@ -37,13 +37,13 @@ class="form-select" v-model="config.min_log_level" > - - - - - - - + + + + + + +
The minimum log level printed to standard out @@ -400,7 +400,18 @@ You can select the video card you want to stream:
The appropriate values can be found using the following command:
tools\dxgi-info.exe
-
+
+ + +
+ + +
+ Improves capture latency/smoothness during mouse movement.
+ Disable if you encounter any VSync-related issues.
@@ -497,7 +508,7 @@
- +