Skip to content

VRR / adaptive sync in hyprland, does it work with fullscreen games? #919

Answered by vaxerski
SeekerOfAsh asked this question in Q&A
Discussion options

You must be logged in to vote

Well, it works, just like in Sway.

Adaptive sync works in the example you're describing. The thing is, since we are doing page flips, every commit has to repaint 2 frames. That means, if you cap to 100, your refresh rate will be 200. (Which is the case on my 240Hz display)

What you are describing is possible, but since Hyprland doesn't support direct scanout yet, it's not something on my radar for now. Once that is impl'd, doing this will not be a problem.

Basically, when doing a direct scanout we can clear the damage buffer and wait for the scanout'd surface to commit the next update. Without that we cannot really do that, as we don't want weird half-painted frames or flicker.

The most l…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SeekerOfAsh
Comment options

Answer selected by SeekerOfAsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants