VIASection: Devices and Network Interfaces (4)
Updated: xf86-video-via 0.2.2
Index Return to Main Contents
NAMEvia - VIA unichrome graphics driver
Section N'34'DeviceN'34' Identifier N'34'devnameN'34' Driver N'34'viaN'34' ... EndSection
DESCRIPTIONvia is an Xorg driver for VIA chipsets with onboard unichrome graphics.
The via driver supports the VIA CLE266, KM400/KN400, K8M/N800, PM/N800 and CN400 chipsets, including 2D acceleration and the Xv video overlay extensions. Flat panel, TV and VGA outputs are supported, depending on the hardware configuration.
Direct rendering 3D is available using experimental drivers in Mesa, www.mesa3d.org. Also there is an XvMC client library for hardware MPEG1 / MPEG2 decoding acceleration available on the CLE266, CN400, PM/N800 and K8M/N800 chipsets that uses the Direct Rendering Infrastructure, DRI. The XvMC client library implements a nonstandard N'34'VLDN'34' extension to the XvMC standard. The current Direct Rendering Manager Linux kernel module is available at dri.sourceforge.net.
The driver supports free modes for Unichome Pro chipsets. (K8M/N800, PM/N800 and CN400). Currently for Unichrome chipsets, it only supports a limited number of dotclocks, so if you are using X modelines, you must make sure that the dotclock is one of those supported. Supported dotclocks on Unichromes are currently (MHz): 25.2, 25.312, 26.591, 31.5, 31.704, 32.663, 33.750, 35.5, 36.0, 39.822, 40.0, 41.164, 46.981, 49.5, 50.0, 56.3, 57.284, 64.995, 65.0, 65.028, 74.480, 75.0, 78.8, 81.613, 94.5, 108.0, 108.28, 122.0, 122.726, 135.0, 148.5, 155.8, 157.5, 161.793, 162.0, 175.5, 189.0, 202.5, 204.8, 218.3, 229.5. On top of this, bandwidth restrictions apply both for Unichromes and Unichrome Pros.
CONFIGURATION DETAILSPlease refer to xorg.conf(5) for general configuration details. This section only covers configuration details specific to this driver.
The following driver options are supported
- Option N'34'NoAccelN'34' N'34'booleanN'34'
- Disable or enable acceleration. Default: acceleration is enabled.
- Option N'34'HWCursorN'34' N'34'booleanN'34'
- Disable or enable use of hardware cursors. The default is enabled.
- Option N'34'SWCursorN'34' N'34'booleanN'34'
- Disable or enable the use of a software cursor. The default is disabled.
- Option N'34'ShadowFBN'34' N'34'booleanN'34'
- Use a shadow frame buffer. This is required when rotating the display, but otherwise defaults to disabled.
- Option N'34'VideoRAMN'34' N'34'booleanN'34'
- Override the VideoRAM auto detection. This should never be needed.
- Option N'34'RotateN'34' N'34'stringN'34'
- Rotate the display either clockwise (N'34'CWN'34') or counter clockwise (N'34'CCWN'34'). Rotation is only supported unaccelerated.
- Option N'34'ActiveDeviceN'34' N'34'stringN'34'
- Specify the active device combination. Any string containing N'34'CRTN'34', N'34'LCDN'34', N'34'TVN'34' should be possible. The default is to use what is detected. The driver is currently unable to use LCD and TV simultaneously, and will favour the LCD.
- Option N'34'LCDDualEdgeN'34' N'34'booleanN'34'
- Use dual edge mode to set the LCD.
- Option N'34'CenterN'34' N'34'booleanN'34'
- Disable or enable image centering on DVI displays.
- Option N'34'PanelSizeN'34' N'34'stringN'34'
- Specify the size (width x height) of the LCD panel attached to the system. Sizes 640x480, 800x600, 1024x768, 1280x1024, and 1400x1050 are supported.
- Option N'34'TVDotCrawlN'34' N'34'booleanN'34'
- Disable or enable dotcrawl.
- Option N'34'TVDeflickerN'34' N'34'integerN'34'
- Specify deflicker setting for TV output. Valid values are 0,1,2 0) No deflicker, 1) 1:1:1 deflicker, 2) 1:2:1 deflicker.
- Option N'34'TVTypeN'34' N'34'stringN'34'
- Specify TV output format. The driver currently supports N'34'NTSCN'34' and N'34'PALN'34' timings only.
- Option N'34'TVOutputN'34' N'34'stringN'34'
- Specify which TV output to use. The driver supports N'34'S-VideoN'34', N'34'CompositeN'34', N'34'SCN'34', N'34'RGBN'34' and N'34'YCbCrN'34' outputs. Note that on some EPIA boards the composite video port is shared with audio out and jumper selected.
- Option N'34'DisableVQN'34' N'34'booleanN'34'
- Disable or enable the use of VQ. VQ is enabled by default.
- Option N'34'DRIXINERAMAN'34' N'34'booleanN'34'
- Set DRI Xinerama mode. Currently unsupported.
- Option N'34'DisableIRQN'34' N'34'booleanN'34'
- Disables Vblank IRQ. A workaround for some mainboards that have problems with IRQs from the unichrome chip. With IRQ disabled, DRI clients have no way to sync drawing to Vblank.
- Option N'34'EnableAGPDMAN'34' N'34'booleanN'34'
- Enable the AGP DMA functionality in DRM. This requires that DRI is enabled and will force 2D, and 3D acceleration to use AGP DMA. The XvMC DRI client will also make use of this on the CLE266 to consume much less CPU.
- Option N'34'NoAGPFor2DN'34' N'34'booleanN'34'
- With this option on, 2D acceleration will not use AGP DMA even if it is enabled.
- Option N'34'NoXVDMAN'34' N'34'booleanN'34'
- If DRI is enabled, Xv normally uses PCI DMA to transfer video images from system to frame-buffer memory. This is somewhat slower than direct copies due to the limitations of the PCI bus, but on the other hand it decreases CPU usage significantly. Particularly on computers with fast processors. Some video players are buggy and will display rendering artifacts when PCI DMA is used. If you experience this, or don't want your PCI bus to be stressed with Xv images, set this option to "true". This option has no effect if DRI is not enabled.
- Option N'34'AccelMethodN'34' N'34'stringN'34'
- The driver supports N'34'XAAN'34' and N'34'EXAN'34' acceleration methods. The default method is XAA, since EXA is still experimental. Contrary to XAA. EXA implements acceleration for screen uploads and downlads (if DRI is enabled) and the Render / Composite extension.
- Option N'34'EXANoCompositeN'34' N'34'booleanN'34'
If Exa is enabled using the above option, Don't accelerate composite. Since EXA, and in
particular, it's composite acceleration is still experimental, This is a way to disable
exa composite acceleration.
Supported TV EncodersUnichromes tend to be paired with several different TV Encoders.
- VIA Technologies VT1621
- Untested as no combination with Unichrome is known or available. Supports the following normal modes: N'34'640x480N'34' and N'34'800x600N'34'. Use N'34'640x480OverN'34' and N'34'800x600OverN'34' for vertical overscan. These modes are made available by the driver and modelines provided in xorg.conf will be ignored.
- VIA Technologies VT1622, VT1622A, VT1623
Supports the following modes: N'34'640x480N'34', N'34'800x600N'34', N'34'1024x768N'34',
N'34'848x480N'34', N'34'720x480N'34' (NTSC only) and N'34'720x576N'34' (PAL only). Use
N'34'640x480OverN'34', N'34'800x600OverN'34', N'34'1024x768OverN'34', N'34'848x480OverN'34',
N'34'720x480OverN'34' (NTSC) and N'34'720x576OverN'34' (PAL) for vertical overscan.
The modes N'34'720x480NoscaleN'34' (NTSC) and N'34'720x576NoscaleN'34' (PAL)
(VT1622 only) provide cleaner TV output (unscaled with only minimal overscan).
These modes are made available by the driver and modelines provided in
xorg.conf will be ignored.
SEE ALSOXorg(1), xorg.conf(5), xorgconfig(1), Xserver(1), X(7)
AUTHORSAuthors include: ...