[Intel-gfx] VAAPI mpeg2 decode support for G45 and GM45 chip

Dan Nicholson dbn.lists at gmail.com
Tue Aug 4 20:44:06 CEST 2009


On Tue, Aug 4, 2009 at 8:30 AM, Alexey
Fisher<bug-track at fisher-privat.net> wrote:
> Zou, Nanhai schrieb:
>> Hi,
>>    We have enabled VAAPI support for G45 and GM45 platform.
>>
>> I have tested it with some high profile 1080p mpeg2 stream.
>> Using a patched mplayer at
>> http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/
>> I can see CPU usage is dramatically reduced.
>>
>> Currently, we only support mpeg2 decoding.
>>
>> Welcome to test it.
>> The git repo is at git://git.freedesktop.org/git/libva,
>> To successful compile the mplayer, you need to choose the libva31 branch.
>>
>> Thanks
>> Zou Nan hai
>
> I getting problems with packaging on ubuntu 9.10 (git libav31 tree)...
> most of the errors i solved but the last one i can't find.
>
> probobly i making some thing wrong?
> to package i use:
> dpkg-buildpackage -rfakeroot
>
>
> my chenges
> ================================================================
> diff --git a/debian/libva-dev.install b/debian/libva-dev.install
> index d86b3bf..80fa878 100644
> --- a/debian/libva-dev.install
> +++ b/debian/libva-dev.install
> @@ -1,8 +1,8 @@
> -debian/tmp/usr/include/va.h
> -debian/tmp/usr/include/va_x11.h
> -debian/tmp/usr/include/va_backend.h
> -debian/tmp/usr/include/va_dri.h
> -debian/tmp/usr/X11R6/lib/modules/dri/dummy_drv_video.*
> +debian/tmp/usr/include/va/va.h
> +debian/tmp/usr/include/va/va_x11.h
> +debian/tmp/usr/include/va/va_backend.h
> +debian/tmp/usr/include/va/va_dri.h
> +debian/tmp/usr/lib/va/drivers/dummy_drv_video.*
>  debian/tmp/usr/lib/libva.la
>  debian/tmp/usr/lib/libva.so
>  debian/tmp/usr/lib/pkgconfig/libva.pc
> ===============================================================
>
>
> the error:
> ================================================================
>        cp -a ./debian/tmp/usr/lib/libva.so debian/libva-dev//usr/lib/
>        install -d debian/libva-dev//usr/lib/pkgconfig
>        cp -a ./debian/tmp/usr/lib/pkgconfig/libva.pc
> debian/libva-dev//usr/lib/pkgconfig/
> dh_install: libva1 missing files (debian/tmp/usr/lib/libva.so.*), aborting
> make: *** [binary-arch] Error 1
> ================================================================================
>
>
> ls -l ./debian/tmp/usr/lib/
> insgesamt 304
> lrwxrwxrwx 1 lex lex     23 2009-08-04 17:25 libva-0.30.4.2.so.1 ->
> libva-0.30.4.2.so.1.0.0
> -rwxr-xr-x 1 lex lex  83339 2009-08-04 17:25 libva-0.30.4.2.so.1.0.0
> -rwxr-xr-x 1 lex lex    940 2009-08-04 17:25 libva.la
> lrwxrwxrwx 1 lex lex     23 2009-08-04 17:25 libva.so ->
> libva-0.30.4.2.so.1.0.0
> lrwxrwxrwx 1 lex lex     27 2009-08-04 17:25 libva-x11-0.30.4.2.so.1 ->
> libva-x11-0.30.4.2.so.1.0.0
> -rwxr-xr-x 1 lex lex 208619 2009-08-04 17:25 libva-x11-0.30.4.2.so.1.0.0
> -rwxr-xr-x 1 lex lex   1010 2009-08-04 17:25 libva-x11.la
> lrwxrwxrwx 1 lex lex     27 2009-08-04 17:25 libva-x11.so ->
> libva-x11-0.30.4.2.so.1.0.0
> drwxr-xr-x 2 lex lex   4096 2009-08-04 17:25 pkgconfig
> drwxr-xr-x 3 lex lex   4096 2009-08-04 17:25 va

Your filelist apparently says "libva.so.*", but it seems that the
library is actually libva-*.so.*. I.e., there's a version number
before the .so.

--
Dan



More information about the Intel-gfx mailing list