LinuxSir.cn,穿越时空的Linuxsir!

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

安装nVIDIA官方驱动,每次都重启都要重新编译驱动

[复制链接]
发表于 2006-1-19 21:02:34 | 显示全部楼层 |阅读模式
我升级内核到2.6.12,
        安装nVIDIA官方驱动,每次都重启都要重新编译驱动,才能进入Xwindow,不然一直黑屏。
死机状态。请问该如何解决?
发表于 2006-1-19 22:22:26 | 显示全部楼层
这不正常,有没有[color="Blue"]按指示修改你的/etc/X11/XF86Config-4或/etc/X11/xorg.conf?
回复 支持 反对

使用道具 举报

发表于 2006-1-19 22:30:52 | 显示全部楼层
是因为驱动模块没有加载,你让它开机时自动加载就没事了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-19 22:44:02 | 显示全部楼层
我是运行那个 nVIDIA-***.run那个程序,xorg.conf是自动生成的。
请问该怎样让那个模块自动加载?
回复 支持 反对

使用道具 举报

发表于 2006-1-19 22:51:08 | 显示全部楼层
modconf
选择nvidia
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-19 22:57:36 | 显示全部楼层
lsmod模块应该加载了吧

  1. etch:/etc/X11# lsmod
  2. Module                  Size  Used by
  3. vfat                   14208  0
  4. fat                    53660  1 vfat
  5. nvidia               4089328  12
  6. ipv6                  260992  10
  7. thermal                13320  0
复制代码


运行modconf提示没这个命令,我用的是etch。
回复 支持 反对

使用道具 举报

发表于 2006-1-19 23:03:32 | 显示全部楼层
请把xorg.conf 贴出来看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-20 00:33:39 | 显示全部楼层

  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Dec 14 16:39:22 PST 2005


  3. Section "ServerLayout"
  4.     Identifier     "Layout0"
  5.     Screen      0  "Screen0" 0 0
  6.     InputDevice    "Keyboard0" "CoreKeyboard"
  7.     InputDevice    "Mouse0" "CorePointer"
  8. EndSection

  9. Section "Files"
  10.     RgbPath         "/usr/X11R6/lib/X11/rgb"
  11.     FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
  12.     FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
  13. EndSection

  14. Section "Module"
  15.     Load           "dbe"
  16.     Load           "extmod"
  17.     Load           "type1"
  18.     Load           "freetype"
  19.     Load           "glx"
  20. EndSection

  21. Section "InputDevice"

  22.     # generated from default
  23.     Identifier     "Mouse0"
  24.     Driver         "mouse"
  25.     Option         "Protocol" "auto"
  26.     Option         "Device" "/dev/psaux"
  27.     Option         "Emulate3Buttons" "no"
  28.     Option         "ZAxisMapping" "4 5"
  29. EndSection

  30. Section "InputDevice"

  31.     # generated from default
  32.     Identifier     "Keyboard0"
  33.     Driver         "kbd"
  34. EndSection

  35. Section "Monitor"
  36.     Identifier     "Monitor0"
  37.     VendorName     "Unknown"
  38.     ModelName      "Unknown"
  39.     HorizSync       30.0 - 110.0
  40.     VertRefresh     50.0 - 150.0
  41.     Option         "DPMS"
  42. EndSection

  43. Section "Device"
  44.     Identifier     "Device0"
  45.     Driver         "nvidia"
  46.     VendorName     "NVIDIA Corporation"
  47. EndSection

  48. Section "Screen"
  49.     Identifier     "Screen0"
  50.     Device         "Device0"
  51.     Monitor        "Monitor0"
  52.     DefaultDepth    24
  53.     SubSection     "Display"

  54. #        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
  55.         Depth       24
  56.         Modes      "1152x864" "1024x768" "800x600" "640x480"
  57.     EndSubSection
  58. EndSection

复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-20 02:09:52 | 显示全部楼层
没办法,只能注释掉nvidia-glx了,反正都不会在linux下玩游戏的啦~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-20 03:16:25 | 显示全部楼层
在source.lst里面加上 unstable的源
重新安装nvidia-glx就行了

不然的话重新安装也不行,会出现版本错误。
回复 支持 反对

使用道具 举报

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

本版积分规则

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