mga
is an XFree86 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-head configurations
are supported. XVideo is supported on G200 and newer systems, with
either
TexturedVideo
or video overlay.
SUPPORTED HARDWARE
The
mga
driver supports PCI and AGP video cards based on the following Matrox chips:
MGA2064W
Millennium (original)
MGA1064SG
Mystique
MGA2164W
Millennium II
G100
G200
Millennium G200 and Mystique G200
G400
CONFIGURATION DETAILS
Please refer to XF86Config(5x) 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'DeviceN'34'
section, and will override the auto-detection:
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'DeviceN'34'
section.
The following driver
Options
are supported:
Option N'34'ColorKeyN'34' N'34'integerN'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'HWCursorN'34' N'34'booleanN'34'
Enable or disable the HW cursor. Default: on.
Option N'34'MGASDRAMN'34' N'34'booleanN'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'NoAccelN'34' N'34'booleanN'34'
Disable or enable acceleration. Default: acceleration is enabled.
Option N'34'OverclockMemN'34'
Set clocks to values used by some commercial X-Servers (G100, G200 and G400
only). Default: off.
Option N'34'OverlayN'34'
Enable 8+24 overlay mode. Only appropriate for depth 24.
(Note:
the G100 is unaccelerated in the 8+24 overlay mode due to a missing
hardware feature.) Default: off.
Option N'34'PciRetryN'34' N'34'booleanN'34'
Enable or disable PCI retries. Default: off.
Option N'34'RotateN'34' N'34'CWN'34'
Option N'34'RotateN'34' N'34'CCWN'34'
Rotate the display clockwise or counterclockwise. This mode is unaccelerated.
Default: no rotation.
Option N'34'ShadowFBN'34' N'34'booleanN'34'
Enable or disable use of the shadow framebuffer layer. See
shadowfb(4) for further information. Default: off.
Option N'34'SyncOnGreenN'34' N'34'booleanN'34'
Enable or disable combining the sync signals with the green signal.
Default: off.
Option N'34'UseFBDevN'34' N'34'booleanN'34'
Enable or disable use of on OS-specific fb interface (and is not supported
on all OSs). See fbdevhw(4) for further information.
Default: off.
Option N'34'VideoKeyN'34' N'34'integerN'34'
This sets the default pixel value for the YUV video overlay key.
Default: undefined.
Option N'34'TexturedVideoN'34' N'34'booleanN'34'
This has XvImage support use the texture engine rather than the video overlay.
This option is only supported by the G200 and G400, and only in 16 and 32
bits per pixel.
Default: off.
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.