I945GM的机器终于配好双显示器了

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

I945GM的机器终于配好双显示器了

#1

帖子 launze » 2007-05-04 12:02

图片

用起来很舒服,不用各个窗口来回切换
原来是i810没有安装好,重新安装之后,一切正常,贴上我的xorg.conf


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

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

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

Section "Monitor"
Identifier "LCD"
Option "DPMS"
HorizSync 30 - 81
VertRefresh 56 - 76
EndSection

Section "Monitor"
Identifier "CRT"
Option "DPMS"
HorizSync 50 - 65
VertRefresh 65 - 85
EndSection

Section "Screen"
Identifier "LCD"
Device "LCD"
Monitor "LCD"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "Screen"
Identifier "CRT"
Device "CRT"
Monitor "CRT"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "LCDandCRT"
Screen 0 "LCD"
Screen 1 "CRT" RightOf "LCD"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "Xinerama" "true"
# Option "AIGLX" "true"
EndSection

Section "ServerFlags"
Option "DefaultServerLayout" "LCDandCRT"
EndSection

Section "DRI"
Mode 0666
EndSection
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#2

帖子 james_xl » 2007-05-04 17:05

用Xinerama不能开3d特效,LZ可以试试MergedFB,效果比Xinerama好,截图可以是整个合起来的大桌面,可以开3d特效。
附件
Screenshot.png
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

#3

帖子 launze » 2007-05-04 23:23

3d特效不怎么用,楼上请问MergedFB怎么配置?我一开始也是用这个,但是发现xserver提示这个选项错误,不知道是不是驱动问题
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

#4

帖子 launze » 2007-05-05 20:38

已经试过了MergedFB,好像不支持我的配置,主显示器是lcd,1280*800,副显示器是crt1024*738,利用网上资料修改xorg,conf后,副显示器只能达到60hz,而不是期望的85hz,貌似MergedFB不适合不同分辨率
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#5

帖子 james_xl » 2007-05-06 2:01

我也有这个问题,不知道怎么调副显示器的刷新率。不过使用mergedfb时候截图可以截下两个显示器合起来的桌面,Xinerama只能截主显示器。
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

#6

帖子 launze » 2007-05-09 19:45

现在已经基本解决了这个问题,能实现双显示器的三个效果,一个是扩展桌面,一个是克隆桌面,还有一个比较神奇,相当于两个终端
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#7

帖子 james_xl » 2007-05-12 16:56

是吗?不知mergedfb下刷新率的问题怎么解决的?
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

#8

帖子 launze » 2007-05-13 8:23

这是我的xorg.conf

代码: 全选

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

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

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

Section "Monitor"
Identifier "LCD"
Option "DPMS"
HorizSync 30 - 81
VertRefresh 56 - 76
EndSection

Section "Monitor"
Identifier "CRT"
Option "DPMS"
HorizSync 50 - 65
VertRefresh 65 - 85
EndSection

Section "Screen"
Identifier "LCD"
Device "LCD"
Monitor "LCD"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "Screen"
Identifier "CRT"
Device "CRT"
Monitor "CRT"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "LCDandCRT"
Screen 0 "LCD"
Screen 1 "CRT" LeftOf "LCD"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "Xinerama" "true"
# Option "AIGLX" "true"
EndSection

Section "ServerFlags"
Option "DefaultServerLayout" "LCDandCRT"
EndSection

Section "DRI"
Mode 0666
EndSection 
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#9

帖子 james_xl » 2007-05-14 1:33

LZ这个还是Xinarama的双显吧,开不了3d加速。我刚刚搞定了,附上我使用mergedfb的xorg.conf

代码: 全选

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"i810"
	Driver		"i810"
	BusID		"PCI:0:2:0"

        Option  "DRI"                           "true"
        Option "MergedXinerama" "yes"
        Option  "MergedFB"                      "true"
        Option  "MonitorLayout"                 "CRT,LFP"

        Option  "SecondPosition"                "RightOf"
        Option  "MetaModes"                     "1024x768-1024x768"
        Option  "SecondMonitorHorizSync"        "30-96"
        Option  "SecondMonitorVertRefresh"      "50-160"
        Option	   "UseEdidFreqs" "False"
        Option  "MergedNonRectangular"          "true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-85
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"i810"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "Extensions"
     #   Option  "Composite" "Enable"
EndSection
Section "DRI"
	Mode	0666
EndSection
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#10

帖子 james_xl » 2007-05-14 7:59

靠,重启之后还是不行,晕。
考试的烦恼
帖子: 84
注册时间: 2006-11-09 7:53
送出感谢: 0
接收感谢: 0
联系:

#11

帖子 考试的烦恼 » 2007-05-16 21:34

有个问题问一下,这样开电脑如果不连接投影重启后会不会有什么问题,设置两个monitor的xorg,不连接外接显示器长时间会不会有什么不好?
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#12

帖子 james_xl » 2007-05-17 4:40

分别保存好单显和双显的xorg.conf,要用的时候随时换就行了。
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
送出感谢: 0
接收感谢: 1 次
联系:

#13

帖子 laborer » 2007-05-17 5:50

我的配置方案

weblog_entry.php?e=3710
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser
头像
james_xl
帖子: 107
注册时间: 2006-09-17 17:31
送出感谢: 0
接收感谢: 0

#14

帖子 james_xl » 2007-05-17 17:48

试过ls的设置,但是副显示器仍然是60hz。
launze
帖子: 17
注册时间: 2007-01-04 10:27
送出感谢: 0
接收感谢: 0

#15

帖子 launze » 2007-05-31 17:18

楼上的要根据自己的水平刷新和垂直刷新率调整
回复

回到 “常用硬件支持”