Skip to content

steamcompmgr: throttle frame callbacks to output refresh rate with VRR#2115

Open
matte-schwartz wants to merge 1 commit intoValveSoftware:masterfrom
matte-schwartz:matts/vrr-mangoapp-powerusage
Open

steamcompmgr: throttle frame callbacks to output refresh rate with VRR#2115
matte-schwartz wants to merge 1 commit intoValveSoftware:masterfrom
matte-schwartz:matts/vrr-mangoapp-powerusage

Conversation

@matte-schwartz
Copy link
Copy Markdown

With VRR active, vblank is forced true every main loop iteration. This causes overlay windows to receive frame callbacks at an uncapped rate, rendering continuously and skyrocketing power usage.

Instead, throttle overlay callbacks to the output refresh rate by tracking the last overlay latch time and skipping callbacks until a full refresh cycle has completed.

With VRR active, vblank is forced true every main loop iteration. This
causes overlay windows to receive frame callbacks at an uncapped rate,
rendering continuously and skyrocketing power usage.

Instead, throttle overlay callbacks to the output refresh rate by tracking
the last overlay latch time and skipping callbacks until a full refresh
cycle has completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant