Table of Contents

Name

radeon - ATI RADEON video driver

Synopsis


Section "Device"
  Identifier "devname"
  Driver "radeon"
  ...
EndSection

Description

radeon is a XFree86 driver for ATI RADEON based video cards. It contains full support for 8, 15, 16 and 24 bit pixel depths, dual-head setup, flat panel, hardware 2D acceleration, hardware 3D acceleration (except R300 and IGP series cards), hardware cursor, XV extension, Xinerama extension.

Supported Hardware

The radeon driver supports PCI and AGP video cards based on the following ATI chips
R100
Radeon 7200
RV100
Radeon 7000(VE), M6
RS100
Radeon IGP320(M) (2D only)
RV200
Radeon 7500, M7, FireGL 7800
RS200
Radeon IGP330(M)/IGP340(M) (2D only)
RS250
Radeon Mobility 7000 IGP (2D only)
R200
Radeon 8500, 9100, FireGL 8800/8700
RV250
Radeon 9000PRO/9000, M9
RS300
Radeon 9100 IGP (2D only)
RV280
Radeon 9200PRO/9200/9200SE, M9+
R300
Radeon 9700PRO/9700/9500PRO/9500/9600TX, FireGL X1/Z1 (2D only)
R350
Radeon 9800PRO/9800SE/9800, FireGL X2 (2D only)
R360
Radeon 9800XT (2d only)
RV350
Radeon 9600PRO/9600SE/9600, M10/M11, FireGL T2 (2D only)
RV360
Radeon 9600XT (2d only)

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 all device information necessary to initialize the card. However, if you have problems with auto-detection, you can specify:

VideoRam - in kilobytes
MemBase - physical address of the linear framebuffer
IOBase - physical address of the MMIO registers
ChipID - PCI DEVICE ID

In addition, the following driver Options are supported:

Option "SWcursor" "boolean"
Selects software cursor. The default is off.
Option "NoAccel" "boolean"
Enables or disables all hardware acceleration.
The default is to enable hardware acceleration.
Option "Dac6Bit" "boolean"
Enables or disables the use of 6 bits per color component when in 8 bpp mode (emulates VGA mode). By default, all 8 bits per color component are used.
The default is off.
Option "VideoKey" "integer"
This overrides the default pixel value for the YUV video overlay key.
The default value is 0x1E.
Option "UseFBDev" "boolean"
Enable or disable use of an OS-specific framebuffer device interface (which is not supported on all OSs). See fbdevhw(4) for further information.
The default is off.
Option "AGPMode" "integer"
Set AGP data transfer rate. (used only when DRI is enabled)
1 -- x1 (default)
2 -- x2
4 -- x4
others -- invalid
Option "AGPFastWrite" "boolean"
Enable AGP fast write.
(used only when DRI is enabled)
The default is off.
Option "BusType" "string"
Used to replace previous ForcePCIMode option. Should only be used when driver's bus detection is incorrect or you want to force a AGP card to PCI mode. Should NEVER force a PCI card to AGP bus.
PCI -- PCI bus
AGP -- AGP bus
PCIE -- PCI Express (falls back to PCI at present)
(used only when DRI is enabled)
The default is auto detect.
Option "ForcePCIMode" "boolean"
Force to use PCI GART for DRI acceleration. This option is deprecated in favor of the BusType option above.
Option "DDCMode" "boolean"
Force to use the modes queried from the connected monitor.
The default is off.
Option "DisplayPriority" "string"

Used to prevent flickering or tearing problem caused by display buffer underflow.
AUTO -- Driver calculated (default).
BIOS -- Remain unchanged from BIOS setting. Use this if the calculation is not correct
for your card.

HIGH -- Force to the highest priority. Use this if you have problem with above options.
This may affect performence slightly.

The default value is AUTO.
Option "MonitorLayout" "string"

This option is used to overwrite the detected monitor types. This is only required when driver makes a false detection. The possible monitor types are:
NONE -- Not connected
CRT -- Analog CRT monitor
TMDS -- Desktop flat panel
LVDS -- Lapto flat panel
This option can be used in following format:
Option "MonitorLayout" "[type on primary], [type on secondary]"
For example, Option "MonitorLayout" "CRT, TMDS"

Primary/Secondary head for dual-head cards:
(when only one port is used, it will be treated as the primary regardless)
Primary head:
DVI port on DVI+VGA cards
LCD output on laptops
Internal TMDS prot on DVI+DVI cards
Secondary head:
VGA port on DVI+VGA cards
VGA port on laptops

External TMDS port on DVI+DVI cards

The default value is undefined.

