ari.lt/page/blog/blogs/Fixing-xorg-screen-tearing-on-intel-graphics_4520111675.html
2021-11-11 15:53:04 +02:00

124 lines
2.4 KiB
HTML

<!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 -&gt; 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>
<ul>
<li>
Make the configuration directory
</li>
</ul>
<p>
<code>
$ sudo mkdir -p /etc/X11/xorg.conf.d
</code>
</p>
<ul>
<li>
Installing dependencies
</li>
</ul>
<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>
<ul>
<li>
Adding the configuration
</li>
</ul>
<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>
<code style="white-space: pre;">
Section "Device"
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 -->