source: x/installing/x7driver-intel.xml@ 0260f4b

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 0260f4b was 0260f4b, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Fix libtool errors in librep
A few tags

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

  • Property mode set to 100644
File size: 8.1 KB
RevLine 
[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">-->
[34a2231f]15 <!ENTITY xorg-intel-driver-version "20190723">
[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">
[34a2231f]19 <!ENTITY xorg-intel-driver-md5sum "2a57bf1548916305bdb8e092b07dfc35">
20 <!ENTITY xorg-intel-driver-size "934 KB">
21 <!ENTITY xorg-intel-driver-buildsize "85 MB">
22 <!ENTITY xorg-intel-driver-time "0.7 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
[0260f4b]48 &lfs90_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 ---&gt;
109 Graphics support ---&gt;
[ac44120]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>
[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
[34a2231f]121<!-- appears to be in the current git version, but commenting since I do not have an 32-bit
[b2c7637]122 <para>
123 If you are building on i686, apply a sed to fix a type mismatch.
124 </para>
125
[134224d2]126<screen><userinput remap="pre">case $(uname -m) in
127 i?86) sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h
128 ;;
[34a2231f]129esac</userinput></screen>-->
[b2c7637]130
[57da0547]131 <para>
132 Install <application>Xorg Intel Driver</application> by running the following
133 commands:
134 </para>
135
[39e9acce]136 <screen><userinput>./autogen.sh $XORG_CONFIG \
[800dd3ae]137 --enable-kms-only \
138 --enable-uxa \
139 --mandir=/usr/share/man &amp;&amp;
[57da0547]140make</userinput></screen>
141
142 <para>
143 This package does not come with a test suite.
144 </para>
145
146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
149
[936fafb]150<screen role="root"><userinput>make install &amp;&amp;
[39e9acce]151
[936fafb]152mv -v /usr/share/man/man4/intel-virtual-output.4 \
153 /usr/share/man/man1/intel-virtual-output.1 &amp;&amp;
[39e9acce]154
[936fafb]155sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
[2278bf8]156
[57da0547]157 </sect3>
158
[5b0fa60]159 <sect3>
160 <title>Working around problems with the Intel driver</title>
161
162 <para>
163 The SandyBridge New Acceleration (SNA) code is intended to replace the
164 old UXA (UMA Acceleration Architecture), but it is a large body of code
[39e9acce]165 and may cause problems. However, the version of the code in the
166 version control system listed above has been tested successfully with
167 both SNA and UXA capabilities.
168 </para>
[5b0fa60]169
170 <para>
[3c39513]171 To work around this problem, as well as enabling support for UXA, it is
172 necessary to force UXA to be used by creating a configuration file. If
173 this problem applies to you, create the following file as the
[39e9acce]174 <systemitem class="username">root</systemitem> user and modify it as
175 needed:
[5b0fa60]176 </para>
177
178<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
[39e9acce]179<literal>Section "Device"
[5b0fa60]180 Identifier "Intel Graphics"
[39e9acce]181 Driver "intel"
182 #Option "DRI" "2" # DRI3 is default
183 #Option "AccelMethod" "sna" # default
184 #Option "AccelMethod" "uxa" # fallback
[5b0fa60]185EndSection</literal>
186EOF</userinput></screen>
187
188 </sect3>
189
[57da0547]190 <sect3 role="commands">
191 <title>Command Explanations</title>
192
193 <para>
[b26bc4c]194 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
195 (User Mode Setting) code.
[57da0547]196 </para>
197
[5b0fa60]198 <para>
199 <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
200 to be compiled in addition to the default SNA.
201 </para>
202
[57da0547]203 </sect3>
204
205 <sect3 role="content">
206 <title>Contents</title>
207
208 <segmentedlist>
[936fafb]209 <segtitle>Installed Program</segtitle>
[b26bc4c]210 <segtitle>Installed Library</segtitle>
[57da0547]211 <segtitle>Installed Xorg Driver</segtitle>
212
213 <seglistitem>
[936fafb]214 <seg>
215 intel-virtual-output
216 </seg>
[57da0547]217 <seg>
218 libIntelXvMC.so
219 </seg>
220 <seg>
221 intel_drv.so
222 </seg>
223 </seglistitem>
224 </segmentedlist>
225
226 <variablelist>
227 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
228 <?dbfo list-presentation="list"?>
229 <?dbhtml list-presentation="table"?>
230
231 <varlistentry id="intel_drv">
232 <term><filename class="libraryfile">intel_drv.so</filename></term>
233 <listitem>
234 <para>
235 is an Xorg video driver for Intel integrated graphics chipsets.
236 </para>
237 <indexterm zone="xorg-intel-driver intel_drv">
238 <primary sortas="c-intel_drv">intel_drv.so</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect3>
246
247 </sect2>
[44ad7753]248 <!-- End Xorg Intel Driver -->
Note: See TracBrowser for help on using the repository browser.