Refresh rate is capped at 60hz for Project Reunion 0.5 Desktop apps. #4690
Labels
appModel-win32
Exclusive to WinUI 3 Win32 Desktop apps
area-Performance
product-winui3
WinUI 3 issues
team-CompInput
Issue for IXP (Composition, Input) team
v0.5
Issues introduced in the Project Reunion 0.5 prerelease
Describe the bug
This is kind of a strange bug but I will do my best to explain. Time to time (usually after doing some visually expensive stuff like navigating frames, running XAML animations) WinUI 3 Desktop apps are not rendering at max refresh rate that my monitor supports. I have 144hz monitor. When I run XAML Controls Gallery (UWP, WinUI 2.5) everything runs smoothly. I can see my mouse rendering faster and all the animations etc. running at 144hz. However, as I run WinUI 3 Controls Gallery (Desktop, WinUI 3, released today) everything becomes sluggish, refresh rate looks like capped at 60hz, animations are not at high performance.
I assume this might be related to my Windows build (Insider Preview 21343) or UWP apps being GPU accelerated (don't know the case about WinUI3 Desktop apps), but definitely not something to experience as a user and can be frustrating for both devs and customers.
Legacy WPF or Win32 apps that don't use WinUI don't have this problem, they run smoothly at 144hz. This problem is only observed in the apps that uses WinUI 3. I described it as Project Reunion 0.5, but problem also appears on the apps that use WinUI3 Preview versions too. I had an old blank app that uses WinUI Preview 4 in my machine and this behavior is also seen in that app.
Steps to reproduce the bug
Expected behavior
Everything should run as smoothly possible.
Version Info
NuGet package version:
WinUI 3 - Project Reunion 0.5 (not Preview)
WinUI 3.0 Preview 4
Windows app type:
Additional context
The text was updated successfully, but these errors were encountered: