[meta-intel] [PATCH 2/6] libva: resurrect 1.0.16 recipe for EMGD based BSPs

Tom Zanussi tom.zanussi at intel.com
Fri Apr 12 08:59:13 PDT 2013


On Fri, 2013-04-12 at 09:20 -0500, Tom Zanussi wrote:
> On Wed, 2013-04-10 at 18:19 -0700, nitin.a.kamble at intel.com wrote:
> > From: Nitin A Kamble <nitin.a.kamble at intel.com>
> > 
> > EMGD based BSPs are seeing video playback issue with libva v1.1.[01] .
> > They are hitting a segmentation fault at the end of video playback.
> > So bringing back the old libva version for the EMGD based BSPs.
> > 
> 
> OK, assuming that we'll have to pull this patchset in, I started merging
> the patches to start testing and this one doesn't apply because
> libva_1.0.16.bb is still there and never went away unless I'm missing
> something.  So it makes me wonder about the rest of it too...
> 

Building sugarbay with the rest of the patchset is giving me compile
errors:

| /usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/libva-intel-driver-1.0.18/src/i965_drv_video.c: In function 'i965_PutSurface':
| /usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/libva-intel-driver-1.0.18/src/i965_drv_video.c:2278:58: error: 'struct VADriverContext' has no member named 'dri_state'
| /usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/libva-intel-driver-1.0.18/src/i965_drv_video.c:2291:18: error: 'struct dri_state' has no member named 'driConnectedFlag'
| x86_64-poky-linux-libtool: compile:  x86_64-poky-linux-gcc -m64 --sysroot=/usr/local/dev/yocto/nitin-test/build/tmp/sysroots/sugarbay -DHAVE_CONFIG_H -I. -I/usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/libva-intel-driver-1.0.18/src -DPTHREADS -I/usr/local/dev/yocto/nitin-test/build/tmp/sysroots/sugarbay/usr/include/libdrm -Wall -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types -c /usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/libva-intel-driver-1.0.18/src/i965_media_mpeg2.c  -fPIC -DPIC -o .libs/i965_drv_video_la-i965_media_mpeg2.o
| make[3]: *** [i965_drv_video_la-i965_drv_video.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory `/usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/build/src'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/build/src'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/build/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /usr/local/dev/yocto/nitin-test/build/tmp/work/x86_64-poky-linux/libva-intel-driver/1.0.18-r0.0/temp/log.do_compile.24880 for further information)
ERROR: Task 2366 (/usr/local/dev/yocto/nitin-test/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.0.18.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4009 tasks of which 460 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /usr/local/dev/yocto/nitin-test/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.0.18.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


> Tom
> 
> > Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> > ---
> >  common/recipes-multimedia/libva/libva_1.0.16.bb |    8 ++++++++
> >  1 files changed, 8 insertions(+), 0 deletions(-)
> >  create mode 100644 common/recipes-multimedia/libva/libva_1.0.16.bb
> > 
> > diff --git a/common/recipes-multimedia/libva/libva_1.0.16.bb b/common/recipes-multimedia/libva/libva_1.0.16.bb
> > new file mode 100644
> > index 0000000..7374c70
> > --- /dev/null
> > +++ b/common/recipes-multimedia/libva/libva_1.0.16.bb
> > @@ -0,0 +1,8 @@
> > +require libva.inc
> > +
> > +PR = "${INC_PR}.0"
> > +
> > +SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/libva/libva-${PV}.tar.bz2"
> > +
> > +SRC_URI[md5sum] = "99343b27cf24e99abc0c5db2d09e30c8"
> > +SRC_URI[sha256sum] = "03e46f8f48f252e6b6112c495745100bc217ddded801fdb393384aab1fafeaa2"
> 





More information about the meta-intel mailing list