[meta-intel] [PATCH 1/2] libva: disable wayland

Tom Zanussi tom.zanussi at linux.intel.com
Tue Apr 9 09:35:15 PDT 2013


On Tue, 2013-04-09 at 16:28 +0000, Kamble, Nitin A wrote:
> 
> > -----Original Message-----
> > From: Tom Zanussi [mailto:tom.zanussi at linux.intel.com]
> > Sent: Tuesday, April 09, 2013 9:24 AM
> > To: Kamble, Nitin A
> > Cc: meta-intel at yoctoproject.org; dvhart at linux.intel.com
> > Subject: Re: [meta-intel] [PATCH 1/2] libva: disable wayland
> > 
> > On Tue, 2013-04-09 at 16:10 +0000, Kamble, Nitin A wrote:
> > >
> > > > -----Original Message-----
> > > > From: Tom Zanussi [mailto:tom.zanussi at linux.intel.com]
> > > > Sent: Tuesday, April 09, 2013 9:05 AM
> > > > To: Kamble, Nitin A
> > > > Cc: meta-intel at yoctoproject.org; dvhart at linux.intel.com
> > > > Subject: Re: [meta-intel] [PATCH 1/2] libva: disable wayland
> > > >
> > > > On Tue, 2013-04-09 at 15:27 +0000, Kamble, Nitin A wrote:
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Tom Zanussi [mailto:tom.zanussi at linux.intel.com]
> > > > > > Sent: Monday, April 08, 2013 8:33 PM
> > > > > > To: Kamble, Nitin A
> > > > > > Cc: meta-intel at yoctoproject.org; dvhart at linux.intel.com
> > > > > > Subject: Re: [meta-intel] [PATCH 1/2] libva: disable wayland
> > > > > >
> > > > > > On Tue, 2013-04-09 at 02:47 +0000, Kamble, Nitin A wrote:
> > > > > > > Tom,
> > > > > > >   I am testing your patching here.
> > > > > > >   FYI, Sato images are building fine for sugarbay & nuc with
> > > > > > > those, but the FRI2 image is failing to build as seen below. I
> > > > > > > have not digged into the issue yet.  But sharing this FYI, and
> > > > > > > rest of the BSPs are still yet to be built to understand the
> > > > > > > impact on
> > > > them.
> > > > > > >
> > > > > >
> > > > > > I would expect fri2 to be pretty much the same as crownbay as
> > > > > > far as this goes... crownbay worked fine for me here.
> > > > > >
> > > > >
> > > > > Tom,
> > > > >   My overnight build results with your VA patches are here. And
> > > > > non-emgd BSPs are building fine but not all EMGD based BSPs are
> > > > > building. Sys940x BSP built fine. While emenlow, fri2, crownbay
> > > > > failed as I
> > > > mentioned in the last email. This is kind of unexpected behavior.
> > > > Need to dig in further.
> > > > >
> > > >
> > > > Just to verify - you have laurentiu's patches applied, right?  What
> > > > do you have in your local.conf as far as the va settings?
> > > >
> > >
> > > Tom,
> > >    Here are commits on master for meta-intel:
> > >
> > > pick a124af4 mesa-demos: fix build errors pick 816453c libva: create a
> > > new updated v1.1.0 recipe pick 96e5660 libva: update from 1.1.0 to
> > > 1.1.1 pick 0594df0 libva-intel-driver: upgrade to 1.0.19 pick bc3c3ff
> > > libva: disable wayland
> > >
> > 
> > Here's what I have, which worked fine for both crownbay and sugarbay:
> > 
> > fd58fb0 mesa-demos: fix build errors
> > 8c0bb1b libva: disable wayland
> > 5e31427 emgd-driver-bin: add pkgconfig files
> > 2f752a5 libva: upgrade to 1.1.0
> > 8fec113 libva-intel-driver: upgrade to 1.0.19
> > c69366c linux-yocto-tiny: Add 3.8 recipe for fri2
> > 
> > Looks like you're missing at least 'add pkgconfig files' and have other ones in
> > there that I've never seen (why is the upgrade to 1.1.1 there?
> > I thought that wasn't solving any problems).
> > 
> > It's basically these patches, as I mentioned in the cover letter:
> > 
> > http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/meta-intel-
> > upgrades
> > 
> > And the two top commits above that we're talking about here.
> > 
> 
> I was thinking your libva fix would remove need for the emgd-pkgconfig patch. But that is not true.
> So I am adding that back in now.
> 
> Ross mentioned that libva 1.1.1 is needed for wayland, so I think it is good to have it.
> 

