Enabling Freesync on an AMD rx580

pre-requisites: literally any distro with linux 5+ and relatively new mesa packages.

steps:

  1. r.conf
    mv this file to either of the following dir’s (respective of distro in use):
    /usr/share/X11/xorg.conf.d - Ubuntu
    /etc/X11/xorg.conf.d - Fedora

  2. sudo reboot

  3. verify that freesync is working:
    cat ~/.local/share/xorg/Xorg.0.log | grep Variable

expected functional freesync output of the above cmd: “VariableRefresh: Enabled”