Message ID | 4A785415.3040106@fisher-privat.net (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Tue, Aug 4, 2009 at 8:30 AM, Alexey Fisher<bug-track@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
Dan Nicholson schrieb: > On Tue, Aug 4, 2009 at 8:30 AM, Alexey > Fisher<bug-track@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 So i get it to package... should i send you patch? But i do not get video with mplayr-vaapi and vainfo fail too: libva: libva version 0.30.4-sds2 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.30 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD vainfo: i965_drv_video.c:81: i965_QueryConfigEntrypoints: Assertion `0' failed. Aborted (core dumped)
On Tue, Aug 4, 2009 at 12:56 PM, Alexey Fisher<bug-track@fisher-privat.net> wrote: > Dan Nicholson schrieb: >> On Tue, Aug 4, 2009 at 8:30 AM, Alexey >> Fisher<bug-track@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 > > So i get it to package... should i send you patch? I don't maintain the package, but I would send the patch to whoever does. -- Dan
>>-----Original Message----- >>From: Alexey Fisher [mailto:bug-track@fisher-privat.net] >>Sent: 2009年8月5日 3:57 >>Cc: Zou, Nanhai; intel-gfx@lists.freedesktop.org; Linux GFX >>Subject: Re: [Intel-gfx] VAAPI mpeg2 decode support for G45 and GM45 chip >> >>Dan Nicholson schrieb: >>> On Tue, Aug 4, 2009 at 8:30 AM, Alexey >>> Fisher<bug-track@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 >> >>So i get it to package... should i send you patch? >> >>But i do not get video with mplayr-vaapi >> >>and vainfo fail too: >> >>libva: libva version 0.30.4-sds2 >>libva: va_getDriverName() returns 0 >>libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so >>libva: va_openDriver() returns 0 >>vainfo: VA API version: 0.30 >>vainfo: Driver version: i965 Driver 0.1 >>vainfo: Supported profile and entrypoints >> VAProfileMPEG2Simple : VAEntrypointVLD >> VAProfileMPEG2Main : VAEntrypointVLD >>vainfo: i965_drv_video.c:81: i965_QueryConfigEntrypoints: Assertion `0' >>failed. >>Aborted (core dumped) That is ok. Can you make sure your mplayer has vaapi enabled? Run mplayer -vo help You can see vaapi output listed if vaapi is enabled. Then mplayer -vo vaapi -va vaapi URL to play the video. I am not familiar with ubuntu packaging, anyway please send your patch to me. Thanks Zou Nan hai
On Wed, 2009-08-05 at 03:56 +0800, Alexey Fisher wrote: > Dan Nicholson schrieb: > > On Tue, Aug 4, 2009 at 8:30 AM, Alexey > > Fisher<bug-track@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 > > So i get it to package... should i send you patch? > > But i do not get video with mplayr-vaapi > > and vainfo fail too: > > libva: libva version 0.30.4-sds2 > libva: va_getDriverName() returns 0 > libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so > libva: va_openDriver() returns 0 > vainfo: VA API version: 0.30 > vainfo: Driver version: i965 Driver 0.1 > vainfo: Supported profile and entrypoints > VAProfileMPEG2Simple : VAEntrypointVLD > VAProfileMPEG2Main : VAEntrypointVLD > vainfo: i965_drv_video.c:81: i965_QueryConfigEntrypoints: Assertion `0' > failed. > Aborted (core dumped) This failure is fixed, please try again. BTW you can run test_12 under test to check vaapi works or not. Thanks haihao > _______________________________________________ > Linux-gfx mailing list > Linux-gfx@linux.intel.com > http://linux.intel.com/mailman/listinfo/linux-gfx
Xiang, Haihao schrieb: > On Wed, 2009-08-05 at 03:56 +0800, Alexey Fisher wrote: >> Dan Nicholson schrieb: >>> On Tue, Aug 4, 2009 at 8:30 AM, Alexey >>> Fisher<bug-track@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 >> So i get it to package... should i send you patch? >> >> But i do not get video with mplayr-vaapi >> >> and vainfo fail too: >> >> libva: libva version 0.30.4-sds2 >> libva: va_getDriverName() returns 0 >> libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so >> libva: va_openDriver() returns 0 >> vainfo: VA API version: 0.30 >> vainfo: Driver version: i965 Driver 0.1 >> vainfo: Supported profile and entrypoints >> VAProfileMPEG2Simple : VAEntrypointVLD >> VAProfileMPEG2Main : VAEntrypointVLD >> vainfo: i965_drv_video.c:81: i965_QueryConfigEntrypoints: Assertion `0' >> failed. >> Aborted (core dumped) > This failure is fixed, please try again. > BTW you can run test_12 under test to check vaapi works or not. > Vainfo work fine now: libva: libva version 0.30.4-sds2 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.30 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD mplayer working too. But it has lot of artifakts in fullscrean mode.
================================================================ 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