All of lore.kernel.org
 help / color / mirror / Atom feed
* Video playback issue on yocto nitrogen6x/sabrelite
@ 2014-01-23 18:24 Alok Kumar
  2014-01-23 20:47 ` Alok Kumar
       [not found] ` <CALMQ0YQpFOLCzpQ2LyobuovNQa-uQfFGGUfAeWxNQnUNCqFRdQ@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Alok Kumar @ 2014-01-23 18:24 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

I got yocto build with QT5 and all the gstreamer plugins including fsl
plugins. It made core-image-base image and booted up nitorgen6x board.
everything looks good and on display I see
"Please wait: booting"
also login

My problem is when I play gstreamer pipeline (which has been working), does
not produce any video output on HDMI display.

pipeline is playing and tested earlier to be working on non yocto build.
I think I am missing something here.

local.conf has
CORE_IMAGE_EXTRA_INSTALL += " \
gst-plugins-bad-meta \
gst-plugins-good-meta \
gst-plugins-ugly-meta \
gst-ffmpeg \
gst-fsl-plugin \
gst-plugins-base-meta \
"


at /proc/cmdline
enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1

Could someone please advice why video playback does not come on HDMI output.


Thanks
Alok

[-- Attachment #2: Type: text/html, Size: 1367 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-01-23 18:24 Video playback issue on yocto nitrogen6x/sabrelite Alok Kumar
@ 2014-01-23 20:47 ` Alok Kumar
  2014-01-23 21:09   ` Eric Bénard
       [not found] ` <CALMQ0YQpFOLCzpQ2LyobuovNQa-uQfFGGUfAeWxNQnUNCqFRdQ@mail.gmail.com>
  1 sibling, 1 reply; 8+ messages in thread
From: Alok Kumar @ 2014-01-23 20:47 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

I noticed if I change the sink to mfw_v4lsink video playback works fine on
nitrogen6x.

But I need to use mfw_isink inorder to share the screen with other
graphics.

Is  mfw_isink not setup for video playback here ? gst-inspect shows
mfw_isink available.

Thanks
Alok




On Thu, Jan 23, 2014 at 1:24 PM, Alok Kumar <alokkat@gmail.com> wrote:

> I got yocto build with QT5 and all the gstreamer plugins including fsl
> plugins. It made core-image-base image and booted up nitorgen6x board.
> everything looks good and on display I see
> "Please wait: booting"
> also login
>
> My problem is when I play gstreamer pipeline (which has been working),
> does not produce any video output on HDMI display.
>
> pipeline is playing and tested earlier to be working on non yocto build.
> I think I am missing something here.
>
> local.conf has
> CORE_IMAGE_EXTRA_INSTALL += " \
> gst-plugins-bad-meta \
> gst-plugins-good-meta \
> gst-plugins-ugly-meta \
> gst-ffmpeg \
> gst-fsl-plugin \
> gst-plugins-base-meta \
> "
>
>
> at /proc/cmdline
> enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
> console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
> root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>
> Could someone please advice why video playback does not come on HDMI
> output.
>
>
> Thanks
> Alok
>
>


-- 
Regards
Alok Kumar

[-- Attachment #2: Type: text/html, Size: 2250 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-01-23 20:47 ` Alok Kumar
@ 2014-01-23 21:09   ` Eric Bénard
  2014-01-23 21:14     ` Alok Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2014-01-23 21:09 UTC (permalink / raw)
  To: Alok Kumar; +Cc: meta-freescale@yoctoproject.org

Hi Alok,

Le Thu, 23 Jan 2014 15:47:57 -0500,
Alok Kumar <alokkat@gmail.com> a écrit :

> I noticed if I change the sink to mfw_v4lsink video playback works fine on
> nitrogen6x.
> 
> But I need to use mfw_isink inorder to share the screen with other
> graphics.
> 
> Is  mfw_isink not setup for video playback here ? gst-inspect shows
> mfw_isink available.
> 
you need to tune /usr/share/vssconfig 

Eric


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-01-23 21:09   ` Eric Bénard
@ 2014-01-23 21:14     ` Alok Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Alok Kumar @ 2014-01-23 21:14 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

Thanks
I realized just now if I add
export VSALPHA=1
and then run mfw_isink pipeline video playback works.

Thanks
Alok


On Thu, Jan 23, 2014 at 4:09 PM, Eric Bénard <eric@eukrea.com> wrote:

> Hi Alok,
>
> Le Thu, 23 Jan 2014 15:47:57 -0500,
> Alok Kumar <alokkat@gmail.com> a écrit :
>
> > I noticed if I change the sink to mfw_v4lsink video playback works fine
> on
> > nitrogen6x.
> >
> > But I need to use mfw_isink inorder to share the screen with other
> > graphics.
> >
> > Is  mfw_isink not setup for video playback here ? gst-inspect shows
> > mfw_isink available.
> >
> you need to tune /usr/share/vssconfig
>
> Eric
>



-- 
Regards
Alok Kumar

[-- Attachment #2: Type: text/html, Size: 1259 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
       [not found] ` <CALMQ0YQpFOLCzpQ2LyobuovNQa-uQfFGGUfAeWxNQnUNCqFRdQ@mail.gmail.com>
@ 2014-01-23 23:40   ` Alok Kumar
  2014-01-24 16:03     ` Daiane Angolini
  2014-02-14 18:58     ` Eric Nelson
  0 siblings, 2 replies; 8+ messages in thread
From: Alok Kumar @ 2014-01-23 23:40 UTC (permalink / raw)
  To: Leonardo Sandoval, meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2239 bytes --]

I am not sure if I understood, I see
cat /proc/cmdline
enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1

where video=mxcfb0:dev and  video=mxcfb1:off video=mxcfb2:off
video=mxcfb3:off are off.

I am noticing that after export VSALPHA=1, mfw_isink pipeline runs only
once till next reboot. When  I try to run same pipeline again, it does not
produce any display and hand there forever. I think something is not set
correctly for sure.

Thanks
Alok


On Thu, Jan 23, 2014 at 5:43 PM, Leonardo Sandoval <leo.san.gon@gmail.com>wrote:

> Alok, on the kernel command line, you need video=mxcfb*0*:..... Your
> video's params start at 1
>
>
> On Thu, Jan 23, 2014 at 12:24 PM, Alok Kumar <alokkat@gmail.com> wrote:
>
>> I got yocto build with QT5 and all the gstreamer plugins including fsl
>> plugins. It made core-image-base image and booted up nitorgen6x board.
>> everything looks good and on display I see
>> "Please wait: booting"
>> also login
>>
>> My problem is when I play gstreamer pipeline (which has been working),
>> does not produce any video output on HDMI display.
>>
>> pipeline is playing and tested earlier to be working on non yocto build.
>> I think I am missing something here.
>>
>> local.conf has
>> CORE_IMAGE_EXTRA_INSTALL += " \
>> gst-plugins-bad-meta \
>> gst-plugins-good-meta \
>> gst-plugins-ugly-meta \
>> gst-ffmpeg \
>> gst-fsl-plugin \
>> gst-plugins-base-meta \
>> "
>>
>>
>> at /proc/cmdline
>> enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
>> console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
>> root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>>
>> Could someone please advice why video playback does not come on HDMI
>> output.
>>
>>
>> Thanks
>> Alok
>>
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>


-- 
Regards
Alok Kumar

[-- Attachment #2: Type: text/html, Size: 3918 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-01-23 23:40   ` Alok Kumar
@ 2014-01-24 16:03     ` Daiane Angolini
  2014-02-14 18:58     ` Eric Nelson
  1 sibling, 0 replies; 8+ messages in thread
From: Daiane Angolini @ 2014-01-24 16:03 UTC (permalink / raw)
  To: Alok Kumar, Leonardo Sandoval, meta-freescale@yoctoproject.org

On 23-01-2014 21:40, Alok Kumar wrote:
> I am not sure if I understood, I see
> cat /proc/cmdline
> enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
> console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
> root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>
> where video=mxcfb0:dev and  video=mxcfb1:off video=mxcfb2:off
> video=mxcfb3:off are off.

Are you using the MM documentation? I think there is some instruction on 
that doc regarding how to control vss
(it can be downloaded from freescale.com/imx and the file name is 
something like MM_bundle)

>
> I am noticing that after export VSALPHA=1, mfw_isink pipeline runs only
> once till next reboot. When  I try to run same pipeline again, it does
> not produce any display and hand there forever. I think something is not
> set correctly for sure.

I almost remember I had already saw this error sometime ago. Have you 
searched for this on imx-community?

Take a look if your problem is like:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5331



Daiane

>
> Thanks
> Alok
>
>
> On Thu, Jan 23, 2014 at 5:43 PM, Leonardo Sandoval
> <leo.san.gon@gmail.com <mailto:leo.san.gon@gmail.com>> wrote:
>
>     Alok, on the kernel command line, you need video=mxcfb*0*:..... Your
>     video's params start at 1
>
>
>     On Thu, Jan 23, 2014 at 12:24 PM, Alok Kumar <alokkat@gmail.com
>     <mailto:alokkat@gmail.com>> wrote:
>
>         I got yocto build with QT5 and all the gstreamer plugins
>         including fsl plugins. It made core-image-base image and booted
>         up nitorgen6x board. everything looks good and on display I see
>         "Please wait: booting"
>         also login
>
>         My problem is when I play gstreamer pipeline (which has been
>         working), does not produce any video output on HDMI display.
>
>         pipeline is playing and tested earlier to be working on non
>         yocto build.
>         I think I am missing something here.
>
>         local.conf has
>         CORE_IMAGE_EXTRA_INSTALL += " \
>         gst-plugins-bad-meta \
>         gst-plugins-good-meta \
>         gst-plugins-ugly-meta \
>         gst-ffmpeg \
>         gst-fsl-plugin \
>         gst-plugins-base-meta \
>         "
>
>
>         at /proc/cmdline
>         enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>         video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
>         console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
>         root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>
>         Could someone please advice why video playback does not come on
>         HDMI output.
>
>
>         Thanks
>         Alok
>
>
>         _______________________________________________
>         meta-freescale mailing list
>         meta-freescale@yoctoproject.org
>         <mailto:meta-freescale@yoctoproject.org>
>         https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>
>
>
> --
> Regards
> Alok Kumar
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-01-23 23:40   ` Alok Kumar
  2014-01-24 16:03     ` Daiane Angolini
@ 2014-02-14 18:58     ` Eric Nelson
  2014-02-14 19:07       ` Alok Kumar
  1 sibling, 1 reply; 8+ messages in thread
From: Eric Nelson @ 2014-02-14 18:58 UTC (permalink / raw)
  To: Alok Kumar, Leonardo Sandoval, meta-freescale@yoctoproject.org

Hi Alok,

Please try not to top/full post.

On 01/23/2014 04:40 PM, Alok Kumar wrote:
> I am not sure if I understood, I see
> cat /proc/cmdline
> enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
> console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
> root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>
> where video=mxcfb0:dev and  video=mxcfb1:off video=mxcfb2:off
> video=mxcfb3:off are off.
>
> I am noticing that after export VSALPHA=1, mfw_isink pipeline runs only
> once till next reboot. When  I try to run same pipeline again, it does
> not produce any display and hand there forever. I think something is not
> set correctly for sure.
>
This sounds suspiciously like a very old bug:
	https://bugzilla.yoctoproject.org/show_bug.cgi?id=3781

> On Thu, Jan 23, 2014 at 5:43 PM, Leonardo Sandoval
> <leo.san.gon@gmail.com <mailto:leo.san.gon@gmail.com>> wrote:
>
>     Alok, on the kernel command line, you need video=mxcfb*0*:..... Your
>     video's params start at 1
>
>     On Thu, Jan 23, 2014 at 12:24 PM, Alok Kumar <alokkat@gmail.com
>     <mailto:alokkat@gmail.com>> wrote:
>
>         I got yocto build with QT5 and all the gstreamer plugins
>         including fsl plugins. It made core-image-base image and booted
>         up nitorgen6x board. everything looks good and on display I see
>         "Please wait: booting"
>         also login
>
>         My problem is when I play gstreamer pipeline (which has been
>         working), does not produce any video output on HDMI display.
>
>         pipeline is playing and tested earlier to be working on non
>         yocto build.
>         I think I am missing something here.
>
>         local.conf has
>         CORE_IMAGE_EXTRA_INSTALL += " \
>         gst-plugins-bad-meta \
>         gst-plugins-good-meta \
>         gst-plugins-ugly-meta \
>         gst-ffmpeg \
>         gst-fsl-plugin \
>         gst-plugins-base-meta \
>         "
>

Is this on master?

>
>         at /proc/cmdline
>         enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>         video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
>         console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
>         root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>
>         Could someone please advice why video playback does not come on
>         HDMI output.
>
 > <snip>

Do things work with mfw_v4lsink?

Please advise,


Eric


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Video playback issue on yocto nitrogen6x/sabrelite
  2014-02-14 18:58     ` Eric Nelson
@ 2014-02-14 19:07       ` Alok Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Alok Kumar @ 2014-02-14 19:07 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]

Hi Eric,

mfw_isink works for me for the fsl-image-test image from dora branch,
provided I do "export VSALPHA=1" before running gstreamer c/c++ program.
mfw_v4lsink was also working (does not need export VSALPHA). Although I
dont know why it is different.

Thanks
Alok


On Fri, Feb 14, 2014 at 1:58 PM, Eric Nelson <
eric.nelson@boundarydevices.com> wrote:

> Hi Alok,
>
> Please try not to top/full post.
>
>
> On 01/23/2014 04:40 PM, Alok Kumar wrote:
>
>> I am not sure if I understood, I see
>> cat /proc/cmdline
>> enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
>> console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
>> root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>>
>> where video=mxcfb0:dev and  video=mxcfb1:off video=mxcfb2:off
>> video=mxcfb3:off are off.
>>
>> I am noticing that after export VSALPHA=1, mfw_isink pipeline runs only
>> once till next reboot. When  I try to run same pipeline again, it does
>> not produce any display and hand there forever. I think something is not
>> set correctly for sure.
>>
>>  This sounds suspiciously like a very old bug:
>         https://bugzilla.yoctoproject.org/show_bug.cgi?id=3781
>
>  On Thu, Jan 23, 2014 at 5:43 PM, Leonardo Sandoval
>> <leo.san.gon@gmail.com <mailto:leo.san.gon@gmail.com>> wrote:
>>
>>     Alok, on the kernel command line, you need video=mxcfb*0*:..... Your
>>
>>     video's params start at 1
>>
>>     On Thu, Jan 23, 2014 at 12:24 PM, Alok Kumar <alokkat@gmail.com
>>     <mailto:alokkat@gmail.com>> wrote:
>>
>>         I got yocto build with QT5 and all the gstreamer plugins
>>         including fsl plugins. It made core-image-base image and booted
>>         up nitorgen6x board. everything looks good and on display I see
>>         "Please wait: booting"
>>         also login
>>
>>         My problem is when I play gstreamer pipeline (which has been
>>         working), does not produce any video output on HDMI display.
>>
>>         pipeline is playing and tested earlier to be working on non
>>         yocto build.
>>         I think I am missing something here.
>>
>>         local.conf has
>>         CORE_IMAGE_EXTRA_INSTALL += " \
>>         gst-plugins-bad-meta \
>>         gst-plugins-good-meta \
>>         gst-plugins-ugly-meta \
>>         gst-ffmpeg \
>>         gst-fsl-plugin \
>>         gst-plugins-base-meta \
>>         "
>>
>>
> Is this on master?
>
>
>
>>         at /proc/cmdline
>>         enable_wait_mode=off video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>>         video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=28M
>>         console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait
>>         root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
>>
>>         Could someone please advice why video playback does not come on
>>         HDMI output.
>>
>>  > <snip>
>
> Do things work with mfw_v4lsink?
>
> Please advise,
>
>
> Eric
>



-- 
Regards
Alok Kumar

[-- Attachment #2: Type: text/html, Size: 5534 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-14 19:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23 18:24 Video playback issue on yocto nitrogen6x/sabrelite Alok Kumar
2014-01-23 20:47 ` Alok Kumar
2014-01-23 21:09   ` Eric Bénard
2014-01-23 21:14     ` Alok Kumar
     [not found] ` <CALMQ0YQpFOLCzpQ2LyobuovNQa-uQfFGGUfAeWxNQnUNCqFRdQ@mail.gmail.com>
2014-01-23 23:40   ` Alok Kumar
2014-01-24 16:03     ` Daiane Angolini
2014-02-14 18:58     ` Eric Nelson
2014-02-14 19:07       ` Alok Kumar

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.