红联Linux门户
Linux帮助

显卡驱动的问题,严重求救!~~~..急急急~~~

发布时间:2008-07-09 12:25:48来源:红联作者:wyw472231
求fedora下geforce fx 5200 最新驱动~!还有安装方法!救命!~~
小弟刚开始学linux前几天把磁盘格了装了一个fedora 9感觉界面不错,怎么用起来这么难呢,我想玩点3d桌面效果怎么也找不到驱动,并且也不会装,肯请吧里面的高手给我一个解答,

我的系统是fedora 9
内核是:2.6.25-14.fc9.i686
显卡是:nvidia geforce fx 5200,
cpu是:AMD sempro 2500+
memory:2G
也不知道我这样的硬件能不能玩3d桌面,如果能玩,还请高手给我一个驱动下载的地址和具体的安装方法!@~
----------------------------后续-----------------------------------------------------------
在网上找了一些方法也去colorful咨询过之后用如下方法安装还是不行:
edora使用的是linux的内核,直接使用linux的驱动即可。


方法可以参考这里


准备工作:

*检查内核版本
uname -r
-2.6.25.6-55.fc9.i686

*安装中需要编译,安装 kernel-devel软件包 yum install kernel-devel

提示:Fedora 9 不包含老版本提供的kernel-source 软件包,因为要编译外部模块,只需要 kernel-devel软件包。

*下载
NVIDIA-Linux-x86-173.14.09-pkg1.run
url:http://us.download.nvidia.com/XF ... -173.14.09-pkg1.run
在这个页面可以选择驱动 http://www.nvidia.com/Download/Find.aspx?lang=en-us
2008.06.16 发布,-WHQL Certified -NVIDIA Recommended

nvidia-xconfig 工具 帮助设置 xorg.conf 文件。
nvidia-xconfig-1.0.tar.gz

*提示:安装驱动,需要关闭 Xserver 即退出图形模式,进入文本模式。
vi /etc/inittab
ini:3:initdefault:

*reboot

*安装 nvidia-xconfig 设置工具,在安装过程中需要用到。
tar nvidia-xconfig-1.0.tar.gz
cd nvidia-xconfig-1.0
make
make install

