Page 1 of 1

How to activate VAAPI?

Posted: 02 May 2010 14:35
by homer86
Hi,

I've compiled vlc 1.1.0 pre3 mysqlf. In the configure-script I get the following:

Code: Select all

checking for LIBVA... yes checking libavcodec/vaapi.h usability... yes checking libavcodec/vaapi.h presence... yes checking for libavcodec/vaapi.h... yes VAAPI acceleration activated
But If I start vlc I have no VAAPI in the settings to choose for video-output. Do I have something missing? You can see the complete configure-log here: http://pastebin.com/Gbdaxq03

Greets

Re: How to activate VAAPI?

Posted: 02 May 2010 19:30
by Jean-Baptiste Kempf
--ffmpeg-hw

Re: How to activate VAAPI?

Posted: 02 May 2010 19:59
by homer86
Thanks for your help.

I tried this and it is really using VA-API :)

But I'm disappointed. It is working way worse than without vaapi. mplayer with vdpau is working perfectly the same file. Has anybody an idea that could be the problem? Or is it a known problem with vdpau-backend?

According to vainfo it should be installed ok:

Code: Select all

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/lib64/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.6.9 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
You can see the vlc-log here: http://pastebin.com/RqkmiVYt

Re: How to activate VAAPI?

Posted: 05 May 2010 20:55
by heaven87
Yep, can confirm that mpeg decoding works slower with vaapi, but vc1 works better. Previously I had 100% CPU and a very slow slide show while trying watch the movie in the vc1 codec :) But now it 70-85% of CPU and videos plays smoothly.

Wow, I've just noticed that x246 works faster with 35-45% of CPU, whereas without vaapi it's 55-75%.