LinuxSir.cn,穿越时空的Linuxsir!

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

ubuntu 7.04,nvidia go 7200安装驱动怪现象

[复制链接]
发表于 2007-5-19 09:58:14 | 显示全部楼层 |阅读模式
前后在nvidia网站上下了以下版本:
NVIDIA-Linux-x86-1.0-7184-pkg1
NVIDIA-Linux-x86-1.0-7185-pkg1
NVIDIA-Linux-x86-1.0-9755-pkg1

7184安装的时候build失败.
后面两个都能装上.安装好后可以配置为nvidia驱动进去,但是重新启动之后启动不了,有日志:
  1. xauth:  creating new authority file /root/.serverauth.5605

  2. X: warning; process set to priority -1 instead of requested priority 0

  3. X Window System Version 7.2.0
  4. Release Date: 22 January 2007
  5. X Protocol Version 11, Revision 0, Release 7.2
  6. Build Operating System: Linux Ubuntu
  7. Current Operating System: Linux ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
  8. Build Date: 04 April 2007
  9.         Before reporting problems, check http://wiki.x.org
  10.         to make sure that you have the latest version.
  11. Module Loader present
  12. Markers: (--) probed, (**) from config file, (==) default setting,
  13.         (++) from command line, (!!) notice, (II) informational,
  14.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  15. (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 19 09:51:16 2007
  16. (==) Using config file: "/etc/X11/xorg.conf"
  17. Error: API mismatch: the NVIDIA kernel module has the version 1.0-7184, but
  18. this X module has the version 1.0-9755.  Please make sure that the kernel
  19. module and all NVIDIA driver components have the same version.
  20. (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
  21. (EE) NVIDIA(0):     that there is a supported NVIDIA GPU in this system, and
  22. (EE) NVIDIA(0):     that the NVIDIA device files have been created properly.
  23. (EE) NVIDIA(0):     Please consult the NVIDIA README for details.
  24. (EE) NVIDIA(0):  *** Aborting ***
  25. (EE) Screen(s) found, but none have a usable configuration.

  26. Fatal server error:
  27. no screens found
  28. XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"

  29.       after 0 requests (0 known processed) with 0 events remaining.

复制代码


貌似nvidia版本和kernel版本不一致...,但是7184安装不上.
请大侠支招
 楼主| 发表于 2007-5-19 10:18:10 | 显示全部楼层
晕,在网上搜到解决办法了:
看到很多朋友在装nvidia驱动时碰到很多问题,我也碰到过。后来看到一个方法很好,朋友们可以试用一下
(1)到nvidia网站上下载nvidia的驱动 ,并安装一些开发包:linux-headers-$(uname -r),libc6-dev,pkg-config,build-essential,xserver-xorg-dev
(2)进入控制台下(同时按下Ctrl, Alt, F1),在终端输入sudo /etc/init.d/gdm stop
(3)安装驱动sudo sh ./<nvidia_installation_pkg_filename>
(4)sudo nvidia-xconfig --add-argb-glx-visuals(到时就可以用beryl了)
(5)sudo /etc/init.d/gdm start

这时驱动就正常工作了,但会有一个问题,就是重新启动不能进入X,这是因为系统会调用内核中默认的nv驱动,所以需要禁掉。
(6)sudo rmmod nvidia && sudo modprobe nvidia
(7)sudo cp /etc/default/linux-restricted-modules-common /etc/default/_linux-restricted-modules-common.backup,并修改此文件,在这句中加入 DISABLED_MODULES="nv"
按照这样安装之后,我的系统就可以正常工作了
回复 支持 反对

使用道具 举报

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

本版积分规则

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