* [meta-raspberrypi][PATCH 0/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi @ 2014-06-09 6:58 Alex J Lennon 2014-06-09 6:58 ` [meta-raspberrypi][PATCH 1/1] " Alex J Lennon 0 siblings, 1 reply; 6+ messages in thread From: Alex J Lennon @ 2014-06-09 6:58 UTC (permalink / raw) To: yocto Please see following patch for details Alex J Lennon (1): gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend -- 2.0.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [meta-raspberrypi][PATCH 1/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi 2014-06-09 6:58 [meta-raspberrypi][PATCH 0/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi Alex J Lennon @ 2014-06-09 6:58 ` Alex J Lennon 2014-06-10 18:48 ` Andrei Gherzan 0 siblings, 1 reply; 6+ messages in thread From: Alex J Lennon @ 2014-06-09 6:58 UTC (permalink / raw) To: yocto The eglglessink needs to be built to target the Raspberry Pi or it will seg-fault in use. Autoconf attempts to detect whether to build for RPi but there are some include files needed, the search path to which must be specified. ref: https://github.com/raspberrypi/firmware/issues/34 ref: https://github.com/raspberrypi/firmware/issues/99 This patch adds the needed include paths and forces the plugin to be built for Raspberry Pi. With this patch the following pipeline works on RPi, modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1 gst-launch-1.0 --gst-debug-no-color v4l2src ! 'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1' ! eglglessink max-lateness=-1 Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> --- recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend new file mode 100644 index 0000000..199e0c1 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend @@ -0,0 +1 @@ +EXTRA_OECONF += " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' --with-egl-window-system=rpi" -- 2.0.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi 2014-06-09 6:58 ` [meta-raspberrypi][PATCH 1/1] " Alex J Lennon @ 2014-06-10 18:48 ` Andrei Gherzan 2014-06-10 23:22 ` Alex J Lennon 0 siblings, 1 reply; 6+ messages in thread From: Andrei Gherzan @ 2014-06-10 18:48 UTC (permalink / raw) To: Alex J Lennon; +Cc: Yocto Project [-- Attachment #1: Type: text/plain, Size: 2085 bytes --] Hi Alex, On Mon, Jun 9, 2014 at 10:23 AM, Alex J Lennon < ajlennon@dynamicdevices.co.uk> wrote: > The eglglessink needs to be built to target the Raspberry Pi or it will > seg-fault in use. > > Autoconf attempts to detect whether to build for RPi but there are some > include files needed, the search path to which must be specified. > Format lines - max 78 chars per line. > > ref: https://github.com/raspberrypi/firmware/issues/34 > > ref: https://github.com/raspberrypi/firmware/issues/99 > > This patch adds the needed include paths and forces the plugin to be built > for Raspberry Pi. > > With this patch the following pipeline works on RPi, > > modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1 > gst-launch-1.0 --gst-debug-no-color v4l2src ! > 'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1' ! > eglglessink max-lateness=-1 > > Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f > Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> > --- > recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 > recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > > diff --git > a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > new file mode 100644 > index 0000000..199e0c1 > --- /dev/null > +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > @@ -0,0 +1 @@ > +EXTRA_OECONF += " > CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads > -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' > --with-egl-window-system=rpi" > This append should be done only for raspberrypi machine. Having this append (EXTRA_OECONF) for other machines too would break gstreamer1.0-plugins-bad as most of the times bblayers.conf includes many layers not always related to the MACHINE selected. Thanks. -- *Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12 [-- Attachment #2: Type: text/html, Size: 3459 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi 2014-06-10 18:48 ` Andrei Gherzan @ 2014-06-10 23:22 ` Alex J Lennon 2014-06-11 7:28 ` Alex J Lennon 0 siblings, 1 reply; 6+ messages in thread From: Alex J Lennon @ 2014-06-10 23:22 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Yocto Project [-- Attachment #1: Type: text/plain, Size: 2495 bytes --] On 10/06/2014 19:48, Andrei Gherzan wrote: > Hi Alex, > > > On Mon, Jun 9, 2014 at 10:23 AM, Alex J Lennon > <ajlennon@dynamicdevices.co.uk <mailto:ajlennon@dynamicdevices.co.uk>> > wrote: > > The eglglessink needs to be built to target the Raspberry Pi or it > will seg-fault in use. > > Autoconf attempts to detect whether to build for RPi but there are > some include files needed, the search path to which must be specified. > > > Format lines - max 78 chars per line. > > > > ref: https://github.com/raspberrypi/firmware/issues/34 > > ref: https://github.com/raspberrypi/firmware/issues/99 > > This patch adds the needed include paths and forces the plugin to > be built for Raspberry Pi. > > With this patch the following pipeline works on RPi, > > modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1 > gst-launch-1.0 --gst-debug-no-color v4l2src ! > 'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1' > ! eglglessink max-lateness=-1 > > Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f > Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk > <mailto:ajlennon@dynamicdevices.co.uk>> > --- > recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 > recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > > diff --git > a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > new file mode 100644 > index 0000000..199e0c1 > --- /dev/null > +++ > b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend > @@ -0,0 +1 @@ > +EXTRA_OECONF += " > CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads > -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' > --with-egl-window-system=rpi" > > > This append should be done only for raspberrypi machine. Having this > append (EXTRA_OECONF) for other machines too would > break gstreamer1.0-plugins-bad as most of the times bblayers.conf > includes many layers not always related to the MACHINE selected. Absolutely. Our emails may have crossed here and if so my apologies, but this is why I directed the .bbappend to [meta-raspberrypi] as that's where it's needed. Cheers, Alex [-- Attachment #2: Type: text/html, Size: 4904 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi 2014-06-10 23:22 ` Alex J Lennon @ 2014-06-11 7:28 ` Alex J Lennon 2014-06-11 7:33 ` Andrei Gherzan 0 siblings, 1 reply; 6+ messages in thread From: Alex J Lennon @ 2014-06-11 7:28 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Yocto Project [-- Attachment #1: Type: text/plain, Size: 2854 bytes --] On 11/06/2014 00:22, Alex J Lennon wrote: > > On 10/06/2014 19:48, Andrei Gherzan wrote: >> Hi Alex, >> >> >> On Mon, Jun 9, 2014 at 10:23 AM, Alex J Lennon >> <ajlennon@dynamicdevices.co.uk >> <mailto:ajlennon@dynamicdevices.co.uk>> wrote: >> >> The eglglessink needs to be built to target the Raspberry Pi or >> it will seg-fault in use. >> >> Autoconf attempts to detect whether to build for RPi but there >> are some include files needed, the search path to which must be >> specified. >> >> >> Format lines - max 78 chars per line. >> >> >> >> ref: https://github.com/raspberrypi/firmware/issues/34 >> >> ref: https://github.com/raspberrypi/firmware/issues/99 >> >> This patch adds the needed include paths and forces the plugin to >> be built for Raspberry Pi. >> >> With this patch the following pipeline works on RPi, >> >> modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1 >> gst-launch-1.0 --gst-debug-no-color v4l2src ! >> 'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1' >> ! eglglessink max-lateness=-1 >> >> Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f >> Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk >> <mailto:ajlennon@dynamicdevices.co.uk>> >> --- >> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> | 1 + >> 1 file changed, 1 insertion(+) >> create mode 100644 >> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> >> diff --git >> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> new file mode 100644 >> index 0000000..199e0c1 >> --- /dev/null >> +++ >> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> @@ -0,0 +1 @@ >> +EXTRA_OECONF += " >> CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads >> -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' >> --with-egl-window-system=rpi" >> >> >> This append should be done only for raspberrypi machine. Having this >> append (EXTRA_OECONF) for other machines too would >> break gstreamer1.0-plugins-bad as most of the times bblayers.conf >> includes many layers not always related to the MACHINE selected. > > Absolutely. Our emails may have crossed here and if so my apologies, > but this is why I directed the .bbappend to [meta-raspberrypi] as > that's where it's needed. Andrei - Upon further reflection I see what you mean. Somebody might well include the meta-raspberrypi layer, yet not be building for the Raspberry Pi. Not something I'd considered. I'll re-work the patch to take this into account. Cheers, Alex [-- Attachment #2: Type: text/html, Size: 5751 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi 2014-06-11 7:28 ` Alex J Lennon @ 2014-06-11 7:33 ` Andrei Gherzan 0 siblings, 0 replies; 6+ messages in thread From: Andrei Gherzan @ 2014-06-11 7:33 UTC (permalink / raw) To: Alex J Lennon; +Cc: Yocto Project [-- Attachment #1: Type: text/plain, Size: 2821 bytes --] On Wed, Jun 11, 2014 at 10:28 AM, Alex J Lennon < ajlennon@dynamicdevices.co.uk> wrote: > > On 11/06/2014 00:22, Alex J Lennon wrote: > > > On 10/06/2014 19:48, Andrei Gherzan wrote: > > Hi Alex, > > > On Mon, Jun 9, 2014 at 10:23 AM, Alex J Lennon < > ajlennon@dynamicdevices.co.uk> wrote: > >> The eglglessink needs to be built to target the Raspberry Pi or it will >> seg-fault in use. >> >> Autoconf attempts to detect whether to build for RPi but there are some >> include files needed, the search path to which must be specified. >> > > Format lines - max 78 chars per line. > > >> >> ref: https://github.com/raspberrypi/firmware/issues/34 >> >> ref: https://github.com/raspberrypi/firmware/issues/99 >> >> This patch adds the needed include paths and forces the plugin to be >> built for Raspberry Pi. >> >> With this patch the following pipeline works on RPi, >> >> modprobe bcm2835-v4l2 gst_v4l2src_is_broken=1 >> gst-launch-1.0 --gst-debug-no-color v4l2src ! >> 'video/x-raw,format=RGB,width=1280,height=720,framerate=(fraction)30/1' ! >> eglglessink max-lateness=-1 >> >> Change-Id: I80826a43a428199b2a05ea51404ead24a815c38f >> Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> >> --- >> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | >> 1 + >> 1 file changed, 1 insertion(+) >> create mode 100644 >> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> >> diff --git >> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> new file mode 100644 >> index 0000000..199e0c1 >> --- /dev/null >> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend >> @@ -0,0 +1 @@ >> +EXTRA_OECONF += " >> CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads >> -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' >> --with-egl-window-system=rpi" >> > > This append should be done only for raspberrypi machine. Having this > append (EXTRA_OECONF) for other machines too would > break gstreamer1.0-plugins-bad as most of the times bblayers.conf includes > many layers not always related to the MACHINE selected. > > > Absolutely. Our emails may have crossed here and if so my apologies, but > this is why I directed the .bbappend to [meta-raspberrypi] as that's where > it's needed. > > > Andrei - Upon further reflection I see what you mean. Somebody might well > include the meta-raspberrypi layer, yet not be building for the Raspberry > Pi. Not something I'd considered. I'll re-work the patch to take this into > account. > > Cheers, Alex > > Great. Thank you Alex. -- *Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12 [-- Attachment #2: Type: text/html, Size: 6031 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-11 7:34 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-06-09 6:58 [meta-raspberrypi][PATCH 0/1] gstreamer1.0-plugins-bad: Build eglglessink for Raspberry Pi Alex J Lennon 2014-06-09 6:58 ` [meta-raspberrypi][PATCH 1/1] " Alex J Lennon 2014-06-10 18:48 ` Andrei Gherzan 2014-06-10 23:22 ` Alex J Lennon 2014-06-11 7:28 ` Alex J Lennon 2014-06-11 7:33 ` 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.