*安装驱动 sh NVIDIA-Linux-x86-173.14.09-pkg1.run
出现找不到--kernel-source-path
用sh NVIDIA-Linux-x86-173.14.09-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.25.9-76.fc9.i686命令安装出现了
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).


Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Bridge firewalling registered
pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
virbr0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
virbr0: starting userspace STP failed, starting kernel STP
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
eth0: no IPv6 routers present
virbr0: no IPv6 routers present
warning: process `nvidia-installe' used the deprecated sysctl system call
with 1.23.
warning: process `nvidia-installe' used the deprecated sysctl system call
with 1.23.
nvidia: version magic '2.6.25.9-76.fc9.i686 SMP mod_unload 686 4KSTACKS '
should be '2.6.25-14.fc9.i686 SMP mod_unload 686 4KSTACKS '
warning: process `nvidia-installe' used the deprecated sysctl system call
with 1.23.
warning: process `nvidia-installe' used the deprecated sysctl system call
with 1.23.
warning: process `nvidia-installe' used the deprecated sysctl system call
with 1.23.
nvidia: version magic '2.6.25.9-76.fc9.i686 SMP mod_unload 686 4KSTACKS '
should be '2.6.25-14.fc9.i686 SMP mod_unload 686 4KSTACKS '
nvidia: version magic '2.6.25.9-76.fc9.i686 SMP mod_unload 686 4KSTACKS '
should be '2.6.25-14.fc9.i686 SMP mod_unload 686 4KSTACKS '
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
出现了上述的错误@!~~现在小弟是束手无策了还请高手帮忙!~~在这里非常感谢!~~
文章评论

共有 19 条评论

  1. deepwhite 于 2008-07-10 14:32:00发表:

    3d的设置去搜索一下吧,我只装过几天,就弄掉一直没用。

  2. wyw472231 于 2008-07-10 12:55:20发表:

    非常感谢 深蓝色,憨豆先生,smqt ,我昨天重装了一 次 fedora9 把该yum的都yum 完了,驱动终于installed
    thanks very much everybody!
    我还想请教怎么我开启了3d桌面,桌面上的图标,没有倒影呢,应该怎么设置中呢?

  3. yourfriend 于 2008-07-09 20:03:53发表:

    楼主加油!

    [ 本帖最后由 yourfriend 于 2008-7-9 20:10 编辑 ]

  4. deepwhite 于 2008-07-09 19:40:20发表:

    引用:
    原帖由 wyw472231 于 2008-7-9 15:17 发表
    如果不指--kernel-source-path它会提示找不到--kernel-source-path的错误提示!~


    那就将其指向现在正在使用的那个版本的Kernel-source,或者如果你实在没有弄出源码包的话就重启机器,重启的时候选择2.6.25.9,然后按照你以前的方法重新弄。这样的话以后启动的时候进入这个内核就可以了

    不是GCC引起的,如果LZ前面给出的错误信息无误的话问题就出在内核源码版本上了。

    另外,Linux安装显卡驱动没有必要重新启动这个整个系统,安装完驱动,配置好xorg.conf以后按下Ctr+Alt+Backspace来重启X-windows就可以了。

    再另外,关于更新的问题,不知道你是哪个网络的用户,非教育网的用户看看cn99的源,教育网的可以看看上海交大和清华大学的源,速度都很快的,怎么会几K?

  5. yourfriend 于 2008-07-09 18:31:40发表:

    问题可能是你没有update,内核与kernel-devel或kernel-header不符。
    楼主是电信的话,今晚深夜2点update一下。

    http://www.mjmwired.net/resources/mjm-fedora-f9.html
    这文章不知道楼主看了没有[code]rpm -ivh http://rpm.livna.org/livna-release-9.rpm
    rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
    yum install kmod-nvidia[/code]

  6. wyw472231 于 2008-07-09 16:27:00发表:

    yum update800多M啊,有没有快一点的方法呢?照这样几K的下载下去要到什么时候呢?

  7. wyw472231 于 2008-07-09 16:23:10发表:

    按照smqt说的方法:我又试了一次,它这次出现了这样的问题
    第一句:
    No matching precompiled kernel interface vas found on the Nvidia ftp sit; this means that the installer will need to compile a kernel insterface for you kernel
    第二句:
    Unable to find the kernel source tree for the currently running
    kernel. Please make sure you have installed the kernel source files
    for your kernel; on Red Hat Linux systems, for example, be sure you
    have the 'kernel-source' rpm installed. If you know the correct
    kernel source files are installed, you may specify the kernel source
    path with the '--kernel-source-path' commandline option.
    之后就退出了.
    是什么原因呢?

  8. smqt 于 2008-07-09 16:19:58发表:

    我安装驱动时没这问题呀...yum会自动解决一切依赖问题的
    这样吧,你先yum update试试

  9. wyw472231 于 2008-07-09 16:08:29发表:

    刚才说的方法3已经装了,如果不输入--kernel-source-path它就会提示找不到--kernel-source-path路径,如果输入了路径又出现Unable to build the NVIDIA kernel module到底这个--kernel-source-path该怎么填写呢?!~~~

  10. smqt 于 2008-07-09 16:00:05发表:

    如果你急着装就先用livna的驱动吧,方法我3l已经说了...
    由于不知道你究竟那些包没安装,教你编译也不太容易...

  11. wyw472231 于 2008-07-09 15:48:11发表:

    Nothing to do 现在不知道是什么问题了他提示说Unable to build the NVIDIA kernel module
    这个是怎么回事~~

  12. smqt 于 2008-07-09 15:41:05发表:

    yum -y install kernel-devel rpm-build gcc

  13. wyw472231 于 2008-07-09 15:31:56发表:

    那现在具体怎么解决呢,从哪样能判断我的内核没有装完全,现在我都弄不懂了,为什么装一个驱动会那么复杂呢,电脑都重启了几十次了,受不 了了!~~

  14. wyw472231 于 2008-07-09 15:17:29发表:

    如果不指--kernel-source-path它会提示找不到--kernel-source-path的错误提示!~

  15. smqt 于 2008-07-09 15:13:02发表:

    只要你安装了系统gcc就不可能没安装...
    这个....可能是内核没装全吧...

  16. wyw472231 于 2008-07-09 14:49:39发表:

    刚才出现这样的问题 :ERROR:Unable to build the NVIDIA Kernel module
    也不知道是哪里出问题了,查了一下是不是跟GCC有关啊?

  17. deepwhite 于 2008-07-09 14:24:22发表:

    如果想简单一些,可以象三楼说的那样,配置好Livna的源后直接yum -y install kmod-nvidia glx-utils,这个是最简单的方法。关于Livna源的设置本版的精华里面有涉及到,你可以参考一下。这个方法最简单有效,推荐使用。

    如果因为某种原因不使用yum而自己编译的话,问题出在了你的内核版本上。

    引用:

    我的系统是fedora 9
    内核是:2.6.25-14.fc9.i686
    显卡是:nvidia geforce fx 5200

    而后面你在安装驱动编译模块的时候使用的却不是这个内核:
    引用:

    sh NVIDIA-Linux-x86-173.14.09-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.25.9-76.fc9.i68

    所以在错误提示里面告诉你“这个模块可能是由其他版本的内核编译而来”。
    解决方法是安装现在这个版本内核的devel(yum -y install  kernel-devel),然后重新运行NVIDIA-Linux-x86-173.14.09-pkg1.run,后面不要加参数,或者将参数设置成为刚刚安装的内核版本。查看/usr/src/kernel里面是不是有了你现在使用的这个版本内核的源码包,如果没有的话去下一个回来。这样就应该可以了。

    我用的是A卡,上面这些只是我按照经验得出的结论,你要自己试试才行。

    [ 本帖最后由 deepwhite 于 2008-7-9 19:18 编辑 ]

  18. smqt 于 2008-07-09 14:05:40发表:

    怎么都不愿意用搜索:yum -y install kmod-nvidia glx-utils

  19. 奶茶dsk 于 2008-07-09 13:21:42发表:

    n卡的朋友关注下拉..我的是a卡..