• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
[LINUX] Add VAAPI (VA API) Video Acceleration API support?
#61
id like to keep on the latest versions, is there any ppa with libva?
Reply
#62
Hi,

I've successfully installed vaapi via XvBa:

ibva: libva version 0.31.0-sds6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointIDCT
VAProfileMPEG2Main : VAEntrypointIDCT
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD


Then I checked out XBMC via subversion, installed all dependencies and configured and compiled it successfully.

Result is that VAAPI is enabled according to the compilation output...

I called "sudo make install" later and that went fine, too...

BUT...

When I run XBMC there is no VAAPI usage (at least according to CPU load)...

Is there any video config setting that needs to be set within XBMC or somewhere else?
I cannot see any setting within XBMC which I can choose - no word about VAAPI.

By the way - I cannot select "Auto detect" as rendering option because then I only hear audio and a black screen... but that was already the case before upgrading the driver and using the SVN version...

Any idea?

Thanks
Markus
Reply
#63
the same screen as the "Auto Detect" should contain a toggle to enable vaapi
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
Reply
#64
hmmm... I'll try a fresh install...
Reply
#65
I just got everything freshly from SVN and did all the stuff I expect to be needed:

a) I uninstalled XBMC via synaptic
b) I checked if XBMC was really uninstalled which wasn't because my last manual build installed XBMC into a different folder than synaptic
c) So, I uninstalled the last manual build via sudo make uninstall
d) I checked if XBMC really was gone and it really was
e) I even deleted the .xbmc folder

Then I did the following:

Code:
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
cd trunk/
./bootstrap
./configure
make -j2
sudo make install

(Configure again told me that VAAPI support was enabled)

After that I started XBMC and chose "System --> Video --> Playback".

I see the following options for "Render method": Auto detect, Software, Advanced shaders (GLSL), Basic shaders (ARB).

Was the trunk the wrong choice? I'm completely confused. Where am I failing? :-)

Thanks
Markus

PS: all options there are:

Resume from where last stopped
Render method
Allow hardware acceleration (VDPAU)
Use pixel buffer objects
Adjust display refresh rate to match video
Sync playback to display
A/V sync method
Allowed error in aspect ratio to minimize black bars
Display 4:3 video as
VDPAU Studio level color conversion
Activate Teletext

Wrong menu at all? Or maybe somewhere hidden config files?
Reply
#66
Markus72 Wrote:
Code:
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
cd trunk/
./bootstrap
./configure
make -j2
sudo make install

(Configure again told me that VAAPI support was enabled)

Same with me. I tried to install all necessary development packages for vaapi, but only vdpau appears as a usable option ( i am trying vaapi with nvidia backend)
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.
Reply
#67
Same problem, I compile and no vaapi.
Compiled using svn 30321 (the most recent) and a few revisions earlier and no luck
using ati 5770 video card with radeon driver 10.4

here is my vainfo
Code:
libva: libva version 0.31.0-sds6
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointIDCT
      VAProfileMPEG2Main              :    VAEntrypointIDCT
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD

I compiled mplayer-vaapi (not for use with xbmc) and it works and plays so I know vaapi is installed and working
Any help would be appreciated
Thanks
Greg
Reply
#68
Big Grin 
I'm having the same troubles.

I've got 0.31.0-sds6 installed.

Compiling gave me:
Code:
Enabled hwaccels:
h263_vaapi              mpeg2_vaapi             vc1_vaapi
h264_vaapi              mpeg4_vaapi             wmv3_vaapi

------------------------
  XBMC Configuration:
------------------------
  Debugging:    Yes
  Profiling:    No
  Crosscomp.:   No
  target ARCH:  no
  target CPU:   no
  Optimization: Yes
  OpenGL:       Yes
  VDPAU:        Yes
  VAAPI:        Yes

But I can't select vaapi. I can select VDPAU Sad
Also, running XBMC now, the cpu uses 100%. But I don't know if that's related.

I reinstalled by Ubuntu box for this but that didn't help either

I have these packages installed:
Code:
ii  libva-dev                            0.31.0-1+sds13                                  Video Acceleration (VA) API for Linux -- dev
ii  libva1                               0.31.0-1+sds13                                  Video Acceleration (VA) API for Linux -- run
ii  xvba-video                           0.6.11-1                                        XvBA-based backend for VA API
Reply
#69
I can confirm this. The log also says vaapi disabled. Mplayer compiles Fine and uses vaapi. Seems like vaapi is disabled in trunk?
Reply
#70
Sounds weird.. haven't tested it in a while thou. Will test when i get the chance
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
Reply
#71
I've been encountering the same issue (no vaapi option, auto-detect gives blank screen) over the past few days with an ATI Radeon HD4550. I have tested that vaapi works using mplayer independently. I thought it was something I had done wrong in the setup and tried reinstalling ubuntu / recompiling xbmc. Hope this gets fixed soon.
Reply
#72
Looks to be fixed in the daily SVN. Working for my combination of a ATI Radeon HD4550 with a single core Intel Celeron CPU (plays 1080p successfully)
Reply
#73
Question 
A lot of you seem to have ATI hardware. Did you encounter any problems? Last Time i checked, i had a very jumpy experience, the Frames seemed out of order sometimes.
I will try it tomorrow evening.

BTW the shader issue seems to be a different story.
Reply
#74
On ATI hardware I would not say that it is jumpy but I did notice some tearing on occasion. Not sure if that is a setting somewhere that I have wrong
Reply
#75
vaapi not showing again on svn30388.
It compiled yesterday and showed but I had playback issues. So I tried to compile again today and now vaapi does not show up in system - video -playback.

anyone else seeing this?
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
[LINUX] Add VAAPI (VA API) Video Acceleration API support?1