Skip to content

Instantly share code, notes, and snippets.

@lnxfsf
Created June 30, 2023 13:15
Show Gist options
  • Select an option

  • Save lnxfsf/40eda4632c39e4d47f1ea11efa6394b0 to your computer and use it in GitHub Desktop.

Select an option

Save lnxfsf/40eda4632c39e4d47f1ea11efa6394b0 to your computer and use it in GitHub Desktop.
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
```
- Koristi 'intel' kao driver
-
```
Option "AccelMethod" "sna"
Option "DRI" "3"
```
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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment