FedoraCore3上使用nvidia显卡

王朝other·作者佚名  2006-01-22
窄屏简体版  字體: |||超大  

一. 安装

首先到 http://www.nvidia.com 网站下载最新的 Linux Driver

http://download.nvidia.com/XFree86/Linux-x86/1.0-6629/NVIDIA-Linux-x86-1.0-6629-pkg1.run

执行 sh NVIDIA-Linux-x86-1.0-6629-pkg1.run 把它装进去

然后修改 /etc/X11/xorg.conf 中的 nv 换成 nvidia

接著修改 /etc/grub/grub.conf

要先将 kernel 启动的 append 中的 rhgb 去掉

并且将 modprobe nvidia 加到 /etc/rc.local 最后一行

重新启动 FC3 然后

cp -a /dev/nvidia* /etc/udev/devices

chown root.root /etc/udev/devices/nvidia*

接下来把 rhgb 的 append 加回去

去掉 /etc/rc.local 中的 modprobe nvidia

再重新启动 FC3 就可以了... Enjoy it!

几点说明:

1.修改/etc/inittab,把

id:5:initdefault:改为

id:3:initdefault: 这样就能直接进入console模式了;

2.修改Xorg.conf,我只说我自己多改的地方

大家可以看到有很多section,像Monitor,Device中的VerdorName,BoardName都是可以自己改的,如果你看到好端端的Geforce 6600被认成genenic card什么的,就可以自己改过来了:)

添加的Option都可以在nVidia的readme.txt中找到,以下是我的配置文件的一段:

Section "Monitor"

Identifier "Monitor0"

VendorName "SVA China"(这是自己改的)

ModelName "SVA 532A"

DisplaySize 300 230

HorizSync 30.0 - 60.0

VertRefresh 55.0 - 75.0

Option "dpms"

EndSection

Section "Device"

Identifier "Videocard0"

Driver "nvidia"(这是自己改的)

VendorName "nVIDIA Inc"(这是自己改的)

BoardName "nvidia driver (nVIDIA Geforce 6600)"(这是自己改的)

Option "NoLogo" "1"(这是自己加的)

Option "CursorShadow" "1"(这是自己加的)

EndSection

3.grub.conf的连接在/etc下,没有/etc/grub,反正我用的是FC3,确实没有

4.所谓"要先将 kernel 启动的 append 中的 rhgb 去掉 ",其实就是把rhgb这个参数先去掉,

原来的配置文件是:

kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=Linux rhgb quiet

去掉后就是

kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=Linux quiet

大家不要想多了,其实了解RedHat Graphical Boot的原理就容易理解了

5.拷贝/dev/nvidia*的时候大家不要忘了那个*号,其实要拷贝好几个文件的

二. 卸载

修改 /etc/X11/xorg.conf 中的 nv 换成 nvidia

三. 部分显卡测试工具

1. glxinfo -- display info about a GLX extension and OpenGL renderer

glxinfo lists information about the GLX extension, OpenGL capable visuals, and the OpenGL renderer on an X server. The GLX and renderer info includes the version and extension attributes. The visual info lists the GLX visual attributes available for each OpenGL capable visual (e.g. whether the visual is double buffered, the component sizes, Z-buffering depth, etc).

2. glxgears -- 查看速度如何

参考:

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=96028&postdays=0&postorder=asc&start=0

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航