Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  MGA (4)


mga - Matrox video driver




Section \N’34’Device\N’34’ 

  Identifier \N’34’devname\N’34’ 

  Driver \N’34’mga\N’34’ 



mga is an Xorg driver for Matrox video cards. The driver is fully accelerated, and provides support for the following framebuffer depths: 8, 15, 16, 24, and an 8+24 overlay mode. All visual types are supported for depth 8, and both TrueColor and DirectColor visuals are supported for the other depths except 8+24 mode which supports PseudoColor, GrayScale and TrueColor. Multi-card configurations are supported. XVideo is supported on G200 and newer systems, with either TexturedVideo or video overlay. The second head of dual-head cards is supported for the G450 and G550.


The mga driver supports PCI and AGP video cards based on the following Matrox chips. They are listed in approximate chronological order of production (with the most recent chipsets listed last), so consult this list when you are unsure whether your card is meant when references are made to \(oqG200 and later\(cq chips, for example.
  Millennium II
G100 Productiva G100
G200 Millennium G200 and Mystique G200
G400 Millennium G400, Millennium G400 MAX, Millennium G450, and Marvel G450 eTV
G550 Millennium G550 and Millennium G550 Dual DVI


Please refer to xorg.conf(5) for general configuration details. This section only covers configuration details specific to this driver.

The driver auto-detects the chipset type, but the following ChipSet names may optionally be specified in the config file \N’34’Device\N’34’ section, and will override the auto-detection:

"mga2064w", "mga1064sg", "mga2164w", "mga2164w agp", "mgag100", "mgag200", "mgag200 pci", "mgag400", "mgag550".

The G450 is Chipset "mgag400" with ChipRev 0x80.

The driver will auto-detect the amount of video memory present for all chips except the Millennium II. In the Millennium II case it defaults to 4096 kBytes. When using a Millennium II, the actual amount of video memory should be specified with a VideoRam entry in the config file \N’34’Device\N’34’ section.

The following driver Options are supported:
Option \N’34’ColorKey\N’34’ \N’34’integer\N’34’
  Set the colormap index used for the transparency key for the depth 8 plane when operating in 8+24 overlay mode. The value must be in the range 2-255. Default: 255.
Option \N’34’HWCursor\N’34’ \N’34’boolean\N’34’
  Enable or disable the HW cursor. Default: on.
Option \N’34’MGASDRAM\N’34’ \N’34’boolean\N’34’
  Specify whether G100, G200 or G400 cards have SDRAM. The driver attempts to auto-detect this based on the card’s PCI subsystem ID. This option may be used to override that auto-detection. The mga driver is not able to auto-detect the presence of of SDRAM on secondary heads in multihead configurations so this option will often need to be specified in multihead configurations. Default: auto-detected.
Option \N’34’NoAccel\N’34’ \N’34’boolean\N’34’
  Disable or enable acceleration. Default: acceleration is enabled.
Option \N’34’AccelMethod\N’34’ \N’34’string\N’34’
  Chooses between available acceleration architectures. Valid options are XAA and EXA. XAA is the traditional acceleration architecture and support for it is very stable. EXA is a newer acceleration architecture with better performance for the Render and Composite extensions, but the rendering code for it is newer and possibly unstable. The default is XAA.
Option \N’34’OverclockMem\N’34’
  Set clocks to values used by some commercial X Servers (G100, G200 and G400 only). Default: off.
Option \N’34’PciRetry\N’34’ \N’34’boolean\N’34’
  Enable or disable PCI retries. Default: off.
Option \N’34’Rotate\N’34’ \N’34’CW\N’34’
Option \N’34’Rotate\N’34’ \N’34’CCW\N’34’
  Rotate the display clockwise or counterclockwise. This mode is unaccelerated. Default: no rotation.
Option \N’34’ShadowFB\N’34’ \N’34’boolean\N’34’
  Enable or disable use of the shadow framebuffer layer. Default: off.
Option \N’34’SyncOnGreen\N’34’ \N’34’boolean\N’34’
  Enable or disable combining the sync signals with the green signal. Default: off.
Option \N’34’UseFBDev\N’34’ \N’34’boolean\N’34’
  Enable or disable use of on OS-specific fb interface (and is not supported on all OSs). See fbdevhw(4x) for further information. Default: off.
Option \N’34’VideoKey\N’34’ \N’34’integer\N’34’
  This sets the default pixel value for the YUV video overlay key. Default: undefined.
Option \N’34’TexturedVideo\N’34’ \N’34’boolean\N’34’
  This has XvImage support use the texture engine rather than the video overlay. This option is only supported by G200 and later chips, and only at 16 and 32 bits per pixel. Default: off.
Option \N’34’OldDmaInit\N’34’ \N’34’boolean\N’34’
  This forces the driver to use the old DMA initialization path for DRI. Use this option only to support a older version of the DRI driver with a newer DRM (version 3.2 or later). This option also disables the use of direct rendering on PCI cards. Default: off.
Option \N’34’ForcePciDma\N’34’ \N’34’boolean\N’34’
  This forces the use of PCI DMA even if AGP DMA could be used. This option is primarily intended for testing purposes, but it could also be used on systems with a buggy or poorly function AGP implementation. Default: off.


Xorg(1), xorg.conf(5), Xserver(1), X(7)


Authors include: Radoslaw Kapitan, Mark Vojkovich, and also David Dawes, Guy Desbief, Dirk Hohndel, Doug Merritt, Andrew E. Mileski, Andrew van der Stock, Leonard N. Zubkoff, Andrew C. Aitchison.
Search for    or go to Top of page |  Section 4 |  Main Index

X Version 11 MGA (4x) xf86-video-mga 1.6.4

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.