Home > xwindow > Matrox G400 Dual Head

Matrox G400 Dual Head

21 Novembre 2003

Installare una Matrox G400 dual head in una mandrake 9.1 per collegare due monitor
che si comporteranno come due desktop differenti, per intenderci avremo nella nostra directory home due diverse sottodirectory: Desktop e Desktop1 con due barre degli strumenti, due sfondi ecc.

Per iniziare installare i driver di matrox, io ho trovato nel sito ufficiale mgadriver-3.0.tgz, scompattare ed installare, lo fa in autoimatico, includendo le HAL library, necessarie per il corretto funzionamento, poi modificare /etc/X11/XF86Config-4 come segue:

nella sezione device:

Section “Device”
Identifier “G400_1”
Driver “mga”
Busid “PCI:1:0:0”
Screen 0
EndSection

Section “Device”
Identifier “G400_2”
Driver “mga”
Busid “PCI:1:0:0”
Screen 1
EndSection

nella sezione screen:

Section “Screen”
Identifier “screen 0”
Device “G400_1”
Monitor “monitor1”
DefaultColorDepth 24

Subsection “Display”
Depth 8
Modes “1024×768” “800×600” “640×480”
ViewPort 0 0
EndSubsection

Subsection “Display”
Depth 15
Modes “1024×768” “800×600” “640×480”
ViewPort 0 0
EndSubsection

Subsection “Display”
Depth 16
Modes “1024×768” “800×600” “640×480”
ViewPort 0 0
EndSubsection

Subsection “Display”
Depth 24
Modes “1024×768” “800×600” “640×480”
ViewPort 0 0
EndSubsection
EndSection

poi aggiungere un’altra sezione screen:

Section “Screen”
Identifier “screen 1”
Device “G400_2”
Monitor “monitor1”
DefaultColorDepth 24

— la restante subsection display può essere uguale alla precedente, se i due monitor sono impostati alla stessa maniera

per finire la sezione server layout:

Section “ServerLayout”
Identifier “layout1”
InputDevice “Keyboard1” “CoreKeyboard”
InputDevice “Mouse1” “CorePointer”
Screen “screen 0” LeftOf “screen 1”
Screen “screen 1”
EndSection

Si possono anche impostare due monitor differenti ad esempio come risoluzione:

Section “Monitor”
Identifier “monitor1”
VendorName “Generic”
ModelName “1024×768 @ 70 Hz”
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024×480 @ 85.6 Hz, 48 kHz hsync
ModeLine “1024×480” 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768×576 @ 79 Hz, 50 kHz hsync
ModeLine “768×576” 50.00 768 832 846 1000 576 590 595 630

# 768×576 @ 100 Hz, 61.6 kHz hsync
ModeLine “768×576” 63.07 768 800 960 1024 576 578 590 616
EndSection

Section “Monitor”
Identifier “monitor2”
VendorName “Generic”
ModelName “800×600 @ 70 Hz”
HorizSync 31.5-57.0
VertRefresh 50-70
# Sony Vaio C1(X,XS,VE,VN)?
# 1024×480 @ 85.6 Hz, 48 kHz hsync
ModeLine “800×600” 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768×576 @ 79 Hz, 50 kHz hsync
ModeLine “768×576” 50.00 768 832 846 1000 576 590 595 630
# 768×576 @ 100 Hz, 61.6 kHz hsync
ModeLine “768×576” 63.07 768 800 960 1024 576 578 590 616
EndSection
ricordando poi di scrivere in una delle sezioni screen:

monitor “monitor2”

e non

monitor “monitor1”

Buon lavoro ! 🙂

xwindow

I commenti sono chiusi.