Difference between revisions of "VA-API"

From ArchWiki
Jump to: navigation, search
m (update links)
(Supported hardware: update for mesa 9.2)
Line 13: Line 13:
 
==Supported hardware==
 
==Supported hardware==
  
*[[NVIDIA]] GeForce 8 series and newer cards are supported by the {{pkg|libva-vdpau-driver}} package, available in the [[official repositories]]. It uses the proprietary {{pkg|nvidia-utils}} driver.
+
'''Open source drivers:'''
  
*[[Intel Graphics|Intel]] GMA 4500 series and newer GPUs are supported by the open source {{pkg|libva-intel-driver}} package, available in the [[official repositories]].
+
*[[ATI|AMD]] Radeon 9500 and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|ati-dri}} driver.
  
*[[ATI|AMD]] Radeon 9500 and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package, available in the [[official repositories]]. It uses the open source {{pkg|ati-dri}} driver.
+
*[[Intel Graphics|Intel]] GMA 4500 series and newer GPUs are supported by the {{pkg|libva-intel-driver}} package, available in the [[official repositories]].
  
*[[AMD Catalyst|AMD]] Radeon HD 4000 series and newer GPUs are also supported by {{AUR|xvba-video-open}} package, available in the [[AUR]]. It uses the proprietary {{AUR|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-legacy-utils}} for Radeon HD 4000 series.
+
*[[Nouveau|NVIDIA]] GeForce 400 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nouveau-dri}} driver. It uses the {{AUR|nouveau-fw}} package, which contains the required firmware to operate that is presently extracted from the NVIDIA binary driver.
 +
 
 +
'''Proprietary drivers:'''
 +
 
 +
*[[AMD Catalyst|AMD]] Radeon HD 4000 series and newer GPUs are supported by the {{AUR|xvba-video-open}} package, available in the [[AUR]]. It uses the {{AUR|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-legacy-utils}} for Radeon HD 4000 series.
 +
 
 +
*[[NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nvidia-utils}} driver.
  
 
===Supported formats===
 
===Supported formats===
 
