While scrolling through web pages or watching videos, the screen will experience some flickering. This phenomenon, called screen tearing, can sometimes occur in Linux. While not a major concern, it can be a bit of a nuisance. However, this minor issue can be resolved with a simple file.
If you experience screen tearing as described above and your graphics card is Intel, the solution is as follows.
First, open a terminal and become root with the sudo -i command as below.
Then enter the entire command below into the terminal and press enter.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
EOF
After this process, restart your computer. This solution is usually the solution for Intel screen tearing.
There are many options that can be added to this file, as in the table below, but they are not needed much and are not added randomly.
Driver "intel"
Option "Backlight" "intel_backlight"
Option "AccelMethod" "sna"
Option "TearFree" "false"
Option "RenderAccel" "true"
Option "SwapbuffersWait" "false"
Option "DRI" "3"
Option "Throttle" "false"
Option "FramebufferCompression" "false"
Option "TripleBuffer" "false"
Option "Shadow" "false"
Option "LinearFramebuffer" "true"
Option "RelaxedFencing" "false"
Option "BufferCache"
I use old PC and Intel driver is old and performs worse, you can more performance with the default mesa driver... screen tearing is issue but only on X11.... wayland fixes it really (but I use XFCE and tried the experimental wayland)
ReplyDeleteThank you for the information.
ReplyDelete