All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] Userland and vc-graphics
@ 2013-07-06 11:22 Paul Barker
  2013-07-08  9:01 ` Tomas Frydrych
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Barker @ 2013-07-06 11:22 UTC (permalink / raw)
  To: Yocto discussion list

The meta-raspberrypi repository has separate recipes for 'userland',
'vc-graphics' and 'vc-graphics-hardfp'. To my understanding, the
vc-graphics files in the raspberrypi firmware repo
(https://github.com/raspberrypi/firmware) are simply compiled from the
userland sources (https://github.com/raspberrypi/userland). All three
recipes PROVIDE 'virtual/libgles2' and 'virtual/egl'.

So if there recipes are fulfilling the exact same purpose, I think we
should strip out vc-graphics completely and always build from source.
I've never seen a use case for the pre-compiled vc-graphics recipes
within OpenEmbedded/Yocto.

Does anyone else who's worked with meta-raspberrypi agree with this?
If so I'll throw together patches to achieve this.

--
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Userland and vc-graphics
  2013-07-06 11:22 [meta-raspberrypi] Userland and vc-graphics Paul Barker
@ 2013-07-08  9:01 ` Tomas Frydrych
  2013-07-08 11:12   ` Paul Barker
  0 siblings, 1 reply; 4+ messages in thread
From: Tomas Frydrych @ 2013-07-08  9:01 UTC (permalink / raw)
  To: yocto

On 06/07/13 12:22, Paul Barker wrote:
> So if there recipes are fulfilling the exact same purpose, I think we
> should strip out vc-graphics completely and always build from source.
> I've never seen a use case for the pre-compiled vc-graphics recipes
> within OpenEmbedded/Yocto.
> 
> Does anyone else who's worked with meta-raspberrypi agree with this?
> If so I'll throw together patches to achieve this.

vc-graphics is the original package before the userland sources were
made available; in principle the two should be equivalent, but the last
time I tried to build userland, which admittedly is two or three months
back, it was failing miserably due to some missing broadcom headers that
were nowhere to be found among the released sources. I assume the
userland packages now build OK?

Tomas


-- 
http://sleepfive.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Userland and vc-graphics
  2013-07-08  9:01 ` Tomas Frydrych
@ 2013-07-08 11:12   ` Paul Barker
  2013-07-13 10:38     ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Barker @ 2013-07-08 11:12 UTC (permalink / raw)
  To: Tomas Frydrych; +Cc: Yocto discussion list

On 8 July 2013 10:01, Tomas Frydrych <tf+lists.yocto@r-finger.com> wrote:
> On 06/07/13 12:22, Paul Barker wrote:
>>
>> Does anyone else who's worked with meta-raspberrypi agree with this?
>> If so I'll throw together patches to achieve this.
>
> vc-graphics is the original package before the userland sources were
> made available; in principle the two should be equivalent, but the last
> time I tried to build userland, which admittedly is two or three months
> back, it was failing miserably due to some missing broadcom headers that
> were nowhere to be found among the released sources. I assume the
> userland packages now build OK?
>

It all builds and installs correctly for me (I'm using core-image-sato
for testing). It would probably be good to put together a simple test
plan to ensure that it does run correctly.

I must admit to being happier working on console applications rather
GUIs and especially OpenGL/EGL type things but there are probably a
few basic tests I can do. I could see if glxgears runs correctly. I
could also look at EGL/GLES output from gstreamer.

Any other suggestions?

--
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Userland and vc-graphics
  2013-07-08 11:12   ` Paul Barker
@ 2013-07-13 10:38     ` Andrei Gherzan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2013-07-13 10:38 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1933 bytes --]

On Mon, Jul 8, 2013 at 2:12 PM, Paul Barker <paul@paulbarker.me.uk> wrote:

> On 8 July 2013 10:01, Tomas Frydrych <tf+lists.yocto@r-finger.com> wrote:
> > On 06/07/13 12:22, Paul Barker wrote:
> >>
> >> Does anyone else who's worked with meta-raspberrypi agree with this?
> >> If so I'll throw together patches to achieve this.
> >
> > vc-graphics is the original package before the userland sources were
> > made available; in principle the two should be equivalent, but the last
> > time I tried to build userland, which admittedly is two or three months
> > back, it was failing miserably due to some missing broadcom headers that
> > were nowhere to be found among the released sources. I assume the
> > userland packages now build OK?
> >
>
> It all builds and installs correctly for me (I'm using core-image-sato
> for testing). It would probably be good to put together a simple test
> plan to ensure that it does run correctly.
>
> I must admit to being happier working on console applications rather
> GUIs and especially OpenGL/EGL type things but there are probably a
> few basic tests I can do. I could see if glxgears runs correctly. I
> could also look at EGL/GLES output from gstreamer.
>
> Any other suggestions?
>
>
Hello guys.

So, graphics libraries were shipped as binaries months ago until userland
was released and we had the opportunity to have access to sources and build
libraries from them. We kept binaries and sources packages because the
first sources versions had a couple of building issues or some missing
files. So in order not to break ppl's work we kept them in the repo. Now, I
don't have time to test if everything is OK with the graphics libraries
generated from the userland package. If you guys have some apps and test
that these libraries are behaving correctly, we can drop the binaries. On
another hand we can keep them as a fallback solution.

ag

[-- Attachment #2: Type: text/html, Size: 2583 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-13 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-06 11:22 [meta-raspberrypi] Userland and vc-graphics Paul Barker
2013-07-08  9:01 ` Tomas Frydrych
2013-07-08 11:12   ` Paul Barker
2013-07-13 10:38     ` Andrei Gherzan

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.