Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powertoys UI not rendering at screen refresh rate #22020

Closed
pritster5 opened this issue Nov 12, 2022 · 8 comments
Closed

Powertoys UI not rendering at screen refresh rate #22020

pritster5 opened this issue Nov 12, 2022 · 8 comments
Labels
Issue-Bug Something isn't working Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@pritster5
Copy link

pritster5 commented Nov 12, 2022

Microsoft PowerToys version

0.64.1

Installation method

GitHub

Running as admin

Yes

Area(s) with issue?

Settings (chances are all WinUI3)

Steps to reproduce

Simply launch power toys on a monitor that runs above 60hz (mine is 144hz) and notice that Powertoys doesn't seem to render at 144hz but instead at 60 hz.

A similar issue was mentioned in #

✔️ Expected Behavior

For powertoys UI to render at my screens refresh rate just like any other windows app

❌ Actual Behavior

It's locked to 60 fps apparently. A similar issue was mentioned in #5241

Other Software

No response

@pritster5 pritster5 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 12, 2022
@crutkas
Copy link
Member

crutkas commented Nov 12, 2022

@pritster5 which application? We have like multiple UX frameworks. /needinfo

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 12, 2022
@pritster5
Copy link
Author

@pritster5 which application? We have like multiple UX frameworks. /needinfo

The main settings application for PowerToys.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Nov 12, 2022
@crutkas
Copy link
Member

crutkas commented Nov 14, 2022

Asking. Settings is a basic WinAppSDK app so chances are this has something with them.

@Fire-
Copy link

Fire- commented Feb 19, 2023

FWIW this seems to be due to a longer standing issue with how either Windows or the GPU driver are managing interactions with High Refresh displays and/or frame synchronization tech like GSync / Freesync.

This also affects the rewrite of the command prompt ( Terminal : microsoft/terminal#649 ), and basically any application that gets upgraded to its own plane due to Windows' added support for multiplane rendering in 2021H2 and newer. AFAICT if the application doesn't specifically do something ( like updating the entire frame regardless of changes ) to avoid being placed in a frame-sync render mode, it will be put into vrr by the driver, and apps that don't update every frame generally cause vrr implementations to stall until their timeout while waiting for the new frame, with the stall time resulting in a 60hz ( or less ? ) update for the application's pane - which is exactly what we're seeing.

My typical solution to this is to manually add the application to the nvidia control panel, and enforce the display type as "fixed refresh" - see https://twitter.com/fire/status/1497074121095663652
So far I've personally seen it affect 1Password, Luminar AI / Luminar Neo, Powertoys, and the handful of UWP apps I've tried using.

In this specific case I'm using additional settings, but I honestly don't know if they have any real impact beyond the Monitor Technology setting:

Ideally this is something Microsoft would either resolve first party or take up with gpu driver implementers to resolve wholesale, but at least we have a general purpose workaround

@crutkas crutkas added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels May 11, 2023
@crutkas
Copy link
Member

crutkas commented Jun 1, 2023

This was added in v0.70!

@crutkas crutkas closed this as completed Jun 1, 2023
@pritster5
Copy link
Author

Thanks so much!

@WilliamABradley
Copy link
Contributor

WilliamABradley commented Nov 1, 2023

This still seems to be an issue for me in PowerToys settings in v0.75.

When navigating around the app with scroll, and in-app animations, it feels slow and stutter-y. Scroll feels particularly slow.
Not sure if it is 60hz, but it feels like 30 Frames Per Second or less.

I am using a G-Sync Monitor than can get up to 175Hz, and an RTX 4080.

I only noticed this issue once PowerToys was moved to WinUI 3.

Recording.2023-11-01.155936.mp4

@WilliamABradley
Copy link
Contributor

Not sure if it was on your end, a driver update, a Windows App SDK update or a Windows Insider update, but scrolling is smooth now 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

4 participants