I am running Ubuntu 12.10 on a Dell Latitude E5530, and I am unable to get hardware accelerated video decoding running in VLC player.
I've ticked the hardware acceleration option in the settings of VLC, installed all
vaapi related packages, yet the CPU usage indicates me it's still not active. The CPU usage during the playback of a 720p video is 40-80%, where I would expect to see a lot lower usage on my machine.
Can anyone give me some advice on how to get it working?
The output of vainfo is:
libva: VA-API version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA-API version: 0.32 (libva 1.0.15) vainfo: Driver version: Intel i965 driver - 1.0.17 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
I've tried to play 720p mpg, mp4 and wmv movies, yet none of them ran hardware accelerated.
The codecs of the tested movies are:
- mpeg: H264-MPEG 4-AVC (part 10) (avc) (resulting 80% CPU usage, full HD resolution)
- mp4: MPEG 4 Video (mp4v) (16% CPU usage, 720p)
- wmv: Windows Media Video 7 (WMV1) (16 % CPU usage, 720p resolution)
Taking a look at System Monitor, I can see, that all four CPU threads (talking about a i5-3210M dual-core processor) are nearly equally stressed, so the above mentioned 16 and 80% CPU usage is distributed among the threads).