FedoraCore3上使用nvidia显卡

一. 安装
首先到 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

 
  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值