Comment 0 for bug 292214

Revision history for this message
Adrian Quark (adrian-launchpad-sixfingeredman) wrote : Xinerama broken in intrepid

Binary package hint: xserver-xorg-video-mga

I have a Matrox G450 dual-head. When I start Xorg with a second screen enabled, it errors with the message:
MGA(0): Unable to map BAR 0. Invalid argument (22)

If I disable the second screen, it starts up fine (but with the same image on both monitors). I realize Xinerama is deprecated in favor of xrandr but the version of the mga driver in intrepid doesn't seem to support xrandr configuration -- http://wiki.debian.org/XStrikeForce/HowToRandR12 suggests that version 1.9.99 of the mga driver is needed to support randr, and following the directions on that page does not have any effect.

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

$ apt-cache policy xserver-xorg-video-mga
xserver-xorg-video-mga:
  Installed: 1:1.4.9.dfsg-1build1
  Candidate: 1:1.4.9.dfsg-1build1
  Version table:
 *** 1:1.4.9.dfsg-1build1 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

$ cat /etc/X11/xorg.conf
Section "Device"
 Identifier "MGA[0]"
 Driver "mga"
 BusID "PCI:1:0:0"
 Screen 0
EndSection

Section "Device"
 Identifier "MGA[1]"
 Driver "mga"
 BusID "PCI:1:0:0"
 Screen 1
EndSection

Section "Monitor"
 Identifier "ViewSonic"
 Option "DPMS"
EndSection

Section "Monitor"
 Identifier "Westinghouse"
 Option "DPMS"
EndSection

Section "Screen"
 Identifier "Left Screen"
 Monitor "ViewSonic"
 Device "MGA[0]"
EndSection

Section "Screen"
 Identifier "Right Screen"
 Monitor "Westinghouse"
 Device "MGA[1]"
EndSection

Section "ServerLayout"
 Identifier "Xinerama"
 Screen "Left Screen"
 Screen "Right Screen" RightOf "Left Screen"
 Option "Xinerama" "on"
EndSection