LinuxSir.cn,穿越时空的Linuxsir!

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

X找不到nvidia模块

[复制链接]
发表于 2006-8-1 10:39:30 | 显示全部楼层 |阅读模式
我用NVIDIA-Linux-x86-1.0-8762-pkg1.run安装了nvidia的驱动,一切正常,但是启动X的时候
出现错误:
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.

还有warning:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(WW) Warning, couldn't open module GLcore
(II) UnloadModule: "GLcore"
(II) UnloadModule: "glx"
(II) Unloading /usr/lib/xorg/modules/extensions/libglx.so

但是我的确安装了nvidia的模块

mvision:/windows/d# lsmod |grep nv
nvidia               4550996  0
i2c_core               22160  1 nvidia
agpgart                35016  2 nvidia,intel_agp

驱动文件在:
marvel@mvision:/usr/X11R6/lib/modules/drivers$ ls
nvidia_drv.o  nvidia_drv.so

但是/usr/lib/xorg/modules中没有上面的文件,只有mga_drv.so  nv_drv.so  riva128.so,不知道是不是这个原因。



此外,dmesg中的信息:
...
nvidia: module license 'NVIDIA' taints kernel.
...
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-8762  Mon May 15 13:06:38 PDT 2006
发表于 2006-8-1 12:38:54 | 显示全部楼层
xorg7.0是在/usr/lib/xorg/modules找驱动的
所以你要把nvidia_drv.o nvidia_drv.so复制过去或重新安装一下,加上下面的参数:
--x-module-path=/usr/lib/xorg/modules
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-1 18:40:02 | 显示全部楼层
我按照楼上的兄弟重新装了一编,出了新的问题,启动到时候没有出现nvidia那个logo,而是白色的花屏,是分辨率的问题吗?不解


错误信息是:

/var/log/Xorg.0.log:
........
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is (II) NVIDIA(0):     enabled.
(EE) NVIDIA(0): Failure reading maximum pixel clock value for display device
(EE) NVIDIA(0):     TV-0.
(II) NVIDIA(0): NVIDIA GPU GeForce4 420 Go at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 32768 kBytes
(--) NVIDIA(0): VideoBIOS: 04.17.00.41.c7
..........................
Fatal server error:
AddScreen/ScreenInit failed for driver 0

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x89) [0x80b6849]
1: [0xffffe420]
2: /usr/X11R6/bin/X(AbortServer+0x23) [0x81a5603]
3: /usr/X11R6/bin/X(FatalError+0x67) [0x81a5b17]
4: /usr/X11R6/bin/X(InitOutput+0x840) [0x80a0250]
5: /usr/X11R6/bin/X(main+0x276) [0x806e3c6]
6: /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7d9eeb0]
7: /usr/X11R6/bin/X(FontFileCompleteXLFD+0xad) [0x806d911]
FatalError re-entered, aborting
Caught signal 11.  Server aborting

