LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 7549|回复: 17

NVIDIA说明文件翻译计划,请弟兄们多多参与[联手合作共进篇]

 关闭 [复制链接]
发表于 2002-8-15 01:01:07 | 显示全部楼层 |阅读模式
用NVIDAI显卡的弟兄好多,弟兄们还要玩游戏。见于此,我就把NVIDIA的说明文件全部拿下。只要我们把这个说明文件全部读懂,这块显卡的问题就OK了,如果有兴趣的弟兄可以加入此行列!

请弟兄们多多参与。多谢!!!
 楼主| 发表于 2002-8-15 01:02:03 | 显示全部楼层
编号001
本文档已由Jeff兄弟领译,多谢Jeff兄弟。
弟兄们向您致意!
============================================


001

NVIDIA 加速的linux驱动集README和安装指南

最后更新:2002/05/12
最新驱动:1.0-2960

此NVIDIA驱动不但提供了加速的2D性能,还为使用NVIDIA图形处理单元(GPU)的用户,提供了Linux x86下高性能的OpenGL支持。

驱动通过直接渲染的X server提供优化的硬件加速以及支持几乎所有NVIDIA的图形芯片(请参阅附录A取得完全的支持芯片列表)。同样支持双

头输出,电视输出和平板显示器。

此README描述怎样安装,配置,以及使用NVIDIA加速的linux驱动集。这个文件被发布在NVIDIA的网站上(www.nvidia.com),并且安装之后将被

装在/usr/share/doc/NVIDIA_GLX-1.0/下。

内容:
(部分-01) 选择合适你系统的NVIDIA包
(部分-02) 安装选好的VIDIA_KERNEL和NVIDIA_GLX包
(部分-03) 编辑你的XF86CONFIG文件
(部分-04) 常见问题解答
(部分-05) 如何联系我们
(部分-06) 更多的资源

(附录-a) APPENDIX A: 所支持的NVIDIA图形芯片
(附录-b) APPENDIX B: 最小软件要求
(附录-c) APPENDIX C: 已安装的组件
(附录-d) APPENDIX D: XF86CONFIG配置
(附录-e) APPENDIX E: OPENGL环境变量的设置
(附录-f) APPENDIX F: 配置AGP
(附录-g) APPENDIX G: ALI特别专题
(附录-h) APPENDIX H: TNT特别专题
(附录-i) APPENDIX I: 配置双端输出
(附录-j) APPENDIX J: 配置电视输出
(附录-k) APPENDIX K: 配置一台便携式
(附录-l) APPENDIX L: 程序模块
(附录-m) APPENDIX M: 缓存页交换,window交换和统一背景缓存
(附录-n) APPENDIX N: 已知的问题
(附录-o) APPENDIX O: proc接口
(附录-p) APPENDIX P: XVMC支持
(附录-q) APPENDIX Q: GLX支持

请注意,为了使介绍更精确,绝大部分说明和常见问题在安装介绍里没被详述,但更多在常见问题部分。因此极力建议在你开始安装前阅读整

个README文件。



-----------------------
英文原文:


NVIDIA Accelerated Linux Driver Set README & Installation Guide

Last Updated: $Date: 2002/05/12 $
Most Recent Driver: 1.0-2960


The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D
functionality and high performance OpenGL support to Linux x86 with the
use of NVIDIA graphics processing units (GPUs).

These drivers provide optimized hardware acceleration of OpenGL
applications via a direct-rendering X Server and support nearly all
NVIDIA graphics chips (please see APPENDIX A for a complete list of
supported chips).  TwinView, TV-Out and flat panel displays are also
supported.

This README describes how to install, configure, and use the NVIDIA
Accelerated Linux Driver Set.  This file is posted on NVIDIA's web site
(www.nvidia.com), and is installed in /usr/share/doc/NVIDIA_GLX-1.0/
when the NVIDIA_GLX package is installed.


__________________________________________________________________________

