MGA driver for XINERAMA support on ARCH Linux

This driver has been patched with the patch provided on launchpad bug 292214.
The patch can be found here .
Lamentably for arch linux source the patch had to be done manually, as the structure seems to be slightly different as on Ubuntu lucid. The already patched driver can be downloaded from my site here:
Download xserver-xorg-video-mga-1.4.11.dualhead_patched.tgz

xorg.conf for xinerama support

The xorg.conf for my setup looks like this:

Section "ServerFlags"
Option  "Xinerama" "On"
#Option "DRI" "Off"
EndSection

Section "Module"
  Load  "glx" # GL module
EndSection

Section "Device"
  Identifier  "Matrox VGA"
  Driver  "mga"
  VendorName  "Matrox"
  BoardName  "MGA G550 AGP"
  BusID  "PCI:3:0:0"
  Screen 0
EndSection

Section "Device"
  Identifier  "MATROX DVI"
  Driver  "mga"
  VendorName  "Matrox"
  BoardName  "MGA G550 AGP"
  BusID  "PCI:3:0:0"
  Screen  1
EndSection

Section "VideoAdaptor"
  Identifier  "VideoAdaptor"
EndSection

Section "Monitor"
  Identifier  "FujitsuSiemens YEP"
  HorizSync 30-96
  VertRefresh 50-160
EndSection

Section "Monitor"
  Identifier  "957p"
  HorizSync 30-96
  VertRefresh 50-160
EndSection

Section "Screen"
  Identifier  "Matrox VGA/FujitsuSiemens YEP"
  Device  "Matrox VGA"
  Monitor  "FujitsuSiemens YEP"
  DefaultDepth  24 # Max supported depth
  VideoAdaptor  "VideoAdaptor"
#  SubSection "Display"
#    Depth  24
#    Modes  "1024x768_75.00"
# EndSubSection
EndSection

Section "Screen"
  Identifier  "Matrox DVI/957p"
  Device  "Matrox DVI"
  Monitor  "957p"
  DefaultDepth  24 # Max supported setting
  SubSection "Display"
    Depth  24
    Modes  "1024x768_75.00"
  EndSubSection
EndSection

Section "ServerLayout"
  Identifier "Mucus ServerLayout"
  Screen "Matrox VGA/FujitsuSiemens YEP"
  Screen "Matrox DVI/957p" RightOf "Matrox VGA/FujitsuSiemens YEP"
EndSection
Case of doubt contact me on botond (at) zalai-ruzsics (dot) net