All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
@ 2016-12-06  9:33 Gary Thomas
  2016-12-06 12:45 ` Herve Jourdain
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-12-06  9:33 UTC (permalink / raw)
  To: yocto; +Cc: Gary Thomas

Selection of the libgl packages should be by virtual/XXX.  Using 'userland'
directly can lead to build conflicts and make the system unbuildable.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 7292f90..432869d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -9,4 +9,4 @@ PACKAGECONFIG_GL_rpi = "egl gles2"
 
 PACKAGECONFIG_append_rpi = " hls libmms faad"
 
-PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"
+PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,virtual/egl virtual/libgles2"
-- 
2.7.4



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

* Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06  9:33 [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland Gary Thomas
@ 2016-12-06 12:45 ` Herve Jourdain
  2016-12-06 15:02   ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Herve Jourdain @ 2016-12-06 12:45 UTC (permalink / raw)
  To: 'Gary Thomas', yocto

Hi Gary,

But dispmanx is really only provided by userland, it does not exist in other
flavors of egl/libgles.
Actually, dispmanx should not be selected in PACKAGECONFIG if userland is
not in use for EGL/GLES.

Cheers,

Herve

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
On Behalf Of Gary Thomas
Sent: mardi 6 décembre 2016 10:34
To: yocto@yoctoproject.org
Cc: Gary Thomas <gary@mlbassoc.com>
Subject: [yocto] [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't
hard wire use of userland

Selection of the libgl packages should be by virtual/XXX.  Using 'userland'
directly can lead to build conflicts and make the system unbuildable.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git
a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 7292f90..432869d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -9,4 +9,4 @@ PACKAGECONFIG_GL_rpi = "egl gles2"
 
 PACKAGECONFIG_append_rpi = " hls libmms faad"
 
-PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"
+PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,virtual/egl
virtual/libgles2"
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



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

* Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 12:45 ` Herve Jourdain
@ 2016-12-06 15:02   ` Gary Thomas
  2016-12-06 15:48     ` Andrei Gherzan
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-12-06 15:02 UTC (permalink / raw)
  To: Herve Jourdain, yocto

On 2016-12-06 13:45, Herve Jourdain wrote:
> Hi Gary,
>
> But dispmanx is really only provided by userland, it does not exist in other
> flavors of egl/libgles.
> Actually, dispmanx should not be selected in PACKAGECONFIG if userland is
> not in use for EGL/GLES.

Fine, but I'm looking for a solution where I can choose to use vc-graphics-hardfp
so X11 works again and I can also have gst-player which depends on gstreamer-1.0-bad

Any ideas?

> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
> On Behalf Of Gary Thomas
> Sent: mardi 6 décembre 2016 10:34
> To: yocto@yoctoproject.org
> Cc: Gary Thomas <gary@mlbassoc.com>
> Subject: [yocto] [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't
> hard wire use of userland
>
> Selection of the libgl packages should be by virtual/XXX.  Using 'userland'
> directly can lead to build conflicts and make the system unbuildable.
>
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> ---
>  recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> index 7292f90..432869d 100644
> --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> @@ -9,4 +9,4 @@ PACKAGECONFIG_GL_rpi = "egl gles2"
>
>  PACKAGECONFIG_append_rpi = " hls libmms faad"
>
> -PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"
> +PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,virtual/egl
> virtual/libgles2"
>


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


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

* Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 15:02   ` Gary Thomas
@ 2016-12-06 15:48     ` Andrei Gherzan
  2016-12-06 15:57       ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Andrei Gherzan @ 2016-12-06 15:48 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

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

On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
> On 2016-12-06 13:45, Herve Jourdain wrote:
> > Hi Gary,
> >
> > But dispmanx is really only provided by userland, it does not exist in other
> > flavors of egl/libgles.
> > Actually, dispmanx should not be selected in PACKAGECONFIG if userland is
> > not in use for EGL/GLES.
>
> Fine, but I'm looking for a solution where I can choose to use vc-graphics-hardfp
> so X11 works again and I can also have gst-player which depends on gstreamer-1.0-bad
>
> Any ideas?
>

Disabling dispamanx is not working?
--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

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

* Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 15:48     ` Andrei Gherzan
@ 2016-12-06 15:57       ` Gary Thomas
  2016-12-06 18:04         ` Andrei Gherzan
  2016-12-06 18:22         ` ***SPAM*** " Herve Jourdain
  0 siblings, 2 replies; 9+ messages in thread
From: Gary Thomas @ 2016-12-06 15:57 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

On 2016-12-06 16:48, Andrei Gherzan wrote:
> On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
>> On 2016-12-06 13:45, Herve Jourdain wrote:
>>> Hi Gary,
>>>
>>> But dispmanx is really only provided by userland, it does not exist in other
>>> flavors of egl/libgles.
>>> Actually, dispmanx should not be selected in PACKAGECONFIG if userland is
>>> not in use for EGL/GLES.
>>
>> Fine, but I'm looking for a solution where I can choose to use vc-graphics-hardfp
>> so X11 works again and I can also have gst-player which depends on gstreamer-1.0-bad
>>
>> Any ideas?
>>
>
> Disabling dispamanx is not working?

How might I do that?  It's not clear from [at least] that recipe.

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


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

* Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 15:57       ` Gary Thomas
@ 2016-12-06 18:04         ` Andrei Gherzan
  2016-12-06 18:22         ` ***SPAM*** " Herve Jourdain
  1 sibling, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2016-12-06 18:04 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

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

On Tue, Dec 06, 2016 at 04:57:42PM +0100, Gary Thomas wrote:
> On 2016-12-06 16:48, Andrei Gherzan wrote:
> > On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
> > > On 2016-12-06 13:45, Herve Jourdain wrote:
> > > > Hi Gary,
> > > >
> > > > But dispmanx is really only provided by userland, it does not exist in other
> > > > flavors of egl/libgles.
> > > > Actually, dispmanx should not be selected in PACKAGECONFIG if userland is
> > > > not in use for EGL/GLES.
> > >
> > > Fine, but I'm looking for a solution where I can choose to use vc-graphics-hardfp
> > > so X11 works again and I can also have gst-player which depends on gstreamer-1.0-bad
> > >
> > > Any ideas?
> > >
> >
> > Disabling dispamanx is not working?
>
> How might I do that?  It's not clear from [at least] that recipe.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------

Uh. I see the append now. I'm thinking on how we can fix this...

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

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

* Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 15:57       ` Gary Thomas
  2016-12-06 18:04         ` Andrei Gherzan
@ 2016-12-06 18:22         ` Herve Jourdain
  2016-12-07 10:25           ` Gary Thomas
  1 sibling, 1 reply; 9+ messages in thread
From: Herve Jourdain @ 2016-12-06 18:22 UTC (permalink / raw)
  To: 'Gary Thomas', 'Andrei Gherzan'; +Cc: yocto

Hi Gary,

Could you try a local to your layer gstreamer1.0-plugins-bad_%.bbappend,
that would contain:
PACKAGECONFIG_remove_rpi = " dispmanx"
And see if it solves your problem?

I've never built for "vc-graphics-hardfp", as I'm not sure if there are
benefits in using it over either using the userland or vc4, so I'm not sure
whether it can work without dispmanx, nor why it would not compile with
dispmanx enabled.
But if this works, then we might need to consider to add an additional case
for not enabling dispmanx.

Cheers,
Herve

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com] 
Sent: mardi 6 décembre 2016 16:58
To: Andrei Gherzan <andrei@gherzan.ro>
Cc: Herve Jourdain <herve.jourdain@neuf.fr>; yocto@yoctoproject.org
Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH]
gstreamer1.0-plugins-bad: Don't hard wire use of userland

