Debian, radeon and vdpau

Recently I encountered some warning message in terminal while playing video:

Failed to open VDPAU backend cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1

I’m use open source vide driver radeon with such videocard:

lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]

So to fix this I downloaded from Arch Linux repos this files:

ls tmp/vdpau/ | grep pkg

And extracted all libraried to lib directory:

ls tmp/vdpau/lib/

Create script with something like this:

export VDPAU_DRIVER=r600
export LIBVA_DRIVER_NAME=vdpau
export LD_LIBRARY_PATH="/home/max/tmp/vdpau/lib"

After this you will achieve working vdpau:

Starting playback...
VIDEO: 1280x720 25.000 fps 1739.2 kbps (217.4 kB/s)
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
[vdpau] Got display refresh rate 59.973 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.



Debian, radeon and vdpau