|
发表于 2003-10-20 21:05:41
|
显示全部楼层
Update the Nvidia driver by following the instructions below. For more details , go to
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt
Download drivers:
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/
__________________________________________________________________________
(sec-02) INSTALLING THE NVIDIA DRIVER
__________________________________________________________________________
BEFORE YOU BEGIN DRIVER INSTALLATION
Before beginning the driver installation, you should exit the X server.
In addition you should set your default run level so you will boot to a
vga console and not boot directly into X (please consult the documentation
that came with your Linux distribution if you are unsure how to do this;
this is normally done by modifying your /etc/inittab file). This will
make it easier to recover if there is a problem during the installation.
After installing the driver you must edit your XF86Config file before
the newly installed driver will be used. See the section below entitled
EDITING YOUR XF86CONFIG FILE.
INTRODUCTION TO THE NEW NVIDIA DRIVER INSTALLER
After you have downloaded NVIDIA-Linux-x86-1.0-4496-pkg1.run,
begin installation by exiting X, cd'ing into the directory containing
the downloaded file, and run:
sh NVIDIA-Linux-x86-1.0-4496-pkg1.run
The .run file is a self-extracting archive. When the .run file is
executed, it extracts the contents of the archive, and runs the contained
`nvidia-installer` utility, which will walk you through installation of
the NVIDIA driver.
The .run file accepts many commandline options. Here are a few of the
more common options:
--info
Print embedded info about the .run file and exit.
--check
Check integrity of the archive and exit.
--extract-only
Extract the contents of ./NVIDIA-Linux-x86-1.0-4496.run,
but do not run 'nvidia-installer'.
--help
Print usage information for the common commandline options
and exit.
--advanced-options
Print usage information for the common commandline options as
well as the advanced options, and then exit.
Installation will also install the utility `nvidia-installer`, which may
be later used to uninstall drivers, auto-download updated drivers, etc.
__________________________________________________________________________
(sec-03) EDITING YOUR XF86CONFIG FILE
__________________________________________________________________________
When XFree86 4.0 was released, it used a slightly different XF86Config
file syntax than the 3.x series did, and so to allow both 3.x and 4.x
versions of XFree86 to co-exist on the same system, it was decided that
XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4"
if it existed, and only if that file did not exist would the file
"/etc/X11/XF86Config" be used (actually, that is an over-simplification
of the search criteria; please see the XF86Config man page for a complete
description of the search path). Please make sure you know what
configuration file XFree86 is using. If you are in doubt, look for a
line beginning with "(==) Using config file:" in your XFree86 log file
("/var/log/XFree86.0.log"). This README will use "XF86Config" to refer
to your configuration file, whatever it is named.
If you do not have a working XF86Config file, there are several ways
to start: there is a sample config file that comes with XFree86,
and there is a sample config file included with the NVIDIA driver
package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/).
You could also use a program like 'xf86config'; some distributions
provide their own tool for generating an XF86Config file. For more
on XF86Config file syntax, please refer to the man page.
If you already have an XF86Config file working with a different driver
(such as the 'nv' or 'vesa' driver), then all you need to do is find
the relevant Device section and replace the line:
Driver "nv"
(or Driver "vesa")
with
Driver "nvidia"
In the Module section, make sure you have:
Load "glx"
You should also remove the following lines:
Load "dri"
Load "GLcore"
if they exist. There are also numerous options that can be added to
the XF86Config file to fine-tune the NVIDIA XFree86 driver. Please see
Appendix D for a complete list of these options.
Once you have configured your XF86Config file, you are ready to restart
X and begin using the accelerated OpenGL libraries. After you restart X,
you should be able to run any OpenGL application and it will automatically
use the new NVIDIA libraries. If you encounter any problems, please
see the FREQUENTLY ASKED QUESTIONS section below. |
|