Couldn't make gsreamer works on core image minimal with qt5 eglfs

Hi,

I’m facing a problem that I’m not able to solve for days. In fact, I’m able to compile under Yocto and deploy core image minimal, core image minimal with gstreamer 1.0 (and fsl plugins), core image minimal with Qt5 & eglfs. But I’m not able to make Qt5 and Gstreamer work together. I don’t use Qgstreamer or so, I just try to execute gst-launch-1.0 in console. But whatever the gst command (inspect, laucnh) I write, I’ve got this issue :

(gst-plugin-scanner:648): GLib-GObject-WARNING *: cannot register existing type 'GstImxCompositorPad'
(gst-plugin-scanner:648): GLib-CRITICAL **: g_once_init_leave: assertion 'result!=0' failed

and then I have to quit with CTRL+C to stop the process.

My local.conf :

MACHINE ?= 'apalis-imx6'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"

IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \
autoconf automake ccache chkconfig glib-networking glibmm \
packagegroup-core-buildessential pkgconfig  \
boost cmake zlib glib-2.0 packagegroup-fsl-tools-testapps  \
    cpufrequtils \
    nano \
    gdb \
    openssh-sftp-server \
    imx-vpu \
    imx-test \
    firmware-imx \
    qtbase-fonts \
    qtbase-plugins \
    qtbase-tools \
    qtdeclarative \
    qtdeclarative-plugins \
    qtdeclarative-tools \
    qtdeclarative-qmlplugins \
    qtmultimedia \
    qtmultimedia-plugins \
    qtmultimedia-qmlplugins \
    qtimageformats-plugins \
    qtsystems \
    qtsystems-tools \
    qtsystems-qmlplugins \
    qtgraphicaleffects-qmlplugins \
    qtconnectivity-qmlplugins \
    cairo pango fontconfig freetype pulseaudio dbus \
    i2c-tools \ 
    gstreamer1.0-plugins-imx \
    gst1.0-fsl-plugin \
    gstreamer1.0-plugins-base \
    psplash \
"

DISTRO_FEATURES_remove = "x11 wayland"
IMAGE_INSTALL_remove = "eglinfo-x11"
KERNEL_IMAGETYPE = "uImage"
ACCEPT_FSL_EULA = "1"
IMAGE_FSTYPES += "ext3"
PREFERRED_PROVIDER_psplash = "meta-avt"

What maybe wrong ?

In another image (3.14.28 toradex but customized) , gstreamer works but when I execute Qt5cinematic demo :
Could not open egl display
Maybe I disabled a feature in menuconfig ?

I have the same issue on imx6dl wandboard and cannot find a solution to this. Have you been able to resolve it?

Hi,

I added to my local.conf :
PACKAGECONFIG_remove_pn-gstreamer1.0-plugins-good = " gdk-pixbuf "

It appears that this plugin have a X11 dependency.