Chinaunix首页 | 论坛 | 博客
  • 博客访问: 101902082
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-04-21 08:08:00

作者: sixth 出处:赛迪网  
 
阅读提示:文章介绍看看在Linux里如何实现NVIDIA显卡的双屏显示的问题...
 
硬件平台:

主板: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

阅读(367) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~