LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver? (http://www.linuxquestions.org/questions/slackware-14/how-to-enable-libvdpau-libva-vaapi-and-mplayer-with-nvidia-driver-855574/)

linuxs64 01-11-2011 07:04 AM

How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver?
 
Have anyone tried enabling libvdpau, libva (vaapi) and MPlayer with the proprietary Nvidia driver?

Does it actually work on slackware stable/current? (Lower cpu utilization during HD decoding)

Is this the correct installation workflow?

- libvdpau SBo
- libva SBo
- Nvidia driver SBo/proprietary
- vdpau-video SBo
- ffmpeg/MPlayer from SBo/slackware/alien

Thanks.

H_TeXMeX_H 01-11-2011 09:10 AM

Older nvidia drivers included libvdpau, but now you have to compile your own. I have not heard of libva until now, and it seems that this is an alternative to vdpau, and it supports other video cards too. If you use libvdpau, I'm pretty sure you don't need libva. If you use libva, you will need the vdpau backend and the modified version of mplayer.

Minimally you need:
nvidia driver
libvdpau
mplayer/ffmpeg

in that order.

linuxs64 01-11-2011 11:15 AM

@H_TeXMeX_H
Thanks for the reply.

I got libva working with mplayer, but it seems vdpau performs better at reducing cpu utilization (0-18%, mostly < 5%), libva (14-20%). vdpau looks a bit better too. But libva is good for those who need it.

Here's the install workflow:

- libvdpau SBo using latest 0.4.1, Sep 2010
- libva SBo
- Nvidia driver SBo/proprietary 260.19.21, Nov 2010 (chose libvdpau from this bundle as it's newer)
- vdpau-video SBo using latest 0.7.3.pre4
- ffmpeg/MPlayer from SBo/slackware/alien, using latest svn
- mplayer-vaapi from here, only needed the script

mplayer-vaapi uses a script to download svn of mplayer, ffmpeg etc and compile a separate version of mplayer. Svn revisions are specified in the script. This new mplayer binary supports "-vo vaapi | vaapi:gl | vaapi:gl:reflect" and it works with smplayer.

H_TeXMeX_H 01-11-2011 11:47 AM

libva is interesting because it has backends for other manufacturers: intel, ATI, via, etc.


All times are GMT -5. The time now is 11:00 PM.