All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] Configuring OpenGL
Date: Tue, 22 Dec 2020 18:41:41 +0100	[thread overview]
Message-ID: <20201222184141.00cab268@gmx.net> (raw)
In-Reply-To: <CAJ6EmCfAmfum2Fm9DgNyeoz6cvkj9rJbYJYnxoX1dz4MOvge-Q@mail.gmail.com>

Hello Patricia,

On Mon, 21 Dec 2020 19:04:05 -0500, Patricia Holden <pholden@nklabs.com> wrote:

> Hello Peter,
>
> Thanks for the comprehensive info on how-to!  I do have a question on the
> hardware info:
>
> > For example Raspberry Pi hardware there are two options, use
> > rpi-userland (the old way/32-bit only) or mesa3d/v3d/vc4 (the
> > new way 32-bit/64-bit)...
>
> My client's system is the TI Sitara board (Beaglebone-X15).  I tried
> selecting ti-sgx-km, but it failed to build.  I think the version of Linux
> supported by the board I'm using is outdated vs the version of Linux
> expected to compile this option.  The dev-board we started with uses
> Linux 4.9.147-ti-rt-r121.  We are using a local linux-custom version, but I
> am afraid to migrate to a newer version of the kernel.  You know how it
> goes with hardware vendors!  Any suggestions?

Sorry, no Beagle/Ti expert... and no hardware to test myself, but there was an
Beagle/Ti software stack update recently suggested (and I believe already
committed on buildroot git master), see [1]...

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2020-December/298361.html

>
> Thanks!
> Patricia
>
>
> On Mon, Dec 21, 2020 at 4:13 AM Peter Seiderer <ps.report@gmx.net> wrote:
>
> > Hello Patricia,
> >
> > On Sun, 20 Dec 2020 19:01:53 -0500, Patricia Holden <pholden@nklabs.com>
> > wrote:
> >
> > > I know this topic has been visited a couple times, but I did not see my
> > > particular problem in the threads.  I am trying to add a package that
> > > requires QT5 components and Gstreamer.  In order to add QT5, openGL is
> > > required.
> > >
> > > Buildroot version I am using is  buildroot-2020-02.
> > >
> > > I went into the menuconfig->Libraries->Graphics after looking at
> > > package/Config.in to find out where I would enable it.  When I got into
> > the
> > > Graphics libraries, openGL was not an option anywhere in the list.
> > >
> > > My question is:  What do I need to do to enable opengl in the menuconfig
> > so
> > > that I can get my package built and into target?
> >
> > It depends on your platform and/or graphics hardware. In short your need
> > an OpenGL provider.
> >
> > For the long/technical answer take a look at package/qt5/qt5base/Config.in:
> >
> >  138 comment "OpenGL support needs an OpenGL-capable backend"
> >  139         depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
> >  140
> >  141 config BR2_PACKAGE_QT5BASE_OPENGL
> >  142         bool "OpenGL support"
> >  143         depends on BR2_PACKAGE_QT5_GL_AVAILABLE
> >  144         help
> >  145           This option enables OpenGL support.
> >
> > and package/qt5/Config.in:
> >
> >   1 config BR2_PACKAGE_QT5_GL_AVAILABLE
> >   2         bool
> >   3         default y
> >   4         depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
> >   5
> >
> > So grep for BR2_PACKAGE_HAS_LIBGL or BR2_PACKAGE_HAS_LIBGLES providers:
> >
> >         $ git grep "select BR2_PACKAGE_HAS_LIBGL"
> > package/freescale-imx/gpu-amd-bin-mx51/Config.in:       select
> > BR2_PACKAGE_HAS_LIBGLES
> > package/freescale-imx/imx-gpu-viv/Config.in:    select
> > BR2_PACKAGE_HAS_LIBGLES
> > package/gcnano-binaries/Config.in:      select BR2_PACKAGE_HAS_LIBGLES
> > package/mali-t76x/Config.in:    select BR2_PACKAGE_HAS_LIBGLES
> > package/mesa3d/Config.in:       select BR2_PACKAGE_HAS_LIBGL
> > package/mesa3d/Config.in:       select BR2_PACKAGE_HAS_LIBGLES
> > package/nvidia-driver/Config.in:        select BR2_PACKAGE_HAS_LIBGL
> > package/nvidia-driver/Config.in:        select BR2_PACKAGE_HAS_LIBGLES
> > package/rpi-userland/Config.in: select BR2_PACKAGE_HAS_LIBGLES
> > package/sunxi-mali-mainline/Config.in:  select BR2_PACKAGE_HAS_LIBGLES
> > package/ti-gfx/Config.in:       select BR2_PACKAGE_HAS_LIBGLES
> > package/ti-sgx-um/Config.in:    select BR2_PACKAGE_HAS_LIBGLES
> >
> >         $ git grep "select BR2_PACKAGE_HAS_LIBGLES" | cat
> > package/freescale-imx/gpu-amd-bin-mx51/Config.in:       select
> > BR2_PACKAGE_HAS_LIBGLES
> > package/freescale-imx/imx-gpu-viv/Config.in:    select
> > BR2_PACKAGE_HAS_LIBGLES
> > package/gcnano-binaries/Config.in:      select BR2_PACKAGE_HAS_LIBGLES
> > package/mali-t76x/Config.in:    select BR2_PACKAGE_HAS_LIBGLES
> > package/mesa3d/Config.in:       select BR2_PACKAGE_HAS_LIBGLES
> > package/nvidia-driver/Config.in:        select BR2_PACKAGE_HAS_LIBGLES
> > package/rpi-userland/Config.in: select BR2_PACKAGE_HAS_LIBGLES
> > package/sunxi-mali-mainline/Config.in:  select BR2_PACKAGE_HAS_LIBGLES
> > package/ti-gfx/Config.in:       select BR2_PACKAGE_HAS_LIBGLES
> > package/ti-sgx-um/Config.in:    select BR2_PACKAGE_HAS_LIBGLES
> >
> >
> > For example Raspberry Pi hardware there are two options, use
> > rpi-userland (the old way/32-bit only) or mesa3d/v3d/vc4 (the
> > new way 32-bit/64-bit)...
> >
> > Regards,
> > Peter
> >
> > >
> > > Thanks!
> > > Patricia
> > >
> >
> >
>

  reply	other threads:[~2020-12-22 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21  0:01 [Buildroot] Configuring OpenGL Patricia Holden
2020-12-21  9:13 ` Peter Seiderer
2020-12-22  0:04   ` Patricia Holden
2020-12-22 17:41     ` Peter Seiderer [this message]
2020-12-22 20:05       ` Patricia Holden

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=20201222184141.00cab268@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /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.