Difference between revisions of "VDPAU"

From ArchWiki
Jump to navigation Jump to search
m (Configuration: fix typo's from previous edit)
(redirect per template)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Graphics]]
+
#REDIRECT: [[Hardware video acceleration]]
[[Category:X server]]
 
[[ja:VDPAU]]
 
[[ru:VDPAU]]
 
[[zh-CN:VDPAU]]
 
{{Related articles start}}
 
{{Related|VA-API}}
 
{{Related|XvMC}}
 
{{Related articles end}}
 
 
 
'''[http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/ Video Decode and Presentation API for Unix]''' is an open source library and API to offload portions of the video decoding process and video post-processing to the GPU video-hardware.
 
 
 
== Supported hardware ==
 
 
 
'''Open source drivers:'''
 
 
 
* [[ATI|AMD]] Radeon 9500 and newer GPUs are supported by the {{Pkg|mesa-vdpau}} package.
 
* [[Intel]] GMA 4500 series and newer GPUs are supported by the {{Pkg|libvdpau-va-gl}} package together with the {{pkg|libva-intel-driver}} package.
 
* [[Nouveau|NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{Pkg|mesa-vdpau}} package. It [http://nouveau.freedesktop.org/wiki/VideoAcceleration/#firmware requires] 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 {{Pkg|libvdpau-va-gl}} package together with the {{AUR|libva-xvba-driver}} package. It uses the {{AUR|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-total-hd234k}} for Radeon HD 4000 series.
 
* [[NVIDIA]] GeForce 400 series and newer GPUs are supported by the {{Pkg|nvidia-utils}} package.
 
** GeForce 8/9 and GeForce 100-300 series are supported by the {{Pkg|nvidia-340xx-utils}} package.
 
 
 
=== Supported formats ===
 
 
 
{| class="wikitable" style="width: 100%"
 
!
 
! colspan="3" | Open source
 
! colspan="2" | Proprietary
 
|-
 
!
 
! AMD
 
! Intel
 
! Nvidia
 
! AMD
 
! Nvidia
 
|-
 
| MPEG2 decoding
 
| Radeon 9500 and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 8 and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 8 and newer
 
|-
 
| MPEG4 decoding
 
| Radeon HD 6000 and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 200 and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 200 and newer
 
|-
 
| H.264 decoding
 
| Radeon HD 4000 and newer
 
| GMA 4500<sup>1</sup>, Ironlake Graphics and newer
 
| GeForce 8 and newer
 
| Radeon HD 4000 and newer
 
| GeForce 8 and newer
 
|-
 
| HEVC (H.265) decoding
 
| <center>—</center>
 
| <center>—<sup>2</sup></center>
 
| <center>—</center>
 
| <center>—<sup>2</sup></center>
 
| GeForce 900<sup>4</sup> and newer
 
|-
 
| VC1 decoding
 
| Radeon HD 4000 and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 8<sup>3</sup> and newer
 
| <center>—<sup>2</sup></center>
 
| GeForce 8<sup>3</sup> and newer
 
|}
 
 
 
* <sup>1</sup> Supported by the {{AUR|libva-intel-driver-g45-h264}} package. See [[Intel graphics#H.264 decoding on GMA 4500]] for instructions and caveats.
 
* <sup>2</sup> As of version 0.3, the VA GL driver doesn't support any other hardware decoder than H.264.
 
* <sup>3</sup> [[Wikipedia:Nvidia PureVideo|Except]] GeForce 8800 Ultra, 8800 GTX, 8800 GTS (320/640 MB).
 
* <sup>4</sup> Except GeForce GTX 970 and GTX 980.
 
 
 
In order to check what features are supported by your GPU, run the following command, which is provided by the {{Pkg|vdpauinfo}} package:
 
 
 
$ vdpauinfo
 
 
 
=== Configuration ===
 
{{Note|There may no need to export the {{ic|VDPAU_DRIVER}}, since most (modern) applications and environments will find the VDPAU library automatically.}}
 
 
 
The environment variable {{ic|VDPAU_DRIVER}} determines the driver file used. You can enable the [[environment variable]] [[Environment variables#Globally|globally]] or [[Environment variables#Per_user|locally per user]].
 
 
 
The correct driver name depends on your setup:
 
 
 
* For Intel Graphics or AMD Catalyst you need to set it to {{ic|va_gl}}.
 
* For the open source AMD/ATI driver, you need to set it to the proper driver version depending on your GPU.
 
* For Nvidia's proprietary version set the variable to "nvidia".
 
 
 
The driver name can determined by running:
 
{{hc|$ grep -i vdpau ~/.local/share/xorg/Xorg.0.log|
 
(II) RADEON(0): [DRI2] VDPAU driver: r300
 
}}
 
In this case you want to set {{ic|1=VDPAU_DRIVER=r300}}.
 
 
 
==== Hybrid graphics ====
 
 
 
For hybrid setups (both NVIDIA and AMD), it may be necessary to set following environment variable:
 
 
 
$ export DRI_PRIME=1
 
 
 
For more information, see the [[PRIME]] wiki page.
 
 
 
== Supported software ==
 
 
 
* {{App|Adobe Flash Player|see [[Browser plugins#Adobe Flash Player]].||{{Pkg|flashplugin}}}}
 
* {{App|[[MPlayer]] or [http://www.mplayer2.org/ mplayer2]|see [[MPlayer#Enabling VDPAU]].||  {{Pkg|mplayer}} {{Aur|mplayer2}}}}
 
* {{App|gnome-mplayer|To enable hardware acceleration: ''Edit > Preferences > Player'', then set Video Output to {{ic|vdpau}}.||{{Pkg|gnome-mplayer}}}}
 
* {{App|[[SMplayer]]|To enable hardware acceleration: ''Options > Preferences > General > Video'', then set Output driver to {{ic|vdpau}}.||{{Pkg|smplayer}}}}
 
* {{App|bomi|Hardware acceleration can be enabled: ''Preferences > Video > Hardware acceleration''.|https://bomi-player.github.io|{{Aur|bomi}} {{Aur|bomi-git}}}}
 
* {{App|[[Mpv]]|see [[Mpv#Hardware Decoding]].||{{Pkg|mpv}}}}
 
* {{App|[[VLC media player]]|see [[VLC media player#Hardware acceleration support]].||{{Pkg|vlc}}}}
 

Latest revision as of 15:36, 18 May 2016