source: x/installing/x7driver-intel.xml@ 11db9792

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 11db9792 was 11db9792, checked in by Thomas Trepl <thomas@…>, 4 years ago

Fix for gcc-10

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

  • Property mode set to 100644
File size: 8.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
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 "20200218">
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 "3bffa543c146e801a7f2674865c34331">
20 <!ENTITY xorg-intel-driver-size "942 KB">
21 <!ENTITY xorg-intel-driver-buildsize "84 MB">
22 <!ENTITY xorg-intel-driver-time "0.6 SBU">
23]>
24
25<sect2 id="xorg-intel-driver" xreflabel="Xorg Intel Driver-&xorg-intel-driver-version;">
26
27 <sect2info>
28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
30 </sect2info>
31
32 <title>Xorg Intel Driver-&xorg-intel-driver-version;</title>
33
34 <indexterm zone="xorg-intel-driver">
35 <primary sortas="a-xorg-intel-driver">xorg-intel-driver</primary>
36 </indexterm>
37
38 <sect3 role="package">
39 <title>Introduction to Xorg Intel Driver</title>
40
41 <para>
42 The <application>Xorg Intel Driver</application> package contains the
43 X.Org Video Driver for Intel integrated video chips including 8xx, 9xx,
44 Gxx, Qxx, HD, Iris, and Iris Pro graphics processors.
45 </para>
46
47 &lfs91_checked;
48
49 <note>
50 <para>
51 This is a development version of the Intel driver
52 which is needed to work properly with the latest hardware.
53 </para>
54 </note>
55
56 <bridgehead renderas="sect4">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>
60 Download (HTTP): <ulink url="&xorg-intel-driver-download-http;"/>
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download (FTP): <ulink url="&xorg-intel-driver-download-ftp;"/>
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Download MD5 sum: &xorg-intel-driver-md5sum;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Download size: &xorg-intel-driver-size;
76 </para>
77 </listitem>
78 <listitem>
79 <para>
80 Estimated disk space required: &xorg-intel-driver-buildsize;
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Estimated build time: &xorg-intel-driver-time;
86 </para>
87 </listitem>
88 </itemizedlist>
89
90 <bridgehead renderas="sect4">Xorg Intel Driver Dependencies</bridgehead>
91
92 <bridgehead renderas="sect5">Required</bridgehead>
93 <para role="required">
94 <xref linkend="xcb-util"/> and
95 <xref linkend="xorg-server"/>
96 </para>
97
98 <para condition="html" role="usernotes">
99 User Notes: <ulink url="&blfs-wiki;/xorg-intel-driver"/>
100 </para>
101 </sect3>
102
103 <sect3 role="kernel" id="xorg-intel-driver-kernel">
104 <title>Kernel Configuration</title>
105
106 <para>
107 Enable the following options in the kernel configuration.
108 Recompile the kernel if necessary:
109 </para>
110
111<screen><literal>Device Drivers ---&gt;
112 Graphics support ---&gt;
113 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
114 &lt;*&gt; Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
115
116 <indexterm zone="xorg-intel-driver xorg-intel-driver-kernel">
117 <primary sortas="d-xorg-intel-driver">xorg-intel-driver</primary>
118 </indexterm>
119 </sect3>
120
121 <sect3 role="installation">
122 <title>Installation of Xorg Intel Driver</title>
123
124<!-- appears to be in the current git version, but commenting since I do not have an 32-bit
125 <para>
126 If you are building on i686, apply a sed to fix a type mismatch.
127 </para>
128
129<screen><userinput remap="pre">case $(uname -m) in
130 i?86) sed -i "s/#define force_inline inline __attribute__((always_inline))/#define force_inline inline/" src/sna/compiler.h
131 ;;
132esac</userinput></screen>-->
133
134 <para>
135 Install <application>Xorg Intel Driver</application> by running the
136 following commands:
137 </para>
138
139<!--
140 Note: Check if -fcommon is still required on versions gtr 20200218
141 Its a "hack" for gcc-10
142-->
143<screen><userinput>CFLAGS="$CFLAGS -fcommon" ./autogen.sh $XORG_CONFIG \
144 --enable-kms-only \
145 --enable-uxa \
146 --mandir=/usr/share/man &amp;&amp;
147make</userinput></screen>
148
149 <para>
150 This package does not come with a test suite.
151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>make install &amp;&amp;
158
159mv -v /usr/share/man/man4/intel-virtual-output.4 \
160 /usr/share/man/man1/intel-virtual-output.1 &amp;&amp;
161
162sed -i '/\.TH/s/4/1/' /usr/share/man/man1/intel-virtual-output.1</userinput></screen>
163
164 </sect3>
165
166 <sect3>
167 <title>Working around problems with the Intel driver</title>
168
169 <para>
170 The SandyBridge New Acceleration (SNA) code is intended to replace the
171 old UXA (UMA Acceleration Architecture), but it is a large body of code
172 and may cause problems. However, the version of the code in the
173 version control system listed above has been tested successfully with
174 both SNA and UXA capabilities.
175 </para>
176
177 <para>
178 To work around this problem, as well as enabling support for UXA, it is
179 necessary to force UXA to be used by creating a configuration file. If
180 this problem applies to you, create the following file as the
181 <systemitem class="username">root</systemitem> user and modify it as
182 needed:
183 </para>
184
185<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
186<literal>Section "Device"
187 Identifier "Intel Graphics"
188 Driver "intel"
189 #Option "DRI" "2" # DRI3 is default
190 #Option "AccelMethod" "sna" # default
191 #Option "AccelMethod" "uxa" # fallback
192EndSection</literal>
193EOF</userinput></screen>
194
195 </sect3>
196
197 <sect3 role="commands">
198 <title>Command Explanations</title>
199
200 <para>
201 <parameter>--enable-kms-only</parameter>: This switch omits the UMS
202 (User Mode Setting) code.
203 </para>
204
205 <para>
206 <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
207 to be compiled in addition to the default SNA.
208 </para>
209
210 </sect3>
211
212 <sect3 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Program</segtitle>
217 <segtitle>Installed Library</segtitle>
218 <segtitle>Installed Xorg Driver</segtitle>
219
220 <seglistitem>
221 <seg>
222 intel-virtual-output
223 </seg>
224 <seg>
225 libIntelXvMC.so
226 </seg>
227 <seg>
228 intel_drv.so
229 </seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="intel-virtual-output">
239 <term><command>intel-virtual-output</command></term>
240 <listitem>
241 <para>
242 is a utility to connect the integrated Intel GPU to discrete
243 outputs on hybrid systems.
244 </para>
245 <indexterm zone="xorg-intel-driver intel-virtual-output">
246 <primary sortas="b-intel-virtual-output">intel-virtual-output</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="intel_drv">
252 <term><filename class="libraryfile">intel_drv.so</filename></term>
253 <listitem>
254 <para>
255 is an Xorg video driver for Intel integrated graphics chipsets.
256 </para>
257 <indexterm zone="xorg-intel-driver intel_drv">
258 <primary sortas="c-intel_drv">intel_drv.so</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 </variablelist>
264
265 </sect3>
266
267</sect2>
Note: See TracBrowser for help on using the repository browser.