Commands (you can copy and past these commands if you want:
aptitude -y install build-essential
apt-get -y build-dep xserver-xorg-video-mga
apt-get source xserver-xorg-video-mga
cd xserver-xorg-video-mga-*
./configure
make
cd src
wget -O lucid_mga_dual.patch https://bugs.launchpad.net/xorg-server/+bug/292214/+attachment/1377942/+files/lucid_mga_dual.patch
patch < lucid_mga_dual.patch
cd ..
make
sudo cp mga_drv.so /usr/lib/xorg/modules/drivers/mga_drv.so
On Lucid (based on comment #89):
Commands (you can copy and past these commands if you want: xorg-video- mga xorg-video- mga xorg-video- mga-* dual.patch https:/ /bugs.launchpad .net/xorg- server/ +bug/292214/ +attachment/ 1377942/ +files/ lucid_mga_ dual.patch dual.patch xorg/modules/ drivers/ mga_drv. so
aptitude -y install build-essential
apt-get -y build-dep xserver-
apt-get source xserver-
cd xserver-
./configure
make
cd src
wget -O lucid_mga_
patch < lucid_mga_
cd ..
make
sudo cp mga_drv.so /usr/lib/