Skip to contentSkip to conversation

gstreamer1.0-plugins-bad: Don't hard wire use of userland

PATCH In review Gary Thomas 3 participants 9 messages Dec 6, 2016 – Dec 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1 -1
index 7292f90..432869d 100644
@@ -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"
Signature · 1 line
2.7.4
#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Gary Thomas
Sent: mardi 6 décembre 2016 10:34
To: [email protected]
Cc: Gary Thomas <[email protected]>
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.

---
 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

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1 -1
@@ -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"

Signature · 7 lines
2.7.4

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
#2 lore raw
Quoted 6 lines · Herve Jourdain

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?

Quoted 31 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Gary Thomas
Sent: mardi 6 décembre 2016 10:34
To: [email protected]
Cc: Gary Thomas <[email protected]>
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.

---
 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

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1 -1
@@ -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"

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 8 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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.

Quoted 5 lines

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

#4 lore raw
Quoted 9 lines · Andrei Gherzan
Quoted 8 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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.

Quoted 7 lines
Quoted 5 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
Quoted 18 lines · Gary Thomas
Quoted 9 lines · Andrei Gherzan
Quoted 8 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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.

Quoted 7 lines
Quoted 5 lines

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?

Quoted 7 lines

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

#6 lore raw

Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

In reply to Gary Thomas

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:[email protected]]
Sent: mardi 6 décembre 2016 16:58
To: Andrei Gherzan <[email protected]>
Cc: Herve Jourdain <[email protected]>; [email protected]
Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

Quoted 9 lines · Andrei Gherzan
Quoted 8 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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.

Quoted 8 lines
Quoted 6 lines

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
------------------------------------------------------------

#7 lore raw

Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

Quoted 6 lines · Herve Jourdain

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.

Quoted 39 lines

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:[email protected]]
Sent: mardi 6 décembre 2016 16:58
To: Andrei Gherzan <[email protected]>
Cc: Herve Jourdain <[email protected]>; [email protected]
Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

Quoted 9 lines · Andrei Gherzan
Quoted 8 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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.

Quoted 8 lines
Quoted 6 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#8 lore raw

Re: ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

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: [email protected] [mailto:[email protected]] On Behalf Of Gary Thomas
Sent: mercredi 7 décembre 2016 11:25
To: [email protected]
Subject: Re: [yocto] ***SPAM*** Re: [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

Quoted 7 lines · Herve Jourdain

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.

Quoted 33 lines

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:[email protected]]
Sent: mardi 6 décembre 2016 16:58
To: Andrei Gherzan <[email protected]>
Cc: Herve Jourdain <[email protected]>; [email protected]
Subject: ***SPAM*** Re: [yocto] [meta-raspberrypi][PATCH] gstreamer1.0-plugins-bad: Don't hard wire use of userland

Quoted 13 lines · Andrei Gherzan
Quoted 12 lines · Gary Thomas
Quoted 6 lines · Herve Jourdain

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

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto