[LINUX] Add VAAPI (VA API) Video Acceleration API support?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
yahma Offline
Junior Member
Posts: 1
Joined: Nov 2009
Reputation: 0
Lightbulb  [LINUX] Add VAAPI (VA API) Video Acceleration API support?
Post: #1
Before anyone complains that this is a duplicate feature request, please note that there are several other threads relating to AMD xvba support; however, none of them correctly identify VAAPI as the API to target.

Now that Intel, ATI/AMD, Nvidia and VIA hardware all support the VA-API standard, I would like to suggest adding VA-API support to XBMC to allow for ubiquitous linux HD Decode support.

See the related Phoronix Article indicating that VA-API support for ATI and Nvidia cards has now been released.

Here are that patches that add VA-API support to FFMPEG.

Support Ticket #7590 added to Trac.
(This post was last modified: 2009-11-07 07:21 by yahma.)
find quote
jmarshall Online
Team-XBMC Developer
Posts: 25,700
Joined: Oct 2003
Reputation: 169
Post: #2
We're awaiting ffmpeg to incorporate it. Once they do, things can start moving forward, though I don't know if anybody on the team is planning to work on it.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
motd2k Offline
Team-XBMC Developer
Posts: 666
Joined: Dec 2008
Reputation: 0
Location: England
Post: #3
Would also be nice if the documentation wasnt such a train wreck.
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,795
Joined: Mar 2004
Reputation: 3
Post: #4
Was actually looking at it yesterday. But yea hardly any docs and api seems to be changing alot.

But I do agree it would be really nice to support.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
mots Offline
Senior Member
Posts: 171
Joined: Apr 2007
Reputation: 0
Location: Austria
Post: #5
Any news on this? I know this isn't upstream yet, but there are patches for ffmpeg and I think it would be awesome to have hardware acceleration with all three major gpu vendors...
find quote
SneakerElph Offline
Member
Posts: 87
Joined: Jan 2006
Reputation: 0
Post: #6
I'm definitely interested in this as well, since I run an Intel X4500HD.
find quote
Spudz76 Offline
Junior Member
Posts: 2
Joined: Dec 2009
Reputation: 0
Post: #7
Looks like the hwaccel bits are in the SVN-included ffmpeg now... I just manually enabled it by building the latest libva dpkgs (from http://www.splitted-desktop.com/~gbeauchesne/libva/ using the Debian instructions on Ubuntu Karmic), installing the resulting libva1 and libav-dev, adding the "--enable-vaapi" and the five or so "--with-hwaccel=" types to the ffmpeg section of the main "configure" script and it showed the hwaccels in the list so maybe it will sort of work. Or spectacularly crash. Or make no difference since I don't have any of the supported accel backends on any of my video cards (and i run XBMC on an ancient Duron 1300 with a crap FX5200 PCI). But anyway I thought I'd mention it seems like the stuff is there now, maybe, and how to probably enable it, if anyone wanted to try getting hwaccel going with their ATI or whatnot.
find quote
Spudz76 Offline
Junior Member
Posts: 2
Joined: Dec 2009
Reputation: 0
Post: #8
OK, it crashed the compile miserably. Not ready yet, or the libVA lib version has to match what this ffmpeg expects (since apparently everything is still changing daily with vaapi/libVA). It was worth a shot.
find quote
Soju Offline
Senior Member
Posts: 110
Joined: Jul 2008
Reputation: 0
Post: #9
Has anyone run metrics on it? How much will it *theoretically* offload on say a 4500 Intel chip?
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,390
Joined: Feb 2008
Reputation: 64
Post: #10
Not ready for prime time so forget all hopes of this until it hits ffmpeg svn trunk.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
tigertailz Offline
Junior Member
Posts: 6
Joined: Jan 2010
Reputation: 0
Post: #11
Any updates on this?
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,795
Joined: Mar 2004
Reputation: 3
Post: #12
Not really, but i'll be improving the infrastructure in xbmc while adding support for dxva using the same method. So maybe i'll look at vaapi later. Would have to use the vaapi->vdpau backend thou.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Megacubo Offline
Junior Member
Posts: 8
Joined: Dec 2009
Reputation: 0
Post: #13
It would be great to have vaapi as a client and use the engine would like XvBA=ATI VDPAU=NVIDIA ┬┐Vaapi=Intel?
find quote
bolzerrr Offline
Junior Member
Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #14
Would those Patches be a solution:
http://www.splitted-desktop.com/~gbeauch...yer-vaapi/
find quote
mots Offline
Senior Member
Posts: 171
Joined: Apr 2007
Reputation: 0
Location: Austria
Post: #15
Any news on this?
find quote
Post Reply