On 2016-12-06 16:48, Andrei Gherzan wrote:
> On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
>> On 2016-12-06 13:45, Herve Jourdain wrote:
>>> Hi Gary,
>>>
>>> But dispmanx is really only provided by userland, it does not exist 
>>> in other flavors of egl/libgles.
>>> Actually, dispmanx should not be selected in PACKAGECONFIG if 
>>> userland is not in use for EGL/GLES.
>>
>> Fine, but I'm looking for a solution where I can choose to use 
>> vc-graphics-hardfp so X11 works again and I can also have gst-player 
>> which depends on gstreamer-1.0-bad
>>
>> Any ideas?
>>
>
> Disabling dispamanx is not working?

How might I do that?  It's not clear from [at least] that recipe.

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



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

* Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-06 18:22         ` ***SPAM*** " Herve Jourdain
@ 2016-12-07 10:25           ` Gary Thomas
  2016-12-08  4:31             ` Herve Jourdain
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2016-12-07 10:25 UTC (permalink / raw)
  To: yocto

On 2016-12-06 19:22, Herve Jourdain wrote:
> Hi Gary,
>
> Could you try a local to your layer gstreamer1.0-plugins-bad_%.bbappend,
> that would contain:
> PACKAGECONFIG_remove_rpi = " dispmanx"
> And see if it solves your problem?

Yes, it does solve the problem, thanks.  Although written this way and
putting it in local.conf forced every package that uses PACKAGECONFIG to
be rebuilt :-(

Perhaps a softer approach might be:
   PACKAGECONFIG_remove_pn-gstreamer1.0-plugins-bad = "dispmax"

Too bad though that this needs to be disabled to get X11 to work as it would
seem to be very useful in a high-need graphic environment.

>
> I've never built for "vc-graphics-hardfp", as I'm not sure if there are
> benefits in using it over either using the userland or vc4, so I'm not sure
> whether it can work without dispmanx, nor why it would not compile with
> dispmanx enabled.
> But if this works, then we might need to consider to add an additional case
> for not enabling dispmanx.
>
> Cheers,
> Herve
>
> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: mardi 6 décembre 2016 16:58
> To: Andrei Gherzan <andrei@gherzan.ro>
> Cc: Herve Jourdain <herve.jourdain@neuf.fr>; yocto@yoctoproject.org
> Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH]
> gstreamer1.0-plugins-bad: Don't hard wire use of userland
>
> On 2016-12-06 16:48, Andrei Gherzan wrote:
>> On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
>>> On 2016-12-06 13:45, Herve Jourdain wrote:
>>>> Hi Gary,
>>>>
>>>> But dispmanx is really only provided by userland, it does not exist
>>>> in other flavors of egl/libgles.
>>>> Actually, dispmanx should not be selected in PACKAGECONFIG if
>>>> userland is not in use for EGL/GLES.
>>>
>>> Fine, but I'm looking for a solution where I can choose to use
>>> vc-graphics-hardfp so X11 works again and I can also have gst-player
>>> which depends on gstreamer-1.0-bad
>>>
>>> Any ideas?
>>>
>>
>> Disabling dispamanx is not working?
>
> How might I do that?  It's not clear from [at least] that recipe.

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


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

* Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland
  2016-12-07 10:25           ` Gary Thomas
