vlc vaapi almost doubles cpu usage

In the latest VLC, enabling Vaapi decoding is supposed to reduce cpu usage by off loading decoding to the gpu. However when I enable it VLCs cpu usage increases from 50%-60% to 90%-100% and there are occasional “hiccups”.

I’m under openSUSE 12.3 with Intel HD graphics 3000 and VLC 2.1.0.

This seems to be a general problem for vaapi since Firefox would shoot up to 250% cpu usage for 264 decoding untill i uninstalled “gstreamer-0_10-plugins-vaapi”

Does Intel support GPU off loading. NVIDIA and AMD do but I never saw that Intel does.

It doesn’t suppurt VDPAU like Nvidia and AMD, but it supports VAAPI.

Output with VAAPI enabled:

VLC media player 2.1.1 Rincewind (revision 2.1.0-207-g89c9520)
[0xf15eb8] main interface error: no suitable interface module
[0xdbf0b8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xdbf0b8] main libvlc: Kör vlc med standardgränssnittet. Använd "cvlc" för att använda vlc utan gränssnitt.
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
[0x7f22e0c0bf48] avcodec decoder: Using VA API version 0.34 for hardware decoding.
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
[0x7f22e0c0bf48] avcodec decoder: Using VA API version 0.34 for hardware decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f22b0001248] main vout display error: Failed to resize display

Output with VAAPI disabled:


VLC media player 2.1.1 Rincewind (revision 2.1.0-207-g89c9520)
[0x1cceef8] main interface error: no suitable interface module
[0x1b780b8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1b780b8] main libvlc: Kör vlc med standardgränssnittet. Använd "cvlc" för att använda vlc utan gränssnitt.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f0d1c001248] main vout display error: Failed to resize display

Also my CPU is an Intel Core-i7 2630QM Sandy Bridge, and I’m now under openSUSE 13.1 with VLC 2.1.1.