CONTENTS:

        (sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE FOR YOUR SYSTEM
        (sec-02) INSTALLING THE NVIDIA_KERNEL AND NVIDIA_GLX PACKAGES
        (sec-03) EDITING YOUR XF86CONFIG FILE
        (sec-04) FREQUENTLY ASKED QUESTIONS
        (sec-05) CONTACTING US
        (sec-06) FURTHER RESOURCES

        (app-a)  APPENDIX A: SUPPORTED NVIDIA GRAPHICS CHIPS
        (app-b)  APPENDIX B: MINIMUM SOFTWARE REQUIREMENTS
        (app-c)  APPENDIX C: INSTALLED COMPONENTS
        (app-d)  APPENDIX D: XF86CONFIG OPTIONS
        (app-e)  APPENDIX E: OPENGL ENVIRONMENT VARIABLE SETTINGS
        (app-f)  APPENDIX F: CONFIGURING AGP
        (app-g)  APPENDIX G: ALI SPECIFIC ISSUES
        (app-h)  APPENDIX H: TNT SPECIFIC ISSUES
        (app-i)  APPENDIX I: CONFIGURING TWINVIEW
        (app-j)  APPENDIX J: CONFIGURING TV-OUT
        (app-k)  APPENDIX K: CONFIGURING A LAPTOP
        (app-l)  APPENDIX L: PROGRAMMING MODES
        (app-m)  APPENDIX M: PAGE FLIPPING, WINDOW FLIPPING, AND UBB
        (app-n)  APPENDIX N: KNOWN ISSUES
        (app-o)  APPENDIX O: PROC INTERFACE
        (app-p)  APPENDIX P: XVMC SUPPORT
        (app-q)  APPENDIX Q: GLX SUPPORT

Please note that, in order to keep the instructions more concise, most
caveats and frequently encountered problems are not detailed in the
installation instructions, but rather in the FREQUENTLY ASKED QUESTIONS
section.  Therefore, it is recommended that you read this entire README
before proceeding to perform any of the steps described.
 楼主| 发表于 2002-8-15 01:02:50 | 显示全部楼层
编号002
本文档已由coco兄弟领译,多谢coco兄弟。
弟兄们向您致意!
============================================



编号002
______________________________________
(sec-01)选择适合于你的系统的软件包
______________________________________
NVIDIA 具有统一的驱动建筑学模型;换而言之,一个驱动动的集合体能够适用于所有支持NVIDIA
的硬件.请阅读附录以获得有关现在NVIDIA系列驱动所支持的硬件清单.

LINUX下的NVIDIA系列驱动程序集合体包含两个你许要下载并安装的软件包:它们分别
是包含OpenGL libraries和XFree86驱动程序的NVIDIA_GLX程序包,和包含NVIDIA_GLX包(
如果想了解更多的有关每一个包的详情,请阅读附录C)里的X驱动&OpenGL libraries
所许要的NVdriver 内核模块的NVIDIA_kernel包.你许要安装刚才下载的两个软件包,注意要匹配
版本号(例如,NVIDIA_GLX-0.9-6仅仅可以适用于NVIDIA_kernel-0.9-6的情况,而不能适用于NVIDIA_kernel
-0.9-3).

下列几种文件格式的软件包是可以用的:rpm,srpm,和tar文件.每一种类型的软件包的安装如下面所看
到的.你可以根据自己的喜好来选择一种类型软件包进行安装,可是请注意二进制的rpms包只能用于与
你的内核体系相匹配(例如,NVIDIA_Kernel-0.9-6.rh62.i386.rpm 仅仅可以适用于Redhat6.2
的uni-processor内核体系).为了适应LINUX的发展,NVIDIA也为每一种发布的版本的不同的SMP和uni-processor内核提供了单独
的rpms包.如果你已经升级了你的内核(不管是手动升级的,还是系统自动升级的),或者一个特殊的
NVIDIA_kernel rpm包不适合你的系统,这样的情况下情选择NVIDIA_Kernel srpm包或tar文件.

在配电盘体系复杂内核的情况下(这种情况经常发生在uni-processor和SMP机器上),这只能是复合的rpms包才能适合,例如:NVIDIA
_Kernel-0.9-7.rh62.i386.rpm和NVIDIA_Kernel-0.9-7.rh62.smp.i386.rpm.

NVIDIA_GLX 的rpm包,然而,不紧密的倚赖内核的版本,因此,srpm包是不许要的.选择rpm的或tar的
的NVIDIA_GLX 包安装即可.






-----------------------
英文原文:

__________________________________________________________________________

(sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE FOR YOUR SYSTEM
__________________________________________________________________________

NVIDIA has a unified driver architecture model; this means that one driver
set can be used with all supported NVIDIA hardware.  Please see Appendix
A for a list of the NVIDIA hardware supported by the current drivers.

The NVIDIA Accelerated Linux Driver Set consists of two packages
which you will need to download and install: the NVIDIA_GLX package
which contains the OpenGL libraries and the XFree86 driver, and the
NVIDIA_kernel package which contains the NVdriver kernel module needed
by the X driver and OpenGL libraries in the NVIDIA_GLX package (for
more details on the components of each package, please see Appendix C).
You will need to install both packages, with matching version numbers
(eg NVIDIA_GLX-0.9-6 should only be used with NVIDIA_kernel-0.9-6 and
not NVIDIA_kernel-0.9-3).

The packages are available in several formats: rpm, srpm, and tar file.
Installation of each package type is described below.  The package
type is largely a matter of personal preference, though please note
that the binary rpms are for use only with the kernel shipped with a
particular distribution (eg NVIDIA_kernel-0.9-6.rh62.i386.rpm should
only be used with the uni-processor kernel shipped with RedHat 6.2).
Where appropriate, NVIDIA has provided separate rpms for the distinct SMP
and uni-processor kernels of each distribution.  If you have upgraded
your kernel (either manually, or through a distribution upgrade), or
a specific NVIDIA_kernel rpm is not available for your distribution,
then use either the NVIDIA_kernel srpm or tar file.

In the case where distributors ship multiple kernels (as is often
the case with uni-processor and SMP machines), there will be
multiple rpms available, ie: NVIDIA_kernel-0.9-7.rh62.i386.rpm and
NVIDIA_kernel-0.9-7.rh62.smp.i386.rpm.

The NVIDIA_GLX rpm, however, is not dependent upon the kernel version,
and therefore an srpm is not needed.  Install the NVIDIA_GLX package
either by rpm or tar file.
 楼主| 发表于 2002-8-15 01:03:15 | 显示全部楼层
编号003
本文档已由coco兄弟领译,多谢coco兄弟。
弟兄们向您致意!
============================================



编号003
__________________________________________________________________________

( sec-02 ) 安装 NVIDIA_KERNEL 和 NVIDIA_GLX 包
__________________________________________________________________________

在你开始安装驱动之前

在开始安装驱动程序前, 你应该退出 X 服务器。另外你应该设置你的
缺省启动模式以便使你直接启动命令模式而不启动X视窗 ( 请阅读你的
Linux 带来的的文档如果你不是很肯定该怎么做 ) 。如果在安装
期间遇到问题,这将使恢复更容易。

请注意在下列的指导范例中普遍省略了软件包校订版本号。当指导范例
可能会写着" NVIDIA_kernel.tar.gz "时,你应该用适合你的系统的驱
动程序版本的名字代替;例如:" NVIDIA_kernel.0.9-6.tar.gz
"。


由 RPM 包安装

这些指令都是我们所熟悉的:

$ rpm - ivh NVIDIA_kernel.i386.rpm
$ rpm - ivh NVIDIA_GLX.i386.rpm

指令:

在从 rpm 安装前,确保你已经下载了与你的内核相适应的 NVIDIA_kernel
rpm包 。一旦你证实了你确实确实有正确的 rpm ,那就开始安装
NVIDIA_kernel吧 :

$ rpm - ivh NVIDIA_kernel.i386.rpm

下一步, 安装 NVIDIA_GLX rpm :

$ rpm - ivh NVIDIA_GLX.i386.rpm


由 RPM 升级

这些指令都是我们所熟悉的:

$ rpm - Uvh NVIDIA_kernel.i386.rpm
$ rpm - e NVIDIA_GLX
$ rpm - ivh NVIDIA_GLX.i386.rpm

指令:

在从 rpm 升级前,保证你下载了与你的内核相适应的 NVIDIA_kernel
rpm包 。一旦你证实了你确实有正确的 rpm 包,那就开始升级
NVIDIA_kernel 包吧:

$ rpm - Uvh NVIDIA_kernel.i386.rpm

你不应该使用rpm的"-U"参数来升级NVIDIA_GLX,因为
在更旧的 NVIDIA rpms 包的拆卸节的一个错误将引起一些文件被移开,
那是不应该。相反, 使用 "- e " 卸载旧的 NVIDIA_GLX rpm 包, 并
且然后安装一个新的:

$ rpm - e NVIDIA_GLX
$ rpm - ivh NVIDIA_GLX.i386.rpm


由 SRPM 的 安装/升级

这些指令都是我们熟悉的:

$ rpm --rebuild NVIDIA_kernel.src.rpm
$ rpm -ivh /path/to/rpms/RPMS/i386/NVIDIA_kernel.i386.rpm
$ rpm - ivh NVIDIA_GLX.i386.rpm

指令:

为你的系统设定一个定制的 NVIDIA_kernel rpm , 传递 rpm "--rebuild' 参数:

$ rpm --rebuild NVIDIA_kernel.src.rpm

请观察类似以下这行文字( 路径可能是不同的 ) :

写: /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

并且用以上路径做为输入,用 rpm 安装:

$ rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

或升级:

$ rpm -Uvh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

安装 NVIDIA_GLX 软件包, 按照上面的方法用 rpm 升级 或安装NVIDIA_GLX 包。


用 tar 文件的 安装/升级

这些指令都是我们所熟悉的:

$ tar xvzf NVIDIA_kernel.tar.gz
$ tar xvzf NVIDIA_GLX.tar.gz
$ cd NVIDIA_kernel
$ make install
$ cd .. /NVIDIA_GLX
$ make install

指令:

从 tar 文件安装, 解压每个文件:

$ tar xvzf NVIDIA_kernel.tar.gz
$ tar xvzf NVIDIA_GLX.tar.gz

进入NVIDIA_kernel 目录。键入" make install " 。这将编译内核的接口
到 NVdriver , 连接 NVdriver ,拷贝 NVdriver 到安装文件所指向的地方,并且试图
把 NVdriver 插入到正在运行着的内核:

$ cd NVIDIA_kernel
$ make install


下一步, 进入 NVIDIA_GLX 目录。键入" make install"--这里就是我们所需要的OpenGL和XFree86这两个
文件要复制到的目录:


$ cd .. /NVIDIA_GLX
$ make install

注意 " make install " 将为每个软件包移开任何以前被安装了的 NVIDIA 驱
动程序。






-----------------------
英文原文:

__________________________________________________________________________

(sec-02) INSTALLING THE NVIDIA_KERNEL AND NVIDIA_GLX PACKAGES
__________________________________________________________________________

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
console and not start up X (please consult the documentation that came
with your Linux distribution if you are unsure how to do this).  This will
make it easier to recover if there is a problem during the installation.

Please note that package revision numbers have been omitted in the
following directions to make them as general as possible.  While the
directions might say "NVIDIA_kernel.tar.gz" you should replace
that with the name of the driver version you are installing; eg:
"NVIDIA_kernel.0.9-6.tar.gz".


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


INSTALLING/UPGRADING BY SRPM

Instructions for the Impatient:

        $ rpm --rebuild NVIDIA_kernel.src.rpm
        $ rpm -ivh /path/to/rpms/RPMS/i386/NVIDIA_kernel.i386.rpm
        $ rpm -ivh NVIDIA_GLX.i386.rpm

Instructions:

To build a custom NVIDIA_kernel rpm for your system, pass rpm the
'--rebuild' flag:

        $ rpm --rebuild NVIDIA_kernel.src.rpm

Watch for the line that looks something like (the path may be different):

        Wrote: /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

and use that as input to rpm to install:

        $ rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

or upgrade:

        $ rpm -Uvh /usr/src/redhat/RPMS/i386/NVIDIA_kernel.i386.rpm

To install the NVIDIA_GLX package, follow the instructions above for
either installing or upgrading NVIDIA_GLX from rpm.


INSTALLING/UPGRADING BY TAR FILE

Instructions for the Impatient:
   
        $ tar xvzf NVIDIA_kernel.tar.gz
        $ tar xvzf NVIDIA_GLX.tar.gz
        $ cd NVIDIA_kernel
        $ make install
        $ cd ../NVIDIA_GLX
        $ make install
   
Instructions:

To install from tar file, unpack each file:

        $ tar xvzf NVIDIA_kernel.tar.gz
        $ tar xvzf NVIDIA_GLX.tar.gz

cd into the NVIDIA_kernel directory.  Type 'make install'.  This will
compile the kernel interface to the NVdriver, link the NVdriver, copy
the NVdriver into place, and attempt to insert the NVdriver into the
running kernel:

        $ cd NVIDIA_kernel
        $ make install

Next, move into the NVIDIA_GLX directory.  Type 'make install' -- this
will copy the needed OpenGL and XFree86 files into place:

        $ cd ../NVIDIA_GLX
        $ make install

Note that the "make install" for each package will remove any previously
installed NVIDIA drivers.
 楼主| 发表于 2002-8-15 01:04:13 | 显示全部楼层
编号004
本文档已由coco兄弟领译,多谢coco兄弟。
弟兄们向您致意!
============================================



编号004
__________________________________________________________________________

__________________________________________________________________________

( sec-03 ) 编辑你的 XF86CONFIG 文件
__________________________________________________________________________

当 XFree86 4.0 正式版发行时,与 3.x 系列做了对比,它使用了稍微不同
的 XF86Config 文件句法, 并且这样允许 XFree86 的 3.x 和 4.x
版本在一样的系统上共存, XFree86 4.x 是使用这个配置文件"/etc/X11/XF86Config-4 "
如果它存在了,并且仅仅当那个配置文件
没存在将使用这个配置文件" /etc/X11/XF86Config " ( 实际上, 那是简化了的
搜索标准;请阅读XF86Config文档以获取完整的搜索路径说明
) 。请保证你知道文件 XFree86 正在使用什么配置。如果你存在
疑问,请在XFree86记录文件( "/var/log/XFree86.0.log")里寻找以 "(==) Using config file:"开头的行
。这个README文件将使用"XF68Config"参考你的配置文件, 无论它被起什么名子。

如果你没有一个工作的 XF86Config 文件,这里有开始的若干方法:这里有一
件与你的XFree86带来的XFree86设置样本文件,并且这里有一件包含在NVIDIA_GLX 包
里的样本设置文件 ( 它保存在路径 /usr/share/doc/NVIDIA_GLX-1.0/ 下 ) 。你当然也能用像"
xf86config"这样的配置工具来完成;一些发行商也提供他们自己特有的产生XF86Config文件
的工具。为了获取更多的有关XF86Config文件句法上的信息,
请参考其文档。

如果你已经让一个 XF86Config 文件与一个不同的驱动程序一起工作
( 例如" nv "或" vesa "驱动程序 ), 然后所有你要做的只是找到相关的
设备部分并且用合适的设置从新配置:

Driver " nv "
(或Driver " vesa ")

替换为

Driver " nvidia "

在模块部分,确保你有:

Load " glx "

如果下列选项存在,你也应该将其删除:

Load " dri "
Load " GLcore "

也有众多的经常用到的XF86Config文件选项能被加到 XF86Config文件里
来配置NVIDIA XFree86驱动 。请阅读附录D以获得一个完整的选项清单。

一旦你已经设置好了你的 XF86Config 文件,这就意味着你已经准备好了重启 X 并且
开始使用加速的 OpenGL 库。在你重启 X 后,你应该能够运行任何一个OpenGL应用
并且它将自动地使用新的NVIDIA驱动程序库。如果你遇见任何
问题,请阅读下面的常见问题部分。





-----------------------
英文原文:




__________________________________________________________________________

(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' 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.
 楼主| 发表于 2002-8-15 01:04:48 | 显示全部楼层
编号005
本文档已由evileye兄弟领译,多谢evileye兄弟。
弟兄们向您致意!
============================================


005

常见问题释疑
Q :当诊断显示问题时,我在哪儿应该开始?
A:最有用的工具之是在 /var/log 的 XFree86 记录文件(文件被命名:“/var/log/XFree86.<#> .log ”,“<#>”在此是服务器数字--通常是 0 )。
开始行“( II )”是信息,“( WW )”是警告,“( EE )是错误行。
你应该保证正确设置文件(即设置你正在编辑的文件)被使用;
寻找开始的行:
“(==)使用设置文件:”。
另外检查 NVIDIA 驱动程序正在被使用,而非“ nv ”或“ vesa ”驱动程序;
请找到:“( II ) LoadModule :” nvidia “”,并且从driver的行应该是:
“( II ) NVIDIA ( 0 )”。
Q :我怎么能增加在 XFree86 记录文件输出的数据数量?
A:在缺省情况下, NVIDIA X 驱动程序相对输出很少消息到 stderr(标准错误) 和 XFree86 记录文件。
如果你需要诊断问题,要让 XFree86 启用更verbose(详细)的输出,可以选择“-verbose”并且“- logverbose ”它是被用来设置为stderr和log发送消息详细程度。
当详细程度在5以上时, NVIDIA X driver将输出更多的消息(XFree86 缺省值 stderr是1,log是3 )。
因此,启用verbose从 NVIDIA X 驱动程序发送详细消息到记录文件和stderr ,你只要由在 :“ startx ---verbose 5 - logverbose 5'后启动X。
Q :我的 X 服务器没能开始,并且我的 XFree86 记录文件包含错误:
“( EE ) NVIDIA ( 0 ):没能了初始化 NVdriver 核心模块!”
A:如果 NVdriver 核心模块不适当工作,没有东西能工作。
如果你在 X 记录文件看见任何东西,象“( EE ) NVIDIA ( 0 ):没能初始化 NVdriver 核心模块!”
那么很可能 NVdriver 核心模块有问题。
第一,如果你从 rpm 安装,你应该验证rpm包。
你也应该检查模块.被装载在(“/sbin/lsmod');如果没被装载请尝试用” insmod “或” modprobe “装载.(请务必在安装一个新核模块前退出 X 服务器)。
如果你收到未解决标志的错误,然后核模块很可能被装载了与你正在运行的不同的核心模块。
你能控制核心文件的使用,从NVIDIA_kernel tar文件装载NVdriver :
“make install SYSINCLUDE=/path/to/kernel/headers'.
请注意为核心文件的位置通常处于变化的状态,它是核模心块的路径。
如果核心模块没能适当的装载, modprobe/insmod 可能正在试着装载一个更旧的核模块(假定你升级了)。
进有新核心模块的目录的 cd'ing 并且“ insmod ./NVdriver ”可以有所裨益。
最后, NVdriver 可以打印问题的错误消息--要到看这些消息请检查 /var/log/messages ,或者syslog被指向的核心信息.
Q : X已启动,但是 OpenGL 应用很快地终止。
A:如果 X 开始,但是 OpenGL 引起问题,可能其它的库程序有问题,或者有陈旧 symlinks 。
细节请看见附录 C 。
有时,它拿的所有是使再开动“ ldconfig ”。
你应该也检查正确的扩展名;
“ xdpyinfo ”应该显示“ GLX ”,“ NV-GLX ”“ NVIDIA-GLX ”的扩展名。
如果这些 3 种扩展不在,,很可能是装载的 glx 模块或它的问题不能装载 GLcore 。
检查你的 XF86Config 文件并且保证你正在装载 glx (见“编辑你的 XF86Config 文件,在上面”)。
如果你的 XF86Config 文件是正确的,那么为从属到 GLX 的警告/错误检查 XFree86 记录文件。
也检查必要的 symlinks 的所在地方(参考附录 C )。
Q :当由 srpm 开始安装/升级时,命令:
“ rpm --rebuild NVIDIA_kernel-1.0-2960.src.rpm'仅仅打印出 rpm 命令行选择的一张表。
A:你很可能没安装 rpm 开发组件。
大多数情况你能安装你的 rpm-devel 包裹解决这个问题。
另外地,你能由tar 文件的安装/升级不需要 rpm 。
Q :当由 srpm 的安装/升级时,命令:
“ rpm --rebuilt NVIDIA_kernel-1.0-2960.src.rpm'报告错误:
NVIDIA_kernel-.src.rpm:no such file or directory
A:你需要为你的发行版安装rpm安装包。
另外地,你能由作为 tar 文件的 tar 文件的安装/升级不要求 rpm 。
Q :安装 NVIDIA_kernel 模块,返回一条错误信息:
#error Modules should never use kernel-headers system headers
#error but headers from an appropriate kernel-source
A:你需要先为 Linux 核心安装驱动。
Q: OpenGL 显示下列错误消息并退出:
Error: Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
A:为 PAM 系统的安全模块可能正在改动 允许的NVIDIA 设备文件。
在大多数情况中这个安全系统正常工作,但它也有糊涂的时候。
为了修正这个问题,你停用这个安全特征,
不同的 Linux 发行版有不同的文件控制;
如果你的系统有文件 /etc/security/console.perms 你可以编辑文件并且删除以“<dri>”开始的行.
如果相反你的系统有文件 /etc/logindevperms 你编辑文件并且删除列在/dev/nvidiact
以上步骤将阻止 PAM 安全系统在 NVIDIA 设备文件上修改.
然后,你将需要在设备文件上重新设定回到他们的原来的许可和所有者。
用下列命令:
chmod 0666 /dev/nvidia * chown root/dev/nvidia *
Q : OpenGL 崩溃并且打印出下列警告:
WARNING :你的系统有多臭虫的动态的装载器。
这可以在某个应用引起冲突。
如果你系统崩溃,你能试着给环境变量的 __GL_SINGLE_THREADED 。
请在文件/usr/share/doc/NVIDIA_GLX-1.0/README为更多的信息请教常见问题.
A:在你的系统上的动态装载器有将引起与 pthreads 的链接,并且dlopen ()多重 libGL 崩溃。
这个臭虫(BUG)在动态的装载器的更旧的版本存在。
但是 RedHat Linux 6.2 和曼德拉草 Linux 7.1不存在此臭虫。
版本 2.2 并且以后动态的装载器会正常工作。
如果崩溃的是单线程可改变环境变量.,variable__GL_SINGLE_THREADED 将阻止崩溃。
在bash shell中你敲入export__GL_SINGLE_THREADED 并且在 csh 和derivatives使用setenv __GL_SINGLE_THREADED.
NVIDIA 驱动的先前的版本试图围绕这一问题工作,然而解决办法与另外的应用程序引起了问题所以在版本 1.0-1541 以后被被取消。
Q :当我运用 Quake3 时,当改变影象模式时,崩溃!是什么原因?
A:你可能正在经历上面已经描叙过的问题。
请检查“警告”输出信息中的提示。
如上所述在跑前 Quake3设置Setting __GL_SINGLE_THREADED将解决这个问题。
Q :当我开始 X 时失败,我的 XFree86 记录文件包含:
II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
No symbols found in this module
(EE) Failed to load /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (loader failed, 256)
...
(EE) No drivers available.

A: nvidia_drv.o X driver需要符号的丢失了;
rpm 的一些版本(错误地)当安装时,替代对象文件。
你应该可能升级 rpm 的版本。
或,你能从 tar 文件安装 NVIDIA_GLX 包。
Q :我的系统能跑,但是似乎不稳定。
是哪里出问题了?
A:你的稳定性问题可能同AGP-related有关。
为细节看见附录 F 。
Q :当 X 开始时,核模块不能到动态地装载了;
我必须首先“ modprobe NVdriver ”。
问题出在哪里?
A:保证“alias char-major-195 NVdriver ”在你的模块配置文件出现的行,通常是“ /etc/conf.modules ”,“ /etc/modules.conf ”
或“ /etc/modutils/alias ”之一
;有关细节请看文档。
Q :我不能建立NVdriver核心模块,或我能建立NVdriver 核模块,但是 modprobe/insmod 没能装载模块进我的核心。
问题出在哪里?
A:这些问题通常被引起由造使用错误的核心文件(如你正在运行的一个不同版本的核心文件)。
习惯过去常是核心文件应该在“/usr/include/linux/”被存储,但是被赞成“ /lib/modules/'uname - r'/build/include ”的反对.
NVIDIA_kernel Makefile 应该能被指定路径;
然而,如果你遇见一个问题,你能强迫安装headrt文件:“make SYSINCLUDE=/path/to/kernel/headers'.
显然,不管你是怎么作的,你都需要头系统上安装了的适当的核心文件。
请查看与你的文档;
一些发行版缺省不安装某些核心文件,或他们安装的与你正在工作的核心不一致。
Q : OpenGL 应用程序为什么跑得这样慢?
A:程序可能仍然在你的系统上正在使用一个不同的库,而非 NVIDIA 供应的OpenGL 库。
细节请看附录 C 。
Q :用 Quake2有问题 。
A: Quake2 要求一些次要东西的安装。
首先,在 Quake2 目录,建立指向 libMesaGL.so 的 libGL.sosymlink 。
将symlink 移开或重命名。
然后,到在 OpenGL 模式的跑 Quake2 ,你输入:“ quake2 +set vid_ref glx +set gl_driver libGL.so ”。
Quake2似乎不支持任何种全屏模式,但是你能运行在的 X 服务器的Quake2无论什么分辨率下仿效全屏模式。
Q :运行 Heretic II有问题 。
A: Heretic II缺省时 也安装一个symlink 在应用目录叫了 libGL.so 。
你能删除或重命名这 symlink ,系统将发现缺省 libGL.so (我们的driver在 /usr/lib ).从在 Heretic II 以内你能然后设定你的在影象菜单使模式变为到 OpenGL 。
也有在到从 lokigames 的 Heretic II 可得到的一个补丁:
http://www.lokigames.com/products/heretic2/updates.php3
Q :我在哪儿能得到 gl.h 或 glx.h 因而我能编 OpenGL 程序?
A:大多数系统与预装的这些。
然而, NVIDIA 提供了我们的自己的 gl.h 和 glx.h 文件以防你的系统阻止你使用我们开发的新的 NVIDIA OpenGL 扩展的 OpenGL 应用软件。
这些文件在 /usr/share/doc/NVIDIA_GLX-1.0/include/GL 被安装以避免与安装的系统冲突版本。
为了使用,可将这些文件拷贝进/usr/include/GL.
Q :我能收到新版本的NVIDIA Accelerated LinuxDriver Set电子邮件通知吗?
A:是的。
在:http://www.nvidia.com/view.asp ? FO=driver_update 填写表格
Q :如果我把 rivafb 启用,切换vt时,我的系统就挂起。
A:同时使用 rivafb 和模块当前的 NVdriver 核心模块是造成挂起的原因。
总的来说,使用 2 个独立的软件驱动程序驱动硬件的是一个坏想法。
Q :编译NVdriver 核模块给出这个错误:
你好象要用与编译的核心不同的编译器编译 NVdriver 核模块。
这可以是完美地好的,但也有可能造成不法预料的系统崩溃。
如果你知道你正在做什么,并想撤销这个检查,你可以设置 IGNORE_CC_MISMATCH 做。
或者,给被用来编核的编译器的名字设定 CC 环境变量。
A:你应该与被用来编你的核的一样的编译器版本编 NVdriver 核模块。
一些 Linux 核心数据结构依赖于过去编译它 gcc 的版本;
例如,在include/linux/spinlock.h:……
*大多数 gcc 版本与空的 initializers 有一个不干净的臭虫。
*/ #if (__GNUC__> 2 ) typedef struct {} rwlock_t ;
#define RW_LOCK_UNLOCKED ( rwlock_t ){} #else typedef struct { int gcc_is_buggy ;
} rwlock_t ;
#define RW_LOCK_UNLOCKED ( rwlock_t ){ 0 } #endif 如果核心是用gcc 2.x 编译,但安装NVdriver时, gcc 3.x 被使用(或反过来也如此),
rwlock_t 的大小将变化,并且像 ioremap等将失败。
检查编译你的核用什么 gcc 的版本cat /proc/version 当前在你的 $PATH检验gcc用:gcc - v
Q : X因错误失败“没能分配 LUT 设备场景 DMA ”
A:这是由不同的 gcc 版本编 NVdriver 造成的(看上面)。
Q :为什么不可以从<insert your favorite distro here>的版本N得到的 NVIDIA_kernel RPMs .我试着用版本 N-1 安装 RPM ,但是没有用。
我应该怎么办?
A:像它说在( sec-01 )选择适合你系统的 NVIDIA ,如果“一特定的 NVIDIA_kernel rpm 不为你的发行版自带的,那么请使用 NVIDIA_kernel srpm 或 tar 文件”。
Q :当我安装 NVIDIA_GLX 包裹时,它说:
---
上面的文件可能属于一冲突MSESA rpm 。
---
他们被重命名了到 xxx <originalFile> .RPMSAVE
---为避免与这里的文件冲突
---请看见常见问题节
---更多的细节问题请看 /usr/share/doc/NVIDIA_GLX-1.0/README 。
到底是怎么了?
A:如消息所说,冲突文件一旁被移动了保证你的应用发现最新被安装了的 OpenGL 库。
警报没有必要,消息纯粹只供参考。
如果你卸掉 NVIDIA_GLX 包裹,原来的文件将自动地恢复。
Q : Nvidia 的发展政策是向系列 Linux 核心靠拢?
A: NVIDIA 不正式确定支持开发系列核心。
然而,所有的核心模块源代码有 Linux 核心的接口在包裹,并且 NVIDIA 鼓励 Linux 社区的成员开发补丁到 t 的 NVIDIA_kernel 是可得到的支持开发系列核的这些源文件。
搜索将很可能产出若干社区的一 google 支持了补丁。
Q :我最近在我的Linux系统上更新了各种各样的库文件,但是 NVIDIA 图形驱动程序不再工作。
哪里出问题了?
A:冲突库文件可能被你的发行版升级安装了;
请看见附录 C :安装部件的诊断细节。








-----------------------
英文原文:

__________________________________________________________________________

(sec-04) FREQUENTLY ASKED QUESTIONS
__________________________________________________________________________


Q: Where should I start when diagnosing display problems?

A: One of the most useful tools for diagnosing problems is the XFree86
   log file in /var/log (the file is named: "/var/log/XFree86.<#>.log",
   where "<#>" is the server number -- usually 0).  Lines that begin with
   "(II)" are information, "(WW)" are warnings, and "(EE)" are errors.
   You should make sure that the correct config file (ie the config file
   you are editing) is being used; look for the line that begins with:
   "(==) Using config file:".  Also check that the NVIDIA driver is being
   used, rather than the 'nv' or 'vesa' driver; you can look for: "(II)
   LoadModule: "nvidia"", and lines from the driver should begin with:
   "(II) NVIDIA(0)".


Q: How can I increase the amount of data printed in the XFree86 log file?

A: By default, the NVIDIA X driver prints relatively few messages to
   stderr and the XFree86 log file.  If you need to troubleshoot, then
   it may be helpful to enable more verbose output by using the XFree86
   command line options "-verbose" and "-logverbose" which can be used
   to set the verbosity level for the stderr and log file messages,
   respectively.  The NVIDIA X driver will output more messages when the
   verbosity level is at or above 5 (XFree86 defaults to verbosity level
   1 for stderr and level 3 for the log file).  So, to enable verbose
   messaging from the NVIDIA X driver to both the log file and stderr,
   you could start X by doing the following: 'startx -- -verbose 5
   -logverbose 5'.


Q: My X server fails to start, and my XFree86 log file contains the error:

   "(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!"

A: Nothing will work if the NVdriver kernel module doesn't function
   properly.  If you see anything in the X log file like "(EE) NVIDIA(0):
   Failed to initialize the NVdriver kernel module!" then there is
   most likely a problem with the NVdriver kernel module.  First, you
   should verify that if you installed from rpm that the rpm was built
   specifically for the kernel you are using.  You should also check
   that the module is loaded ('/sbin/lsmod'); if it is not loaded try
   loading it explicitly with 'insmod' or 'modprobe' (be sure to exit the
   X server before installing a new kernel module).  If you receive errors
   about unresolved symbols, then the kernel module has most likely been
   built using header files for a different kernel revision than what
   you are running.  You can explicitly control what kernel header files
   are used by building NVdriver from the NVIDIA_kernel tar file with:
   'make install SYSINCLUDE=/path/to/kernel/headers'.

   Please note that the convention for the location of kernel
   header files is in a state of transition, as is the location
   of kernel modules.  If the kernel module fails to load properly,
   modprobe/insmod may be trying to load an older kernel module (assuming
   you've upgraded).  cd'ing into the directory with the new kernel
   module and doing 'insmod ./NVdriver' may help.

   Finally, the NVdriver may print error messages indicating a problem --
   to view these messages please check /var/log/messages, or wherever
   syslog is directed to place kernel messages.


Q: X starts for me, but OpenGL applications terminate immediately.

A: If X starts, but OpenGL causes problems, you most likely have a
   problem with other libraries in the way, or there are stale symlinks.
   See Appendix C for details.  Sometimes, all it takes is to rerun
   'ldconfig'.

   You should also check that the correct extensions are present;
   'xdpyinfo' should show the "GLX", "NV-GLX" and "NVIDIA-GLX" extensions
   present.  If these three extensions are not present, then there is
   most likely a problem with the glx module getting loaded or it is
   unable to implicitly load GLcore.  Check your XF86Config file and make
   sure that you are loading glx (see "Editing Your XF86Config File"
   above). If your XF86Config file is correct, then check the XFree86
   log file for warnings/errors pertaining to GLX.  Also check that all
   of the necessary symlinks are in place (refer to Appendix C).


Q: When installing/upgrading by srpm, the command:
        `rpm --rebuild NVIDIA_kernel-1.0-2960.src.rpm`
   only prints out a list of rpm command line options.

A: You most likely don't have the rpm development packages installed.
   In most situations you can fix this problem by installing the rpm-devel
   package for your distribution.  Alternatively, you can install/upgrade
   by tar file as the tar files don't require rpm.


Q: When installing/upgrading by srpm, the command:
        `rpm --rebuild NVIDIA_kernel-1.0-2960.src.rpm`
   reports the error:
        NVIDIA_kernel-.src.rpm:no such file or directory

A: You need to install the rpm-build package for your distribution.
   Alternatively, you can install/upgrade by tar file as the tar files
   don't require rpm.


Q: Installing the NVIDIA_kernel module gives an error message like:
        #error Modules should never use kernel-headers system headers
        #error but headers from an appropriate kernel-source

A: You need to install the source for the Linux kernel.  In most
   situations you can fix this problem by installing the kernel-source
   package for your distribution


Q: OpenGL applications exit with the following error message:

        Error: Could not open /dev/nvidiactl because the permissions
        are too restrictive.  Please see the FREQUENTLY ASKED QUESTIONS
        section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
        to correct.

A: It is likely that a security module for the PAM system may be
   changing the permissions on the NVIDIA device files.  In most cases
   this security system works, but it can get confused.  To correct this
   problem it is recommended that you disable this security feature.
   Different Linux distributions have different files to control this;
   if your system has the file
        /etc/security/console.perms
   then you want to edit the file and remove the line that starts with
   "<dri>".  If instead your system has the file
        /etc/logindevperms
   then you want to edit the file and remove the line that lists
   /dev/nvidiactl.  The above steps will prevent the PAM security
   system from modifying the permissions on the NVIDIA device files.
   Next, you will need to reset the permissions on the device files
   back to their original permissions and owner.  You can do that with
   the following commands:
        chmod 0666 /dev/nvidia* chown root /dev/nvidia*


Q: OpenGL applications crash and print out the following warning:
   
        WARNING: Your system is running with a buggy dynamic loader.
        This may cause crashes in certain applications.  If you
        experience crashes you can try setting the environment
        variable __GL_SINGLE_THREADED.  For more information please
        consult the FREQUENTLY ASKED QUESTIONS section in the file
        /usr/share/doc/NVIDIA_GLX-1.0/README.

A: The dynamic loader on your system has a bug which will cause
   applications linked with pthreads, and that dlopen() libGL multiple
   times, to crash.  This bug is present in older versions of the dynamic
   loader.  Distributions that shipped with this loader include but
   are not limited to RedHat Linux 6.2 and Mandrake Linux 7.1.  Version
   2.2 and later of the dynamic loader are known to work properly.  If
   the crashing application is single threaded then setting the environment
   variable __GL_SINGLE_THREADED to any value will prevent the crash.
   In the bash shell you would enter
        export __GL_SINGLE_THREADED
   and in csh and derivatives use
        setenv __GL_SINGLE_THREADED
   Previous releases of the NVIDIA Accelerated Linux Driver Set attempted
   to work around this problem, however the workaround caused problems with
   other applications and was removed after version 1.0-1541.


Q: When I run Quake3, it crashes when changing video modes; what's wrong?

A: You are probably experiencing the problem described above.  Please
   check the text output for the "WARNING" message describe in the
   previous hint.  Setting __GL_SINGLE_THREADED as described above,
   before running Quake3  will fix the problem.


Q: When I start X it fails and my XFree86 log file contains:

        (II) LoadModule: "nvidia"
        (II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
        No symbols found in this module
        (EE) Failed to load /usr/X11R6/lib/modules/drivers/nvidia_drv.o
        (II) UnloadModule: "nvidia"
        (EE) Failed to load module "nvidia" (loader failed, 256)
        ...
        (EE) No drivers available.

A: The nvidia_drv.o X driver has been stripped of needed symbols;
   some versions of rpm (wrongly) strip object files while installing.
   You should probably upgrade your version of rpm.  Or, you can install
   the NVIDIA_GLX package from tar file.


Q: My system runs, but seems unstable.  What's wrong?

A: Your stability problems may be AGP-related.  See Appendix F for
   details.


Q: The kernel module doesn't get loaded dynamically when X starts;
   I always have to do 'modprobe NVdriver' first.  What's wrong?

A: Make sure the line "alias char-major-195 NVdriver" appears in
   your module configuration file, generally one of "/etc/conf.modules",
   "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation
   that came with your distribution for details.


Q: I can't build the NVdriver kernel module, or I can build the NVdriver
   kernel module, but modprobe/insmod fails to load the module into my
   kernel.  What's wrong?

A: These problems are generally caused by the build using the wrong kernel
   header files (ie header files for a different kernel version than the
   one you are running).  The convention used to be that kernel header files
   should be stored in "/usr/include/linux/", but that is being deprecated
   in favor of "/lib/modules/`uname -r`/build/include".  The NVIDIA_kernel
   Makefile should be able to determine the location on your system; however,
   if you encounter a problem you can force the build to use certain header
   files by doing: 'make SYSINCLUDE=/path/to/kernel/headers'.  Obviously,
   for any of this to work, you need the appropriate kernel header files
   installed on your system.  Consult the documentation that came with your
   distribution; some distributions don't install the kernel header files
   by default, or they install headers that don't coincide properly with
   the kernel you are running.


Q: Why do OpenGL applications run so slow?

A: The application is probably using a different library still on your
   system, rather than the NVIDIA supplied OpenGL library.  Please see
   APPENDIX C for details.


Q: There are problems running Quake2.

A: Quake2 requires some minor setup to get it going.  First, in the Quake2
   directory, the install creates a symlink called libGL.so that points
   at libMesaGL.so.  This symlink should be removed or renamed.  Then,
   to run Quake2 in OpenGL mode, you would type: 'quake2 +set vid_ref glx
   +set gl_driver libGL.so'.  Quake2 does not seem to support any kind of
   full-screen mode, but you can run your X server at whatever resolution
   Quake2 runs at to emulate full-screen mode.


Q: There are problems running Heretic II.

A: Heretic II also installs, by default, a symlink called libGL.so in
   the application directory.  You can remove or rename this symlink, since
   the system will then find the default libGL.so (which our
   drivers install in /usr/lib).  From within Heretic II you
   can then set your render mode to OpenGL in the video menu.
   There is also a patch available to Heretic II from lokigames at:
   http://www.lokigames.com/products/heretic2/updates.php3


Q: Where can I get gl.h or glx.h so I can compile OpenGL programs?

A: Most systems come with these headers preinstalled.  However, NVIDIA
   has provided our own gl.h and glx.h file in case your system did not
   come with them or in case you want to develop OpenGL apps that use
   the new NVIDIA OpenGL extensions.  These files have been installed in
   /usr/share/doc/NVIDIA_GLX-1.0/include/GL to avoid conflicting with
   the system installed versions.  To use these headers copy them
   into /usr/include/GL.


Q: Can I receive email notification of new NVIDIA Accelerated Linux
   Driver Set releases?

A: Yes.  Fill out the form at:
   http://www.nvidia.com/view.asp?FO=driver_update


Q: My system hangs when vt-switching if I have rivafb enabled.

A: Using both rivafb and the NVdriver kernel module at the same time is
   currently broken.  In general, using two independent software drivers
   to drive the same piece of hardware is a bad idea.


Q: Compiling the NVdriver kernel module gives this error:

        You appear to be compiling the NVdriver kernel module with
        a compiler different from the one that was used to compile
        the running kernel. This may be perfectly fine, but there
        are cases where this can lead to unexpected behaviour and
        system crashes.

        If you know what you are doing and want to override this
        check, you can do so by setting IGNORE_CC_MISMATCH.

        In any other case, set the CC environment variable to the
        name of the compiler that was used to compile the kernel.

A: You should compile the NVdriver kernel module with the same compiler
   version that was used to compile your kernel.  Some Linux kernel data
   structures are dependent on the version of gcc used to compile it;
   for example, in include/linux/spinlock.h:

        ...
        * Most gcc versions have a nasty bug with empty initializers.
        */
        #if (__GNUC__ > 2)
          typedef struct { } rwlock_t;
          #define RW_LOCK_UNLOCKED (rwlock_t) { }
        #else
          typedef struct { int gcc_is_buggy; } rwlock_t;
          #define RW_LOCK_UNLOCKED (rwlock_t) { 0 }
        #endif

   If the kernel is compiled with gcc 2.x, but gcc 3.x is used when the
   open files in NVdriver are built (or vice versa), the size of rwlock_t
   will vary, and things like ioremap will fail.

   To check what version of gcc was used to compile your kernel, you
   can examine the output of:

        cat /proc/version

   To check what version of gcc is currently in your $PATH, you can
   examine the output of:

        gcc -v


Q: X fails with error "Failed to allocate LUT context DMA"

A: This is one of the possible consequences of compiling NVdriver with
   a different gcc version than used to compile the Linux kernel
   (see above).


Q: There aren't NVIDIA_kernel RPMs available for release N from
   <insert your favorite distro here>.  I tried installing the RPM for
   version N-1, but that didn't work.  What should I do?

A: Like it says in (sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE
   FOR YOUR SYSTEM, if "a specific NVIDIA_kernel rpm is not available for
   your distribution, then use either the NVIDIA_kernel srpm or tar file."


Q: When I install the NVIDIA_GLX package it says:
     --- The above file(s) possibly belong to a conflicting MESA rpm.
     --- They have been renamed to xxx.<originalFile>.RPMSAVE to
     --- avoid conflicting with the files contained within this
     --- package.
     --- Please see the FREQUENTLY ASKED QUESTIONS section of
     --- /usr/share/doc/NVIDIA_GLX-1.0/README for more details.
   What's wrong?

A: Like the message says conflicting files have been moved aside to
   insure that your applications find the newly installed OpenGL
   libraries.  There is no need for alarm, the message is purely
   informational.  If you uninstall the NVIDIA_GLX package then the
   original files will be restored automatically.


Q: What is NVIDIA's policy towards development series Linux kernels?

A: NVIDIA does not officially support development series kernels.
   However, all the kernel module source code that interfaces with the
   Linux kernel is available in the NVIDIA_kernel package, and NVIDIA
   encourages members of the Linux community to develop patches to these
   source files to support development series kernels.  A google search
   will most likely yield several community supported patches.


Q: I recently updated various libraries on my system using my Linux
   distributor's update utility, and the NVIDIA graphics driver no
   longer works.  What's wrong?

A: Conflicting libraries may have been installed by your
   distribution's update utility; please see APPENDIX C: INSTALLED
   COMPONENTS for details on how to diagnose this.
 楼主| 发表于 2002-8-15 01:09:32 | 显示全部楼层
编号006
本文档已由Jeff兄弟领译,多谢Jeff兄弟。
弟兄们向您致意!
============================================



006

有一个NVIDIA linux驱动的网上论坛。你可以通过www.nvnews
.ne以及通过论坛和linux讨论区进入。这是极好的寻求帮助的工具:用户可以提问题,回答别的用户的问题,并且可以搜索前面发表的主题。

假如其余的都失败了,你可以联系NVIDIA寻求支持:linux-bugs@nvidia.com.但请你只在看完README的常见问题解答部分和
在nvnews.net在寻求过帮助后才向这个地址发E-mial寻求帮助。

(部分-06) 更多的资源

Linux OpenGL ABI
http://oss.sgi.com/projects/ogl-sample/ABI/

NVIDIA Linux HowTo
http://www.linuxdoc.org/HOWTO/mini/...tion/index.html

OpenGL
www.opengl.org

The XFree86 Project
www.xfree86.org

#nvidia (irc.openprojects.net)






-----------------------
英文原文:

__________________________________________________________________________

(sec-05) CONTACTING US
__________________________________________________________________________


There is an NVIDIA Linux Driver web forum.  You can access it by going
to www.nvnews.net and following the "Forum" and "Linux Discussion Area"
links.  This is the preferable tool for seeking help; users can post
questions, answer other users' questions, and search the archives of
previous postings.

If, all else fails, you can contact NVIDIA for support at:
linux-bugs@nvidia.com.  But please, only send email to this address
after you've followed the FREQUENTLY ASKED QUESTIONS section in this
README and asked for help on the nvnews.net web forum.


__________________________________________________________________________

(sec-06) FURTHER RESOURCES
__________________________________________________________________________

Linux OpenGL ABI
http://oss.sgi.com/projects/ogl-sample/ABI/

NVIDIA Linux HowTo
http://www.linuxdoc.org/HOWTO/mi ... guration/index.html

OpenGL
www.opengl.org

The XFree86 Project
www.xfree86.org

#nvidia (irc.openprojects.net)
 楼主| 发表于 2002-8-15 01:12:51 | 显示全部楼层
编号007
本文档已由evileye兄弟领译,多谢evileye兄弟。
弟兄们向您致意!
============================================



007
附录一:支持的 NVIDIA图形芯片
_____________________________________
NVIDIA芯片名 PCI设备ID

o RIVA TNT 0x0020
o RIVA TNT2 0x0028
o RIVA TNT2 Ultra 0x0029
o Vanta 0x002C
o RIVA TNT2 Model 64 0x002D
o Aladdin TNT2 0x00A0
o GeForce 256 0x0100
o GeForce DDR 0x0101
o Quadro 0x0103
o GeForce2 MX/MX 400 0x0110
o GeForce2 MX 100/200 0x0111
o GeForce2 Go 0x0112
o Quadro2 MXR/EX/Go 0x0113
o GeForce2 GTS 0x0150
o GeForce2 Ti 0x0151
o GeForce2 Ultra 0x0152
o Quadro2 Pro 0x0153
o GeForce4 MX 460 0x0170
o GeForce4 MX 440 0x0171
o GeForce4 MX 420 0x0172
o GeForce4 440 Go 0x0174
o GeForce4 420 Go 0x0175
o GeForce4 420 Go 32M 0x0176
o Quadro4 500 XGL 0x0178
o GeForce4 440 Go 64M 0x0179
o Quadro4 200/400 NVS 0x017A
o Quadro4 550 XGL 0x017B
o Quadro4 500 GoGL 0x017C
o GeForce2 Integrated GPU 0x01A0
o GeForce3 0x0200
o GeForce3 Ti 200 0x0201
o GeForce3 Ti 500 0x0202
o Quadro DCC 0x0203
o GeForce4 Ti 4600 0x0250
o GeForce4 Ti 4400 0x0251
o GeForce4 Ti 4200 0x0253
o Quadro4 900 XGL 0x0258
o Quadro4 750 XGL 0x0259
o Quadro4 700 XGL 0x025B

请注意 RIVA 128/128ZX 芯片支持开放源代码“ nv ”为
而不是 NVIDIA Accelerated Linux Driver S
如果你上面想要与桌子为比较检查你的设备 PCI IDs ,请用“cat
以后产品,请与供应商 确认设备ID"10de",例如:
02:00.0Class 0300:10de:0100 (加快 10 )





-----------------------
英文原文:

__________________________________________________________________________

(app-a) APPENDIX A: SUPPORTED NVIDIA GRAPHICS CHIPS
__________________________________________________________________________

  NVIDIA CHIP NAME               DEVICE PCI ID

  o RIVA TNT                     0x0020
  o RIVA TNT2                    0x0028
  o RIVA TNT2 Ultra              0x0029
  o Vanta                        0x002C
  o RIVA TNT2 Model 64           0x002D
  o Aladdin TNT2                 0x00A0
  o GeForce 256                  0x0100
  o GeForce DDR                  0x0101
  o Quadro                       0x0103
  o GeForce2 MX/MX 400           0x0110
  o GeForce2 MX 100/200          0x0111
  o GeForce2 Go                  0x0112
  o Quadro2 MXR/EX/Go            0x0113
  o GeForce2 GTS                 0x0150
  o GeForce2 Ti                  0x0151
  o GeForce2 Ultra               0x0152
  o Quadro2 Pro                  0x0153
  o GeForce4 MX 460              0x0170
  o GeForce4 MX 440              0x0171
  o GeForce4 MX 420              0x0172
  o GeForce4 440 Go              0x0174
  o GeForce4 420 Go              0x0175
  o GeForce4 420 Go 32M          0x0176
  o Quadro4 500 XGL              0x0178
  o GeForce4 440 Go 64M          0x0179
  o Quadro4 200/400 NVS          0x017A
  o Quadro4 550 XGL              0x017B
  o Quadro4 500 GoGL             0x017C
  o GeForce2 Integrated GPU      0x01A0
  o GeForce3                     0x0200
  o GeForce3 Ti 200              0x0201
  o GeForce3 Ti 500              0x0202
  o Quadro DCC                   0x0203
  o GeForce4 Ti 4600             0x0250
  o GeForce4 Ti 4400             0x0251
  o GeForce4 Ti 4200             0x0253
  o Quadro4 900 XGL              0x0258
  o Quadro4 750 XGL              0x0259
  o Quadro4 700 XGL              0x025B

Please note that the RIVA 128/128ZX chips are supported by the open
source 'nv' driver for XFree86, but not by the NVIDIA Accelerated Linux
Driver Set.

If you want to check your Device PCI IDs for comparison with the table
above, you can use either `cat /proc/pci` or `lspci -n`; in the later
case, look for the device with vendor id "10de", eg:

        02:00.0 Class 0300:10de:0100 (rev 10)
 楼主| 发表于 2002-8-15 01:14:59 | 显示全部楼层
编号008
本文档已由evileye兄弟领译,多谢evileye兄弟。
弟兄们向您致意!
============================================



008
附录 B
:最小软件要求
__________________________________________________________________________
o linux kernel 2.2.12 # cat /proc/version
o XFree86 4.0.1 # XFree86 -version
o Kernel modutils 2.1.121 # insmod -V

If you need to build the NVdriver kernel module:

o binutils 2.9.5 # size --version
o GNU make 3.77 # make --version
o gcc 2.91.66 # gcc --version

--如果你从源代码 rpms 安装:
o spec-helper rpm # rpm -qi spec-helper
(说明助理)
-支持从 2.2.12起所有的官方的稳定的内核
不支持测试版如 "2.4.3-pre2"
例如 2.3.x 或 2.5.x 的开发系列内核也一样不被支持。
linux 内核能从 www.kernel.org 或它的镜像站下载
只当你以srpm或tar文件安装NVIDIA_kernel包并且能在www.gnu.org或其镜像站被检索,才要求安装binutils 和 gcc
笔记: 二进制的RPM不要求安装binutils 和 gcc 。
如果你正在使用 XFree86 ,但是没有/var/log/XFree86.0.log文件 ,你可能在用XFree86的一个 3.x
版本并且必须升级。
如果你第一次安装 XFree86 4.x ,它经常首先安装对 XFree86 开放源代码的一个驱动程序(“ nv ”,“ vga
”或“vesa')。
一旦 XFree86 与开放源代码驱动程序一起正正常运行,换成 nvidia 驱动程序,是更容易的。
注意新版的 NVIDIA GPUs 可能不能被 XFree86 的“ nv ”的旧版本驱动。
例如,那 XFree86 4.0.1 没认出 GeForce2 family和 Quadro2 的“ nv ” MXR GPUs 。
然而,这在 XFree86 版本 4.0.2 被修正( XFree86 能从 www.xfree86.org 被检索)。
这些软件包可以也通过你的 linux 经销商得到。






-----------------------
英文原文:


__________________________________________________________________________

(app-b) APPENDIX B: MINIMUM SOFTWARE REQUIREMENTS
__________________________________________________________________________

  o linux kernel     2.2.12   # cat /proc/version
  o XFree86          4.0.1    # XFree86 -version
  o Kernel modutils  2.1.121  # insmod -V

    If you need to build the NVdriver kernel module:

  o binutils         2.9.5    # size --version
  o GNU make         3.77     # make --version
  o gcc              2.91.66  # gcc --version

    If you build from source rpms:

  o spec-helper rpm           # rpm -qi spec-helper

All official stable kernel releases from 2.2.12 and up are supported;
"prerelease" versions such as "2.4.3-pre2" are not supported, nor are
development series kernels such as 2.3.x or 2.5.x.  The linux kernel
can be gotten from www.kernel.org or one of its mirrors.

binutils and gcc are required only if you install the NVIDIA_kernel
package by srpm or tar file and can be retrieved from www.gnu.org or
one of its mirrors.  Note: binutils and gcc are not required by binary
RPM installations.

If you are using XFree86, but do not have a file /var/log/XFree86.0.log,
then you probably have a 3.x version of XFree86 and must upgrade.

If you are setting up XFree86 4.x for the first time, it is often easier
to begin with one of the open source drivers that ships with XFree86
(either 'nv', 'vga' or 'vesa').  Once XFree86 is operating properly with
the open source driver, then it is easier to switch to the nvidia driver.

Note that newer NVIDIA GPUs may not work with older versions of the "nv"
driver shipped with XFree86.  For example, the "nv" driver that shipped
with XFree86 version 4.0.1 did not recognize the GeForce2 family and
the Quadro2 MXR GPUs.  However, this was fixed in XFree86 version 4.0.2
(XFree86 can be retrieved from www.xfree86.org).

These software packages may also be available through your linux
distributor.
 楼主| 发表于 2002-8-15 01:15:20 | 显示全部楼层
编号009
本文档已由evileye兄弟领译,多谢evileye兄弟。
弟兄们向您致意!
============================================


009
附录 C :安装组件
__________________________________________________________________________
NVIDIA Accelerated Linux Driver Set由下列部件组成( 在括号的文件是在安装以后的部件的全名;
“ x.y.z ”表示当前的版本--在这些情况中适当的symlinks在安装期间被建立):
o 一个 XFree86 驱动( /usr/X11R6/lib/modules/drivers/nvidia_drv.o );XFree86
需要这个驱动你的 NVIDIA 硬件。
nvidia_drv.o 驱动程序是与 XFree86 4.0.1 兼容并且更大的二进制代码。
o 一个 XFree86 的 GLX 扩展模块( /usr/X11R6/lib/modules/extensions/libglx.so.x.y.z
);这个模块为 XFree86 提供服务器方面的 glx 支持。
o 一个 OpenGL库 ( /usr/lib/libGL.so.x.y.z );这个库为所有的 OpenGL 和功能叫的 GLX 提供 API
入口点。
它被 OpenGL 应用程序连接到在运行时刻。
o 一个 OpenGL 核心库( /usr/lib/libGLcore.so.x.y.z );这个库文件被 libGL和libglx 使用。
它包含加速的核心 3D 功能。你应该在你的 XF86Config 文件装载它--它被 libglx 照应。
o 一个核心模块( /lib/modules/'uname - r'/video/NVdriver 或 /lib/modules/'uname -
r'/kernel/drivers/video/NVdriver ).这个核心模块为上述所有部件提供 NVIDIA 硬件的低级存取。
X 服务者什么时候被开始,通常被装载进核心,并且被 XFree86 驱动和 OpenGL 使用。
NVdriver 由 2 张组成:仅二进制组成的核心,和为你的核心版本编译的一个核心接口。
注意 linux 核没象 XFree86 一样有一个一致的二进制的接口,因此这个核心接口必须要与你正在使用的核心版本被匹配。
当然你也可以自己编译,或使用linux发行版中预编译的二进制代码。
o OpenGL 和 GLX header文件( /usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h ,
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h ).在大多数情形系统在 /usr/include/GL
为 OpenGL 开发提供了足够的header文件。但 NVIDIA提供 Nvidia 的 OpenGL 扩展的最最新的版本。
如果你希望使用这些header文件,建议你到/usr/include/GL/去复制它们.
NVIDIA_GLX包包括4个在上面列出组件( XFree86 驱动,GLX 模块,
libGL ,和 libGLcore )。
NVdriver 核模块在 NVIDIA_kernel也在其中。
文档和 OpenGL 和 GLX header文件也是 NVIDIA_GLX
的一部分包装并且安装在/usr/share/doc/NVIDIA_GLX-1.0.
如果应用程序应用了错误版本的库文件就会出错.
如果有旧的 libGL库文件或陈旧 symlinks 不在原处了也会出问题。
如果你的安装出了问题,请在下列文件在地方的检查(这些都是 NVIDIA Accelerated Linux Driver Set的文件,和他们的 symlinks ):

/usr/X11R6/lib/modules/drivers/nvidia_drv.o

/usr/X11R6/lib/modules/extensions/libglx.so.x.y.z
/usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.x.y.z

/usr/lib/libGL.so.x.y.z
/usr/lib/libGL.so.x -> libGL.so.x.y.z
/usr/lib/libGL.so -> libGL.so.x

/usr/lib/libGLcore.so.x.y.z
/usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z

/lib/modules/`uname -r`/video/NVdriver, or
/lib/modules/`uname -r`/kernel/drivers/video/NVdriver

安装程序将也建立 /dev 文件:
crw-rw-rw- 1 root root 195, 0 Feb 15 17:21 nvidia0
crw-rw-rw- 1 root root 195, 1 Feb 15 17:21 nvidia1
crw-rw-rw- 1 root root 195, 2 Feb 15 17:21 nvidia2
crw-rw-rw- 1 root root 195, 3 Feb 15 17:21 nvidia3
crw-rw-rw- 1 root root 195, 255 Feb 15 17:21 nvidiactl
如果有另外的库文件的“
soname ” 与NVIDIA 库文件有冲突, ldconfig 会建立错误的 symlinks 。
推荐你手工地移动或重命名冲突库文件,(确定重命名 clashing到 ldconfig 不会发生冲突--我们发现把“ XXX ”附在
library 名字通常有问题),重起“ ldconfig ”,并且检查正确的 symlinks。
经常出现冲突的一些库文件是“ /usr/X11R6/lib/libGL.so *”和“ /usr/X11R6/lib/libGLcore.so
*”.如果检查,那么证实应用程序正在使用正确的库文件。
例如,要检查 /usr/X11R6/bin/gears 正在使用 NVIDIA 库文件:
$ ldd /usr/X11R6/bin/gears libglut.so.3 => /usr/lib/libglut.so.3 ( 0x40014000
) libGLU.so.1 => /usr/lib/libGLU.so.1 ( 0x40046000 ) libGL.so.1 =>
/usr/lib/libGL.so.1 ( 0x40062000 ) libc.so.6 => /lib/libc.so 。 .6 ( 0x4009f000 )
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 ( 0x4018d000 ) libICE.so.6 =>
/usr/X11R6/lib/libICE.so.6 ( 0x40196000 ) libXmu.so.6 =>
/usr/X11R6/lib/libXmu.so.6 ( 0x401ac000 ) libXext.so.6 =>/usr/
X11R6/lib/libXext.so.6 ( 0x401c0000 ) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (
0x401cd000 ) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 ( 0x401d6000 )
libGLcore.so.1 => /usr/lib/libGLcore.so.1 ( 0x402ab000 ) l ibm.so.6 =>
/lib/libm.so.6 ( 0x4048d000 ) libdl.so.2 => /lib/libdl.so.2 ( 0x404a9000 )
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 ( 0x40000000 ) libXt.so.6 =>
/usr/X11R6/lib/libXt.so.6 ( 0x404ac000 )
注意libGL 和 libGLcore使用的文件,
--如果他们是除 NVIDIA 库文件以外的一些东西,移开正在妨碍的库文件然后放上你将需要到任何一个,或调整你的ld搜索路径。
如果这些东西你不太懂,你可以看“ ldconfig ”和“ ldd ”帮助文档。







-----------------------
英文原文:

__________________________________________________________________________

(app-c) APPENDIX C: INSTALLED COMPONENTS
__________________________________________________________________________

The NVIDIA Accelerated Linux Driver Set consists of the following
components (the file in parenthesis is the full name of the component
after installation; "x.y.z" denotes the current version -- in these
cases appropriate symlinks are created during installation):

  o An XFree86 driver (/usr/X11R6/lib/modules/drivers/nvidia_drv.o);
    this driver is needed by XFree86 to use your NVIDIA hardware.
    The nvidia_drv.o driver is binary compatible with XFree86 4.0.1
    and greater.

  o A GLX extension module for XFree86
    (/usr/X11R6/lib/modules/extensions/libglx.so.x.y.z); this module is
    used by XFree86 to provide server-side glx support.

  o An OpenGL library (/usr/lib/libGL.so.x.y.z); this library
    provides the API entry points for all OpenGL and GLX function calls.
    It is linked to at run-time by OpenGL applications.

  o An OpenGL core library (/usr/lib/libGLcore.so.x.y.z); this
    library is implicitly used by libGL and by libglx.  It contains the
    core accelerated 3D functionality.  You should not explicitly load
    it in your XF86Config file -- that is taken care of by libglx.

  o A kernel module (/lib/modules/`uname -r`/video/NVdriver
    or /lib/modules/`uname -r`/kernel/drivers/video/NVdriver).  This
    kernel module provides low-level access to your NVIDIA hardware
    for all of the above components.  It is generally loaded into the
    kernel when the X server is started, and is used by the XFree86
    driver and OpenGL.  NVdriver consists of two pieces: the binary-only
    core, and a kernel interface that must be compiled specifically
    for your kernel version.  Note that the linux kernel does not have
    a consistent binary interface like XFree86, so it is important that
    this kernel interface be matched with the version of the kernel that
    you are using.  This can either be accomplished by compiling yourself,
    or using precompiled binaries provided for the kernels shipped with
    some of the more common linux distributions.

  o OpenGL and GLX header files
    (/usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h,
    /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h).  In most
    circumstances the system provided headers in /usr/include/GL should
    suffice for OpenGL development.  But NVIDIA has provided these
    headers as they contain the most up to date versions of NVIDIA's
    OpenGL extensions.  If you wish to make use of these headers it is
    recommended that you copy them to /usr/include/GL/.

The first four components listed above (XFree86 driver, GLX module, libGL,
and libGLcore) are included in the NVIDIA_GLX package.  The NVdriver
kernel module is included in the NVIDIA_kernel package.

Documentation and the OpenGL and GLX header files are also part of the
NVIDIA_GLX package and get installed in /usr/share/doc/NVIDIA_GLX-1.0.

Problems will arise if applications use the wrong version of a library.
This can be the case if there are either old libGL libraries or stale
symlinks left lying around.  If you think there may be something awry
in your installation, check that the following files are in place
(these are all the files of the NVIDIA Accelerated Linux Driver Set,
plus their symlinks):

        /usr/X11R6/lib/modules/drivers/nvidia_drv.o

        /usr/X11R6/lib/modules/extensions/libglx.so.x.y.z
        /usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.x.y.z

        /usr/lib/libGL.so.x.y.z
        /usr/lib/libGL.so.x -> libGL.so.x.y.z
        /usr/lib/libGL.so -> libGL.so.x

        /usr/lib/libGLcore.so.x.y.z
        /usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z

        /lib/modules/`uname -r`/video/NVdriver, or
        /lib/modules/`uname -r`/kernel/drivers/video/NVdriver

Installation of the NVIDIA_kernel package will also create the /dev files:

        crw-rw-rw-    1 root     root     195,   0 Feb 15 17:21 nvidia0
        crw-rw-rw-    1 root     root     195,   1 Feb 15 17:21 nvidia1
        crw-rw-rw-    1 root     root     195,   2 Feb 15 17:21 nvidia2
        crw-rw-rw-    1 root     root     195,   3 Feb 15 17:21 nvidia3
        crw-rw-rw-    1 root     root     195, 255 Feb 15 17:21 nvidiactl

If there are other libraries whose "soname" conflicts with that of
the NVIDIA libraries, ldconfig may create the wrong symlinks.  It is
recommended that you manually remove or rename conflicting libraries (be
sure to rename clashing libraries to something that ldconfig won't look at
-- we've found that prepending "XXX" to a library name generally does the
trick), rerun 'ldconfig', and check that the correct symlinks were made.
Some libraries that often create conflicts are "/usr/X11R6/lib/libGL.so*"
and "/usr/X11R6/lib/libGLcore.so*".

If the libraries checks out, then verify that the application is using
the correct libraries.  For example, to check that the application
/usr/X11R6/bin/gears is using the NVIDIA libraries, you would do:

$ ldd /usr/X11R6/bin/gears
        libglut.so.3 => /usr/lib/libglut.so.3 (0x40014000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40046000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40062000)
        libc.so.6 => /lib/libc.so.6 (0x4009f000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4018d000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40196000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401ac000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401c0000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x401cd000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d6000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402ab000)
        libm.so.6 => /lib/libm.so.6 (0x4048d000)
        libdl.so.2 => /lib/libdl.so.2 (0x404a9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x404ac000)

Note the files being used for libGL and libGLcore -- if they are something
other than the NVIDIA libraries, then you will need to either remove the
libraries that are getting in the way, or adjust your ld search path.
If any of this seems foreign to you, then you may want to read the man
pages for "ldconfig" and "ldd" for pointers.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表