From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 69DD9E00BB3; Fri, 13 Jun 2014 13:49:32 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from www.dynamicdevices.co.uk (www.dynamicdevices.co.uk [89.200.136.37]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8A4F9E00AFD for ; Fri, 13 Jun 2014 13:49:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by www.dynamicdevices.co.uk (Postfix) with ESMTP id CB56F27E02B; Fri, 13 Jun 2014 20:49:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at lennoab2.miniserver.com Received: from www.dynamicdevices.co.uk ([127.0.0.1]) by localhost (www.dynamicdevices.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cduNetw60pDD; Fri, 13 Jun 2014 20:49:15 +0000 (UTC) Received: from [127.0.0.1] (cpc32-live22-2-0-cust59.17-2.cable.virginm.net [82.36.253.60]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by www.dynamicdevices.co.uk (Postfix) with ESMTPSA id CBBBC27E02A; Fri, 13 Jun 2014 20:49:14 +0000 (UTC) Message-ID: <539B63C4.1030309@dynamicdevices.co.uk> Date: Fri, 13 Jun 2014 21:49:08 +0100 From: Alex J Lennon User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Chris Morgan References: <539B54CF.90603@dynamicdevices.co.uk> In-Reply-To: X-Enigmail-Version: 1.6 Cc: "yocto@yoctoproject.org" Subject: Re: virtual/mesa, virtual/libgl provided by multiple packages X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 20:49:32 -0000 Content-Type: multipart/alternative; boundary="------------050203000101040609090305" --------------050203000101040609090305 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/06/2014 21:27, Chris Morgan wrote: > On Fri, Jun 13, 2014 at 3:45 PM, Alex J Lennon > > > wrote: > > > On 28/05/2014 21:31, Khem Raj wrote: > > On Tue, May 27, 2014 at 3:44 PM, Chris Morgan > > wrote: > >> Building a custom image with wayland and weston based on > core-image, > >> seeing issues with virtual/mesa and virtual/libgl being provided by > >> multiple packages. Not sure if I'm doing something wrong here, like > >> not specifying packages that provide those virtual targets? > >> > >> > > you got to set PREFERRED_PROVIDERS for jpeg and virtual/libgl to be > > either mesa or mesa-gl > > Did you find a solution to this Chris? I'm seeing the same thing > with a > meta-raspberrypi build of core-image-weston. > > The preferred provider seems set correctly by the RPi layer though > > (rpi-default-providers.inc) > PREFERRED_PROVIDER_virtual/libgl ?= "mesa-gl" > > Thanks, > > Alex > > > > Hi Alex. > > I haven't actually gotten back to this but I (or someone else I work > with) is going to be getting back to it in the next few weeks as we > try to get accelerated graphics on the bbb. > > Chris > > I think I'm getting there with it now. core-image-weston pulls in clutter which wants cogl. I think these two lines in cogl-1.0.inc are causing mesa to be pulled in incorrectly, but I'm not sure what ERDEPENDS does... # Extra RDEPENDS for PACKAGECONFIG # This has to be explictly listed, because cogl dlopens the backends ERDEPENDS_GL = "libgl" ERDEPENDS_GLES2 = "libgles2" Regards, Alex --------------050203000101040609090305 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 13/06/2014 21:27, Chris Morgan wrote:
On Fri, Jun 13, 2014 at 3:45 PM, Alex J Lennon <ajlennon@dynamicdevices.co.uk> wrote:

On 28/05/2014 21:31, Khem Raj wrote:
> On Tue, May 27, 2014 at 3:44 PM, Chris Morgan <chmorgan@gmail.com> wrote:
>> Building a custom image with wayland and weston based on core-image,
>> seeing issues with virtual/mesa and virtual/libgl being provided by
>> multiple packages. Not sure if I'm doing something wrong here, like
>> not specifying packages that provide those virtual targets?
>>
>>
> you got to set PREFERRED_PROVIDERS for jpeg and virtual/libgl to be
> either mesa or mesa-gl

Did you find a solution to this Chris? I'm seeing the same thing with a
meta-raspberrypi build of core-image-weston.

The preferred provider seems set correctly by the RPi layer though

(rpi-default-providers.inc)
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-gl"

Thanks,

Alex



Hi Alex.

I haven't actually gotten back to this but I (or someone else I work with) is going to be getting back to it in the next few weeks as we try to get accelerated graphics on the bbb.

Chris
 


I think I'm getting there with it now.

core-image-weston pulls in clutter which wants cogl.

I think these two lines in cogl-1.0.inc are causing mesa to be pulled in incorrectly, but I'm not sure what ERDEPENDS does...

# Extra RDEPENDS for PACKAGECONFIG
# This has to be explictly listed, because cogl dlopens the backends
ERDEPENDS_GL    = "libgl"
ERDEPENDS_GLES2 = "libgles2"

Regards,

Alex



--------------050203000101040609090305--