LinuxSir.cn,穿越时空的Linuxsir!

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

请教nvidia显卡无法被启用的问题(已真正解决)

[复制链接]
发表于 2006-10-2 14:33:02 | 显示全部楼层 |阅读模式
kernel 2.4.33.3
slackware current
geforce 6200显卡
驱动是NVIDIA-Linux-x86-1.0-8774-pkg1.run
sh 之后,正常安装,结束。
startx出错。

Xorg.0.log的错误部分:

  1. _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
  2. _XSERVTransOpen: transport open failed for inet6/ws:0
  3. _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
  4. ......
  5. ......
  6. ......
  7. NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
  8. (EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
  9. (EE) NVIDIA(0):     interrupts generated by the NVIDIA graphics device.
  10. (EE) NVIDIA(0):     Please see the FREQUENTLY ASKED QUESTIONS section in the
  11. (EE) NVIDIA(0):     README for additional information.
  12. (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
  13. (EE) NVIDIA(0):  *** Aborting ***
  14. (II) UnloadModule: "nvidia"
  15. (II) UnloadModule: "ramdac"
  16. (II) UnloadModule: "fb"
  17. (EE) Screen(s) found, but none have a usable configuration.

  18. Fatal server error:
  19. no screens found
复制代码


dmesg的错误记录:

  1. NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-8774  Tue Aug  1 20:54:08 PDT 2006
  2. NVRM: RmInitAdapter failed! (0x12:0x2b:1577)
  3. NVRM: rm_init_adapter(0) failed
复制代码


找了不少资料,官方的readme也看了,找不到方法解决。
是不是要安装nvidia的内核模块?好像新版本的驱动都没这个包。旧版本的不知道这块卡。
请指教,谢谢。
 楼主| 发表于 2006-10-2 14:36:54 | 显示全部楼层
忘了贴xorg.conf了:

  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. EndSection

  7. Section "Files"
  8.         RgbPath      "/usr/X11R6/lib/X11/rgb"
  9.         ModulePath   "/usr/X11R6/lib/modules"
  10.         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
  11.         FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
  12.         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
  13.         FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
  14.         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
  15.         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
  16. EndSection

  17. Section "Module"
  18.         Load  "glx"
  19.         Load  "extmod"
  20.         Load  "xtrap"
  21.         Load  "record"
  22.         Load  "dbe"
  23.         Load  "dri"
  24.         Load  "freetype"
  25.         Load  "type1"
  26. EndSection

  27. Section "InputDevice"
  28.         Identifier  "Keyboard0"
  29.         Driver      "kbd"
  30. EndSection

  31. Section "InputDevice"
  32.         Identifier  "Mouse0"
  33.         Driver      "mouse"
  34.         Option      "Protocol" "auto"
  35.         Option      "Device" "/dev/mouse"
  36.         Option      "ZAxisMapping" "4 5 6 7"
  37. EndSection

  38. Section "Monitor"
  39.         Identifier   "Monitor0"
  40.         VendorName   "Monitor Vendor"
  41.         ModelName    "Monitor Model"
  42. EndSection

  43. Section "Device"
  44.         Identifier  "Card0"
  45.         Driver      "nvidia"
  46.         VendorName  "nVidia Corporation"
  47.         BoardName   "GeForce 6200 TurboCache(TM)"
  48.         BusID       "PCI:3:0:0"
  49. EndSection

  50. Section "Screen"
  51.         Identifier "Screen0"
  52.         Device     "Card0"
  53.         Monitor    "Monitor0"
  54.         SubSection "Display"
  55.                 Viewport   0 0
  56.                 Depth     1
  57.         EndSubSection
  58.         SubSection "Display"
  59.                 Viewport   0 0
  60.                 Depth     4
  61.         EndSubSection
  62.         SubSection "Display"
  63.                 Viewport   0 0
  64.                 Depth     8
  65.         EndSubSection
  66.         SubSection "Display"
  67.                 Viewport   0 0
  68.                 Depth     15
  69.         EndSubSection
  70.         SubSection "Display"
  71.                 Viewport   0 0
  72.                 Depth     16
  73.         EndSubSection
  74.         SubSection "Display"
  75.                 Viewport   0 0
  76.                 Depth     24
  77.         EndSubSection
  78. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-10-2 15:59:13 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-2 17:10:10 | 显示全部楼层
Thanx @ dogking!
但是仍然是以前的错误。
我也看了不少相关的资料,还没找到问题所在,郁闷
回复 支持 反对

使用道具 举报

发表于 2006-10-2 17:19:31 | 显示全部楼层
你是不是升级过内核?把NVIDIA的驱动再装一次。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-2 18:25:04 | 显示全部楼层
Post by dogking
你是不是升级过内核?把NVIDIA的驱动再装一次。

这个不是问题。

我弄不明白报的那些错是怎么引起的。
回复 支持 反对

使用道具 举报

发表于 2006-10-2 20:52:14 | 显示全部楼层
应该是升级了新内核原来的NVIDIA模块无法加载的问题,重装一下NVIDIA驱动。再照上面帖子说得修改xorg配置,就会解决驱动问题和屏幕偏移,还有刷新率问题了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-2 22:09:05 | 显示全部楼层
之前一直没用x,不过用默认的驱动可以进x,nvidia是新安装的驱动,然后修改了xorg.conf,就报错。
我看上面报的错不是因为驱动或者刷新率的问题吧
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
应该是系统里面的问题,不过我找不到在哪修复
回复 支持 反对

使用道具 举报

发表于 2006-10-2 22:51:10 | 显示全部楼层
Post by Cherife
之前一直没用x,不过用默认的驱动可以进x,nvidia是新安装的驱动,然后修改了xorg.conf,就报错。
我看上面报的错不是因为驱动或者刷新率的问题吧
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
应该是系统里面的问题,不过我找不到在哪修复


你重装nvidia驱动了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-3 12:26:13 | 显示全部楼层
我试了三个版本的驱动
NVIDIA-Linux-x86-1.0-7184-pkg1.run
NVIDIA-Linux-x86-1.0-8774-pkg1.run
NVIDIA-Linux-x86-1.0-9625-pkg1.run
都是一样的错误结果。
回复 支持 反对

使用道具 举报

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

本版积分规则

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