2013-08-09 06:55:57 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2015-11-16 04:55:54 +08:00
|
|
|
|
|
|
|
<!--<!ENTITY xorg-intel-driver-download-http "&xorg-download-http;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">
|
|
|
|
<!ENTITY xorg-intel-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">-->
|
2021-09-07 01:42:49 +08:00
|
|
|
|
2016-09-03 12:10:02 +08:00
|
|
|
<!-- git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
|
|
|
|
as of 2016-09-02 -->
|
|
|
|
|
|
|
|
<!--<!ENTITY xorg-intel-driver-version "2.99.917">-->
|
2021-02-23 09:02:40 +08:00
|
|
|
<!ENTITY xorg-intel-driver-version "20210222">
|
2016-09-03 12:10:02 +08:00
|
|
|
|
2017-02-17 06:39:50 +08:00
|
|
|
<!ENTITY xorg-intel-driver-download-http "&sources-anduin-http;/xf86-video-intel/xf86-video-intel-&xorg-intel-driver-version;.tar.xz">
|
|
|
|
<!ENTITY xorg-intel-driver-download-ftp "&sources-anduin-ftp;/xf86-video-intel/xf86-video-intel-&xorg-intel-driver-version;.tar.xz">
|
2021-02-23 09:02:40 +08:00
|
|
|
<!ENTITY xorg-intel-driver-md5sum "8795a5d17ece4dea4763e61be7805882">
|
2020-08-18 12:24:30 +08:00
|
|
|
<!ENTITY xorg-intel-driver-size "948 KB">
|
2020-05-19 03:36:25 +08:00
|
|
|
<!ENTITY xorg-intel-driver-buildsize "77 MB">
|
2020-02-19 07:07:32 +08:00
|
|
|
<!ENTITY xorg-intel-driver-time "0.6 SBU">
|
2013-08-09 07:05:17 +08:00
|
|
|
]>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect2 id="xorg-intel-driver" xreflabel="Xorg Intel Driver-&xorg-intel-driver-version;">
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect2info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect2info>
|
2015-06-24 00:04:15 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<title>Xorg Intel Driver-&xorg-intel-driver-version;</title>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<indexterm zone="xorg-intel-driver">
|
|
|
|
<primary sortas="a-xorg-intel-driver">xorg-intel-driver</primary>
|
|
|
|
</indexterm>
|
2014-09-12 07:16:03 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect3 role="package">
|
|
|
|
<title>Introduction to Xorg Intel Driver</title>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2020-03-21 19:02:56 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
The <application>Xorg Intel Driver</application> package contains the
|
|
|
|
X.Org Video Driver for Intel integrated video chips including 8xx, 9xx,
|
|
|
|
Gxx, Qxx, HD, Iris, and Iris Pro graphics processors.
|
2013-08-09 06:55:57 +08:00
|
|
|
</para>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2022-08-26 17:11:04 +08:00
|
|
|
&lfs112_checked;
|
2021-02-19 23:20:16 +08:00
|
|
|
|
|
|
|
<note>
|
2020-03-21 19:02:56 +08:00
|
|
|
<para>
|
2022-02-27 20:45:25 +08:00
|
|
|
This driver is for Intel integrated GPU, and a development
|
|
|
|
version is needed to work properly with the latest hardware.
|
|
|
|
This version is now one year old and has some problems. The
|
2022-02-28 00:03:07 +08:00
|
|
|
<quote>Kernel Modes Setting (KMS)</quote> driver shipped along
|
|
|
|
with Xorg Server is said to give better results.
|
2020-03-21 19:02:56 +08:00
|
|
|
</para>
|
2021-02-19 23:20:16 +08:00
|
|
|
</note>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&xorg-intel-driver-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&xorg-intel-driver-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &xorg-intel-driver-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &xorg-intel-driver-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &xorg-intel-driver-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &xorg-intel-driver-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<bridgehead renderas="sect4">Xorg Intel Driver Dependencies</bridgehead>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="xcb-util"/> and
|
|
|
|
<xref linkend="xorg-server"/>
|
|
|
|
</para>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/xorg-intel-driver"/>
|
|
|
|
</para>
|
|
|
|
</sect3>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect3 role="kernel" id="xorg-intel-driver-kernel">
|
|
|
|
<title>Kernel Configuration</title>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
2021-09-07 01:42:49 +08:00
|
|
|
Enable the following options in the kernel configuration.
|
2021-02-19 23:20:16 +08:00
|
|
|
Recompile the kernel if necessary:
|
|
|
|
</para>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
|
|
|
<screen><literal>Device Drivers --->
|
|
|
|
Graphics support --->
|
2016-09-11 10:28:16 +08:00
|
|
|
<*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
|
|
|
|
<*> Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<indexterm zone="xorg-intel-driver xorg-intel-driver-kernel">
|
|
|
|
<primary sortas="d-xorg-intel-driver">xorg-intel-driver</primary>
|
|
|
|
</indexterm>
|
|
|
|
</sect3>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of Xorg Intel Driver</title>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2019-08-16 11:46:00 +08:00
|
|
|
<!-- appears to be in the current git version, but commenting since I do not have an 32-bit
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
If you are building on i686, apply a sed to fix a type mismatch.
|
|
|
|
</para>
|
2019-01-15 02:47:34 +08:00
|
|
|
|
2019-08-08 22:48:28 +08:00
|
|
|
<screen><userinput remap="pre">case $(uname -m) in
|
|
|
|
i?86) sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h
|
|
|
|
;;
|
2019-08-16 11:46:00 +08:00
|
|
|
esac</userinput></screen>-->
|
2019-01-15 02:47:34 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Xorg Intel Driver</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2020-05-19 03:36:25 +08:00
|
|
|
<screen><userinput>./autogen.sh $XORG_CONFIG \
|
2017-05-23 03:25:33 +08:00
|
|
|
--enable-kms-only \
|
|
|
|
--enable-uxa \
|
|
|
|
--mandir=/usr/share/man &&
|
2013-08-09 06:55:57 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2017-02-17 06:39:50 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2021-09-07 01:42:49 +08:00
|
|
|
|
2017-02-17 06:39:50 +08:00
|
|
|
mv -v /usr/share/man/man4/intel-virtual-output.4 \
|
|
|
|
/usr/share/man/man1/intel-virtual-output.1 &&
|
2021-09-07 01:42:49 +08:00
|
|
|
|
2017-02-17 06:39:50 +08:00
|
|
|
sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
|
2014-08-20 22:39:50 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
</sect3>
|
2013-08-09 06:55:57 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Working around problems with the Intel driver</title>
|
2015-05-23 10:14:24 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
The SandyBridge New Acceleration (SNA) code is intended to replace the
|
|
|
|
old UXA (UMA Acceleration Architecture), but it is a large body of code
|
|
|
|
and may cause problems. However, the version of the code in the
|
|
|
|
version control system listed above has been tested successfully with
|
|
|
|
both SNA and UXA capabilities.
|
|
|
|
</para>
|
2015-05-23 10:14:24 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
To work around this problem, as well as enabling support for UXA, it is
|
|
|
|
necessary to force UXA to be used by creating a configuration file. If
|
|
|
|
this problem applies to you, create the following file as the
|
|
|
|
<systemitem class="username">root</systemitem> user and modify it as
|
|
|
|
needed:
|
|
|
|
</para>
|
2015-05-23 10:14:24 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>cat >> /etc/X11/xorg.conf.d/20-intel.conf << "EOF"
|
2018-02-24 12:13:32 +08:00
|
|
|
<literal>Section "Device"
|
2015-05-23 10:14:24 +08:00
|
|
|
Identifier "Intel Graphics"
|
2018-02-24 12:13:32 +08:00
|
|
|
Driver "intel"
|
|
|
|
#Option "DRI" "2" # DRI3 is default
|
|
|
|
#Option "AccelMethod" "sna" # default
|
|
|
|
#Option "AccelMethod" "uxa" # fallback
|
2015-05-23 10:14:24 +08:00
|
|
|
EndSection</literal>
|
|
|
|
EOF</userinput></screen>
|
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
</sect3>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<sect3 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--enable-kms-only</parameter>: This switch omits the UMS
|
|
|
|
(User Mode Setting) code.
|
|
|
|
</para>
|
2020-03-21 19:02:56 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--enable-uxa</parameter>: This switch allows the old UXA code
|
|
|
|
to be compiled in addition to the default SNA.
|
|
|
|
</para>
|
2015-05-23 10:14:24 +08:00
|
|
|
|
2021-02-19 23:20:16 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Xorg Driver</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
intel-virtual-output
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libIntelXvMC.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
intel_drv.so
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="intel-virtual-output">
|
|
|
|
<term><command>intel-virtual-output</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a utility to connect the integrated Intel GPU to discrete
|
|
|
|
outputs on hybrid systems
|
|
|
|
</para>
|
|
|
|
<indexterm zone="xorg-intel-driver intel-virtual-output">
|
|
|
|
<primary sortas="b-intel-virtual-output">intel-virtual-output</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="intel_drv">
|
|
|
|
<term><filename class="libraryfile">intel_drv.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is an Xorg video driver for Intel integrated graphics chipsets
|
|
|
|
</para>
|
|
|
|
<indexterm zone="xorg-intel-driver intel_drv">
|
|
|
|
<primary sortas="c-intel_drv">intel_drv.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|