OK, if you can get it all working, great, if not what I tested can be a
fallback.  But we don't really have much time...

Tom

> Nitin
> 
> 
> > Tom
> > 
> > > And here are additions to default local.conf
> > >
> > > MACHINE = "crownbay"
> > > EXTRA_IMAGE_FEATURES += "tools-testapps"
> > > LICENSE_FLAGS_WHITELIST += "license_emgd-driver-bin"
> > > LICENSE_FLAGS_WHITELIST += "commercial"
> > >
> > >
> > > Nitin
> > >
> > > > Tom
> > > >
> > > > > Nitin
> > > > >
> > > > >
> > > > >
> > > > > > Tom
> > > > > >
> > > > > > > Thanks,
> > > > > > > Nitin
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Logfile of failure stored in:
> > > > > > > /srv/home/nitin/build-test-bsps/build-fri2/tmp/work/fri2-poky-
> > > > > > > linu
> > > > > > > x/co
> > > > > > > re-image-sato/1.0-r0/temp/log.do_rootfs.77472
> > > > > > > Log data follows:
> > > > > > > | DEBUG: Executing shell function do_rootfs
> > > > > > > | Note: configuring RPM platform settings
> > > > > > > | Note: configuring RPM system provides
> > > > > > > | Note: configuring RPM DB settings
> > > > > > > | Note: configuring Smart settings
> > > > > > > |
> > > > > > > |
> > > > > > > |
> > > > > > > |
> > > > > > > |
> > > > > > > |
> > > > > > > | Note: adding Smart channel fri2 (55)
> > > > > > > |
> > > > > > > |
> > > > > > > | Note: adding Smart channel core2 (50)
> > > > > > > |
> > > > > > > |
> > > > > > > | Note: adding Smart channel all (10)
> > > > > > > |
> > > > > > > |
> > > > > > > | Note: configuring RPM cross-install scriptlet_wrapper
> > > > > > > |
> > > > > > > | Updating cache...
> > > > > > ######################################## [100%]
> > > > > > > |
> > > > > > > | Saving cache...
> > > > > > > |
> > > > > > > | Note: adding Smart RPM DB channel
> > > > > > > |
> > > > > > > | Note: to be installed:  packagegroup-core-ssh-dropbear at all
> > > > > > > | packagegroup-core-x11-sato-games at fri2 va-intel at core2
> > > > > > > | packagegroup-
> > > > > > core-x11-base at all smartpm at core2
> > > > > > packagegroup-core-tools-testapps at fri2
> > > > > > packagegroup-core-boot at fri2 psplash at core2 packagegroup-base-
> > > > > > extended at fri2 rpm at core2 packagegroup-core-x11-sato at fri2 locale-
> > > > base-
> > > > > > en-us at core2 locale-base-en-gb at core2 Loading cache...
> > > > > > > | Updating cache...
> > > > > > ######################################## [100%]
> > > > > > > |
> > > > > > > | Computing transaction...error: Can't install va-intel-1.0-r1 at core2:
> > > > > > > | no package provides libva-egl
> > > > > > > |
> > > > > > > | Saving cache...
> > > > > > > |
> > > > > > > | ERROR: Function failed: do_rootfs (see
> > > > > > > | /srv/home/nitin/build-test-bsps/build-fri2/tmp/work/fri2-pok
> > > > > > > | y-li
> > > > > > > | nux/
> > > > > > > | core-image-sato/1.0-r0/temp/log.do_rootfs.77472 for further
> > > > > > > | information)
> > > > > > > ERROR: Task 7
> > > > > > > (/srv/home/nitin/build-test-bsps/poky.git/meta/recipes-
> > > > > > sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
> > > > > > >
> > > > > > > Summary: 1 task failed:
> > > > > > >
> > > > > > > /srv/home/nitin/build-test-bsps/poky.git/meta/recipes-sato/ima
> > > > > > > ges/
> > > > > > > core
> > > > > > > -image-sato.bb, do_rootfs
> > > > > > >
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Tom Zanussi [mailto:tom.zanussi at linux.intel.com]
> > > > > > > > Sent: Monday, April 08, 2013 9:13 AM
> > > > > > > > To: meta-intel at yoctoproject.org
> > > > > > > > Cc: dvhart at linux.intel.com; Kamble, Nitin A
> > > > > > > > Subject: Re: [PATCH 1/2] libva: disable wayland
> > > > > > > >
> > > > > > > > On Mon, 2013-04-08 at 10:37 -0500,
> > > > > > > > tom.zanussi at linux.intel.com
> > > > wrote:
> > > > > > > > > From: Tom Zanussi <tom.zanussi at linux.intel.com>
> > > > > > > > >
> > > > > > > > > Make libva honor the wayland DISTRO feature setting in
> > > > > > > > > theory; in practice, we always disable it for the time being.
> > > > > > > > >
> > > > > > > > > Enabling it produces a build failure in the libva wayland test
> > code.
> > > > > > > > > Examining the problematic call, it seems quite different
> > > > > > > > > from what wayland puts in the sysroot, which means either
> > > > > > > > > that the test code is out of date, or we have a version
> > > > > > > > > mismatch between the wayland libva support and the wayland
> > > > > > > > > support in oe-
> > > > core.
> > > > > > > > >
> > > > > > > > > Since wayland support is secondary to having basic libva
> > > > > > > > > support in dylan, we unconditionally disable it for now,
> > > > > > > > > until we have more time after the release to investigate.
> > > > > > > > >
> > > > > > > > > Fixes [YOCTO #3832].
> > > > > > > > >
> > > > > > > >
> > > > > > > > Typo: should be 3932 here - will fix it up when/if pulled in.
> > > > > > > >
> > > > > > > > Tom
> > > > > > > >
> > > > > > > > > Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
> > > > > > > > > ---
> > > > > > > > >  common/recipes-multimedia/libva/libva.inc | 3 +++
> > > > > > > > >  1 file changed, 3 insertions(+)
> > > > > > > > >
> > > > > > > > > diff --git a/common/recipes-multimedia/libva/libva.inc
> > > > > > > > > b/common/recipes-multimedia/libva/libva.inc
> > > > > > > > > index ca14fe0..01766d2 100644
> > > > > > > > > --- a/common/recipes-multimedia/libva/libva.inc
> > > > > > > > > +++ b/common/recipes-multimedia/libva/libva.inc
> > > > > > > > > @@ -23,6 +23,9 @@ DEPENDS = "libxext libxfixes libdrm mesa"
> > > > > > > > >
> > > > > > > > >  inherit autotools pkgconfig
> > > > > > > > >
> > > > > > > > > +# Unconditionally turn wayland off for now EXTRA_OECONF =
> > > > > > > > > +"${@base_contains('DISTRO_FEATURES', 'wayland',
> > > > > > > > > +'--disable-wayland', '--
> > > > > > > > disable-wayland', d)}"
> > > > > > > > > +
> > > > > > > > >  PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
> > > > > > > > >  PROVIDES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
> > > > > > > > >  PACKAGES =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev
> > > > > > > > > ${PN}-egl-
> > > > > > dev"
> > > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > meta-intel mailing list
> > > > > > > meta-intel at yoctoproject.org
> > > > > > > https://lists.yoctoproject.org/listinfo/meta-intel
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > meta-intel mailing list
> > > > > meta-intel at yoctoproject.org
> > > > > https://lists.yoctoproject.org/listinfo/meta-intel
> > > >
> > >
> > > _______________________________________________
> > > meta-intel mailing list
> > > meta-intel at yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-intel
> > 
> 





More information about the meta-intel mailing list