From: Andrei Gherzan <andrei@gherzan.ro>
To: Gary Thomas <gary@mlbassoc.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi] mesa & gl problems
Date: Fri, 5 Jun 2015 18:33:58 +0200 [thread overview]
Message-ID: <20150605163358.GB5866@gmail.com> (raw)
In-Reply-To: <55281FC2.8030602@mlbassoc.com>
On Fri, Apr 10, 2015 at 01:08:50PM -0600, Gary Thomas wrote:
> On 2015-04-10 11:37, Gary Thomas wrote:
> >On 2015-04-10 10:25, Erik Bolton wrote:
> >>Gary:
> >>
> >>Something is still pulling in libjpeg. It's possible you've got a recipe that depends on libjpeg directly. Check any modified recipes or custom stuff you've added.
> >>
> >
> >I'll give it a look.
> >
> >>The mesa errors are a little more interesting. Typically that means a graphics driver is being included that provides GL/GLES along with mesa (which also provides the same
> >>functionality).
> >>
> >>Are you sure the mesa errors only started after you tried to make libjpeg-turbo the preferred jpeg provider?
> >
> >Yes, if I remove those lines from by local.conf, all of these errors vanish.
>
> I found a couple of problems
>
> * meta-raspberrypi/conf/machine/include/rpi-default-providers.inc
> Does not currently allow PREFERRED_PROVIDER_jpeg to be overriden
>
> * meta-raspberrypi/recipes-graphics/userland/userland_git.bb
> Does not provide virtual/libgles1 (only virtual/libgles2 and virtual/libgl)
> The 'libva' library used by 'vlc' requires virtual/libgles1 and virtual/libgles2
>
> The first issue is simple to fix:
> diff --git a/conf/machine/include/rpi-default-providers.inc b/conf/machine/include/rpi-default-providers.inc
> index ee3a3ac..ae9ed70 100644
> --- a/conf/machine/include/rpi-default-providers.inc
> +++ b/conf/machine/include/rpi-default-providers.inc
> @@ -7,4 +7,5 @@ PREFERRED_PROVIDER_virtual/egl ?= "userland"
> PREFERRED_PROVIDER_virtual/libgles2 ?= "userland"
> PREFERRED_PROVIDER_virtual/libgl ?= "mesa-gl"
> PREFERRED_PROVIDER_virtual/mesa ?= "mesa-gl"
> -PREFERRED_PROVIDER_jpeg = "jpeg"
> +PREFERRED_PROVIDER_jpeg ?= "jpeg"
> +PREFERRED_PROVIDER_jpeg-native ?= "jpeg-native"
>
> I don't know a workaround for the second. Any ideas?
RaspberryPi doesn't provide GLES1 on any of the providers. Check the mailing
history for another related topic. The solutions are:
1. patch mesa to have gles1 provided from there
2. have something like mesa-gl but for gles1
https://lists.yoctoproject.org/pipermail/yocto/2015-April/024710.html
--
Andrei Gherzan
prev parent reply other threads:[~2015-06-05 16:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 15:11 [meta-raspberrypi] mesa & gl problems Gary Thomas
2015-04-10 16:25 ` Erik Bolton
2015-04-10 17:37 ` Gary Thomas
2015-04-10 19:08 ` Gary Thomas
2015-06-05 16:33 ` Andrei Gherzan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150605163358.GB5866@gmail.com \
--to=andrei@gherzan.ro \
--cc=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.