Open defprotolab opened 1 week ago
What code do you use to render the framerate?
I also noticed this problem, by measuring FPS with Stopwatch or IDXGISwapChain::GetFrameStatistics (like in this test that I tested with 1.6.24 and 1.4, I get 32/33 vs 60 FPS) (tested on my old PC with Intel HD Graphics card)
@castorix I briefly tried your application and it crashes most of the time at random positions in the code on my machine. However, when it starts I observe stable 60fps.
@castorix I briefly tried your application and it crashes most of the time at random positions in the code on my machine. However, when it starts I observe stable 60fps.
Weird, at which line(s) ? I tested yesterday, by adding many butterflies, I cannot make it crash and I always get 32 or 33 FPS now (59/60 before) (Windows 10 22H2, x86 or x64, Windows App SDK 1.6.240829007)
@castorix I briefly tried your application and it crashes most of the time at random positions in the code on my machine. However, when it starts I observe stable 60fps.
Weird, at which line(s) ? I tested yesterday, by adding many butterflies, I cannot make it crash and I always get 32 or 33 FPS now (59/60 before) (Windows 10 22H2, x86 or x64, Windows App SDK 1.6.240829007)
Windows 11 24H2
<WindowsPackageType>None</WindowsPackageType>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1" />
==> 61 fps
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240923002" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
==> 62 fps
Windows 11 24H2
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240923002" /> <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
==> 62 fps
Ok, thanks. Then maybe the problem is only on Windows 10 , as @defprotolab wrote "Windows 10 version 22H2", like my OS
Describe the bug
After updating the Windows App SDK in my C# WinUI 3 application from version 1.5.24 to 1.6.24, I noticed that the frame rate (FPS) is now limited to 32 FPS. In the previous version (1.5.24), the application was able to render at a much higher frame rate (e.g., 60 FPS). The limitation persists across different systems, and the app is consistently capped at 32 FPS.
Steps to reproduce the bug
Expected behavior
The application should be able to render at higher frame rates (e.g., 60 FPS or more) without being capped at 32 FPS after the SDK update.
Screenshots
NuGet package version
Windows App SDK 1.6.1: 1.6.240923002
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response