X.Org/Dual Monitors/Matrox

From Gentoo Linux Wiki

Jump to: navigation, search

[edit] Preparation

Install the Matrox driver.

[edit] Without Hardware Acceleration

Follow the general X.Org/Dual Monitors guide.

[edit] Hardware Acceleration

With the G200, G450, and G550 in some configurations, the vanilla mga driver isn't enough to get dual head working. You also need the binary HAL driver from Matrox. The latest version hides at ftp://ftp.matrox.com/pub/mga/archive/linux/2005/

To get the hardware acceleration with dual Monitors, You need the additional driver from Matrox called "mga_hal_drv.o". It might not be available for your version of the X server, though.

Copy it to /usr/X11R6/lib/modules/drivers. Now You can use a configuration like this:

Note: It may be necessary to disable Xinerama - Please test this and edit the article accordingly
File: xorg.conf
Section "Device"
 Identifier "Matrox"
 Driver     "mga"
 BusID      "PCI:1:0:0"        #check this with lspci
EndSection
Section "Screen"
 Identifier "Screen Merged"
 Device     "Matrox"
 Monitor    "Monitor0"
 Option     "MergedFB"         "on"
 Option     "Monitor2Position" "LeftOf" #Position of the second Monitor
 Option     "MetaModes"        "1024x768-1024x768 800x600-800x600 1024x768 800x600" #Display sizes
 # add the second Monitor data here
 Option     "Monitor2HSync"    "30-80"
 Option     "Monitor2VRefresh" "50-120"
 DefaultDepth 16
 SubSection "Display"
  Virtual 2048 768
  Depth 16
  Modes    "1024x768" "800x600"
 EndSubSection
EndSection
Personal tools