screen tearing amd gpu ubuntu code example
Example: screen tearing amd gpu ubuntu
// Check this
xrandr --verbose | grep "TearFree"
// If TearFree is set to auto
cd /etc/X11
sudo mkdir xorg.conf.d && cd xorg.conf.d
sudo vim 20-amdgpu.conf
// And paste the following configuration
Section "Device"
Identifier "AMD Graphics"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
// Then reboot or restart X11