source: x/installing/x7driver-intel.xml@ 1bff7a9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 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 1bff7a9 was b2c7637, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Update to gtk+-3.24.3
Add a workaround for xf86-video-intel on i686

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

  • Property mode set to 100644
File size: 8.1 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 "20180223">
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 "bca9c6bbada7dc5a19252e930c1bc587">
20 <!ENTITY xorg-intel-driver-size "940 KB">
21 <!ENTITY xorg-intel-driver-buildsize "64 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 &lfs83_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. Only one of
105 the lines <quote>Intel I810</quote> or <quote>Intel 8xx/9xx...</quote>
106 needs to be selected. If you select the latter, <quote>Enable
107 modesetting...</quote> is needed too. Recompile the kernel if necessary:
108 </para>
109
110<screen><literal>Device Drivers ---&gt;
111 Graphics support ---&gt;
112 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
113 &lt;*&gt; Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
114
115 <indexterm zone="xorg-intel-driver xorg-intel-driver-kernel">
116 <primary sortas="d-xorg-intel-driver">xorg-intel-driver</primary>
117 </indexterm>
118 </sect3>
119
120 <sect3 role="installation">
121 <title>Installation of Xorg Intel Driver</title>
122
123 <para>
124 If you are building on i686, apply a sed to fix a type mismatch.
125 </para>
126
127<screen><userinput remap="pre">sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h</userinput></screen>
128
129 <para>
130 Install <application>Xorg Intel Driver</application> by running the following
131 commands:
132 </para>
133
134 <screen><userinput>./autogen.sh $XORG_CONFIG \
135 --enable-kms-only \
136 --enable-uxa \
137 --mandir=/usr/share/man &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 This package does not come with a test suite.
142 </para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make install &amp;&amp;
149
150mv -v /usr/share/man/man4/intel-virtual-output.4 \
151 /usr/share/man/man1/intel-virtual-output.1 &amp;&amp;
152
153sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
154
155 </sect3>
156
157 <sect3>
158 <title>Working around problems with the Intel driver</title>
159
160 <para>
161 The SandyBridge New Acceleration (SNA) code is intended to replace the
162 old UXA (UMA Acceleration Architecture), but it is a large body of code
163 and may cause problems. However, the version of the code in the
164 version control system listed above has been tested successfully with
165 both SNA and UXA capabilities.
166 </para>
167
168 <para>
169 To work around this problem, as well as enabling support for UXA, it is
170 necessary to force UXA to be used by creating a configuration file. If
171 this problem applies to you, create the following file as the
172 <systemitem class="username">root</systemitem> user and modify it as
173 needed:
174 </para>
175
176<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
177<literal>Section "Device"
178 Identifier "Intel Graphics"
179 Driver "intel"
180 #Option "DRI" "2" # DRI3 is default
181 #Option "AccelMethod" "sna" # default
182 #Option "AccelMethod" "uxa" # fallback
183EndSection</literal>
184EOF</userinput></screen>
185
186 </sect3>
187
188 <sect3 role="commands">
189 <title>Command Explanations</title>
190
191 <para>
192 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
193 (User Mode Setting) code.
194 </para>
195
196 <para>
197 <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
198 to be compiled in addition to the default SNA.
199 </para>
200
201 </sect3>
202
203 <sect3 role="content">
204 <title>Contents</title>
205
206 <segmentedlist>
207 <segtitle>Installed Program</segtitle>
208 <segtitle>Installed Library</segtitle>
209 <segtitle>Installed Xorg Driver</segtitle>
210
211 <seglistitem>
212 <seg>
213 intel-virtual-output
214 </seg>
215 <seg>
216 libIntelXvMC.so
217 </seg>
218 <seg>
219 intel_drv.so
220 </seg>
221 </seglistitem>
222 </segmentedlist>
223
224 <variablelist>
225 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
226 <?dbfo list-presentation="list"?>
227 <?dbhtml list-presentation="table"?>
228
229 <varlistentry id="intel_drv">
230 <term><filename class="libraryfile">intel_drv.so</filename></term>
231 <listitem>
232 <para>
233 is an Xorg video driver for Intel integrated graphics chipsets.
234 </para>
235 <indexterm zone="xorg-intel-driver intel_drv">
236 <primary sortas="c-intel_drv">intel_drv.so</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 </variablelist>
242
243 </sect3>
244
245 </sect2>
246 <!-- End Xorg Intel Driver -->
Note: See TracBrowser for help on using the repository browser.