* [Buildroot] Configuring OpenGL @ 2020-12-21 0:01 Patricia Holden 2020-12-21 9:13 ` Peter Seiderer 0 siblings, 1 reply; 5+ messages in thread From: Patricia Holden @ 2020-12-21 0:01 UTC (permalink / raw) To: buildroot 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? Thanks! Patricia -- Patricia A. Holden -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201220/d04e501f/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Configuring OpenGL 2020-12-21 0:01 [Buildroot] Configuring OpenGL Patricia Holden @ 2020-12-21 9:13 ` Peter Seiderer 2020-12-22 0:04 ` Patricia Holden 0 siblings, 1 reply; 5+ messages in thread From: Peter Seiderer @ 2020-12-21 9:13 UTC (permalink / raw) To: buildroot 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 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Configuring OpenGL 2020-12-21 9:13 ` Peter Seiderer @ 2020-12-22 0:04 ` Patricia Holden 2020-12-22 17:41 ` Peter Seiderer 0 siblings, 1 reply; 5+ messages in thread From: Patricia Holden @ 2020-12-22 0:04 UTC (permalink / raw) To: buildroot 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? 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 > > > > -- Patricia A. Holden -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201221/4714dc53/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Configuring OpenGL 2020-12-22 0:04 ` Patricia Holden @ 2020-12-22 17:41 ` Peter Seiderer 2020-12-22 20:05 ` Patricia Holden 0 siblings, 1 reply; 5+ messages in thread From: Peter Seiderer @ 2020-12-22 17:41 UTC (permalink / raw) To: buildroot 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 > > > > > > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Configuring OpenGL 2020-12-22 17:41 ` Peter Seiderer @ 2020-12-22 20:05 ` Patricia Holden 0 siblings, 0 replies; 5+ messages in thread From: Patricia Holden @ 2020-12-22 20:05 UTC (permalink / raw) To: buildroot Hi Peter, > 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, I will take a look at what has been done! On Tue, Dec 22, 2020 at 12:41 PM Peter Seiderer <ps.report@gmx.net> wrote: > 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 at 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 > > > > > > > > > > > > > > -- Patricia A. Holden -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201222/452aa0eb/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-22 20:05 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 2020-12-22 20:05 ` Patricia Holden
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.