From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 326CBE009D7; Sun, 3 May 2015 14:51:45 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0D13BE00954 for ; Sun, 3 May 2015 14:51:42 -0700 (PDT) Received: from [192.168.178.14] (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id 0BA932F443 for ; Sun, 3 May 2015 23:51:30 +0200 (CEST) Message-ID: <5546986A.5080201@pseudoterminal.org> Date: Sun, 03 May 2015 23:51:38 +0200 From: Carlos Rafael Giani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: In-Reply-To: Subject: Re: Cannot play videos using gstreamer X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 21:51:45 -0000 Content-Type: multipart/alternative; boundary="------------010300000903070207000801" --------------010300000903070207000801 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Regarding (3) : you cannot use eglinfo-fb in your image, since you are using X11. Use eglinfo-x11 instead. Am 2015-05-03 um 15:29 schrieb Isaac Nickaein: > > I was using Kernel 3.0.35 and that had issues. Issue #1 got fixed by > using a newer kernel (Kernel 3.16 image provided by Ka-Ro). > However, the issue #2 and #3 are still present (I have problem with > using glimagesink; adding "eglinfo-fb" package in local.conf causes > compile error). > > > On Sun, May 3, 2015 at 2:04 PM, Isaac Nickaein > wrote: > > Hi, > > I've repo synced my Yocto Dizzy and created a core-image-minimal > image. The local.conf is presented at the end of this email. > > The problem is I cannot get any display output using GStreamer, > while my Qt program (which is built using toolchain by "bitbake > meta-toolchain-qte") have display output. What I have tried: > > 1. Using mfw_v4lsink: > > gst-launch -v filesrc location=test.mp4 typefind=true ! > aiurdemux ! queue ! vpudec ! mfw_v4lsink > > doesn't fail, but does not show anything on the display. Here is > log output: http://pastebin.com/TWtNCViT > > 2. Using glimagesink: > > gst-launch filesrc location=test.mp4 typefind=true ! aiurdemux > ! queue ! vpudec ! glimagesink > > fails with the following output: > > Setting pipeline to PAUSED ... > Caught SIGSEGV accessing address 0x4d0 > exec gdb failed: No such file or directory > Spinning. Please run 'gdb gst-launch 1405' to continue > debugging, Ctrl-C to quit, or Ctrl-\ to dump core. > > > 3. I wondered adding "eglinfo-fb" recipe could be helpful (?), but > it caused a compile error during bitbake. Here is output: > http://pastebin.com/EQC464iM > > > And this is the local.conf that I am using: > > MACHINE ??= 'imx6qsabresd' > DISTRO ?= 'poky' > PACKAGE_CLASSES ?= "package_rpm" > EXTRA_IMAGE_FEATURES = "debug-tweaks" > USER_CLASSES ?= "buildstats image-mklibs image-prelink" > PATCHRESOLVE = "noop" > BB_DISKMON_DIRS = "\ > STOPTASKS,${TMPDIR},1G,100K \ > STOPTASKS,${DL_DIR},1G,100K \ > STOPTASKS,${SSTATE_DIR},1G,100K \ > ABORT,${TMPDIR},100M,1K \ > ABORT,${DL_DIR},100M,1K \ > ABORT,${SSTATE_DIR},100M,1K" > PACKAGECONFIG_append_pn-qemu-native = " sdl" > PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl" > ASSUME_PROVIDED += "libsdl-native" > CONF_VERSION = "1" > > BB_NUMBER_THREADS = '4' > PARALLEL_MAKE = '-j 4' > > DL_DIR ?= "${BSPDIR}/downloads/" > ACCEPT_FSL_EULA = "" > > KERNEL_IMAGETYPE_forcevariable = "uImage" > > IMAGE_INSTALL_append = "\ > wget \ > nano \ > fbida \ > bash \ > firmware-imx \ > fsl-rc-local \ > packagegroup-core-ssh-openssh \ > mtd-utils \ > nfs-utils \ > iproute2 \ > canutils \ > libsocketcan \ > fbset \ > fbset-modes \ > glib-2.0 \ > libstdc++ \ > gpu-viv-bin-mx6q \ > libxdamage \ > libxfixes \ > libxext \ > libx11 \ > libxcb \ > libxau \ > libxdmcp \ > ntp \ > proftpd \ > tzdata \ > packagegroup-fsl-gstreamer \ > gst-fsl-plugin \ > gstreamer \ > gst-plugins-bad \ > imx-vpu \ > gst-plugins-gl \ > gst-plugins-base \ > gst-plugins-gl-opengl \ > v4l-utils \ > " > > > > --------------010300000903070207000801 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Regarding (3) : you cannot use eglinfo-fb in your image, since you are using X11. Use eglinfo-x11 instead.


Am 2015-05-03 um 15:29 schrieb Isaac Nickaein:

I was using Kernel 3.0.35 and that had issues. Issue #1 got fixed by using a newer kernel (Kernel 3.16 image provided by Ka-Ro). 
However, the issue #2 and #3 are still present (I have problem with using glimagesink; adding "eglinfo-fb" package in local.conf causes compile error).


On Sun, May 3, 2015 at 2:04 PM, Isaac Nickaein <nickaein.i@gmail.com> wrote:
Hi,

I've repo synced my Yocto Dizzy and created a core-image-minimal image. The local.conf is presented at the end of this email.

The problem is I cannot get any display output using GStreamer, while my Qt program (which is built using toolchain by "bitbake meta-toolchain-qte") have display output. What I have tried:

1. Using mfw_v4lsink:

    gst-launch -v filesrc location=test.mp4 typefind=true ! aiurdemux ! queue ! vpudec ! mfw_v4lsink

doesn't fail, but does not show anything on the display. Here is log output: http://pastebin.com/TWtNCViT

2. Using glimagesink:

    gst-launch filesrc location=test.mp4 typefind=true ! aiurdemux ! queue ! vpudec ! glimagesink

fails with the following output:

    Setting pipeline to PAUSED ...
    Caught SIGSEGV accessing address 0x4d0
    exec gdb failed: No such file or directory
    Spinning.  Please run 'gdb gst-launch 1405' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.


3. I wondered adding "eglinfo-fb" recipe could be helpful (?), but it caused a compile error during bitbake. Here is output: http://pastebin.com/EQC464iM


And this is the local.conf that I am using:

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

BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'

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

KERNEL_IMAGETYPE_forcevariable = "uImage"

IMAGE_INSTALL_append = "\
wget \
nano \
fbida \
bash \
firmware-imx \
fsl-rc-local \
packagegroup-core-ssh-openssh \
mtd-utils \
nfs-utils \
iproute2 \
canutils \ 
libsocketcan \
fbset \
fbset-modes \
glib-2.0 \
libstdc++ \
gpu-viv-bin-mx6q \
libxdamage \ 
libxfixes \
libxext \ 
libx11 \
libxcb \ 
libxau \
libxdmcp \
ntp \
proftpd \
tzdata \
packagegroup-fsl-gstreamer \
gst-fsl-plugin \
gstreamer \
gst-plugins-bad \
imx-vpu \
gst-plugins-gl \
gst-plugins-base \
gst-plugins-gl-opengl \
v4l-utils \
"





--------------010300000903070207000801--