Ignore:
Timestamp:
10/02/2003 08:01:04 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, 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, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
0482b012
Parents:
b9ad2f9a
Message:

removed extraneous exp files, tagged chapter 26

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xfree86/xfree86-inst.xml

    rb9ad2f9a r0d2f891  
    11<sect2>
    2 <title>Installation of XFree86</title>
     2<title>Installation of <application>XFree86</application></title>
    33
    44<sect3>
    55<title>Kernel Compilation Settings</title>
    66<para>If you have an Intel P6 (Pentium Pro, Pentium II and later) it is recommended
    7 that you compile MTRR (Memory Type Range Registers) support into the kernel.
    8 The kernel can map Cyrix and AMD CPUs to the MTRR interface so selecting this
     7that you compile <acronym>MTRR</acronym> (Memory Type Range Registers) support into the kernel.
     8The kernel can map Cyrix and AMD <acronym>CPU</acronym>s to the
     9<acronym>MTRR</acronym> interface so selecting this
    910option is useful for those processors also.
    1011This option is found in the
    1112"Processor type and features" menu.  It can increase performance of
    12 image write operations 2.5 times or more on PCI or AGP video cards.</para>
    13 
    14 <para>In the "Character Devices" section, enable AGP Support and select the chipset
     13image write operations 2.5 times or more on <acronym>PCI</acronym> or
     14<acronym>AGP</acronym> video cards.</para>
     15
     16<para>In the "Character Devices" section, enable <acronym>AGP</acronym> Support and select the chipset
    1517support on your motherboard.  If you do not know the chipset, you may select
    1618all the chip types at the expense of extra kernel size. You can usually
    1719determine your motherboard's chipset by doing:
    18 <screen><userinput>cat /proc/pci</userinput></screen></para>
     20<screen><userinput><command>cat /proc/pci</command></userinput></screen></para>
    1921
    2022<para>In the "Character Devices" section, <emphasis>disable</emphasis> Direct
    21 Rendering Manager unless you have a Direct Rendering Infrastructure (DRI)
    22 supported video card.  A complete list of DRI supported video cards can
     23Rendering Manager unless you have a Direct Rendering Infrastructure
     24(<acronym>DRI</acronym>)
     25supported video card.  A complete list of <acronym>DRI</acronym> supported video cards can
    2326be found at <ulink url="http://dri.sourceforge.net" /> in the Status section. 
    2427Currently,
     
    2730Radeon 7X00, Radeon 2), Intel (i810, i815), and Matrox (G200, G400, G450).
    2831Additionally NVidia provides their own closed source binary drivers.
    29 If you do enable DRI here, make sure you select the video card(s) you want
     32If you do enable <acronym>DRI</acronym> here, make sure you select the video card(s) you want
    3033to support as a <emphasis>module</emphasis>.</para>
    3134
     
    4548</para>
    4649
    47 <note><para>If you build XFree86 in a chroot environment, make sure the kernel
     50<note><para>If you build <application>XFree86</application> in a chroot environment, make sure the kernel
    4851version of the base system and the target system are the same.  This is
    49 especially important if you enabled DRI support as a module as
     52especially important if you enabled <acronym>DRI</acronym> support as a module as
    5053instructed above.</para></note>
    5154
     
    5457<sect3><title>Creating <filename>host.def</filename></title>
    5558
    56 <para>Although XFree86 will compile without a host.def file, the following file
     59<para>Although <application>XFree86</application> will compile without a
     60<filename>host.def</filename> file, the following file
    5761is recommended for customizing the installation. Start from
    58 the <filename>xc</filename> directory.</para>
    59 
    60 <note><para>The <filename>host.def</filename> file is a c file, not the
     62the <filename class="directory">xc</filename> directory.</para>
     63
     64<note><para>The <filename>host.def</filename> file is a
     65<application>C</application> file, not the
    6166usual configuration file.  If you make any changes, be sure the comment characters
    6267(<userinput>/*</userinput> and <userinput>*/</userinput>)
     
    6570</para></note>
    6671
    67 <para><screen><userinput>cat &gt; config/cf/host.def &lt;&lt; "EOF"
     72<para><screen><userinput><command>cat &gt; config/cf/host.def &lt;&lt; "EOF"</command>
    6873/* Begin XFree86 host.def file */
    6974
     
    180185
    181186/* End XFree86 host.def file */
    182 EOF</userinput></screen></para>
     187<command>EOF</command></userinput></screen></para>
    183188
    184189<para>Edit the file for your hardware and desires.</para>
     
    188193<sect3>
    189194<title>Build Commands</title>
    190 <para>Install XFree86 by running the following commands:</para>
    191 
    192 
    193 <para><screen><userinput>WORLDOPTS="" make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;
     195<para>Install <application>XFree86</application> by running the following commands:</para>
     196
     197
     198<screen><userinput><command>WORLDOPTS="" make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;
    194199make install &amp;&amp;
    195200make install.man &amp;&amp;
    196201ln -sf /usr/X11R6/bin /usr/bin/X11 &amp;&amp;
    197202ln -sf /usr/X11R6/lib/X11 /usr/lib/X11 &amp;&amp;
    198 ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput></screen></para>
     203ln -sf /usr/X11R6/include/X11 /usr/include/X11</command></userinput></screen>
    199204
    200205</sect3>
    201206
    202207<sect3>
    203 <title>Updating Direct Rendering Infrastructure (DRI)</title>
    204 <para>If you have one of the supported DRI cards and have enabled DRI kernel modules as explained
     208<title>Updating Direct Rendering Infrastructure (<acronym>DRI</acronym>)</title>
     209<para>If you have one of the supported <acronym>DRI</acronym> cards and
     210have enabled <acronym>DRI</acronym> kernel modules as explained
    205211above, you now need to update the kernel modules to ensure they are compatible with the
    206 current version of XFree86.  To do this, perform the following:</para>
    207 
    208 <para><screen><userinput>cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel &amp;&amp;
     212current version of <application>XFree86</application>.  To do this, perform the following:</para>
     213
     214<screen><userinput><command>cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel &amp;&amp;
    209215make  CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux  &amp;&amp;
    210216mkdir -p /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    211217cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o \
    212218    /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    213 depmod -a</userinput></screen>
    214 </para>
     219depmod -a</command></userinput></screen>
     220
    215221<warning><para>If you recompile or upgrade your kernel, you will need to re-copy the
    216222appropriate driver module(s)
    217 to the kernel module library and rerun depmod.</para></warning>
    218 
    219 <note><para>If you created AGP support as a module when compiling the kernel, you may
     223to the kernel module library and rerun <command>depmod</command>.</para></warning>
     224
     225<note><para>If you created <acronym>AGP</acronym> support as a module when compiling the kernel, you may
    220226have to add a line to <filename>/etc/modules.conf</filename> to ensure
    221 the agpgart module is loaded.  For instance, the AGP version of the Radeon video card
     227the agpgart module is loaded.  For instance, the <acronym>AGP</acronym> version of the Radeon video card
    222228will use the <filename>radeon.o</filename> driver.  It will
    223229need to have the line <screen>below radeon agpgart</screen> in
    224 <filename>/etc/modules.conf</filename> to enable DRI support.</para></note>
     230<filename>/etc/modules.conf</filename> to enable <acronym>DRI</acronym> support.</para></note>
    225231
    226232</sect3>
Note: See TracChangeset for help on using the changeset viewer.