-
Notifications
You must be signed in to change notification settings - Fork 342
Conversation
8a64217
to
6d170a9
Compare
This is ready for review. Reviewers will want to have a look at #2046 first. |
Rebased against master. |
Can we bubble up whether or not the output supports adaptive sync, and add that to the swaymsg -t get_outputs response? |
I've decided against bubbling up this information, because other backends (X11 and Wayland) won't be able to know. |
|
This sets the _VARIABLE_REFRESH window property [1]. [1]: https://gitlab.freedesktop.org/mesa/mesa/blob/0616b7ac90cf4f86bb409d34101e3a3cceac8cbe/src/vulkan/wsi/wsi_common_x11.c#L1374
The vrr_capable and VRR_ENABLED properties are used.
Done, but decided to report the current status instead, it's more reliable. |
Thanks! |
Wow this is amazing. Just tested it with my new setup, and I will never go back to windows, even for gaming. Buttersmooth 160fps without any artifacts, and super low latency. |
Fixes: #1406
Depends on: #2046Future work: Wayland protocol to opt-in to VRR.