{| class="wikitable" border="1" cellpadding="2" style="width: 100%"
 
{| class="wikitable" border="1" cellpadding="2" style="width: 100%"
 
!  
 
!  
! {{pkg|libva-vdpau-driver}} with {{pkg|nvidia-utils}}
 
! {{pkg|libva-intel-driver}}
 
 
! {{pkg|libva-vdpau-driver}} with {{pkg|ati-dri}}
 
! {{pkg|libva-vdpau-driver}} with {{pkg|ati-dri}}
 +
! {{pkg|libva-intel-driver}}
 +
! {{pkg|libva-vdpau-driver}} with {{pkg|nouveau-dri}}
 
! {{AUR|xvba-video-open}}
 
! {{AUR|xvba-video-open}}
 +
! {{pkg|libva-vdpau-driver}} with {{pkg|nvidia-utils}}
 
|-
 
|-
 
| MPEG2 decoding
 
| MPEG2 decoding
| Nvidia GeForce 8 and newer, AMD Radeon 9500 and newer
 
| Intel GMA 4500 and newer
 
 
| AMD Radeon 9500 and newer
 
| AMD Radeon 9500 and newer
 +
| Intel GMA 4500 and newer
 +
| Nvidia GeForce 400 and newer
 
| AMD Radeon HD 4000 and newer
 
| AMD Radeon HD 4000 and newer
 +
| Nvidia GeForce 8 and newer
 
|-
 
|-
 
| MPEG4 decoding
 
| MPEG4 decoding
| Nvidia GeForce 200 and newer
+
| AMD Radeon HD 6000 and newer
| -
+
 
| -
 
| -
 +
| Nvidia GeForce 400 and newer
 
| AMD Radeon HD 6000 and newer
 
| AMD Radeon HD 6000 and newer
 +
| Nvidia GeForce 200 and newer
 
|-
 
|-
 
| H264 decoding
 
| H264 decoding
| Nvidia GeForce 8 and newer
+
| AMD Radeon HD 4000 and newer
 
| Intel GMA 4500<sup>1</sup>, Ironlake Graphics and newer
 
| Intel GMA 4500<sup>1</sup>, Ironlake Graphics and newer
| -
+
| Nvidia GeForce 400 and newer
 
| AMD Radeon HD 4000 and newer
 
| AMD Radeon HD 4000 and newer
 +
| Nvidia GeForce 8 and newer
 
|-
 
|-
 
| VC1 decoding
 
| VC1 decoding
| Nvidia GeForce 8 and newer
+
| AMD Radeon HD 4000 and newer
 
| Intel Sandy Bridge Graphics and newer
 
| Intel Sandy Bridge Graphics and newer
| -
+
| Nvidia GeForce 400 and newer
 
| AMD Radeon HD 4000 and newer
 
| AMD Radeon HD 4000 and newer
 +
| Nvidia GeForce 8 and newer
 
|-
 
|-
 
| MPEG2 encoding
 
| MPEG2 encoding
 
| -
 
| -
 
| Intel Sandy Bridge Graphics and newer
 
| Intel Sandy Bridge Graphics and newer
 +
| -
 
| -
 
| -
 
| -
 
| -
Line 62: Line 74:
 
| -
 
| -
 
| Intel Sandy Bridge Graphics and newer
 
| Intel Sandy Bridge Graphics and newer
 +
| -
 
| -
 
| -
 
| -
 
| -

Revision as of 01:42, 21 August 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary end

Video Acceleration API is a specification and open source library to provide hardware accelerated video decode/encode.

Supported hardware

Open source drivers:

Proprietary drivers:

Supported formats

libva-vdpau-driver with ati-dri libva-intel-driver libva-vdpau-driver with nouveau-dri xvba-video-openAUR libva-vdpau-driver with nvidia-utils
MPEG2 decoding AMD Radeon 9500 and newer Intel GMA 4500 and newer Nvidia GeForce 400 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
MPEG4 decoding AMD Radeon HD 6000 and newer - Nvidia GeForce 400 and newer AMD Radeon HD 6000 and newer Nvidia GeForce 200 and newer
H264 decoding AMD Radeon HD 4000 and newer Intel GMA 45001, Ironlake Graphics and newer Nvidia GeForce 400 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
VC1 decoding AMD Radeon HD 4000 and newer Intel Sandy Bridge Graphics and newer Nvidia GeForce 400 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
MPEG2 encoding - Intel Sandy Bridge Graphics and newer - - -
H264 encoding - Intel Sandy Bridge Graphics and newer - - -

1Supported by the libva-driver-intel-g45-h264 package. See H.264 decoding on GMA 4500 for instructions and caveats.

In order to check what profiles (features) are supported by your GPU, run the following command, which provided by the libva package:

$ vainfo

VAEntrypointVLD means that your card is capable to decode this format, VAEntrypointEncSlice means that you can encode to this format.

Supported software

GStreamer

Install gst-vaapi package, available in the official repositories.

$ gst-launch-1.0 playbin uri=file:///path/to/foobar.mpeg

VA-API is used automatically, if supported format found.

GStreamer based players:

  • totem: no configuration needed.

MPlayer

Install mplayer-vaapi package, available in the official repositories.

$ mplayer -vo vaapi -va vaapi foobar.mpeg
  • -vo - Select vaapi video output driver
  • -va - Select vaapi video decoder driver
Note: You can also use mplayer2 with VDPAU backend. See MPlayer#Enabling_VDPAU for more information.

MPlayer based players:

  • gnome-mplayer: to enable hardware acceleration: Edit -> Preferences -> Player, then set Video Output to "vaapi".
  • smplayer: to enable hardware acceleration: Options -> Preferences -> General -> Video, then set Output driver to "vaapi".

VLC media player

Install vlc package, available in the official repositories.

To enable hardware acceleration: Tools -> Preferences -> Input & Codecs, then check "Use GPU accelerated decoding".