Ca devrait bien fonctionner avec les deux cartes en meme temps.
Mais pour ca, faut pas que t'ai peur de bidouiller dans les fichiers de config texte...
Dans ton cas, il faut modifier le fichier /etc/X11/XF86Config-4
Je met en exemple mon fichier (Attention, moi j'ai des cartes NVidia)
Code :
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
AllowMouseOpenFail
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "qc"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "record"
Load "speedo"
Load "bitmap"
Load "ddc"
Load "type1"
Load "glx"
Load "freetype"
EndSection
Section "Monitor"
Identifier "le17"
VendorName "Apple"
ModelName "AppleVision 1710"
HorizSync 30-80
VertRefresh 40-120
EndSection
Section "Monitor"
Identifier "le19"
VendorName "LG"
ModelName "915FT+"
HorizSync 30-107
VertRefresh 50-200
EndSection
Section "Device"
Identifier "agp"
VendorName "NVidia"
BoardName "GeForce 3 Ti200"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "pci"
VendorName "NVidia"
BoardName "TNT 2"
Driver "nvidia"
BusID "PCI:0:11:0"
EndSection
Section "Screen"
Identifier "19agp"
Device "agp"
Monitor "le19"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "17pci"
Device "pci"
Monitor "le17"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x400"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "19agp"
Screen "17pci" RightOf "19agp"
# Option "Xinerama" "On"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Les parties importantes sont Monitor, Device et Screen, ensuite, ServerLayout
Dans monitor, tu définies tes ecrans. Dans la section Device, il faut spécifier tes cartes. Pour ta matrox, le driver cest mga, pour ta ati, cest bien entendu ati (au lieu de nvidia).
Le BusId est facultatif... (puisque que ta des cartes qui utilisent différents drivers)
Dans Screen, il faut lier ta carte vidéo avec le moniteur. C'est la que tu défini les résolutions possibles et le nombre de couleur...
Dans ServerLayout, tu commences par identifier le moniteur principal (dans mon cas, cest Screen "19agp" qui veut dire mon moniteur 19" branché sur ma carte agp..) ensuite, tu défini le deuxieme, Screen 17pci RightOf "19agp", cest mon moniteur 17" branché sur la carte pci et il est a droite de mon 19"...
Xinerama, si t'enleve le #, tu vas pouvoir déplacer tes fenêtres d'un écran à l'autre.