Changeset 41605391 for x/installing


Ignore:
Timestamp:
10/12/2004 05:13:42 PM (20 years ago)
Author:
Igor Živković <igor@…>
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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c2c2d76
Parents:
e3ef32f
Message:

Updated mouse configuration for XFree86 and removed information about installing XFree86's DRI modules.

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

Location:
x/installing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xfree86.xml

    re3ef32f r41605391  
    7575</itemizedlist>
    7676
    77 <!--
    78 <para>You should also download the patch files:</para>
    79 <itemizedlist spacing='compact'>
    80 <listitem><para>
    81   <ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/4.3.0-4.3.0.1.diff.gz" />
    82   </para></listitem>
    83 <listitem><para>
    84   <ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/fontfile.diff" />
    85   </para></listitem>
    86 </itemizedlist>
    87 -->
    88 
    8977<para>The first three packages are the <application>XFree86</application>
    9078programs, the fourth and fifth are fonts, the sixth is normal documentation,
     
    154142supported cards include those from 3dfx (Voodoo, Banshee), 3Dlabs,
    155143ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel (i810, i815), and
    156 Matrox (G200, G400, G450). If you do enable <acronym>DRI</acronym> here, make
    157 sure you select the video card(s) you want to support as a
    158 <emphasis>module</emphasis>.</para>
     144Matrox (G200, G400, G450).</para>
    159145
    160146<para>Additionally NVidia provides their own closed source binary drivers,
     
    162148drivers, do not enable <acronym>DRI</acronym>.</para>
    163149
    164 <para>If you made any changes to the kernel configuration, recompile the
    165 kernel.</para>
    166 
    167 <para>Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
    168 <filename>/usr/src/linux/System.map</filename> to
    169 <filename>/boot</filename>, edit <filename>/etc/lilo.conf</filename>
    170 appropriately and run <filename>lilo</filename>. If you use
    171 <filename>grub</filename>, edit <filename>/boot/grub/menu.lst</filename>
    172 and add the new kernel to the boot menu.
    173 </para>
     150<para>If you made any changes to the kernel configuration, recompile and
     151install the new kernel.</para>
    174152
    175153<note><para>If you build <application>XFree86</application> in a
    176154<command>chroot</command> environment, make sure the kernel version of the base
    177 system and the target system are the same.  This is especially important if you
    178 enabled <acronym>DRI</acronym> support as a module as instructed above.</para>
     155system and the target system are the same.</para>
    179156</note>
    180157
     
    334311make install.man &amp;&amp;
    335312ln -sf ../X11R6/bin /usr/bin/X11 &amp;&amp;
    336 ln -sf ../X11R6/lib/{X11,libGL.so{,.1}} /usr/lib &amp;&amp;
    337 ln -sf ../X11R6/include/{X11,GL} /usr/include</command></userinput></screen>
    338 
    339 </sect3>
    340 
    341 <sect3>
    342 <title>Updating Direct Rendering Infrastructure (<acronym>DRI</acronym>)</title>
    343 <para>If you have one of the supported <acronym>DRI</acronym> cards and
    344 have enabled <acronym>DRI</acronym> kernel modules as explained
    345 above, you now need to update the kernel modules to ensure they are compatible
    346 with the current version of <application>XFree86</application>. To do this,
    347 perform the following:</para>
    348 
    349 <screen><userinput><command>cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel &amp;&amp;
    350 make -f Makefile.linux  &amp;&amp;
    351 mkdir -p /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    352 cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o \
    353     /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    354 depmod -a</command></userinput></screen>
    355 
    356 <warning><para>If you recompile or upgrade your kernel, you will need to
    357 re-copy the appropriate driver module(s) to the kernel module library and rerun
    358 <command>depmod -a</command>.</para></warning>
    359 
    360 <note><para>If you created <acronym>AGP</acronym> support as a module when
    361 compiling the kernel, you may have to add a line to
    362 <filename>/etc/modules.conf</filename> to ensure the agpgart module is loaded.
    363 For instance, the <acronym>AGP</acronym> version of the Radeon video card will
    364 use the <filename>radeon.o</filename> driver.  It will need to have the line
    365 <screen>below radeon agpgart</screen> in <filename>/etc/modules.conf</filename>
    366 to enable <acronym>DRI</acronym> support.</para></note>
    367 
    368 </sect3>
     313ln -sf ../X11R6/lib/X11 /usr/lib/X11 &amp;&amp;
     314ln -sf ../X11R6/include/X11 /usr/include/X11</command></userinput></screen>
     315
     316</sect3>
     317
    369318</sect2>
    370319
     
    404353
    405354<para><screen><command>ln -sf ../X11R6/bin /usr/bin/X11
    406 ln -sf ../X11R6/lib/{X11,libGL.so{,.1}} /usr/lib
    407 ln -sf ../X11R6/include/{X11,GL} /usr/include</command></screen>
     355ln -sf ../X11R6/lib/X11 /usr/lib/X11
     356ln -sf ../X11R6/include/X11 /usr/include/X11</command></screen>
    408357These commands are present to enable other (broken) packages to build
    409358against <application>XFree86</application>, even though the Filesystem
     
    412361users only."</para>
    413362
    414 <!-- <para><command>make -f Makefile.linux</command>: This builds the
    415 <application>XFree86</application> compatible kernel modules using the same
    416 compiler used to compile the kernel.</para> -->
    417 
    418 <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
    419 /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel
    420 module(s) where the kernel can find them. You only need to copy the driver you
    421 need to support your video card.</para>
    422 
    423 <para><command>depmod -a</command>: Update the modules.dep file for module
    424 management.</para>
    425 
    426363</sect2>
    427364
     
    434371<screen><userinput><command>ldconfig</command></userinput></screen>
    435372
    436 <para>Ensure <filename class='directory'>/usr/X11R6/bin</filename> is added to
    437 your <envar>PATH</envar> environment variable. Instructions for doing this are
     373<para>Ensure <filename class="directory">/usr/X11R6/bin</filename>
     374and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>
     375are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
     376environment variables, respectively. Instructions for doing this are
    438377described in the section "<xref linkend='postlfs-config-profile'/>."</para>
    439  
    440 <para>Expand the <envar>PKG_CONFIG_PATH</envar> so that other packages
    441 can find <application>X</application> libraries. Procedures for this are also
    442 described in the section "<xref linkend='postlfs-config-profile'/>."</para>
    443 
    444 <para>Run:</para>
    445 <screen><userinput><command>source ~/.bash_profile</command></userinput></screen>
    446 
    447 <para>Set up your mouse:
    448 <screen><userinput><command>ln -s psaux /dev/mouse</command></userinput></screen>
    449 
    450 Adjust the symbolic link as necessary for other types of mice.  For instance,
    451 a serial mouse on the first serial port would be linked to ttyS0.</para>
    452378
    453379<para>Create the <filename>XF86Config</filename> file with:
     
    469395directories completely.</para></listitem>
    470396
     397<listitem><para>Section "Module". If you are going to install NVidia
     398drivers remove the "dri" line.</para></listitem>
     399 
     400<listitem><para>Sections "InputDevice". Specify the
     401<parameter>Device</parameter> parameter to "/dev/input/mice" and
     402<parameter>Protocol</parameter> to "auto" to set up your mouse. You may
     403also want to change the keyboard autorepeat rate by adding
     404<parameter>Option "Autorepeat" "250 30"</parameter>.</para></listitem>
     405
    471406<listitem><para>Section "Monitor".  Specify the
    472407<parameter>VertRefresh</parameter> and <parameter>HorizSync</parameter> values
    473408if the system does not automatically detect the monitor and its values.</para>
    474409</listitem>
    475 
    476 <listitem><para>Section "InputDevice".  You may want to change the keyboard
    477 autorepeat rate by adding <parameter>Option "Autorepeat" "250 30"</parameter>.
    478 </para></listitem>
    479410
    480411<listitem><para>Section "Device".  You may want to set some of the options
  • x/installing/xorg.xml

    re3ef32f r41605391  
    148148<note><para>If you build <application>Xorg</application> in a
    149149<command>chroot</command> environment, make sure the kernel version of the base
    150 system and the target system are the same. This is especially important if you
    151 enabled <acronym>DRI</acronym> support as a module as instructed above.</para>
     150system and the target system are the same.</para>
    152151</note>
    153152</sect3>
Note: See TracChangeset for help on using the changeset viewer.