LinuxSir.cn,穿越时空的Linuxsir!

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

请问如何安装nvidia显卡驱动?

[复制链接]
发表于 2004-5-10 23:16:44 | 显示全部楼层 |阅读模式
我的内核是development-sources.请问如何安装nvidia显卡驱动?
编译内核的时候应该如何选择?是不是不用选择nvidia的驱动还是应该 把驱动选择为模块?
发表于 2004-5-10 23:54:46 | 显示全部楼层
There's no nvidia driver in the kernel, so don't bother with that, instead you need to:
# emerge nvidia-kernel
# emerge nvidia-glx
# nano -w /etc/X11/XF86Config
  1. (Enabling GLX in /etc/X11/XF86Config)

  2. Section "Module"

  3. # This loads the GLX module
  4. #    Load       "glx" (Uncomment this line)

  5. (Tell X to use the NVIDIA driver in /etc/X11/XF86Config)

  6. Section "Device"
  7. Identifier  "NVIDIA GeForce"
  8. #Driver      "nv"
  9. Driver      "nvidia"
  10. #VideoRam    32768
  11. # Insert Clocks lines here if appropriate
  12. EndSection
复制代码


# modprobe nvidia
# nano -w /etc/modules.autoload.d/kernel-2.4(or kernel-2.6)
(Add the following line to the file.)
nvidia

# opengl-update nvidia

Run startx one more time to make sure that X still comes up (this time with the NVIDIA splash screen, if you have installed the nvidia drivers).
 楼主| 发表于 2004-5-11 12:50:16 | 显示全部楼层
# modprobe nvidia这一步出错。
发表于 2004-5-11 17:56:05 | 显示全部楼层
换个kernel试试吧,我这儿2.6.5用得很好。
如果一定要用2.6.6看看此贴:
http://forums.gentoo.org/viewtop ... amp;highlight=2+6+6
发表于 2004-5-11 18:18:02 | 显示全部楼层
在我的2.4.20的kernel上,
我后面的三步都 没有做,好像也没有什么问题,我是按着一个
贴安装的,后面的" opengl-update nvidia"一定要吗?
###
# modprobe nvidia
# nano -w /etc/modules.autoload.d/kernel-2.4(or kernel-2.6)
(Add the following line to the file.)
nvidia

# opengl-update nvidia
发表于 2004-5-11 18:26:11 | 显示全部楼层
最初由 kayue 发表
在我的2.4.20的kernel上,
我后面的三步都 没有做,好像也没有什么问题,我是按着一个
贴安装的,后面的" opengl-update nvidia"一定要吗?
###
# modprobe nvidia
# nano -w /etc/modules.autoload.d/kernel-2.4(or kernel-2.6)
(Add the following line to the file.)
nvidia

# opengl-update nvidia

如果你用了hotplug,这些步骤就不需要了。至于opengl-update nvidia,emerge nvidia-glx的时候一般会自动运行,handbook写了这一步可能是想以防万一吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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