HACK: vulkan/wsi: enable freesync.
v2: sizeof->strlen (Michel)
This patch works fine and I hope it will be merged soon to the mainline Mesa. I tested with 2 Linux games and 2 windows games that works with freesync. Video: https://www.youtube.com/watch?v=h7kVJQXx98A
The Shadow of the Tomb Raider Benchmark has a fps meter and it proves that RADV freesync works fine. https://www.youtube.com/watch?v=BlfTfSR4ysg
Change is successful: refresh rate of the monitor matches the framerate of the applications.
Note that it is necessary to explicilty tell the Xorg server amdgpu module that we wish to enable adaptive sync via
Option "VariableRefresh" "true"
- Radeon RX Vega 64
- Asus XG32VQ
- Displayport Cable
- arch linux 5.0.7
- applied #bcd4228a to mesa 19.0.1 https://www.archlinux.org/packages/extra/x86_64/mesa/
- DOTA via Steam
- Serious Sam Fusion 2017 (beta)
I'll be sticking with my custom mesa build until this is merged :)