[57da0547] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[3c39513] | 7 |
|
---|
| 8 | <!--<!ENTITY xorg-intel-driver-download-http "&xorg-download-http;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">
|
---|
| 9 | <!ENTITY xorg-intel-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">-->
|
---|
[6182494b] | 10 |
|
---|
| 11 | <!-- git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
|
---|
| 12 | as of 2016-09-02 -->
|
---|
| 13 |
|
---|
| 14 | <!--<!ENTITY xorg-intel-driver-version "2.99.917">-->
|
---|
[d9519c23] | 15 | <!ENTITY xorg-intel-driver-version "20190208">
|
---|
[6182494b] | 16 |
|
---|
[936fafb] | 17 | <!ENTITY xorg-intel-driver-download-http "&sources-anduin-http;/xf86-video-intel/xf86-video-intel-&xorg-intel-driver-version;.tar.xz">
|
---|
| 18 | <!ENTITY xorg-intel-driver-download-ftp "&sources-anduin-ftp;/xf86-video-intel/xf86-video-intel-&xorg-intel-driver-version;.tar.xz">
|
---|
[d9519c23] | 19 | <!ENTITY xorg-intel-driver-md5sum "f107c6b3ab5f5bc2ac8f601a63db8fe9">
|
---|
| 20 | <!ENTITY xorg-intel-driver-size "944 KB">
|
---|
| 21 | <!ENTITY xorg-intel-driver-buildsize "83 MB">
|
---|
[39e9acce] | 22 | <!ENTITY xorg-intel-driver-time "0.6 SBU">
|
---|
[44ad7753] | 23 | ]>
|
---|
[57da0547] | 24 |
|
---|
| 25 | <!-- Begin Xorg Intel Driver -->
|
---|
| 26 | <sect2 id="xorg-intel-driver" xreflabel="Xorg Intel Driver-&xorg-intel-driver-version;">
|
---|
| 27 |
|
---|
[23bba1f] | 28 | <sect2info>
|
---|
| 29 | <othername>$LastChangedBy$</othername>
|
---|
| 30 | <date>$Date$</date>
|
---|
| 31 | </sect2info>
|
---|
| 32 |
|
---|
[57da0547] | 33 | <title>Xorg Intel Driver-&xorg-intel-driver-version;</title>
|
---|
| 34 |
|
---|
| 35 | <indexterm zone="xorg-intel-driver">
|
---|
| 36 | <primary sortas="a-xorg-intel-driver">xorg-intel-driver</primary>
|
---|
| 37 | </indexterm>
|
---|
| 38 |
|
---|
| 39 | <sect3 role="package">
|
---|
| 40 | <title>Introduction to Xorg Intel Driver</title>
|
---|
| 41 |
|
---|
| 42 | <para>
|
---|
| 43 | The <application>Xorg Intel Driver</application> package contains the X.Org
|
---|
[3f2d7e7c] | 44 | Video Driver for Intel integrated video chips including 8xx, 9xx, Gxx, Qxx,
|
---|
| 45 | HD, Iris, and Iris Pro graphics processors.
|
---|
[57da0547] | 46 | </para>
|
---|
| 47 |
|
---|
[38489aa0] | 48 | &lfs84_checked;
|
---|
[57da0547] | 49 |
|
---|
[f3429309] | 50 | <note><para>This is a development version of the Intel driver
|
---|
[5a5f9f3] | 51 | which is needed to work properly with the latest hardware.</para></note>
|
---|
| 52 |
|
---|
[57da0547] | 53 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download (HTTP): <ulink url="&xorg-intel-driver-download-http;"/>
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download (FTP): <ulink url="&xorg-intel-driver-download-ftp;"/>
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Download MD5 sum: &xorg-intel-driver-md5sum;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Download size: &xorg-intel-driver-size;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Estimated disk space required: &xorg-intel-driver-buildsize;
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Estimated build time: &xorg-intel-driver-time;
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[4e4e52d] | 86 |
|
---|
[57da0547] | 87 | <bridgehead renderas="sect4">Xorg Intel Driver Dependencies</bridgehead>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 90 | <para role="required">
|
---|
| 91 | <xref linkend="xcb-util"/> and
|
---|
| 92 | <xref linkend="xorg-server"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/xorg-intel-driver"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect3>
|
---|
| 99 |
|
---|
| 100 | <sect3 role="kernel" id="xorg-intel-driver-kernel">
|
---|
| 101 | <title>Kernel Configuration</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
[ae6ac67] | 104 | Enable the following options in the kernel configuration.
|
---|
| 105 | Recompile the kernel if necessary:
|
---|
[57da0547] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><literal>Device Drivers --->
|
---|
| 109 | Graphics support --->
|
---|
[ac44120] | 110 | <*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
|
---|
| 111 | <*> Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
|
---|
[57da0547] | 112 |
|
---|
| 113 | <indexterm zone="xorg-intel-driver xorg-intel-driver-kernel">
|
---|
| 114 | <primary sortas="d-xorg-intel-driver">xorg-intel-driver</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </sect3>
|
---|
| 117 |
|
---|
| 118 | <sect3 role="installation">
|
---|
| 119 | <title>Installation of Xorg Intel Driver</title>
|
---|
| 120 |
|
---|
[b2c7637] | 121 | <para>
|
---|
| 122 | If you are building on i686, apply a sed to fix a type mismatch.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <screen><userinput remap="pre">sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h</userinput></screen>
|
---|
| 126 |
|
---|
[57da0547] | 127 | <para>
|
---|
| 128 | Install <application>Xorg Intel Driver</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[39e9acce] | 132 | <screen><userinput>./autogen.sh $XORG_CONFIG \
|
---|
[800dd3ae] | 133 | --enable-kms-only \
|
---|
| 134 | --enable-uxa \
|
---|
| 135 | --mandir=/usr/share/man &&
|
---|
[57da0547] | 136 | make</userinput></screen>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | This package does not come with a test suite.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
[936fafb] | 146 | <screen role="root"><userinput>make install &&
|
---|
[39e9acce] | 147 |
|
---|
[936fafb] | 148 | mv -v /usr/share/man/man4/intel-virtual-output.4 \
|
---|
| 149 | /usr/share/man/man1/intel-virtual-output.1 &&
|
---|
[39e9acce] | 150 |
|
---|
[936fafb] | 151 | sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
|
---|
[2278bf8] | 152 |
|
---|
[57da0547] | 153 | </sect3>
|
---|
| 154 |
|
---|
[5b0fa60] | 155 | <sect3>
|
---|
| 156 | <title>Working around problems with the Intel driver</title>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
| 159 | The SandyBridge New Acceleration (SNA) code is intended to replace the
|
---|
| 160 | old UXA (UMA Acceleration Architecture), but it is a large body of code
|
---|
[39e9acce] | 161 | and may cause problems. However, the version of the code in the
|
---|
| 162 | version control system listed above has been tested successfully with
|
---|
| 163 | both SNA and UXA capabilities.
|
---|
| 164 | </para>
|
---|
[5b0fa60] | 165 |
|
---|
| 166 | <para>
|
---|
[3c39513] | 167 | To work around this problem, as well as enabling support for UXA, it is
|
---|
| 168 | necessary to force UXA to be used by creating a configuration file. If
|
---|
| 169 | this problem applies to you, create the following file as the
|
---|
[39e9acce] | 170 | <systemitem class="username">root</systemitem> user and modify it as
|
---|
| 171 | needed:
|
---|
[5b0fa60] | 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <screen role="root"><userinput>cat >> /etc/X11/xorg.conf.d/20-intel.conf << "EOF"
|
---|
[39e9acce] | 175 | <literal>Section "Device"
|
---|
[5b0fa60] | 176 | Identifier "Intel Graphics"
|
---|
[39e9acce] | 177 | Driver "intel"
|
---|
| 178 | #Option "DRI" "2" # DRI3 is default
|
---|
| 179 | #Option "AccelMethod" "sna" # default
|
---|
| 180 | #Option "AccelMethod" "uxa" # fallback
|
---|
[5b0fa60] | 181 | EndSection</literal>
|
---|
| 182 | EOF</userinput></screen>
|
---|
| 183 |
|
---|
| 184 | </sect3>
|
---|
| 185 |
|
---|
[57da0547] | 186 | <sect3 role="commands">
|
---|
| 187 | <title>Command Explanations</title>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
[b26bc4c] | 190 | <parameter>--enable-kms-only</parameter>: This switch omits the UMS
|
---|
| 191 | (User Mode Setting) code.
|
---|
[57da0547] | 192 | </para>
|
---|
| 193 |
|
---|
[5b0fa60] | 194 | <para>
|
---|
| 195 | <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
|
---|
| 196 | to be compiled in addition to the default SNA.
|
---|
| 197 | </para>
|
---|
| 198 |
|
---|
[57da0547] | 199 | </sect3>
|
---|
| 200 |
|
---|
| 201 | <sect3 role="content">
|
---|
| 202 | <title>Contents</title>
|
---|
| 203 |
|
---|
| 204 | <segmentedlist>
|
---|
[936fafb] | 205 | <segtitle>Installed Program</segtitle>
|
---|
[b26bc4c] | 206 | <segtitle>Installed Library</segtitle>
|
---|
[57da0547] | 207 | <segtitle>Installed Xorg Driver</segtitle>
|
---|
| 208 |
|
---|
| 209 | <seglistitem>
|
---|
[936fafb] | 210 | <seg>
|
---|
| 211 | intel-virtual-output
|
---|
| 212 | </seg>
|
---|
[57da0547] | 213 | <seg>
|
---|
| 214 | libIntelXvMC.so
|
---|
| 215 | </seg>
|
---|
| 216 | <seg>
|
---|
| 217 | intel_drv.so
|
---|
| 218 | </seg>
|
---|
| 219 | </seglistitem>
|
---|
| 220 | </segmentedlist>
|
---|
| 221 |
|
---|
| 222 | <variablelist>
|
---|
| 223 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 224 | <?dbfo list-presentation="list"?>
|
---|
| 225 | <?dbhtml list-presentation="table"?>
|
---|
| 226 |
|
---|
| 227 | <varlistentry id="intel_drv">
|
---|
| 228 | <term><filename class="libraryfile">intel_drv.so</filename></term>
|
---|
| 229 | <listitem>
|
---|
| 230 | <para>
|
---|
| 231 | is an Xorg video driver for Intel integrated graphics chipsets.
|
---|
| 232 | </para>
|
---|
| 233 | <indexterm zone="xorg-intel-driver intel_drv">
|
---|
| 234 | <primary sortas="c-intel_drv">intel_drv.so</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | </variablelist>
|
---|
| 240 |
|
---|
| 241 | </sect3>
|
---|
| 242 |
|
---|
| 243 | </sect2>
|
---|
[44ad7753] | 244 | <!-- End Xorg Intel Driver -->
|
---|