@ 2016-12-08  4:31             ` Herve Jourdain
  0 siblings, 0 replies; 9+ messages in thread
From: Herve Jourdain @ 2016-12-08  4:31 UTC (permalink / raw)
  To: 'Gary Thomas', yocto

Hi Gary,

That was a pretty crude way of doing something for testing purpose.
If it works, obviously we should consider changing that in .bbappend in the
meta-raspberrypi layer, and not outside.

Cheers,
Herve

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
On Behalf Of Gary Thomas
Sent: mercredi 7 décembre 2016 11:25
To: yocto@yoctoproject.org
Subject: Re: [yocto] ***SPAM*** Re: [meta-raspberrypi][PATCH]
gstreamer1.0-plugins-bad: Don't hard wire use of userland

On 2016-12-06 19:22, Herve Jourdain wrote:
> Hi Gary,
>
> Could you try a local to your layer 
> gstreamer1.0-plugins-bad_%.bbappend,
> that would contain:
> PACKAGECONFIG_remove_rpi = " dispmanx"
> And see if it solves your problem?

Yes, it does solve the problem, thanks.  Although written this way and
putting it in local.conf forced every package that uses PACKAGECONFIG to be
rebuilt :-(

Perhaps a softer approach might be:
   PACKAGECONFIG_remove_pn-gstreamer1.0-plugins-bad = "dispmax"

Too bad though that this needs to be disabled to get X11 to work as it would
seem to be very useful in a high-need graphic environment.

>
> I've never built for "vc-graphics-hardfp", as I'm not sure if there 
> are benefits in using it over either using the userland or vc4, so I'm 
> not sure whether it can work without dispmanx, nor why it would not 
> compile with dispmanx enabled.
> But if this works, then we might need to consider to add an additional 
> case for not enabling dispmanx.
>
> Cheers,
> Herve
>
> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: mardi 6 décembre 2016 16:58
> To: Andrei Gherzan <andrei@gherzan.ro>
> Cc: Herve Jourdain <herve.jourdain@neuf.fr>; yocto@yoctoproject.org
> Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH]
> gstreamer1.0-plugins-bad: Don't hard wire use of userland
>
> On 2016-12-06 16:48, Andrei Gherzan wrote:
>> On Tue, Dec 06, 2016 at 04:02:20PM +0100, Gary Thomas wrote:
>>> On 2016-12-06 13:45, Herve Jourdain wrote:
>>>> Hi Gary,
>>>>
>>>> But dispmanx is really only provided by userland, it does not exist 
>>>> in other flavors of egl/libgles.
>>>> Actually, dispmanx should not be selected in PACKAGECONFIG if 
>>>> userland is not in use for EGL/GLES.
>>>
>>> Fine, but I'm looking for a solution where I can choose to use 
>>> vc-graphics-hardfp so X11 works again and I can also have gst-player 
>>> which depends on gstreamer-1.0-bad
>>>
>>> Any ideas?
>>>
>>
>> Disabling dispamanx is not working?
>
> How might I do that?  It's not clear from [at least] that recipe.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



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

end of thread, other threads:[~2016-12-08  4:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-06  9:33 [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland Gary Thomas
2016-12-06 12:45 ` Herve Jourdain
2016-12-06 15:02   ` Gary Thomas
2016-12-06 15:48     ` Andrei Gherzan
2016-12-06 15:57       ` Gary Thomas
2016-12-06 18:04         ` Andrei Gherzan
2016-12-06 18:22         ` ***SPAM*** " Herve Jourdain
2016-12-07 10:25           ` Gary Thomas
2016-12-08  4:31             ` Herve Jourdain

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.