红联Linux门户
Linux帮助

linux下的双屏显示(crt+tv)

发布时间:2007-11-19 01:34:12来源:红联作者:Debnmxwi
我用的是cent OS的linux ,主板上的显示芯片是intel的852GM,我在xp下设置双显没有问题,可是在linux下修改完/etc/X11/xorg.conf的内容后tv上没有信号输出,crt可以正常显示。

经过本人研究终于解决了问题,现在供大家参考

在图形界面下以root身份登陆,修改/etc/X11/xorg.conf文件,下面是修改后的内容。[code] Section "ServerLayout"

Identifier "Multihead layout"

Screen 0 "Screen0" LeftOf "Screen1"

Screen 1 "Screen1" 0 0

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

Option "Xinerama" "on"

Option "MonitorLayout" "anystr"

Option "Clone" "off"

EndSection




Section "Files"



RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "unix/:7100"

EndSection





Section "Module"

Load "dbe"

Load "extmod"

Load "fbdevhw"

Load "glx"

Load "record"

Load "freetype"

Load "type1"

Load "dri"

EndSection





Section "InputDevice"

Identifier "Keyboard0"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

EndSection





Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "IMPS/2"

Option "Device" "/dev/input/mice"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "yes"

EndSection





Section "Monitor"

Identifier "Monitor0"

VendorName "Monitor Vendor"

ModelName "SyncMaster"

DisplaySize 320 240

HorizSync 30.0 - 71.0

VertRefresh 50.0 - 160.0

Option "dpms"

Option "MonitorLayout" "CRT,TV"

EndSection




Section "Monitor"

Identifier "Monitor1"

VendorName "Monitor Vendor"

ModelName "LCD Panel 800x600"

HorizSync 31.5 - 37.9

VertRefresh 40.0 - 70.0

Option "MetaModes" "800x600"

Option "TVOutFormat" "COMPOSITE"

OPtion "TVStandard" "NTSC-M"

Option "ConnectedMonitor" "TV"

Option "dpms"

Option "MonitorLayout" "CRT,TV"

EndSection





Section "Device"

Identifier "Videocard0"

Driver "i810"

VendorName "Videocard vendor"

BoardName "Intel 852"

EndSection





Section "Device"

Identifier "Videocard1"

Driver "i810"

VendorName "Videocard Vendor"

BoardName "Intel 852"

BusID "PCI:0:2:0"

Screen 1

EndSection





Section "Screen"

Identifier "Screen0"

Device "Videocard0"

Monitor "Monitor0"

DefaultDepth 24


SubSection "Display"

Viewport 0 0

Depth 16

Modes "800x600" "640x480"

EndSubSection


SubSection "Display"

Viewport 0 0

Depth 24

Modes "800x600" "640x480"

EndSubSection

EndSection




Section "Screen"

Identifier "Screen1"

Device "Videocard1"

Monitor "Monitor1"

DefaultDepth 24


SubSection "Display"

Viewport 0 0

Depth 24

Modes "800x600"

EndSubSection

EndSection





Section "DRI"

Group 0

Mode 0666

EndSection[/code]
文章评论

共有 0 条评论