How to activate VAAPI?

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.1.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
homer86
New Cone
New Cone
Posts: 5
Joined: 02 May 2010 14:30

How to activate VAAPI?

Postby homer86 » 02 May 2010 14:35

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to activate VAAPI?

Postby Jean-Baptiste Kempf » 02 May 2010 19:30

--ffmpeg-hw
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

homer86
New Cone
New Cone
Posts: 5
Joined: 02 May 2010 14:30

Re: How to activate VAAPI?

Postby homer86 » 02 May 2010 19:59

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

heaven87
Blank Cone
Blank Cone
Posts: 41
Joined: 14 Feb 2010 16:35
Operating System: Linux
Contact:

Re: How to activate VAAPI?

Postby heaven87 » 05 May 2010 20:55

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%.


Return to “VLC 1.1.0 testing”

Who is online

Users browsing this forum: No registered users and 7 guests