[yocto] [meta-raspberrypi] X11 failure

Gary Thomas gary at mlbassoc.com
Mon Dec 5 22:03:24 PST 2016


On 2016-12-05 19:22, Khem Raj wrote:
> On Mon, Dec 5, 2016 at 3:15 AM, Burton, Ross <ross.burton at intel.com> wrote:
>>
>> On 5 December 2016 at 11:12, Gary Thomas <gary at mlbassoc.com> wrote:
>>>
>>> What do I need to do to get libGL v1 so X11 will work again?
>>
>>
>> That would be part of mesa-gl, but I'm surprised RPi X needs OpenGL (as that
>> is pure software, not accelerated).
>
> mesa-gl is used as provider for virtual/libgl when using userland
> display driver.
> if you use vc4graphics then you will use mesa for everything.

I used to do this with these lines in local.conf
   PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp"
   PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"

However this now leads to a cascade of errors:
   ERROR: Nothing PROVIDES 'userland' (but 
/local/poky-cutting-edge/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.3.bb DEPENDS on or otherwise 
requires it)
   ERROR: userland was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to vc-graphics-hardfp, not userland
   NOTE: Runtime target 'gst-player-dev' is unbuildable, removing...
   Missing or unbuildable dependency chain was: ['gst-player-dev', 'gstreamer1.0-plugins-bad', 'userland']
   NOTE: Runtime target 'gst-player-bin' is unbuildable, removing...
   Missing or unbuildable dependency chain was: ['gst-player-bin', 'gstreamer1.0-plugins-bad', 'userland']
   ERROR: Required build target 'video-demo-image' has no buildable providers.
   Missing or unbuildable dependency chain was: ['video-demo-image', 'gst-player-bin', 'gstreamer1.0-plugins-bad', 
'userland']

If I remove gst-player-* from my image, I can build using vc-graphics-hardfp
and X11 works again.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list