
VSync interval is currently based on the primary monitor VSync, which often leads to stuttery presentation in multi-mon configs with differing refresh rates. For example, in a config containing a primary monitor with 75 Hz refresh rate and another monitor with 120 Hz refresh rate, 60 FPS video will appear stuttery on both displays as we're presenting at a 75 Hz interval. In Windows 2024, The compositor clock is aligned the VSync interval of the fastest display in the multi-mon config, which provides a better alignment of video FPS, monitor refresh rate, and VSync interval. In the previous example, the compositor clock will provide a 120 Hz interval, which results in greatly improved 60 FPS (and 24/48 FPS) video playback performance on the 120 Hz monitor. Additionally, common gaming configs such as game with VRR on a 144 Hz primary monitor + video on 60 Hz secondary, will have improved video playback performance as the compositor clock will provide the fastest non VRR VSync source (60 Hz interval). In the default code path (using primary monitor as interval), constant frame drops were observed during steady state YouTube video playback in multi-mon game plus video scenarios. The lowest 1% FPS was consistently measured to be less than 20 FPS. When using the compositor clock to determine the interval, no frame drops were observed during steady state YouTube video playback and the lowest 1% FPS was consistently ~50 FPS. There were also significant visual improvements in video playback. This code path is disabled by default but can be enabled via command line flag when running Windows 2024. Bug: 360354541 Change-Id: If73dfec47234542d0c5edfeac0cb2575ecbcdee3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5795871 Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Maggie Chen <magchen@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/main@{#1405080}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.