デュアル・ディスプレイを使いたい MergedFB編

Pocket

Linux でもデュアルディスプレイを使いたい場合がありますよね
その設定方法です

自作マシンです。 AGP カードに二つのポートが付いてますので、それを利用しました。

* ATI RV350
* AMD Sempron 2600+
* メモリ 1G
* ThinkVision L171 モニター

設定

設定は/etc/X11/xorg.conf を変更します。xorg.conf を載せておきます
キーとなる部分は、MergedFB付近の記述です。

Section "ServerLayout"
Identifier	"Default Layout"
Screen		"Screen0" 0 0
InputDevice	"Mouse0" "CorePointer"
InputDevice	"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "/usr/share/X11/fonts/mona/"
FontPath "unix/:7100"
FontPath "/usr/share/lilypond/2.11.28/fonts/type1/"
FontPath "/usr/share/X11/fonts/intlfonts/"
FontPath "/usr/share/X11/fonts/TTF/"
FontPath "/usr/share/X11/fonts/efont-unicode/"
FontPath "/usr/share/X11/fonts/OTF/"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/misc/:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/75dpi/:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/100dpi/:unscaled"
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" "jp106"
Option		"XkbLayout" "jp"
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"
### Comment all HorizSync and VertSync values to use DDC:
Identifier	"Monitor0"
VendorName	"Monitor Vendor"
ModelName	"IBM L171"
DisplaySize	340 270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync	30.0 - 83.0
VertRefresh	55.0 - 75.0
Option		"dpms"
EndSection

Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier	"Monitor1"
VendorName	"Monitor Vendor"
ModelName	"IBM L171"
DisplaySize	340 270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync	30.0 - 83.0
VertRefresh	55.0 - 75.0
Option		"dpms"
EndSection

Section "Device"
Identifier	"Videocard0"
Drive		"radeon"
BusID		"PCI:2:0:0"
VendorName	"Videocard vendor"
BoardName	"ATI Technologies Inc RV350 AP [Radeon 9600]"
Option		"MergedFB" "true"
Option		"CRT2Position" "LeftOf"
Option		"MetaModes" "1280x1024-1280x1024"
EndSection

Section "Screen"
Identifier	"Screen0"
Device		"Videocard0"
Monitor		"Monitor0"
DefaultDepth	24
SubSection "Display"
Viewport	0 0
Depth		24
Modes		"1280x1024"
Virtual		2560 1024
EndSubSection
EndSection

Section "DRI"
Group	0
Mode	0666
EndSection

コメントを残す