source: x/installing/x7driver-intel.xml@ bcc10a4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bcc10a4 was 134224d2, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Wrap the i686 instructions in xf86-video-intel around a case statement

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21915 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.0 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
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">-->
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">-->
15 <!ENTITY xorg-intel-driver-version "20190208">
16
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">
19 <!ENTITY xorg-intel-driver-md5sum "f107c6b3ab5f5bc2ac8f601a63db8fe9">
20 <!ENTITY xorg-intel-driver-size "944 KB">
21 <!ENTITY xorg-intel-driver-buildsize "83 MB">
22 <!ENTITY xorg-intel-driver-time "0.6 SBU">
23]>
24
25 <!-- Begin Xorg Intel Driver -->
26 <sect2 id="xorg-intel-driver" xreflabel="Xorg Intel Driver-&xorg-intel-driver-version;">
27
28 <sect2info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect2info>
32
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
44 Video Driver for Intel integrated video chips including 8xx, 9xx, Gxx, Qxx,
45 HD, Iris, and Iris Pro graphics processors.
46 </para>
47
48 &lfs84_checked;
49
50 <note><para>This is a development version of the Intel driver
51 which is needed to work properly with the latest hardware.</para></note>
52
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>
86
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>
104 Enable the following options in the kernel configuration.
105 Recompile the kernel if necessary:
106 </para>
107
108<screen><literal>Device Drivers ---&gt;
109 Graphics support ---&gt;
110 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
111 &lt;*&gt; Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
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
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">case $(uname -m) in
126 i?86) sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h
127 ;;
128esac</userinput></screen>
129
130 <para>
131 Install <application>Xorg Intel Driver</application> by running the following
132 commands:
133 </para>
134
135 <screen><userinput>./autogen.sh $XORG_CONFIG \
136 --enable-kms-only \
137 --enable-uxa \
138 --mandir=/usr/share/man &amp;&amp;
139make</userinput></screen>
140
141 <para>
142 This package does not come with a test suite.
143 </para>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>make install &amp;&amp;
150
151mv -v /usr/share/man/man4/intel-virtual-output.4 \
152 /usr/share/man/man1/intel-virtual-output.1 &amp;&amp;
153
154sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
155
156 </sect3>
157
158 <sect3>
159 <title>Working around problems with the Intel driver</title>
160
161 <para>
162 The SandyBridge New Acceleration (SNA) code is intended to replace the
163 old UXA (UMA Acceleration Architecture), but it is a large body of code
164 and may cause problems. However, the version of the code in the
165 version control system listed above has been tested successfully with
166 both SNA and UXA capabilities.
167 </para>
168
169 <para>
170 To work around this problem, as well as enabling support for UXA, it is
171 necessary to force UXA to be used by creating a configuration file. If
172 this problem applies to you, create the following file as the
173 <systemitem class="username">root</systemitem> user and modify it as
174 needed:
175 </para>
176
177<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
178<literal>Section "Device"
179 Identifier "Intel Graphics"
180 Driver "intel"
181 #Option "DRI" "2" # DRI3 is default
182 #Option "AccelMethod" "sna" # default
183 #Option "AccelMethod" "uxa" # fallback
184EndSection</literal>
185EOF</userinput></screen>
186
187 </sect3>
188
189 <sect3 role="commands">
190 <title>Command Explanations</title>
191
192 <para>
193 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
194 (User Mode Setting) code.
195 </para>
196
197 <para>
198 <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
199 to be compiled in addition to the default SNA.
200 </para>
201
202 </sect3>
203
204 <sect3 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Program</segtitle>
209 <segtitle>Installed Library</segtitle>
210 <segtitle>Installed Xorg Driver</segtitle>
211
212 <seglistitem>
213 <seg>
214 intel-virtual-output
215 </seg>
216 <seg>
217 libIntelXvMC.so
218 </seg>
219 <seg>
220 intel_drv.so
221 </seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="intel_drv">
231 <term><filename class="libraryfile">intel_drv.so</filename></term>
232 <listitem>
233 <para>
234 is an Xorg video driver for Intel integrated graphics chipsets.
235 </para>
236 <indexterm zone="xorg-intel-driver intel_drv">
237 <primary sortas="c-intel_drv">intel_drv.so</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </sect3>
245
246 </sect2>
247 <!-- End Xorg Intel Driver -->
Note: See TracBrowser for help on using the repository browser.