[Wayland] [Feature request] Allow Tearing support for Vulkan applications
CNR0706 opened this issue · comments
Multiple compositors (KDE, gamescope, Cosmic...) are starting to implement support for screen tearing on Wayland (https://wayland.app/protocols/tearing-control-v1) to significantly improve latency in a gaming scenario. This already works fine on Mesa's RADV however AMDVLK does not seem to support this.
Please add support for Tearing! It would make a lot of games like CS:2 or Overwatch a lot more enjoyable.
It would also be nice to have an environment variable or config option similar to MESA_VK_WSI_PRESENT_MODE=[value] (https://docs.mesa3d.org/envvars.html#envvar-MESA_VK_WSI_PRESENT_MODE) to make it easier to select a Vulkan presentation mode.
Thanks for your hard work, AMDVLK is awesome!
I discovered (completely by accident) that this is desktop dependent. Tearing works completely fine on Hyprland systems.
I originally made the bug report from my KDE 6 session where it didn't work at all.