Difference between revisions of "VDPAU"

From ArchWiki
Jump to: navigation, search
(flag for merge to new page)
(Add more info about the merge.)
Line 8: Line 8:
 
{{Related|XvMC}}
 
{{Related|XvMC}}
 
{{Related articles end}}
 
{{Related articles end}}
{{Merge|Hardware video acceleration}}
+
{{Merge|Hardware video acceleration|All the relevant info has been merged, there is no need for this page anymore.}}
 
'''[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.
 
'''[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.
  

Revision as of 17:05, 17 May 2016

zh-CN:VDPAU

Merge-arrows-2.pngThis article or section is a candidate for merging with Hardware video acceleration.Merge-arrows-2.png

Notes: All the relevant info has been merged, there is no need for this page anymore. (Discuss in Talk:VDPAU#)

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:

  • AMD Radeon 9500 and newer GPUs are supported by the mesa-vdpau package.
  • Intel GMA 4500 series and newer GPUs are supported by the libvdpau-va-gl package together with the libva-intel-driver package.
  • NVIDIA GeForce 8 series and newer GPUs are supported by the mesa-vdpau package. It requires the nouveau-fwAUR package, which contains the required firmware to operate that is presently extracted from the NVIDIA binary driver.

Proprietary drivers:

Supported formats

Open source Proprietary
AMD Intel Nvidia AMD Nvidia
MPEG2 decoding Radeon 9500 and newer
2
GeForce 8 and newer
2
GeForce 8 and newer
MPEG4 decoding Radeon HD 6000 and newer
2
GeForce 200 and newer
2
GeForce 200 and newer
H.264 decoding Radeon HD 4000 and newer GMA 45001, Ironlake Graphics and newer GeForce 8 and newer Radeon HD 4000 and newer GeForce 8 and newer
HEVC (H.265) decoding
2
2
GeForce 9004 and newer
VC1 decoding Radeon HD 4000 and newer
2
GeForce 83 and newer
2
GeForce 83 and newer

In order to check what features are supported by your GPU, run the following command, which is provided by the vdpauinfo package:

$ vdpauinfo

Configuration

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Autodetection works at least if there is just one driver available. Note that the drivers are installed in /usr/lib/vdpau/. (Discuss in Talk:VDPAU#)

The environment variable VDPAU_DRIVER determines the driver file used. See Environment variables#Defining variables for configuration details.

The correct driver name depends on your setup:

  • For Intel Graphics or AMD Catalyst you need to set it to 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:

$ grep -i vdpau ~/.local/share/xorg/Xorg.0.log
(II) RADEON(0): [DRI2] VDPAU driver: r300

In this case you want to set 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

|| flashplugin
|| mplayer mplayer2AUR
  • gnome-mplayer — To enable hardware acceleration: Edit > Preferences > Player, then set Video Output to vdpau.
|| gnome-mplayer
  • SMplayer — To enable hardware acceleration: Options > Preferences > General > Video, then set Output driver to vdpau.
|| smplayer
  • bomi — Hardware acceleration can be enabled: Preferences > Video > Hardware acceleration.
https://bomi-player.github.io || bomiAUR bomi-gitAUR
|| mpv
|| vlc