DualHead ubuntu下实现I810显卡的笔记本双显

Posted by JayXie

忍不住想双显,数次的失败之后终于搞定了

xorg.conf里面这样写

先是Device

Section "Device"
Identifier	"Device"
Driver		"i810"
BusID		"PCI:0:2:0"
Screen		0
Option          "MonitorLayout" "CRT,LFP"
EndSection

Section "Device"
Identifier	"Device Ext"
Driver		"i810"
BusID		"PCI:0:2:0"
Screen		1
EndSection

然后是Monitor

Section "Monitor"
Identifier      "Monitor"
Option          "DPMS"
EndSection

Section "Monitor"
Identifier	"Monitor Ext"
Option		"DPMS"
HorizSync 	30-53
VertRefresh 	55-75
EndSection

然后是Screen

Section "Screen"
Identifier	"Screen"
Device		"Device"
Monitor		"Monitor"
DefaultDepth	24
SubSection "Display"
Depth	16
Modes   “1024x768"
EndSubSection
SubSection "Display"
Depth	24
Modes	"1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier	"Screen Ext"
Device		"Device Ext"
Monitor		"Monitor Ext"
DefaultDepth	24
SubSection "Display"
Depth	16
Modes	"1024x768"
EndSubSection
SubSection "Display"
Depth	24
Modes	"1024x768"
EndSubSection
EndSection

然后是ServerLayout

Section "ServerLayout"
Identifier	"Default Layout"
Screen		0 "Screen" 0 0
Screen		1 "Screen Ext" RightOf "Screen"
...
Option		"Xinerama" "On"
EndSection

最后一个Xinerama是选择两个显示器扩展一个桌面还是分别显示两个桌面

因为Monitor Ext的刷新率没写找了半天原因 汗……

Leave a Reply