|
发表于 2002-10-10 16:51:05
|
显示全部楼层
INSTALLING BY RPM
Instructions for the Impatient:
$ rpm -ivh NVIDIA_kernel.i386.rpm
$ rpm -ivh NVIDIA_GLX.i386.rpm
Instructions:
Before installing from rpm, make sure that you have downloaded the
NVIDIA_kernel rpm appropriate for your kernel. Once you have verified
that you do indeed have the correct rpm, install NVIDIA_kernel by doing:
$ rpm -ivh NVIDIA_kernel.i386.rpm
Next, install the NVIDIA_GLX rpm by doing:
$ rpm -ivh NVIDIA_GLX.i386.rpm
UPGRADING BY RPM
Instructions for the Impatient:
$ rpm -Uvh NVIDIA_kernel.i386.rpm
$ rpm -e NVIDIA_GLX
$ rpm -ivh NVIDIA_GLX.i386.rpm
Instructions:
Before upgrading from rpm, make sure that you have downloaded the
NVIDIA_kernel rpm appropriate for your kernel. Once you have verified
that you do indeed have the correct rpm, upgrade the NVIDIA_kernel
package by doing:
$ rpm -Uvh NVIDIA_kernel.i386.rpm
You should not use the '-U' option to rpm to upgrade the NVIDIA_GLX
rpm because a bug in the uninstall section of older NVIDIA rpms will
cause some files to be removed that shouldn't be. Instead, use '-e'
to remove the old NVIDIA_GLX rpm, and then install the new one:
$ rpm -e NVIDIA_GLX
$ rpm -ivh NVIDIA_GLX.i386.rpm
(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 "XF68Config" 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_GLX 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' driver), then all you need to do is find the relevant
Device section and replace the line:
Driver "nv"
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 troubleshooting section below. |
|