LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-11-2011, 07:04 AM   #1
linuxs64
Member
 
Registered: Jun 2010
Posts: 93

Rep: Reputation: 39
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.
 
Old 01-11-2011, 09:10 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.

Last edited by H_TeXMeX_H; 01-11-2011 at 09:11 AM.
 
Old 01-11-2011, 11:15 AM   #3
linuxs64
Member
 
Registered: Jun 2010
Posts: 93

Original Poster
Rep: Reputation: 39
@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.

Last edited by linuxs64; 01-11-2011 at 11:17 AM.
 
Old 01-11-2011, 11:47 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: XBMC with VAAPI on Poulsbo (Intel GMA500) or other VAAPI Systems LXer Syndicated Linux News 0 01-01-2011 09:42 PM
Segfault on boot, attempting to enable nvidia driver anth0ny5 Linux - Software 2 04-08-2010 01:09 PM
Enable SLI on latest nvidia driver don_wombat_73 Linux - Hardware 2 10-13-2008 04:55 AM
enable nvidia driver MrMJS Linux - Newbie 1 12-26-2007 06:29 PM
can't enable nvidia driver robprentice Linux - Newbie 5 07-28-2006 09:04 AM


All times are GMT -5. The time now is 01:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration