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

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 e12c552 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
RevLine 
[3f72a148]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f72a148]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[2f4014b]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">
[fad8db2]9 <!ENTITY xorg-server-md5sum "8a9ff6ee9907360f09b5bdabb8089502">
10 <!ENTITY xorg-server-size "5.6 MB">
11 <!ENTITY xorg-server-buildsize "434 MB">
[08bd91b]12 <!ENTITY xorg-server-time "1.6 SBU">
[3f72a148]13]>
14
[5faf7f7e]15<sect1 id="xorg-server" xreflabel="Xorg-Server-&xorg-server-version;">
16 <?dbhtml filename="xorg-server.html"?>
[3f72a148]17
18 <sect1info>
[93f3de5]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[3f72a148]21 </sect1info>
22
23 <title>Xorg-Server-&xorg-server-version;</title>
24
[5faf7f7e]25 <indexterm zone="xorg-server">
[2f4014b]26 <primary sortas="a-xorg-server">xorg-server</primary>
[3f72a148]27 </indexterm>
28
[5e8be1c]29 <sect2 role="package">
[2f4014b]30 <title>Introduction to Xorg Server</title>
[5e8be1c]31
[2f4014b]32 <para>
33 The <application>Xorg</application> Server is the core
34 of the X Window system.
35 </para>
[5e8be1c]36
[59d9079]37 &lfs76_checked;
[3b69a2aa]38
[5e8be1c]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[2f4014b]42 <para>
43 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
44 </para>
[5e8be1c]45 </listitem>
46 <listitem>
[2f4014b]47 <para>
48 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
49 </para>
[5e8be1c]50 </listitem>
51 <listitem>
[2f4014b]52 <para>
53 Download MD5 sum: &xorg-server-md5sum;
54 </para>
[5e8be1c]55 </listitem>
56 <listitem>
[2f4014b]57 <para>
58 Download size: &xorg-server-size;
59 </para>
[5e8be1c]60 </listitem>
61 <listitem>
[2f4014b]62 <para>
63 Estimated disk space required: &xorg-server-buildsize;
64 </para>
[5e8be1c]65 </listitem>
66 <listitem>
[2f4014b]67 <para>
68 Estimated build time: &xorg-server-time;
69 </para>
[5e8be1c]70 </listitem>
71 </itemizedlist>
72
[52a90a3]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
[53a89e5]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>
[52a90a3]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
[5e8be1c]89 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
[2f4014b]92 <para role="required">
[360311e]93 <xref linkend="openssl"/> or
94 <xref linkend="nettle"/> or
95 <xref linkend="libgcrypt"/>,
[2f4014b]96 <xref linkend="pixman"/>,
[534f7d7]97 <xref linkend="xorg7-font"/>, and
[2f4014b]98 <xref linkend="xkeyboard-config"/>
99 </para>
[5e8be1c]100
[53a89e5]101 <bridgehead renderas="sect4">Recommended</bridgehead>
[a7ec376]102 <para role="recommended">
[53a89e5]103 <xref linkend="libepoxy"/> (required for glamor, see command
104 explanations below)
105 </para>
106
[b1e3537]107 <bridgehead renderas="sect4">Optional</bridgehead>
[a7ec376]108 <para role="optional">
[ecff6e58]109 <xref linkend="acpid"/> (runtime),
[2f4014b]110 <xref linkend="doxygen"/> (to build API documentation),
111 <xref linkend="fop"/>, (to build documentation),
[534f7d7]112 <xref linkend="gs"/> (to build documentation), and
[2f4014b]113 <xref linkend="xmlto"/>, (to build documentation)
114 </para>
[9ba5bd9]115
[5e8be1c]116 <para condition="html" role="usernotes">User Notes:
[2f4014b]117 <ulink url='&blfs-wiki;/Xorg7Server'/>
118 </para>
[5e8be1c]119 </sect2>
[10eeae12]120
[3f72a148]121 <sect2 role="installation">
122 <title>Installation of Xorg Server</title>
123
[53a89e5]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
[52a90a3]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>
[3f72a148]141
[a4e3e83]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 \
[fad8db2]145 --with-xkb-output=/var/lib/xkb \
146 --enable-dmx \
[53a89e5]147 --enable-glamor \
[fad8db2]148 --enable-install-setuid \
149 --enable-suid-wrapper &amp;&amp;
[3f72a148]150make</userinput></screen>
151
[2f4014b]152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
[ad54ac8]155
[2f4014b]156 <para>
157 Now as the <systemitem class="username">root</systemitem>
158 user:
159 </para>
[3f72a148]160
[7c472863]161<screen role="root"><userinput>make install &amp;&amp;
[2f4014b]162mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
[468d7225]163cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
[be9c663]164<literal>/tmp/.ICE-unix dir 1777 root root
165/tmp/.X11-unix dir 1777 root root</literal>
[468d7225]166EOF</userinput></screen>
[3f72a148]167
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
[a4e3e83]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
[fad8db2]178 <para>
179 <parameter>--enable-dmx</parameter>: Build DMX (Distributed Multihead X)
180 server.
181 </para>
182
[53a89e5]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
[2f4014b]190 <para>
[be9c663]191 <parameter>--enable-install-setuid</parameter>: The Xorg binary must run as
[2f4014b]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>
[468d7225]195
[fad8db2]196 <para>
197 <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for
198 legacy driver support on rootless xserver systems.
199 </para>
200
[2f4014b]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>
[468d7225]208
[3f72a148]209 </sect2>
210
[7ab35da]211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
[95e8211]216 <segtitle>Installed Libraries</segtitle>
[7ab35da]217 <segtitle>Installed Directories</segtitle>
218
219 <seglistitem>
[2f4014b]220 <seg>
221 cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize,
222 dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X,
[534f7d7]223 Xdmx, xdmxconfig, Xnest, Xorg, and Xvfb
[2f4014b]224 </seg>
[95e8211]225 <seg>
[08bd91b]226 several under $XORG_PREFIX/lib/xorg/modules/{,extensions,multimedia}
[95e8211]227 </seg>
[2f4014b]228 <seg>
229 $XORG_PREFIX/include/xorg,
230 $XORG_PREFIX/lib/xorg,
[534f7d7]231 $XORG_PREFIX/share/X11/xorg.conf.d, and
[2f4014b]232 /var/lib/xkb
233 </seg>
[7ab35da]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>
[2f4014b]245 <para>
246 calculates VESA CVT mode lines.
247 </para>
[5faf7f7e]248 <indexterm zone="xorg-server cvt-x7">
[7ab35da]249 <primary sortas="b-cvt">cvt</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
[7c472863]254 <varlistentry id="dmx-x7">
255 <term><command>dmx*</command></term>
256 <listitem>
[2f4014b]257 <para>
258 are various tools used for manipulating the dmx server.
259 </para>
[5faf7f7e]260 <indexterm zone="xorg-server dmx-x7">
[7c472863]261 <primary sortas="b-dmx">dmx*</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
[7ab35da]266 <varlistentry id="gtf-x7">
267 <term><command>gtf</command></term>
268 <listitem>
[2f4014b]269 <para>
270 calculates VESA GTF mode lines.
271 </para>
[5faf7f7e]272 <indexterm zone="xorg-server gtf-x7">
[7ab35da]273 <primary sortas="b-gtf">gtf</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
[7c472863]278 <varlistentry id="vdltodmx-x7">
279 <term><command>vdltodmx</command></term>
280 <listitem>
[2f4014b]281 <para>
282 is a tool used to convert VDL config files to DMX config
283 files.
284 </para>
[5faf7f7e]285 <indexterm zone="xorg-server vdltodmx-x7">
[7c472863]286 <primary sortas="b-vdltodmx">vdltodmx</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
[7ab35da]291 <varlistentry id="X-x7">
292 <term><command>X</command></term>
293 <listitem>
[2f4014b]294 <para>
295 is a symbolic link to Xorg.
296 </para>
[5faf7f7e]297 <indexterm zone="xorg-server X-x7">
[7ab35da]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>
[2f4014b]306 <para>
307 is a nested X server.
308 </para>
[5faf7f7e]309 <indexterm zone="xorg-server Xnest-x7">
[7ab35da]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>
[2f4014b]318 <para>
319 is the X11R7 X Server.
320 </para>
[5faf7f7e]321 <indexterm zone="xorg-server Xorg-x7">
[7ab35da]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>
[2f4014b]330 <para>
331 is the virtual framebuffer X server for X Version 11.
332 </para>
[5faf7f7e]333 <indexterm zone="xorg-server Xvfb-x7">
[7ab35da]334 <primary sortas="b-Xvfb">Xvfb</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
[7c472863]339 <varlistentry id="xdmxconfig-x7">
340 <term><command>xdmxconfig</command></term>
341 <listitem>
[2f4014b]342 <para>
343 is a graphical configuration utility for the dmx server.
344 </para>
[5faf7f7e]345 <indexterm zone="xorg-server xdmxconfig-x7">
[7c472863]346 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
[7ab35da]351 </variablelist>
352
353 </sect2>
354
[3f72a148]355</sect1>
Note: See TracBrowser for help on using the repository browser.