According to Wikipedia :
Screen tearing is a visual artifact in video display where a display device shows information from multiple frames in a single screen draw. If you are on Debian or Ubuntu, and you have an AMD GPU this might fix the problem 😊
1. Check if the is any config
ls -l /etc/X11/xorg.*
$ ls -l /etc/X11/xorg.*
total 4
-rw-r--r-- 1 root root 108 Jul 30 11:33 20-amdgpu.conf
Backup if found
mkdir ~/xorg-backup
sudo mv -v /etc/X11/xorg.conf ~/xorg-backup/
sudo mv -v /etc/X11/xorg.conf.d ~/xorg-backup/
2. Check for GPU module
lspci -nnk | grep -i -EA3 "3d|display|vga"
$ lspci -nnk | grep -i -EA3 "3d|display|vga"
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c9)
Subsystem: Gigabyte Technology Co., Ltd Cezanne [1458:d000]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
If you have amdgpu then
create the config file
sudo mkdir /etc/X11/xorg.conf.d
sudo vi /etc/X11/xorg.conf.d/20-amdgpu.conf
Add the following to the config file 20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
If you have Radeon then
create the config file
sudo vi /etc/X11/xorg.conf
And add the following
Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "TearFree" "on"
EndSection
3. Reboot 💣
You can test now with Screen tearing test