Features: Difference between revisions

From cchtml.com
 
(31 intermediate revisions by 16 users not shown)
Line 1: Line 1:
= Open Source Drivers =
= Open Source Drivers =
NOTE: The features listed are based off of the development repository at the time of this writing (1/17/11). This does not mean that every Linux distribution will have the same capabilities. More than likely, major distributions will have an older, better-tested version of the graphics stack as a default and offer bleeding-edge versions of the driver in a repository. For a concise chart of features supported by the open source radeon drivers, see: http://www.x.org/wiki/RadeonFeature  
NOTE: The features listed are based off of the development repository at the time of this writing (2011-01-17). This does not mean that every Linux distribution will have the same capabilities. More than likely, major distributions will have an older, better-tested version of the graphics stack as a default and offer bleeding-edge versions of the driver in a repository. For a concise chart of features supported by the open source radeon drivers, see: http://www.x.org/wiki/RadeonFeature  
Here are the highlights:
Here are the highlights:
  * Kernel Mode-Setting (KMS)
  * Kernel Mode-Setting (KMS)
Line 8: Line 8:
  * Textured Video Acceleration (Xv)
  * Textured Video Acceleration (Xv)
  * Power Management
  * Power Management
  * HDMI Audio
  * HDMI Audio (RadeonHD 4000-series requires booting with radeon.audio=1 and RadeonHD 5000-series requires kernel >= 3.3)
  * XRandR 1.3
  * XRandR 1.3
  * AIGLX (desktop effects)
  * AIGLX (desktop effects)
The developers also have a frequently updated list of 3D applications which they use to mark their progress: http://www.x.org/wiki/RadeonProgram
The developers also have a frequently updated list of 3D applications which they use to mark their progress: http://www.x.org/wiki/RadeonProgram


== Switchable Graphic Chips Status==
= AMD Catalyst/fglrx =
 
AMD also offers a proprietary driver for RadeonHD chips based off of their Windows code (a legacy proprietary driver is offered for older cards, but it will not run on modern kernels/X servers)
Some laptops (and other systems) are now being sold with both an integrated, low power GPU, and a discrete, high performance GPU [http://www.amd.com/us/products/technologies/switchable-graphics/Pages/switchable-graphics.aspx AMD Switchable Graphics Technology] Open source drivers support switching from integrated to discrete graphics cards using vga_switcheroo. However, the performance of the chips with the switchable open source drivers may not be optimized. For example, with the open source driver on the HP DV7-4045ea you can switch between the 4200 and 5650; the 4200 works okay, but although the 5650 does work, it does not perform well.
  * OpenGL 4.4.13374 and GLSL 4.40 (dependent on the latest version your card supports)
 
  * XvBA video decode acceleration (through VA-API and only for RadeonHD 4x00 cards and later): {{404}}http://www.splitted-desktop.com/~gbeauchesne/
== Video Decode Acceleration Status ==
While the video quality of the open source drivers is now in an excellent state as of kernel 2.6.38, we are still anticipating development of video acceleration code (using shader hardware).
 
= ATI Catalyst/fglrx =
ATI also offers a proprietary driver for RadeonHD chips based off of their Windows code (a legacy proprietary driver is offered for older cards, but it will not run on modern kernels/X servers)
  * OpenGL 3.3/4.1 and GLSL(dependent on the latest version your card supports)
  * XvBA video decode acceleration (through VA-API and only for RadeonHD 4x00 cards and later): http://www.splitted-desktop.com/~gbeauchesne/
  * Direct2D acceleration
  * Direct2D acceleration
  * Catalyst Control Center
  * Catalyst Control Center
  * aticonfig CLI tool
  * amdconfig CLI tool
  * OverDrive (power management, overclocking)
  * OverDrive (power management, overclocking)
  * HDMI Audio
  * HDMI Audio
Line 32: Line 25:
  * AIGLX (desktop effects)
  * AIGLX (desktop effects)


== Video Acceleration (VA) API Status ==
= Switchable Graphic Chips Status=
Work has been underway to support VA API under in Linux. Video acceleration can be achieved through drivers supplied at [http://www.splitted-desktop.com/~gbeauchesne/ gbeauchesne]


However, the drivers do not appear to have been included in the mainline distributions and there is a certain degree of incompatibility. The distribution drivers and dependencies need to be removed and reinstalled with the older patched drivers.
Some laptops (and other systems) are now being sold with both an integrated, low power GPU, and a discrete, high performance GPU [http://www.amd.com/us/products/technologies/switchable-graphics/Pages/switchable-graphics.aspx AMD Switchable Graphics Technology]. There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (MUX) to switch between GPU's. Newer systems (those with PowerXpress >= 4.0) are MUX-less. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU's, and systems with older ATI GPU's have a MUX, but don't quote that.  
 
For example vainfo on a clean Ubuntu 10.10 install for a 4200 shows the following:
 
* libva: libva version 0.31.0
* Xlib: extension "XFree86-DRI" missing on display ":0.0".
* libva: va_getDriverName() returns -1
* vaInitialize failed with error code -1 (unknown libva error),exit
 
The drivers in Ubuntu 10.10 are of a latter versions, but do not support VA API for ATI.
 
A bug against the libva has been submitted see [https://bugs.launchpad.net/ubuntu/+source/libva/+bug/642907 Bug 642907]


== Switchable Graphic Chips Warning==
== Switchable Graphic Chips Warning==
Line 53: Line 34:
|-  
|-  
| <br />
| <br />
As of AMD Catalyst™ 10.12, there is no support for switchable graphics chips in Linux. This means you cannot switch between the low power consumption of the integrated graphics chip and the high performance of the discrete graphics chip. Some manufacturers allow the IGP to be turned off in the BIOS and use the discrete card only (but this is not good for battery life). Otherwise, you are stuck with both GPU's turned on and draining the battery while only being able to use the IGP. Carefully research before purchasing a laptop, or you may not be able to fully use the hardware you pay for.<br /><br />
Carefully research before purchasing a laptop, or you may not be able to fully use the hardware you pay for.<br /><br />
|}
|}


There is a bug raised against the inability to [http://ati.cchtml.com/show_bug.cgi?id=16 switch between integrated and discrete graphics cards]
== MUXed Systems ==
 
Open source drivers support switching from integrated to discrete graphics cards using [http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html vga_switcheroo] on MUXed systems. However, the performance of the chips with the switchable open source drivers may not be optimized. For example, with the open source driver on the HP DV7-4045ea you can switch between the 4200 and 5650; the 4200 works okay, but although the 5650 does work, it does not perform well.
Catalyst supposedly supports switching using the following commands, but reports of success are scarce:
amdconfig --pxl      # List current activated GPU
amdconfig --px-dgpu  # Activate discrete GPU (High-Performance mode), must re-start X to take effect
amdconfig --px-igpu  # Activate integrated GPU (Power-Saving mode), must re-start X to take effect
 
== MUX-less Systems ==
 
On MUX-less systems, the discrete card is used solely for rendering, not display. At the moment, the X server does not support rendering and display from different cards so the discrete card can not be used with MUX-less systems at the moment. Most new laptops (2011+) are MUX-less.
There is a bug raised against the inability to switch between integrated and discrete graphics cards [http://ati.cchtml.com/show_bug.cgi?id=16 Official AMD Bug]
 
There is a [http://phoronix.com/forums/showthread.php?70128-Really-AMD-does-not-provide-any-support-for-the-switchable-graphics&s=ef268e08353e7bff6ffe69ea4f9139b4&p=257729#post257729 report] of switchable graphics working on an HP laptop using the proprietary driver
 
= Video Decode Acceleration Status =
 
== VDPAU -> VA-API/XvBA / VDPAU -> OpenGL Wrapper (RadeonHD >= 4000 using Catalyst)==
 
Applications which support VDPAU can use Intel cards (VA-API), AMD cards (XvBA with [http://cgit.freedesktop.org/vaapi/xvba-driver/ xvba-va]), or any card (OpenGL).
 
[https://github.com/i-rinat/libvdpau-va-gl GIT project]
 
== VA-API/XvBA Wrapper (RadeonHD >= 4000 using Catalyst)==
 
Video acceleration can be achieved through drivers supplied at [http://www.splitted-desktop.com/~gbeauchesne/ gbeauchesne] Modern distros should have this installable from their repo (Debian/Ubuntu does).
Note that this wrapper is no longer maintained/developed and should be considered a dead-end.
 
== Using XvBA in XBMC (with Catalyst >= 11-11) ==
 
The XBMC project has implemented acceleration in their media player using AMD's libxvba library. This is a fairly new/experimental feature at the time of this writing, but XBMC claims positive feedback. [http://forum.xbmc.org/showthread.php?t=116996 Install Instructions]
 
== Gallium3D VDPAU (open-source driver) ==
 
The open-source 3D mesa driver now implements acceleration through a VDPAU/VA-API wrapper that uses the 3D engine. This is a fairly new/experimental feature at the time of this writing, so it may require rebuilding mesa. AMD is interested in using the UVD hardware directly, but this is currently held up for legal reasons.
 
The open-source 3D mesa driver implements video acceleration that is better and more stable than fglrx one.
 
[http://www.phoronix.com/scan.php?page=article&item=amd_opensource_uvd&num=1]
 
= EyeFinity =
Catalyst supports more than two simultaneous outputs on RadeonHD5xxx cards having more than two physical independent out. Default settings starts every monitors in a cloned stage, but you can switch to a multiple display desktop via the Catalyst Control Center. Be aware that the AMD Catalyst Control Center does not let you fix arbitrary position settings : it only lets you approximately place your monitors on a virtual desktop. It's often best to adjust screen alignment using the "Position +x +y" option in xorg.conf.'''


What a joy to find smoeone else who thinks this way.
Open source drivers also support Eyefinity.

Latest revision as of 21:04, 15 June 2015

Open Source Drivers

NOTE: The features listed are based off of the development repository at the time of this writing (2011-01-17). This does not mean that every Linux distribution will have the same capabilities. More than likely, major distributions will have an older, better-tested version of the graphics stack as a default and offer bleeding-edge versions of the driver in a repository. For a concise chart of features supported by the open source radeon drivers, see: http://www.x.org/wiki/RadeonFeature Here are the highlights:

* Kernel Mode-Setting (KMS)
* 2D Acceleration (EXA)
* DRI2
* OpenGL 2.x and GLSL 1.2
* Textured Video Acceleration (Xv)
* Power Management
* HDMI Audio (RadeonHD 4000-series requires booting with radeon.audio=1 and RadeonHD 5000-series requires kernel >= 3.3)
* XRandR 1.3
* AIGLX (desktop effects)

The developers also have a frequently updated list of 3D applications which they use to mark their progress: http://www.x.org/wiki/RadeonProgram

AMD Catalyst/fglrx

AMD also offers a proprietary driver for RadeonHD chips based off of their Windows code (a legacy proprietary driver is offered for older cards, but it will not run on modern kernels/X servers)

* OpenGL 4.4.13374 and GLSL 4.40 (dependent on the latest version your card supports)
* XvBA video decode acceleration (through VA-API and only for RadeonHD 4x00 cards and later): Template:404http://www.splitted-desktop.com/~gbeauchesne/
* Direct2D acceleration
* Catalyst Control Center
* amdconfig CLI tool
* OverDrive (power management, overclocking)
* HDMI Audio
* XRandR 1.3
* AIGLX (desktop effects)

Switchable Graphic Chips Status

Some laptops (and other systems) are now being sold with both an integrated, low power GPU, and a discrete, high performance GPU AMD Switchable Graphics Technology. There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (MUX) to switch between GPU's. Newer systems (those with PowerXpress >= 4.0) are MUX-less. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU's, and systems with older ATI GPU's have a MUX, but don't quote that.

Switchable Graphic Chips Warning

WARNING

Carefully research before purchasing a laptop, or you may not be able to fully use the hardware you pay for.

MUXed Systems

Open source drivers support switching from integrated to discrete graphics cards using vga_switcheroo on MUXed systems. However, the performance of the chips with the switchable open source drivers may not be optimized. For example, with the open source driver on the HP DV7-4045ea you can switch between the 4200 and 5650; the 4200 works okay, but although the 5650 does work, it does not perform well. Catalyst supposedly supports switching using the following commands, but reports of success are scarce:

amdconfig --pxl       # List current activated GPU
amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect
amdconfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect

MUX-less Systems

On MUX-less systems, the discrete card is used solely for rendering, not display. At the moment, the X server does not support rendering and display from different cards so the discrete card can not be used with MUX-less systems at the moment. Most new laptops (2011+) are MUX-less. There is a bug raised against the inability to switch between integrated and discrete graphics cards Official AMD Bug

There is a report of switchable graphics working on an HP laptop using the proprietary driver

Video Decode Acceleration Status

VDPAU -> VA-API/XvBA / VDPAU -> OpenGL Wrapper (RadeonHD >= 4000 using Catalyst)

Applications which support VDPAU can use Intel cards (VA-API), AMD cards (XvBA with xvba-va), or any card (OpenGL).

GIT project

VA-API/XvBA Wrapper (RadeonHD >= 4000 using Catalyst)

Video acceleration can be achieved through drivers supplied at gbeauchesne Modern distros should have this installable from their repo (Debian/Ubuntu does). Note that this wrapper is no longer maintained/developed and should be considered a dead-end.

Using XvBA in XBMC (with Catalyst >= 11-11)

The XBMC project has implemented acceleration in their media player using AMD's libxvba library. This is a fairly new/experimental feature at the time of this writing, but XBMC claims positive feedback. Install Instructions

Gallium3D VDPAU (open-source driver)

The open-source 3D mesa driver now implements acceleration through a VDPAU/VA-API wrapper that uses the 3D engine. This is a fairly new/experimental feature at the time of this writing, so it may require rebuilding mesa. AMD is interested in using the UVD hardware directly, but this is currently held up for legal reasons.

The open-source 3D mesa driver implements video acceleration that is better and more stable than fglrx one.

[1]

EyeFinity

Catalyst supports more than two simultaneous outputs on RadeonHD5xxx cards having more than two physical independent out. Default settings starts every monitors in a cloned stage, but you can switch to a multiple display desktop via the Catalyst Control Center. Be aware that the AMD Catalyst Control Center does not let you fix arbitrary position settings : it only lets you approximately place your monitors on a virtual desktop. It's often best to adjust screen alignment using the "Position +x +y" option in xorg.conf.

Open source drivers also support Eyefinity.