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

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 d4bafcc7 was ae6ac67, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update text about kernel Intel video driver

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

  • Property mode set to 100644
File size: 7.9 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.
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">sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h</userinput></screen>
126
127 <para>
128 Install <application>Xorg Intel Driver</application> by running the following
129 commands:
130 </para>
131
132 <screen><userinput>./autogen.sh $XORG_CONFIG \
133 --enable-kms-only \
134 --enable-uxa \
135 --mandir=/usr/share/man &amp;&amp;
136make</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
146<screen role="root"><userinput>make install &amp;&amp;
147
148mv -v /usr/share/man/man4/intel-virtual-output.4 \
149 /usr/share/man/man1/intel-virtual-output.1 &amp;&amp;
150
151sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
152
153 </sect3>
154
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
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>
165
166 <para>
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
170 <systemitem class="username">root</systemitem> user and modify it as
171 needed:
172 </para>
173
174<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
175<literal>Section "Device"
176 Identifier "Intel Graphics"
177 Driver "intel"
178 #Option "DRI" "2" # DRI3 is default
179 #Option "AccelMethod" "sna" # default
180 #Option "AccelMethod" "uxa" # fallback
181EndSection</literal>
182EOF</userinput></screen>
183
184 </sect3>
185
186 <sect3 role="commands">
187 <title>Command Explanations</title>
188
189 <para>
190 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
191 (User Mode Setting) code.
192 </para>
193
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
199 </sect3>
200
201 <sect3 role="content">
202 <title>Contents</title>
203
204 <segmentedlist>
205 <segtitle>Installed Program</segtitle>
206 <segtitle>Installed Library</segtitle>
207 <segtitle>Installed Xorg Driver</segtitle>
208
209 <seglistitem>
210 <seg>
211 intel-virtual-output
212 </seg>
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>
244 <!-- End Xorg Intel Driver -->
Note: See TracBrowser for help on using the repository browser.