source: x/installing/x7driver-intel-systemd.xml@ 7d511f08

systemd-13485
Last change on this file since 7d511f08 was 7d511f08, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to cmake-3.3.0
Update to graphite2-1.3.0
Update to harfbuzz-1.0.1
Update to xproto-7.0.28.
Update to mesa-10.6.3
Update to polkit-0.113
Update to libdrm-2.4.62
Update to libepoxy-1.3.1
Update to gdk-pixbuf-2.31.5
Update to librsvg-2.40.10
Update to gtk+-3.16.6
Update to adwaita-icon-theme-3.16.2.1
Update wpa_supplicant instructions to reflect that the services cannot both be enabled at the same time
Remove FTP URLs for some Mozilla packages
Fix a build problem with xf86-video-intel
Fix URLs in MariaDB and SDL pages
Typo fix in the Linux-PAM-1.2.0 page
Clarify that libjpeg-turbo is required for the libtiff test suite
Typo fix in the xorg-server-1.17.2 page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16335 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.4 KB
Line 
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
7 <!ENTITY xorg-intel-driver-version "2.99.917">
8
9 <!ENTITY xorg-intel-driver-download-http "&xorg-download-http;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">
10 <!ENTITY xorg-intel-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-intel-&xorg-intel-driver-version;.tar.bz2">
11 <!ENTITY xorg-intel-driver-md5sum "fa196a66e52c0c624fe5d350af7a5e7b">
12 <!ENTITY xorg-intel-driver-size "2.2 MB">
13<!-- commented, remeasured for re-enabling uxa as well as sna
14 <!ENTITY xorg-intel-driver-buildsize "70 MB"> -->
15 <!ENTITY xorg-intel-driver-buildsize "78 MB">
16 <!ENTITY xorg-intel-driver-time "0.6 SBU">
17]>
18
19 <!-- Begin Xorg Intel Driver -->
20 <sect2 id="xorg-intel-driver" xreflabel="Xorg Intel Driver-&xorg-intel-driver-version;">
21
22 <title>Xorg Intel Driver-&xorg-intel-driver-version;</title>
23
24 <indexterm zone="xorg-intel-driver">
25 <primary sortas="a-xorg-intel-driver">xorg-intel-driver</primary>
26 </indexterm>
27
28 <sect3 role="package">
29 <title>Introduction to Xorg Intel Driver</title>
30
31 <para>
32 The <application>Xorg Intel Driver</application> package contains the X.Org
33 Video Driver for Intel integrated video cards including 8xx, 9xx, Gxx, Qxx
34 and HD graphics processors (SandyBridge, IvyBridge and Haswell).
35 </para>
36
37 &lfs77_checked;
38
39 <note><para>This is a development version of the Intel driver
40 which is needed to work properly with the latest hardware.</para></note>
41
42
43 <bridgehead renderas="sect4">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&xorg-intel-driver-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&xorg-intel-driver-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &xorg-intel-driver-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &xorg-intel-driver-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &xorg-intel-driver-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &xorg-intel-driver-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect4">Xorg Intel Driver Dependencies</bridgehead>
78
79 <bridgehead renderas="sect5">Required</bridgehead>
80 <para role="required">
81 <xref linkend="xcb-util"/> and
82 <xref linkend="xorg-server"/>
83 </para>
84
85 <para condition="html" role="usernotes">
86 User Notes: <ulink url="&blfs-wiki;/xorg-intel-driver"/>
87 </para>
88 </sect3>
89
90 <sect3 role="kernel" id="xorg-intel-driver-kernel">
91 <title>Kernel Configuration</title>
92
93 <para>
94 Enable the following options in the kernel configuration. Only one of
95 the lines <quote>Intel I810</quote> or <quote>Intel 8xx/9xx...</quote>
96 needs to be selected. If you select the latter, <quote>Enable
97 modesetting...</quote> is needed too. Recompile the kernel if necessary:
98 </para>
99
100<screen><literal>Device Drivers ---&gt;
101 Graphics support ---&gt;
102 Direct rendering Manager ---&gt;
103 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
104 &lt;*&gt; Intel I810 [CONFIG_DRM_I810]
105 &lt;*&gt; Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]
106 [*] Enable modesetting on intel by default [CONFIG_DRM_I915_KMS]</literal></screen>
107
108 <indexterm zone="xorg-intel-driver xorg-intel-driver-kernel">
109 <primary sortas="d-xorg-intel-driver">xorg-intel-driver</primary>
110 </indexterm>
111 </sect3>
112
113 <sect3 role="installation">
114 <title>Installation of Xorg Intel Driver</title>
115
116 <para>
117 Install <application>Xorg Intel Driver</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>sed -i "/#include &lt;errno.h&gt;/a #include &lt;sys/stat.h&gt;" src/uxa/intel_driver.c &amp;&amp;
122sed -i "/#include &lt;errno.h&gt;/a #include &lt;sys/stat.h&gt;" src/sna/sna_driver.c &amp;&amp;
123./configure $XORG_CONFIG --enable-kms-only &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 This package does not come with a test suite.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135
136 </sect3>
137
138 <sect3>
139 <title>Working around problems with the Intel driver</title>
140
141 <para>
142 The SandyBridge New Acceleration (SNA) code is intended to replace the
143 old UXA (UMA Acceleration Architecture), but it is a large body of code
144 and sometimes causes problems. In particular, when a system is built
145 with gcc-5 and kernel headers from linux-4.0, trying to run this driver
146 using SNA will cause a segfault on some, or perhaps all, of the
147 supported chips if a 4.0 or newer kernel is used (a 3.19.0 kernel, also
148 built with gcc-5, worked ok). To work around this, as well as enabling
149 support for UXA, it is necessary to force UXA to be used by creating a
150 configuration file.
151 </para>
152
153 <para>
154 If this problem applies to you, create the following file as
155 the <systemitem class="username">root</systemitem> user:
156 </para>
157
158<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
159<literal>Section "Device"
160 Identifier "Intel Graphics"
161 Driver "intel"
162 Option "AccelMethod" "uxa"
163EndSection</literal>
164EOF</userinput></screen>
165
166 </sect3>
167
168 <sect3 role="commands">
169 <title>Command Explanations</title>
170 <para>
171 <parameter>sed -e ...</parameter>: This fixes compilation with
172 systemd-220 and above.
173 </para>
174 <para>
175 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
176 (User Mode Setting) code.
177 </para>
178
179 </sect3>
180
181 <sect3 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Library</segtitle>
186 <segtitle>Installed Xorg Driver</segtitle>
187
188 <seglistitem>
189 <seg>
190 libIntelXvMC.so
191 </seg>
192 <seg>
193 intel_drv.so
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="intel_drv">
204 <term><filename class="libraryfile">intel_drv.so</filename></term>
205 <listitem>
206 <para>
207 is an Xorg video driver for Intel integrated graphics chipsets.
208 </para>
209 <indexterm zone="xorg-intel-driver intel_drv">
210 <primary sortas="c-intel_drv">intel_drv.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect3>
218
219 </sect2>
220 <!-- End Xorg Intel Driver -->
Note: See TracBrowser for help on using the repository browser.