Issue building yocto Dunfell with opengl/without wayland

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue building yocto Dunfell with opengl/without wayland

1,855 Views
woutervh
Contributor IV

Hello,

I want to compile yocto dunfell with meta-freescale layers. Herefor I'm using my own custom distro (as provided are or framebuffer/wayland/x11), but I only need vivante/opengl.

DISTRO = "tlv-opengl"
DISTRO_NAME = "TLV Opengl"

# Remove conflicting backends
DISTRO_FEATURES_append = " opengl imxgpu2d imxgpu3d"
DISTRO_FEATURES_remove = "directfb x11 zeroconf vulkan wayland"

PREFERRED_PROVIDER_u-boot_mx6q = "u-boot-imx"
IMX_DEFAULT_BSP = "nxp"
PREFERRED_PROVIDER_virtual/bootloader_mx6q = "u-boot-imx"
PREFERRED_PROVIDER_virtual/kernel_mx6q = "linux-imx"
MACHINE_GSTREAMER_1_0_PLUGIN_mx6q = "imx-gst1.0-plugin"
# Use i.MX Gstreamer Version
PREFERRED_VERSION_gstreamer1.0 = "1.16.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-base = "1.16.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good = "1.16.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-bad = "1.16.imx"

However I'm facing an issue with gstreamer1.0-plugins-base.

| /opt/yocto/33.96.8345/build/tmp/work/cortexa9t2hf-neon-mx6qdl-tlv-linux-gnueabi/gstreamer1.0-plugins-base/1.16.imx-r0/recipe-sysroot-native/usr/bin/arm-tlv-linux-gnueabi/../../libexec/arm-tlv-linux-gnueabi/gcc/arm-tlv-linux-gnueabi/9.3.0/ld: gst-libs/gst/gl/8c16ccf@@gstgl-1.0@sha/gstglmemorydma.c.o: in function `_gl_mem_create':
| /usr/src/debug/gstreamer1.0-plugins-base/1.16.imx-r0/build/../git/gst-libs/gst/gl/gstglmemorydma.c:111: undefined reference to `gst_egl_image_from_dmabuf'
| /opt/yocto/33.96.8345/build/tmp/work/cortexa9t2hf-neon-mx6qdl-tlv-linux-gnueabi/gstreamer1.0-plugins-base/1.16.imx-r0/recipe-sysroot-native/usr/bin/arm-tlv-linux-gnueabi/../../libexec/arm-tlv-linux-gnueabi/gcc/arm-tlv-linux-gnueabi/9.3.0/ld: gst-libs/gst/gl/8c16ccf@@gstgl-1.0@sha/gstglphymemory.c.o: in function `free_phymem':
| /usr/src/debug/gstreamer1.0-plugins-base/1.16.imx-r0/build/../git/gst-libs/gst/gl/gstglphymemory.c:113: undefined reference to `g2d_free'
| /opt/yocto/33.96.8345/build/tmp/work/cortexa9t2hf-neon-mx6qdl-tlv-linux-gnueabi/gstreamer1.0-plugins-base/1.16.imx-r0/recipe-sysroot-native/usr/bin/arm-tlv-linux-gnueabi/../../libexec/arm-tlv-linux-gnueabi/gcc/arm-tlv-linux-gnueabi/9.3.0/ld: gst-libs/gst/gl/8c16ccf@@gstgl-1.0@sha/gstglphymemory.c.o: in function `alloc_phymem':
| /usr/src/debug/gstreamer1.0-plugins-base/1.16.imx-r0/build/../git/gst-libs/gst/gl/gstglphymemory.c:94: undefined reference to `g2d_alloc'
| collect2: error: ld returned 1 exit status

Rings a bell to someone?

Tags (1)
0 Kudos
3 Replies

1,115 Views
jeromebolduc
Contributor III

Same issue here. Have you found a solution yet?

0 Kudos

1,759 Views
marioschuknecht
Contributor III

Have you found a solution for this problem?

0 Kudos

1,770 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Wouter Vanhauwaert,

I just would like to double check. Is your distro also based on Dunfell? The Dunfell branch is still relatively new and may have some pending work. However, I would think this is more a problem of compatibility between the different layers or recipes.

I couldn’t find anything specific regarding this issue, which may be precisely because there is still a lot being done to this branch. For reference, there is a mailing list in which you can report bug and make contributions to the Community BSP.

http://freescale.github.io/#contributing

I hope this helps!

Regards,

0 Kudos