mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
6732c09460
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 af4574ff-66df-0310-9fd7-8a98e5e911e0
192 lines
6.6 KiB
XML
192 lines
6.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY x7drivers-download-http "http://xorg.freedesktop.org/releases/individual/driver/">
|
|
<!ENTITY x7drivers-download-ftp "ftp://ftp.x.org/pub/individual/driver/">
|
|
<!ENTITY x7drivers-md5sum "&files-anduin;/xorg/md5sums">
|
|
<!ENTITY x7drivers-size "18.7 MB">
|
|
<!ENTITY x7drivers-buildsize "60.3 MB">
|
|
<!ENTITY x7drivers-time "6.9 SBU">
|
|
|
|
]>
|
|
|
|
<sect1 id="xorg7-driver" xreflabel="Xorg Drivers">
|
|
<?dbhtml filename="x7driver.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Xorg Drivers</title>
|
|
|
|
<indexterm zone="xorg7-driver">
|
|
<primary sortas="a-xorg7-driver">Xorg Drivers</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Xorg Drivers</title>
|
|
|
|
<para>The <application>Xorg</application> drivers provide the means
|
|
for the xserver to take advantage of installed hardware.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&x7drivers-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&x7drivers-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: <ulink url="&x7drivers-md5sum;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &x7drivers-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &x7drivers-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &x7drivers-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Xorg Drivers Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="xorg7-server"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="mesalib"/></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url='&blfs-wiki;/Xorg7Drivers'/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Downloading Xorg Drivers</title>
|
|
|
|
<para>To download the needed files using <application>wget</application>,
|
|
use the following commands:</para>
|
|
|
|
<screen><userinput>wget &files-anduin;/xorg/driver-7.1.wget &&
|
|
mkdir driver &&
|
|
cd driver &&
|
|
wget -B http://xorg.freedesktop.org/releases/individual/driver/ \
|
|
-i ../driver-7.1.wget</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Xorg Drivers</title>
|
|
|
|
<para>The <application>xf86-input-evdev</application>,
|
|
<application>xf86-video-ati</application>,
|
|
<application>xf86-video-fbdev</application>,
|
|
<application>xf86-video-glint</application>, and
|
|
<application>xf86-video-newport</application> packages install
|
|
man pages in UTF-8 encoding, and they will not display correctly
|
|
using <application>Man-DB</application>. Issue the following
|
|
command before building these packages to replace the offending
|
|
characters with ones that <command>man</command> can properly
|
|
display.</para>
|
|
|
|
<screen><userinput>sed -i -e "s/\xc3\xb8/\\\\[\/o]/" \
|
|
-e "s/\xc3\xa4/\\\\[:a]/" \
|
|
-e "s/\xc3\x9c/\\\\[:U]/" man/*.man</userinput></screen>
|
|
|
|
<warning><para>It is very important not to build display drivers that
|
|
cannot be used with your hardware. For instance, do not build Sun drivers
|
|
for an x86 PC as the Sun drivers will expect to see SPARC symbols
|
|
exported from the kernel. Failure to follow this warning will result
|
|
in a display lockup, which requires a hard reboot, when configuring
|
|
<application>Xorg</application> for the first time.</para></warning>
|
|
|
|
<para>Install the drivers by running the following commands for each
|
|
package:</para>
|
|
|
|
<screen><userinput>./configure $XORG_CONFIG \
|
|
--with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &&
|
|
make</userinput></screen>
|
|
|
|
<para>These packages do not provide test suites.</para>
|
|
|
|
<para>Now as the <systemitem class="username">root</systemitem>
|
|
user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><parameter>--with-xorg-module-dir=...</parameter>: This switch
|
|
ensures that the drivers are installed into the correct directory.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libI810XvMC.so, libviaXvMC.so, and libviaXvMCPro.so</seg>
|
|
<seg><envar>$XORG_PREFIX</envar>/lib/X11/modules/{drivers,input}</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libI810XvMC-x7">
|
|
<term><filename class='libraryfile'>libI810XvMC.so</filename></term>
|
|
<listitem>
|
|
<para>is the X-Video Motion Compensation client library for the
|
|
Intel i810 video driver.</para>
|
|
<indexterm zone="xorg7-driver libI810XvMC-x7">
|
|
<primary sortas="c-libI810XvMC">libI810XvMC.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libviaXvMC-x7">
|
|
<term><filename class='libraryfile'>libviaXvMC.so</filename></term>
|
|
<listitem>
|
|
<para>is the X-Video Motion Compensation client library for the
|
|
VIA Unichrome video driver.</para>
|
|
<indexterm zone="xorg7-driver libviaXvMC-x7">
|
|
<primary sortas="c-libviaXvMC">libviaXvMC.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libviaXvMCPro-x7">
|
|
<term><filename class='libraryfile'>libviaXvMCPro.so</filename></term>
|
|
<listitem>
|
|
<para>is the X-Video Motion Compensation client library for the
|
|
VIA Unichrome Pro video driver.</para>
|
|
<indexterm zone="xorg7-driver libviaXvMCPro-x7">
|
|
<primary sortas="c-libviaXvMCPro">libviaXvMCPro.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|