2021-11-11 15:45:12 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
|
|
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
|
|
<title>
|
|
|
|
Ari::web -> Blog
|
|
|
|
</title>
|
|
|
|
<meta content="website webdev linux programming ari terminal dark blog javascript opensource free" name="keywords"/>
|
|
|
|
<meta content="Blog on 2021-11-11 15:44:47 EET - Fixing xorg screen tearing on intel graphics" name="description"/>
|
|
|
|
<meta content="follow" name="robots"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<h1>
|
|
|
|
Fixing xorg screen tearing on intel graphics
|
|
|
|
</h1>
|
|
|
|
<p>
|
|
|
|
2021-11-11 15:44:47 EET |
|
|
|
|
<a href="..">
|
|
|
|
back
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
<a href="/">
|
|
|
|
home
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
<a href="/git">
|
|
|
|
git
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
<hr/>
|
|
|
|
<h2>
|
|
|
|
Install drivers
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
The package on most distros is called
|
|
|
|
<code>
|
|
|
|
xf86-video-intel
|
|
|
|
</code>
|
|
|
|
,
|
|
|
|
on debian you'd install it like this:
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
$ sudo apt install xf86-video-intel
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
<h2>
|
|
|
|
Adding the configuration
|
|
|
|
</h2>
|
|
|
|
<ol>
|
|
|
|
<li>
|
|
|
|
Make the configuration directory
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
$ sudo mkdir -p /etc/X11/xorg.conf.d
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
<ol>
|
|
|
|
<li>
|
|
|
|
Installing dependencies
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<p>
|
|
|
|
On whatever distro you are on please install
|
|
|
|
<code>
|
|
|
|
curl
|
|
|
|
</code>
|
|
|
|
, for example on debian:
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
$ sudo apt install curl
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
<ol>
|
|
|
|
<li>
|
|
|
|
Adding the configuration
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
$ sudo curl https://ari-web.netlify.app/data/20-intel-graphics.conf -o /etc/X11/xorg.conf.d/20-intel-graphics.conf
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
<h3>
|
|
|
|
If you don't have internet
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
Please take this and add it to
|
|
|
|
<code>
|
|
|
|
/etc/X11/xorg.conf.d/20-intel-graphics.conf
|
|
|
|
</code>
|
|
|
|
<strong>
|
|
|
|
do not use something like libreoffice, use something like gedit, vim, nano, emacs, etc.
|
|
|
|
</strong>
|
|
|
|
:
|
|
|
|
</p>
|
|
|
|
<p>
|
2021-11-11 15:50:18 +02:00
|
|
|
<code style="white-space: pre;">
|
|
|
|
Section "Device"
|
2021-11-11 15:45:12 +02:00
|
|
|
Identifier "Intel Graphics"
|
|
|
|
Driver "intel"
|
|
|
|
Option "TripleBuffer" "true"
|
|
|
|
Option "TearFree" "true"
|
|
|
|
Option "SwapbuffersWait" "true"
|
|
|
|
Option "DRI" "2"
|
|
|
|
EndSection
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
<h2>
|
|
|
|
Reboot
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
Now reboot your system and everything should be working.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<!-- this is automatically generated by scripts/add_blog -->
|