Option "MergedFB" "boolean"
This enables merged framebuffer mode. In this mode you have a single shared framebuffer with two viewports looking into it. It is similar to Xinerama, but has some advantages. It is faster than Xinerama, the DRI works on both heads, and it supports clone modes.
Merged framebuffer mode provides two linked viewports looking into a single large shared framebuffer. The size of the framebuffer is determined by the Virtual keyword defined on the Screen section of your XF86Config file. It works just like regular virtual desktop accept you have two viewports looking into it instead of one.
For example, if you wanted a desktop composed of two 1024x768 viewports looking into a single desktop you would create a virtual desktop of 2048x768 (left/right) or 1024x1536 (above/below), e.g.,
Virtual 2048 768 or Virtual 1024 1536
The virtual desktop can be larger than larger than the size of the viewports looking into it. In this case the linked viewports will scroll around in the virtual desktop. Viewports with different sizes are also supported (e.g., one that is 1024x768 and one that is 640x480). In this case the smaller viewport will scroll relative to the larger one such that none of the virtual desktop is inaccessable. If you do not define a virtual desktop the driver will create one based on the orientation of the heads and size of the largest defined mode in the display section that is supported on each head.
The relation of the viewports in specified by the CRT2Position Option. The options are Clone , LeftOf , RightOf , Above , and Below. MergedFB is enabled by default if a monitor is detected on each output. If no position is given it defaults to clone mode (the old clone options are now deprecated, also, the option OverlayOnCRTC2 has been replaced by the Xv attribute XV_SWITCHCRT; the overlay can be switched to CRT1 or CRT2 on the fly in clone mode).
The maximum framebuffer size that the 2D acceleration engine can handle is 8192x8192. The maximum framebuffer size that the 3D engine can handle is 2048x2048.
Note: Page flipping does not work well in certain configurations with MergedFB. If you see rendering errors or other strange behavior, disable page flipping.
The default value is undefined.
Option "CRT2HSync" "string"
Set the horizontal sync range for the secondary monitor. It is not required if a DDC-capable monitor is connected.
For example, Option "CRT2HSync" "30.0-86.0"
The default value is undefined.
Option "CRT2VRefresh" "string"
Set the vertical refresh range for the secondary monitor. It is not required if a DDC-capable monitor is connected.
For example, Option "CRT2VRefresh" "50.0-120.0"
The default value is undefined.
Option "CRT2Position" "string"
Set the relationship of CRT2 relative to CRT1. Valid options are: Clone , LeftOf , RightOf , Above , and Below
For example, Option "CRT2Position" "RightOf"
The default value is Clone.
Option "MetaModes" "string"
MetaModes are mode combinations for CRT1 and CRT2. If you are using merged frame buffer mode and want to change modes (CTRL-ALT-+/-), these define which modes will be switched to on CRT1 and CRT2. The MetaModes are defined as CRT1Mode-CRT2Mode (800x600-1024x768). Modes listed individually (800x600) define clone modes, that way you can mix clone modes with non-clone modes. Also some programs require "standard" modes.
Note: Any mode you use in the MetaModes must be defined in the Screen section of your XF86Config file. Modes not defined there will be ignored when the MetaModes are parsed since the driver uses them to make sure the monitors can handle those modes. If you do not define a MetaMode the driver will create one based on the orientation of the heads and size of the largest defined mode in the display section that is supported on each head.
Modes "1024x768" "800x600" "640x480"
For example, Option "MetaModes" "1024x768-1024x768 800x600-1024x768 640x480-800x600 800x600"
The default value is undefined.
Option "NoMergedXinerama" "boolean"
Since merged framebuffer mode does not use Xinerama, apps are not able to intelligently place windows. Merged framebuffer mode provides its own pseudo-Xinerama. This allows Xinerama compliant applications to place windows appropriately. There are some caveats. Since merged framebuffer mode is able to change relative screen sizes and orientations on the fly, as well has having overlapping viewports, pseudo-Xinerama, might not always provide the right hints. Also many Xinerama compliant applications only query Xinerama once at startup; if the information changes, they may not be aware of the change. If you are already using Xinerama (e.g., a single head card and a dualhead card providing three heads), pseudo-Xinerama will be disabled.
This option allows you turn off the driver provided pseudo-Xinerama extension.
The default value is FALSE.
Option "MergedXineramaCRT2IsScreen0" "boolean"
By default the pseudo-Xinerama provided by the driver makes the left-most or bottom head Xinerama screen 0. Certain Xinerama-aware applications do special things with screen 0. To change that behavior, use this option.
The default value is undefined.
Option "MergedDPI" "string"
The driver will attempt to figure out an appropriate DPI based on the DDC information and the orientation of the heads when in merged framebuffer mode. If this value does not suit you, you can manually set the DPI using this option.
For example, Option "MergedDPI" "100 100"
The default value is undefined.
Option "IgnoreEDID" "boolean"
Do not use EDID data for mode validation, but DDC is still used for monitor detection. This is different from NoDDC option.
The default value is off.
Option "PanelSize" "string"
Should only be used when driver cannot detect the correct panel size. Apply to both desktop (TMDS) and laptop (LVDS) digital panels. When a valid panel size is specified, the timings collected from DDC and BIOS will not be used. If you have a panel with timings different from that of a standard VESA mode, you have to provide this information through the Modeline.
For example, Option "PanelSize" "1400x1050"
The default value is none.
Option "PanelOff" "boolean"
Disable panel output.
The default value is off.
Option "EnablePageFlip" "boolean"
Enable page flipping for 3D acceleration. This will increase performance but not work correctly in some rare cases, hence the default is off.
Note: Page flipping does not work well in certain configurations with MergedFB. If you see rendering errors or other strange behavior, disable page flipping.

See Also

XFree86(1) , XF86Config(5x) , xf86config(1) , Xserver(1) , X(7)

Authors


Authors include: ...