legacy.blog.ari-web.xyz/blogs/Fixing-xorg-screen-tearing-on-intel-graphics_4520111675.html
Ari Archer 50ea3f7f35
update @ Thu 24 Feb 19:44:01 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-02-24 19:44:01 +02:00

100 lines
3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta property="og:site_name" content="Ari::web -> Blog" />
<meta property="og:url" content="https://blog.ari-web.xyz/" />
<meta property="og:title" content="Ari::web -> Blog" />
<meta property="og:type" content="website" />
<meta name="theme-color" content="#262220" />
<meta name="color-scheme" content="dark" />
<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" />
<link rel="stylesheet" href="/styles/styles.css"/>
</head>
<body>
<div>
<h1>Fixing xorg screen tearing on intel graphics</h1>
<div style="text-align: center !important;">
<p>
2021-11-11 15:44:47 EET |
<a href=".."> back </a>
|
<a href="/"> home </a>
|
<a href="/git"> git </a>
</p>
</div>
<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 -->