source: x/installing/xorg-server.xml@ cf24093

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules 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 cf24093 was a4e3e83, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Tags and glibc fixes for xorg drivers

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

  • Property mode set to 100644
File size: 10.7 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 <!ENTITY xorg-server-download-http "&xorg-download-http;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
8 <!ENTITY xorg-server-download-ftp "&xorg-download-ftp;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
9 <!ENTITY xorg-server-md5sum "8a9ff6ee9907360f09b5bdabb8089502">
10 <!ENTITY xorg-server-size "5.6 MB">
11 <!ENTITY xorg-server-buildsize "434 MB">
12 <!ENTITY xorg-server-time "1.6 SBU">
13]>
14
15<sect1 id="xorg-server" xreflabel="Xorg-Server-&xorg-server-version;">
16 <?dbhtml filename="xorg-server.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Xorg-Server-&xorg-server-version;</title>
24
25 <indexterm zone="xorg-server">
26 <primary sortas="a-xorg-server">xorg-server</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Xorg Server</title>
31
32 <para>
33 The <application>Xorg</application> Server is the core
34 of the X Window system.
35 </para>
36
37 &lfs76_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &xorg-server-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &xorg-server-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &xorg-server-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &xorg-server-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Recommended patch:
78 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-upstream_glamor_fix-1.patch"/>
79 </para>
80 </listitem>
81 <listitem>
82 <para>
83 Optional patch:
84 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
85 </para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required">
93 <xref linkend="openssl"/> or
94 <xref linkend="nettle"/> or
95 <xref linkend="libgcrypt"/>,
96 <xref linkend="pixman"/>,
97 <xref linkend="xorg7-font"/>, and
98 <xref linkend="xkeyboard-config"/>
99 </para>
100
101 <bridgehead renderas="sect4">Recommended</bridgehead>
102 <para role="recommended">
103 <xref linkend="libepoxy"/> (required for glamor, see command
104 explanations below)
105 </para>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref linkend="acpid"/> (runtime),
110 <xref linkend="doxygen"/> (to build API documentation),
111 <xref linkend="fop"/>, (to build documentation),
112 <xref linkend="gs"/> (to build documentation), and
113 <xref linkend="xmlto"/>, (to build documentation)
114 </para>
115
116 <para condition="html" role="usernotes">User Notes:
117 <ulink url='&blfs-wiki;/Xorg7Server'/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of Xorg Server</title>
123
124 <para>
125 If you are enabling glamor, apply the recommended patch by running
126 the following command:
127 </para>
128
129<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-upstream_glamor_fix-1.patch</userinput></screen>
130
131 <para>
132 If you have downloaded the optional patch, apply it by running
133 the following command:
134 </para>
135
136<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
137
138 <para>
139 Install the server by running the following commands:
140 </para>
141
142<screen><userinput>sed -i "/scrnintstr/i #include &lt;xorg-server.h&gt;" exa/exa.h glamor/glamor.h &amp;&amp;
143
144./configure $XORG_CONFIG \
145 --with-xkb-output=/var/lib/xkb \
146 --enable-dmx \
147 --enable-glamor \
148 --enable-install-setuid \
149 --enable-suid-wrapper &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
155
156 <para>
157 Now as the <systemitem class="username">root</systemitem>
158 user:
159 </para>
160
161<screen role="root"><userinput>make install &amp;&amp;
162mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
163cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
164<literal>/tmp/.ICE-unix dir 1777 root root
165/tmp/.X11-unix dir 1777 root root</literal>
166EOF</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
173 <para>
174 <command>sed -i ...</command>: This sed fixes two header files that
175 are broken with Glibc 2.20 so the drivers using them wouldn't fail to build.
176 </para>
177
178 <para>
179 <parameter>--enable-dmx</parameter>: Build DMX (Distributed Multihead X)
180 server.
181 </para>
182
183 <para>
184 <parameter>--enable-glamor</parameter>: Build the Glamor DIX (Device
185 Independent X) module which is currently required for Southern Islands and
186 Sea Islands radeon video chipsets, optional for some other radeons, and
187 also optional for the intel driver.
188 </para>
189
190 <para>
191 <parameter>--enable-install-setuid</parameter>: The Xorg binary must run as
192 the root user. This switch ensures that the binary is installed
193 setuid when <command>make</command> is run by an unprivileged user.
194 </para>
195
196 <para>
197 <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for
198 legacy driver support on rootless xserver systems.
199 </para>
200
201 <para>
202 <command>cat &gt;&gt; /etc/sysconfig/createfiles...</command>: This
203 command creates the <filename class="directory">/tmp/.ICE-unix</filename>
204 and <filename class="directory">/tmp/.X11-unix</filename> directories at
205 startup, and ensures that the permissions and ownership are correct as
206 required by the server.
207 </para>
208
209 </sect2>
210
211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Libraries</segtitle>
217 <segtitle>Installed Directories</segtitle>
218
219 <seglistitem>
220 <seg>
221 cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize,
222 dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X,
223 Xdmx, xdmxconfig, Xnest, Xorg, and Xvfb
224 </seg>
225 <seg>
226 several under $XORG_PREFIX/lib/xorg/modules/{,extensions,multimedia}
227 </seg>
228 <seg>
229 $XORG_PREFIX/include/xorg,
230 $XORG_PREFIX/lib/xorg,
231 $XORG_PREFIX/share/X11/xorg.conf.d, and
232 /var/lib/xkb
233 </seg>
234 </seglistitem>
235 </segmentedlist>
236
237 <variablelist>
238 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
239 <?dbfo list-presentation="list"?>
240 <?dbhtml list-presentation="table"?>
241
242 <varlistentry id="cvt-x7">
243 <term><command>cvt</command></term>
244 <listitem>
245 <para>
246 calculates VESA CVT mode lines.
247 </para>
248 <indexterm zone="xorg-server cvt-x7">
249 <primary sortas="b-cvt">cvt</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="dmx-x7">
255 <term><command>dmx*</command></term>
256 <listitem>
257 <para>
258 are various tools used for manipulating the dmx server.
259 </para>
260 <indexterm zone="xorg-server dmx-x7">
261 <primary sortas="b-dmx">dmx*</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="gtf-x7">
267 <term><command>gtf</command></term>
268 <listitem>
269 <para>
270 calculates VESA GTF mode lines.
271 </para>
272 <indexterm zone="xorg-server gtf-x7">
273 <primary sortas="b-gtf">gtf</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="vdltodmx-x7">
279 <term><command>vdltodmx</command></term>
280 <listitem>
281 <para>
282 is a tool used to convert VDL config files to DMX config
283 files.
284 </para>
285 <indexterm zone="xorg-server vdltodmx-x7">
286 <primary sortas="b-vdltodmx">vdltodmx</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="X-x7">
292 <term><command>X</command></term>
293 <listitem>
294 <para>
295 is a symbolic link to Xorg.
296 </para>
297 <indexterm zone="xorg-server X-x7">
298 <primary sortas="b-X">X</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="Xnest-x7">
304 <term><command>Xnest</command></term>
305 <listitem>
306 <para>
307 is a nested X server.
308 </para>
309 <indexterm zone="xorg-server Xnest-x7">
310 <primary sortas="b-Xnest">Xnest</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="Xorg-x7">
316 <term><command>Xorg</command></term>
317 <listitem>
318 <para>
319 is the X11R7 X Server.
320 </para>
321 <indexterm zone="xorg-server Xorg-x7">
322 <primary sortas="b-Xorg">Xorg</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="Xvfb-x7">
328 <term><command>Xvfb</command></term>
329 <listitem>
330 <para>
331 is the virtual framebuffer X server for X Version 11.
332 </para>
333 <indexterm zone="xorg-server Xvfb-x7">
334 <primary sortas="b-Xvfb">Xvfb</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="xdmxconfig-x7">
340 <term><command>xdmxconfig</command></term>
341 <listitem>
342 <para>
343 is a graphical configuration utility for the dmx server.
344 </para>
345 <indexterm zone="xorg-server xdmxconfig-x7">
346 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 </variablelist>
352
353 </sect2>
354
355</sect1>
Note: See TracBrowser for help on using the repository browser.