我的 /etc/X11/xorg.conf为:
  1. Section "ServerLayout"
  2.     Identifier     "Default Layout"
  3. #    Screen         "Default Screen" 0 0
  4.     Screen         "Default Screen"
  5.     InputDevice    "Generic Keyboard"
  6.     InputDevice    "Configured Mouse"
  7.     InputDevice    "Synaptics Touchpad"
  8. EndSection
  9. Section "Files"
  10.                         # local font server
  11.         # if the local font server has problems, we can fall back on these
  12.     FontPath        "unix/:7100"
  13.     FontPath        "/usr/share/fonts/X11/misc"
  14.     FontPath        "/usr/lib/X11/fonts/misc"
  15.     FontPath        "/usr/share/fonts/X11/cyrillic"
  16.     FontPath        "/usr/lib/X11/fonts/cyrillic"
  17.     FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
  18.     FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
  19.     FontPath        "/usr/share/fonts/X11/Type1"
  20.     FontPath        "/usr/lib/X11/fonts/Type1"
  21.     FontPath        "/usr/share/fonts/X11/CID"
  22.     FontPath        "/usr/lib/X11/fonts/CID"
  23.     FontPath        "/usr/share/fonts/X11/100dpi"
  24.     FontPath        "/usr/lib/X11/fonts/100dpi"
  25.     FontPath        "/usr/share/fonts/X11/75dpi"
  26.     FontPath        "/usr/lib/X11/fonts/75dpi"
  27. EndSection
  28. Section "Module"
  29.     Load           "bitmap"
  30.     Load           "dbe"
  31.     Load           "ddc"
  32. #       Load    "dri"
  33.     Load           "extmod"
  34.     Load           "freetype"
  35.     Load           "glx"
  36.     Load           "int10"
  37.     Load           "record"
  38.     Load           "type1"
  39.     Load           "vbe"
  40. EndSection
  41. Section "InputDevice"
  42.     Identifier     "Generic Keyboard"
  43.     Driver         "keyboard"
  44.     Option         "CoreKeyboard"
  45.     Option         "XkbRules" "xorg"
  46.     Option         "XkbModel" "pc104"
  47.     Option         "XkbLayout" "us"
  48. EndSection
  49. Section "InputDevice"
  50.     Identifier     "Configured Mouse"
  51.     Driver         "mouse"
  52.     Option         "CorePointer"
  53.     Option         "Device" "/dev/input/mice"
  54.     Option         "Protocol" "ImPS/2"
  55.     Option         "Emulate3Buttons" "true"
  56.     Option         "ZAxisMapping" "4 5 6 7"
  57. EndSection
  58. Section "InputDevice"
  59.     Identifier     "Synaptics Touchpad"
  60.     Driver         "synaptics"
  61.     Option         "SendCoreEvents" "true"
  62.     Option         "Device" "/dev/psaux"
  63.     Option         "Protocol" "auto-dev"
  64.     Option         "HorizScrollDelta" "0"
  65. EndSection
  66. Section "Monitor"
  67.     Identifier     "Generic Monitor"
  68.     HorizSync       28.0 - 50.0
  69.     VertRefresh     43.0 - 75.0
  70.     Option         "DPMS"
  71. EndSection
  72. Section "Device"
  73.     Identifier     "Generic Video Card"
  74.     Driver         "nvidia"
  75.     #Driver         "nv"
  76. EndSection
  77. Section "Screen"
  78.     Identifier     "Default Screen"
  79.     Device         "Generic Video Card"
  80.     Monitor        "Generic Monitor"
  81.     DefaultDepth    24
  82.     SubSection     "Display"
  83.         Depth       1
  84.         Modes      "1024x768" "800x600"
  85.     EndSubSection
  86.     SubSection     "Display"
  87.         Depth       4
  88.         Modes      "1024x768" "800x600"
  89.     EndSubSection
  90.     SubSection     "Display"
  91.         Depth       8
  92.         Modes      "1024x768" "800x600"
  93.     EndSubSection
  94.     SubSection     "Display"
  95.         Depth       15
  96.         Modes      "1024x768" "800x600"
  97.     EndSubSection
  98.     SubSection     "Display"
  99.         Depth       16
  100.         Modes      "1024x768" "800x600"
  101.     EndSubSection
  102.     SubSection     "Display"
  103.         Depth       24
  104.         Modes      "1024x768" "800x600"
  105.     EndSubSection
  106. EndSection
  107. Section "Extensions"
  108.     Option         "Composite" "true"
  109. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-1 18:52:30 | 显示全部楼层
顺便说一句,我发现testing中没有nvidia-kernel-source,而stable中有,难道testing中的nvidia驱动不稳定?
我用的是nv官方网站上的NVIDIA-Linux-x86-1.0-8762-pkg1.run文件
回复 支持 反对

使用道具 举报

发表于 2006-8-1 19:06:38 | 显示全部楼层
Section "Device"
    Identifier     "Generic Video Card"
    #Driver         "nvidia"
    Driver         "nv"
EndSection

??怎么把“nvidia”的模块给注销了


Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 50.0
    VertRefresh     43.0 - 75.0
    Option         "DPMS"
EndSection

其中    HorizSync  VertRefresh可以适当提高一些,根据说明书
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-1 19:30:39 | 显示全部楼层
ft,错了错了,不是这个
应该是nvidia,刚才改为nv进X发这个帖子的 :-)

我不知道我的HorizSync VertRefresh是多少
那两个值是在nv驱动下可以工作的,不知道为什么nvidia下就出问题了
我的显卡是Gforce 4 Go的,32M
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-2 15:12:00 | 显示全部楼层
疯掉了,每次进去都是白屏,看不清.
以前用的nvidia驱动没有问题,不知道是不是xorg的问题
回复 支持 反对

使用道具 举报

发表于 2006-8-2 21:15:07 | 显示全部楼层
Post by marvel
疯掉了,每次进去都是白屏,看不清.
以前用的nvidia驱动没有问题,不知道是不是xorg的问题

你的分辨率调对了吗?
那个是和你的显示器有关的,和显卡无关
上网查查你的显示器的型号吧,good luck!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-2 22:25:49 | 显示全部楼层
Post by bbmd
你的分辨率调对了吗?
那个是和你的显示器有关的,和显卡无关
上网查查你的显示器的型号吧,good luck!


我的是笔记本的液晶屏,以前一直用Generic Monitor的
这个应该可以吧?
回复 支持 反对

使用道具 举报

发表于 2006-8-2 23:59:57 | 显示全部楼层
Post by marvel
我的是笔记本的液晶屏,以前一直用Generic Monitor的
这个应该可以吧?

没装过笔记本.....
要是刚装系统没什么东西的话干脆重装一次得了:)
回复 支持 反对

使用道具 举报

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

本版积分规则

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