分类: LINUX
2008-04-21 08:08:00
主板:intel d975xbx
CPU:intel PEE 840
内存:samsung 512M/ddr2 ecc
显卡: elsa 7600gs
硬盘:st 80G sata
电源:dps-400W
操作系统:redhat AS3_u6
下载nvidia linux驱动,文件名为:NVIDIA-Linux-x86-1.0-7167-pkg1.run
安装驱动前,打开/etc/inittab这个文件,找到“id:5:initdefault:”,将其中的5(就是两个冒号中间的那个)改为3(将3改回5即可默认从图形界面登陆),保存,重新启动计算机,在进入登陆界面就是字符终端了。
装驱动: sh ./NVIDIA-Linux-x86-1.0-7167-pkg1.run,之后是一个绿色为主的界面,询问是否接受协议,是否访问ftp服务器查看最新的版本,之后开始安装(这段时间较长),安装完毕自动退出到字符终端。
此时可以双屏显示一样的内容了,不过xwindow下,不能同时显示,需要改/etc/X11/XF86config文件,然后就可以双屏之间托动窗口了。
第一处:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection
第二处:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
screen 0
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
screen 1
BusID "PCI:1:0:0"
EndSection
第三处:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "BackingStore" "Yes"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "BackingStore" "Yes"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection