pinf
October 18th, 2005, 10:55 AM
DRI support dropped since it didn't work after all :-(
Maybe someone can explain howto install from source?
I hope this helps someone. Sorry for my bad English.
MATROX PROPRIETARY GRAPHICS DRIVER (BINARY) INSTALLATION - UBUNTU BREEZY
OS: Ubuntu Breezy 5.10 i386
HW: Matrox G550 32Mt (DualHead) and 2 x Viewsonic VX900 LCD
This document will help you to install Matrox proprietary driver to Ubuntu.
Matrox driver is needed for DVI support (also 3D and TV-out with limitations...no luck with 3D (DRI) so far with binary driver).
See Matrox document for more info on features.
1. Download the latest driver package at www.matrox.com. Grab the binary version tar.gz which was v. 4.2.0 at the time of writing.
2. Unpack and install the driver (as root).
$ sudo -i
$ tar zxvf mgadriver-4.2.0.tar.gz
$ cd mgadriver-4.2.0
$ ./install
This will copy binary drivers to /usr/X11/lib/modules/drivers
I got some errors here, but copy was successfull.
You can verify copy with (check file time stamps) ls command:
$ ls -l /usr/X11R6/lib/modules/drivers/mga*
-rw-r--r-- 1 root root 211291 Oct 17 08:52 /usr/X11R6/lib/modules/drivers/mga_drv.o
-rw-r--r-- 1 root root 328354 Oct 17 08:52 /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
3. Backup xorg.org file and copy Matrox version in place.
$ cp /etc/X11/xorg.conf /etc/X11/xorg.conf.org
$ cd mgadriver-4.2.0/samples/
$ cp XF86Config.dual /etc/X11/xorg.conf
(Matrox provides several examples, see which one suits you best)
4. Working xorg.conf example
Below is my xorg.conf (see comments).
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" RightOf "Screen 2"
Screen "Screen 2"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "ServerFlags"
# disabled xinerama, because I want two separate screens
Option "Xinerama" "no"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
Option "XkbCompat" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
# good for MS IntelliMouse 1.1 (wheel and sidebuttons)
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
EndSection
Section "Monitor"
Identifier "My Monitor 1"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
EndSection
Section "Monitor"
Identifier "My Monitor 2"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
EndSection
Section "Device"
Identifier "MGA CARD 1"
Driver "mga"
BusID "PCI:1:0:0"
# first LCD is connected with DVI)
Option "DigitalScreen1" "on"
Screen 0
Option "DPMS"
EndSection
Section "Device"
Identifier "MGA CARD 2"
Driver "mga"
BusID "PCI:1:0:0"
# Option "DigitalScreen2" "on"
Screen 1
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MGA CARD 1"
Monitor "My Monitor 1"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "MGA CARD 2"
Monitor "My Monitor 2"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Maybe someone can explain howto install from source?
I hope this helps someone. Sorry for my bad English.
MATROX PROPRIETARY GRAPHICS DRIVER (BINARY) INSTALLATION - UBUNTU BREEZY
OS: Ubuntu Breezy 5.10 i386
HW: Matrox G550 32Mt (DualHead) and 2 x Viewsonic VX900 LCD
This document will help you to install Matrox proprietary driver to Ubuntu.
Matrox driver is needed for DVI support (also 3D and TV-out with limitations...no luck with 3D (DRI) so far with binary driver).
See Matrox document for more info on features.
1. Download the latest driver package at www.matrox.com. Grab the binary version tar.gz which was v. 4.2.0 at the time of writing.
2. Unpack and install the driver (as root).
$ sudo -i
$ tar zxvf mgadriver-4.2.0.tar.gz
$ cd mgadriver-4.2.0
$ ./install
This will copy binary drivers to /usr/X11/lib/modules/drivers
I got some errors here, but copy was successfull.
You can verify copy with (check file time stamps) ls command:
$ ls -l /usr/X11R6/lib/modules/drivers/mga*
-rw-r--r-- 1 root root 211291 Oct 17 08:52 /usr/X11R6/lib/modules/drivers/mga_drv.o
-rw-r--r-- 1 root root 328354 Oct 17 08:52 /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
3. Backup xorg.org file and copy Matrox version in place.
$ cp /etc/X11/xorg.conf /etc/X11/xorg.conf.org
$ cd mgadriver-4.2.0/samples/
$ cp XF86Config.dual /etc/X11/xorg.conf
(Matrox provides several examples, see which one suits you best)
4. Working xorg.conf example
Below is my xorg.conf (see comments).
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" RightOf "Screen 2"
Screen "Screen 2"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "ServerFlags"
# disabled xinerama, because I want two separate screens
Option "Xinerama" "no"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
Option "XkbCompat" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
# good for MS IntelliMouse 1.1 (wheel and sidebuttons)
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
EndSection
Section "Monitor"
Identifier "My Monitor 1"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
EndSection
Section "Monitor"
Identifier "My Monitor 2"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
EndSection
Section "Device"
Identifier "MGA CARD 1"
Driver "mga"
BusID "PCI:1:0:0"
# first LCD is connected with DVI)
Option "DigitalScreen1" "on"
Screen 0
Option "DPMS"
EndSection
Section "Device"
Identifier "MGA CARD 2"
Driver "mga"
BusID "PCI:1:0:0"
# Option "DigitalScreen2" "on"
Screen 1
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MGA CARD 1"
Monitor "My Monitor 1"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "MGA CARD 2"
Monitor "My Monitor 2"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection