DEV Community

sa3i0l
sa3i0l

Posted on

fix screen tearing linux

sudo mkdir -p /etc/X11/xorg.conf.d

sudo vim /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "TearFree" "true"
   Option "AccelMethod"  "sna"
   Option "DRI" "3"
 EndSection

Enter fullscreen mode Exit fullscreen mode

- Koristi 'intel' kao driver

Option "AccelMethod"  "sna"
   Option "DRI" "3"
Enter fullscreen mode Exit fullscreen mode

I ne moraš samo treba ovaj Option "TearFree" "true"


There are many ways to check what driver is in use on your system:

sudo lspci -k | grep -EA3 'VGA|3D|Display'

grep "LoadModule" /var/log/Xorg.0.log

Alternatively, you can also check using the inxi command:

inxi -G
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
Display: x11 server: X.Org 1.20.8 driver: i915 resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
v: 4.5 Mesa 20.0.4


https://www.dedoimedo.com/computers/linux-intel-graphics-video-tearing.html

https://christitus.com/fix-screen-tearing-linux/

Top comments (0)