intel gm45 vaapi mplayer


cd mplayer-vaapi/

patch -p1 < ../patches/mplayer-vaapi.patch

./configure --help

cd libva-0.31.1/
for p in debian/patches/*.patch; do patch -p1 < $p; done


dpkg-buildpackage -rfakeroot -uc -us
sudo dpkg -i libva1_0.31.1-1+sds4_i386.deb

./configure --enable-vaapi --prefix=/software/linuxsoft/mplayer-vaapi
make install

alias mplayervaapi='/software/linuxsoft/mplayer-vaapi/bin/mplayer -vo
vaapi -va vaapi '

lucid supports only MPEG2 acceleration because of old intel driver
Question: How to play media with VAAPI?
VAAPI is supported on G45/GM45 platforms and later. Make sure you have:
1. Intel video driver package. The latest stable release is recommended.
2. The media player supports VAAPI. e.g. if you want to use mplayer,
you need compile and install the mplayer source package with the
mplayer vaapi patches.
3. libva driver git://, need to compile
and install.

use vainfo to see what is supported.
libva: libva version 0.31.1-sds1
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/
libva: va_openDriver() returns 0

vainfo: VA API version: 0.31
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD