All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karim ATIKI <karim_atiki@hotmail.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: yocto <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration
Date: Tue, 1 Nov 2016 18:51:02 +0000	[thread overview]
Message-ID: <HE1PR01MB18836A737A5FA50A13C1A9E192A10@HE1PR01MB1883.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <20161029221306.73a1ab9d@nuc.betafive.co.uk>

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

Hi Paul,


Thanks for your feedback.

Unfortunately I was suspecting such a problem.


Regarding the config below, is it possible to install the "dispmanx"component to activate EGL ?


What recipe provides dispmanx ?


Karim




________________________________
De : Paul Barker <paul@paulbarker.me.uk>
Envoyé : samedi 29 octobre 2016 23:13
À : Karim ATIKI
Cc : yocto
Objet : Re: [yocto] [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration

On Fri, 28 Oct 2016 05:56:07 +0000
Karim ATIKI <karim_atiki@hotmail.com> wrote:

> Hi Paul,
>
>
> Thanks a lot for your feedback and analysis.
>
> I think it sohuld compile without X11 and Wayland as it's a very
> common configuration
>
> for RaspberryPi being used with Qt5.x applications.
>
>
> Do you think it's bug related to Gstreamer1.0 configuration ?
>
>
>
> Karim
>

The do_configure log for gstreamer1.0-plugins-bad does contain:

        configure: WARNING: X or Wayland is required for OpenGL support

configure.ac in gst-plugins-bad-1.8.3 contains:

    dnl EGL
    if test "x$HAVE_EGL" = "xno"; then
      if test "x$HAVE_GL" = "xno"; then
        AC_MSG_WARN([Building requires either EGL or GLX for OpenGL support])
      fi
    else
      if test "x$NEED_EGL" != "xno"; then
        if test "x$HAVE_WINDOW_WAYLAND" = "xyes" -o "x$HAVE_WINDOW_X11" = "xyes" -o "x$HAVE_WINDOW_DISPMANX" = "xyes"; then
          GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
          GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS"
          USE_EGL=yes
        fi
      fi
    fi
    ;;

In config.status EGL_LIBS contains "-lbcm_host -lvcos
-lvchiq_arm", however GL_LIBS only contains "-lGLESv2". So I'd say
EGL_LIBS is not being included in to GL_LIBS because
HAVE_WINDOW_WAYLAND, HAVE_WINDOW_X11 and HAVE_WINDOW_DISPMAX are all
false.

GL_LIBS is used in gst-libs/gst/gl/Makefile.am so that's the variable
the libraries should be listed in.

I'd say that's an upstream issue - it really looks like it's demanding
X or Wayland to be enabled for OpenGL to work. I'd suggest raising the
issue upsteream.

Thanks,
Paul Barker

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

  reply	other threads:[~2016-11-01 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 12:56 [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration Karim ATIKI
2016-10-27 20:26 ` Paul Barker
2016-10-27 21:18   ` Paul Barker
2016-10-28  2:40     ` Khem Raj
2016-10-28  5:56     ` Karim ATIKI
2016-10-28  7:28       ` Herman van Hazendonk
2016-10-29 21:13       ` Paul Barker
2016-11-01 18:51         ` Karim ATIKI [this message]
2016-11-03  2:57           ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HE1PR01MB18836A737A5FA50A13C1A9E192A10@HE1PR01MB1883.eurprd01.prod.exchangelabs.com \
    --to=karim_atiki@hotmail.com \
    --cc=paul@paulbarker.me.uk \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.