QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2648|回复: 8

有兄弟知道Nvidia的驱动安装了哪些文件么?

[复制链接]
发表于 2005-12-10 16:18:46 | 显示全部楼层 |阅读模式
有兄弟知道Nvidia的驱动安装了哪些文件,并且这些文件安装到了哪里?

因为总是搞不明白为什么只要重新编译内核就要重新安装Nvidia驱动。
 楼主| 发表于 2005-12-30 15:17:32 | 显示全部楼层
没兄弟知道么?
唉呀,痛苦,一个问题十几个月都找不到答案,     
回复

使用道具 举报

发表于 2006-1-12 13:34:02 | 显示全部楼层
nvidia 驱动所装的文件都带有它的版本号,用这个版本号来搜索/usr 就可以了。
回复

使用道具 举报

 楼主| 发表于 2006-1-13 13:56:15 | 显示全部楼层
很多就没有版本号啊,至少那个nvidia.ko就没有.
其它有好几个文件也没有,而且都分散放到一些不知所谓的文件夹下面,

linux的文件夹太混乱了, 重复性高,又不集中, 有时会发现一个程序的所有文件分散到十多个地方,   晕死....................
而且这些地方又不好找, 因为其它程序的文件又不是类似的放法,..
这点最要命,
另一点就是速度的问题,...............
还有一点就是多种linux版本不统一,结构目录不太一样,连一些程序名都改了,特别是配置的程序,前面不是加什么redhat就是redflag之类的商标....不懂.........
回复

使用道具 举报

发表于 2006-1-24 00:18:33 | 显示全部楼层
media-video/nvidia-kernel-1.0.8178
* Contents of media-video/nvidia-kernel-1.0.8178:
/etc
/etc/modules.d
/etc/modules.d/nvidia
/lib
/lib/modules
/lib/modules/2.6.14-nitro2
/lib/modules/2.6.14-nitro2/video
/lib/modules/2.6.14-nitro2/video/nvidia.ko
/usr
/usr/share
/usr/share/doc
/usr/share/doc/nvidia-kernel-1.0.8178
/usr/share/doc/nvidia-kernel-1.0.8178/Copyrights.gz
/usr/share/doc/nvidia-kernel-1.0.8178/NVIDIA_Changelog.gz
/usr/share/doc/nvidia-kernel-1.0.8178/README.gz
* Contents of media-video/nvidia-glx-1.0.8178:
/usr
/usr/bin
/usr/bin/nvidia-bug-report.sh
/usr/lib
/usr/lib/libXvMCNVIDIA.a
/usr/lib/libXvMCNVIDIA.so.1.0.8178
/usr/lib/modules
/usr/lib/modules/drivers
/usr/lib/modules/drivers/nvidia_drv.o
/usr/lib/opengl
/usr/lib/opengl/nvidia
/usr/lib/opengl/nvidia/extensions
/usr/lib/opengl/nvidia/extensions/libglx.so
/usr/lib/opengl/nvidia/include
/usr/lib/opengl/nvidia/include/gl.h
/usr/lib/opengl/nvidia/include/glext.h
/usr/lib/opengl/nvidia/include/glx.h
/usr/lib/opengl/nvidia/include/glxext.h
/usr/lib/opengl/nvidia/lib
/usr/lib/opengl/nvidia/lib/libGL.la
/usr/lib/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libGL.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.8178
/usr/lib/opengl/nvidia/lib/libnvidia-tls.so -> ../tls/libnvidia-tls.so
/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1.0.8178 -> ../tls/libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/no-tls
/usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/tls
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.8178
/usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.8178
/usr/share
/usr/share/doc
/usr/share/doc/nvidia-glx-1.0.8178
/usr/share/doc/nvidia-glx-1.0.8178/Copyrights.gz
/usr/share/doc/nvidia-glx-1.0.8178/NVIDIA_Changelog.gz
/usr/share/doc/nvidia-glx-1.0.8178/README.gz
/usr/share/doc/nvidia-glx-1.0.8178/XF86Config.sample.gz
/usr/share/doc/nvidia-glx-1.0.8178/html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-a.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-b.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-c.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-d.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-e.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-f.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-g.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-h.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-i.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-j.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-k.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-l.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-m.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-n.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-o.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-p.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-q.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-r.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-s.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-t.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-u.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-v.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-w.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-x.html
/usr/share/doc/nvidia-glx-1.0.8178/html/appendix-y.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-01.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-02-section-02.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-02-section-03.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-02-section-04.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-02.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-03-section-02.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-03.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-04.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-05.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-06.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-07.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-08.html
/usr/share/doc/nvidia-glx-1.0.8178/html/chapter-09.html
/usr/share/doc/nvidia-glx-1.0.8178/html/index.html
/usr/share/doc/nvidia-glx-1.0.8178/html/part-01.html
/usr/share/doc/nvidia-glx-1.0.8178/html/part-02.html
/usr/share/doc/nvidia-glx-1.0.8178/html/part-03.html
/usr/share/doc/nvidia-glx-1.0.8178/html/preface-01.html
/usr/share/doc/nvidia-glx-1.0.8178/html/preface-02.html
回复

使用道具 举报

 楼主| 发表于 2006-3-2 18:45:17 | 显示全部楼层
兄弟怎么找的啊
回复

使用道具 举报

发表于 2006-3-19 21:43:16 | 显示全部楼层
gentoo的emerge的包管理功能
回复

使用道具 举报

发表于 2006-4-5 20:52:43 | 显示全部楼层
http://download.nvidia.com/XFree86/Linux-x86/1.0-8178/README/appendix-c.html
Appendix C. Installed Components
Prev  Part III. Appendices  Next

--------------------------------------------------------------------------------

Appendix C. Installed Components
The NVIDIA Accelerated Linux Driver Set consists of the following components (filenames in parenthesis are the full names of the components after installation; "x.y.z" denotes the current version. In these cases appropriate symlinks are created during installation):

Two X drivers (/usr/X11R6/lib/modules/drivers/nvidia_drv.o and /usr/X11R6/lib/modules/drivers/nvidia_drv.so); one of these drivers is needed by the X server to use your NVIDIA hardware. The nvidia_drv.o driver is binary compatible with XFree86 4.0.1 and greater, as well as the Xorg X server. The nvidia_drv.so driver is compatible with Xorg 6.8 and greater with "dlloader" support.

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

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.

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 X config file -- that is taken care of by libglx.

Two XvMC (X-Video Motion Compensation) libraries: a static library and a shared library (/usr/X11R6/lib/libXvMCNVIDIA.a, /usr/X11R6/lib/libXvMCNVIDIA.so.x.y.z); please see Appendix N, XvMC Support for details.

A kernel module (/lib/modules/`uname -r`/video/nvidia.o or /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o); 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 X driver and OpenGL. nvidia.o 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 the X server, 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.

OpenGL and GLX header files (/usr/include/GL/gl.h, /usr/include/GL/glext.h, /usr/include/GL/glx.h, and /usr/include/GL/glext.h); these are also installed in /usr/share/doc/NVIDIA_GLX-1.0/include/GL/. You can request that these files not be included in /usr/include/GL/ by passing the "--no-opengl-headers" option to the .run file during installation.

The nvidia-tls libraries (/usr/lib/libnvidia-tls.so.x.y.z and /usr/lib/tls/libnvidia-tls.so.x.y.z); these files provide thread local storage support for the NVIDIA OpenGL libraries (libGL, libGLcore, and libglx). Each nvidia-tls library provides support for a particular thread local storage model (such as ELF TLS), and the one appropriate for your system will be loaded at run time.

The application nvidia-installer (/usr/bin/nvidia-installer) is NVIDIA's tool for installing and updating NVIDIA drivers. Please see Chapter 2, Installing the NVIDIA Driver for a more thorough description.


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, as well as 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/nvidia.o, or
    /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o

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 will not look at -- we have 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 appear to be correct, then verify that the application is using the correct libraries. For example, to check that the application /usr/X11R6/bin/glxgears is using the NVIDIA libraries, run:

    % ldd /usr/X11R6/bin/glxgears
        linux-gate.so.1 =>  (0xffffe000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ed3000)
        libXp.so.6 => /usr/lib/libXp.so.6 (0xb7eca000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7eb9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7dd4000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d82000)
        libm.so.6 => /lib/libm.so.6 (0xb7d5f000)
        libc.so.6 => /lib/libc.so.6 (0xb7c47000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6c2f000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6c2d000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6c29000)
        /lib/ld-linux.so.2 (0xb7fb2000)

Check 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 using the LD_LIBRARY_PATH environment variable. You may wish to consult the man pages for ldconfig and ldd.


--------------------------------------------------------------------------------
Prev  Up  Next
Appendix B. Minimum Software Requirements  Home  Appendix D. X Config Options
回复

使用道具 举报

 楼主| 发表于 2006-4-17 23:23:04 | 显示全部楼层
good!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-3 04:06 , Processed in 0.053033 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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