Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Variable Refresh Rate #1987

Merged
merged 3 commits into from
Mar 6, 2020
Merged

Variable Refresh Rate #1987

merged 3 commits into from
Mar 6, 2020

Conversation

emersion
Copy link
Member

@emersion emersion commented Jan 10, 2020

  • Should we make the output commit fail if VRR can't be enabled? We don't know when VRR is indeed enabled, but in some cases we know when it fails. We still don't have support for test-only commits, so dealing with failures is going to be annoying for compositors.
  • Sway implementation

Fixes: #1406
Depends on: #2046

Future work: Wayland protocol to opt-in to VRR.

@emersion emersion changed the title [WIP] Variable Refresh Rate Variable Refresh Rate Mar 2, 2020
@emersion emersion changed the title Variable Refresh Rate [DON'T MERGE] Variable Refresh Rate Mar 2, 2020
@emersion
Copy link
Member Author

emersion commented Mar 2, 2020

This is ready for review. Reviewers will want to have a look at #2046 first.

@emersion emersion changed the title [DON'T MERGE] Variable Refresh Rate Variable Refresh Rate Mar 4, 2020
@emersion
Copy link
Member Author

emersion commented Mar 4, 2020

Rebased against master.

@ddevault
Copy link
Contributor

ddevault commented Mar 4, 2020

Can we bubble up whether or not the output supports adaptive sync, and add that to the swaymsg -t get_outputs response?

@emersion
Copy link
Member Author

emersion commented Mar 4, 2020

I've decided against bubbling up this information, because other backends (X11 and Wayland) won't be able to know.

@ddevault
Copy link
Contributor

ddevault commented Mar 4, 2020

{SUPPORTED,UNSUPPORTED,UNKNOWN}

@emersion
Copy link
Member Author

emersion commented Mar 5, 2020

Can we bubble up whether or not the output supports adaptive sync, and add that to the swaymsg -t get_outputs response?

Done, but decided to report the current status instead, it's more reliable.

@ddevault ddevault merged commit 52c6728 into swaywm:master Mar 6, 2020
@ddevault
Copy link
Contributor

ddevault commented Mar 6, 2020

Thanks!

@ruabmbua
Copy link

Wow this is amazing. Just tested it with my new setup, and I will never go back to windows, even for gaming.
Currently playing native shadow of the tomb raider on AMD graphics in sway, and I never had a better experience anywhere else.

Buttersmooth 160fps without any artifacts, and super low latency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Variable refresh rate support
3 participants