New beagleboard demo image, now with 100% more DSP

I have a RevC Beagleboard, I've loaded the Angstrom image + the
packages, and I have the same problems as others above.

I am using the following command line for the kernel:
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait omapfb.vram=8M,
4M omapfb.video_mode=1280x800MR-24@60 mem=232M

With the modules being loaded by:

modprobe cmemk phys_start=0x8F000000 phys_end=0x90000000
pools=20x4096,8x131072,5x1048576,1x1429440,1x256000,1x5250000,3x829440
modprobe dsplinkk
modprobe lpm_omap3530

When I try to run any Gstreamer commands from the command line I get:

(gst-launch-0.10:2377): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreamer-
0.10/libgstsubparse.so: undefined symbol: parse_sami
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

** (gst-launch-0.10:2376): WARNING **: libomxil.so.0: cannot open
shared object file: No such file or directory

** (gst-launch-0.10:2376): WARNING **: libomxil.so.0: cannot open
shared object file: No such file or directory

So there is something buggered in the package dependencies, and/or
there are missing packages.

   how do you get on well with DSP now? are you solve this problem
that: the gstreamer ti plugin play only few seconds before the mmcblk0
error occurred?
I meet the same error as you, also I can only play a video for few
seconds, and then, dead of "mmcblkp: error-84 transferring data". do
you find any solutions?

I didn't have any more time for debugging it, and since I basically only
needed the graphics for fun (wanted to see the great work Koen and all the
others did in order to get this running), I didn't care that much. I think I
read on the mailing list somewhere that there were some MMC patches fixing
this issue, but I didn't try them myself - yet.

Hopefully somebody else on the list can comment
  Søren

I have searched all over the mailing list, however, I got nothing
patches for "mmcblkp: error-84 transferring data" error.

I will try again to search that patches.

The patch I was thinking about was the one for the MMC -110 error.
I don't know if the errors are related and/or if this patch fixes the -84
problems as well, but in case you haven't it included already I would
recommend you to give it a try - See as well the discussion on the list of
SDHC errors from the 8th of April...

Best regards - See you
  Søren

HI:
   i have the same problem;

HI:
I have the same problem;
can you help me if you have solved it;

HI:
  have you solved the problem;
I have the problem now;
If you success in it; can you tell me how to slove it;
thanks a lot;

hi. all

  as I searched and tracked about this issue, I have found out:

  Assume that you have compiled all the dsplink modules out, also you
have the gstreamer ti plugin compiled as well.

  when you play a video(the video must be support by TI codec combos)
on the SD/MMC card, you will get the "mmcblk0: error -84 transferring
data" error, the video will hang by this error as well. I get another
try, I copy the video from card to memory of ramdisk, then, gstreamer
ti pugin can play over the whole video without that issue.

    so I think this issue is something about mmc/sd card driver, and
maybe the linux-omap mailing list or other groups have already know
this issue, and may have be fixed already, but I didn't know where is
these patches. if someone found them, please let me know,thanks.

    I didn't try other SD/MMC card types, I have only one type of card
named kingston, I wanna try another type of card, but I didn't get one
at present. so, hope others can help to test this, in order to see if
only this card type cause this problem.

   that's what i found, if anyone has something new, please update
this mailing list.

thanks.

Has anyone gotten this to work flawlessly? If you have can you
please post a step by step guide. I've tried to follow some of the
steps in this post, but its become pretty convoluted, and I'm not
sure if I am just doing stuff that people have already done and
figured out it was wrong.
Thanks

Koen, Brijesh and steen,

Will the same work with Beagle Board Rev B5 Board? It is waiting
endless to boot from SD Card.However usb mouse with hub is connected
to the board. Will I be able to use dvsdk 3_00_00_29 provided from
TI .
I hope using this thread we will be able to encode, decode the Video
on DSP coprocessor on Beagle Board.

Regards,
Vineet

Koen, Brijesh and steen,

Will the same work with Beagle Board Rev B5 Board? It is waiting
endless to boot from SD Card.However usb mouse with hub is connected
to the board. Will I be able to use dvsdk 3_00_00_29 provided from
TI .
I hope using this thread we will be able to encode, decode the Video
on DSP coprocessor on Beagle Board.

Regards,
Vineet

I do unfortunately not remember what we discussed in this thread, but all my
testing with respect to this have for sure been done on a rev B5 board =>
It's possible :slight_smile:

Good luck
  Søren

Yes, TI Gstreamer plugins does supports encoding (and decoding) video
using DSP.

For supported features check the status matrix at gstreamer.ti.com

-Brijesh

Thanks Steen and Brijesh,

I am able to encode and decode the video using DSP on Beagle Rev B5
Board. I have some doubt.
1. In /usr/share/ti-dmai/apps , there is encode and decode sample app
binary as well as codec engine encodeCombo.x264P and decodeCombo.x264P
separately. This looks like dvsdk 3_00_00_29 sample app and codec
Engine. But neither sample app taken from this dvsdk nor Codec Engine
works with Angstrom FileSys. I want to know how the sample application
and Codec Engine compiled for Beagle Board? Where is the source code?
Is it taken from dvsdk? I want encodedecodeCombo.x264P because only 1
Engine opens at a time and I need both the engines for our
Application.

2.Ethernet connectivity is loosing after some time and it stops
Piniging.

3. Kernel Panic error is coming for some reason. we are using uImage
2.6.28

4. mplayer is not playing any Video. Moreover Display is not proper .
I was able to see some colour bars using gst-launch -v videotestsrc !
xvimagesink but I couldnot find BigBuckBunny_640x360.m4v in any of the
the drive and I put davincieffect_ntsc.m4v but mplayer is not playing
that video and the same plugin problem comes. I have connected Monitor
using HDMI-DVI cable. I could not see any video and its beagle hungs
after some time.

How to resolve these issues on RevB5 board?

Thanks in advance.

Regards,
Vineet

Hi Koen,

I was facing the same similar issue to plugin on BeagleBoard and none
of the video is showing on Beagle For me. I dont have any file names
BigBuckBunny_640x360.m4v in my Angstrom filesystem so I copied the
davincieffect_ntsc.m4v file from DVSDK.As you suggested , I tried to
update Angstom using opkg update and I got the following error. After
that opkg install gstreamer-ti worked for me

Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/debug/Packages.gz

Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/gstreamer/Packages.gz
Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc//all/Packages.gz
Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/perl/Packages.gz
Downloading http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/python/Packages.gz
Collected errors:
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/base/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/machine/beagleboard/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/debug/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/gstreamer/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc//all/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/perl/Packages.gz,
error 0
* Failed to download http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/python/Packages.gz,
error 0

(root@beagleboard:~# opkg install gstreamer-ti
Package gstreamer-ti (0+svnr160-r6.1) installed in root is up to
date.)

But When I tried to run either my video or root@beagleboard:~# gst-
launch -v videotestsrc ! xvimagesink I was getting following errors.

(gst-launch-0.10:15259): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstgdkpixbuf.so': /lib/libcairo.so.2: undefg

(gst-launch-0.10:15259): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreamer-0.10/lii

(gst-launch-0.10:15259): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstcairo.so': /lib/libcairo.so.2: undefinedg
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/
GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1668): gst_xvimagesink_xcontext_get (): /
GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display
Setting pipeline to NULL ...
FREEING pipeline ...
root@beagleboard:~#

FYI, I am using RevB5 Board and dvi-hdmi cable is connected using a
lcd display monitor. How to solve this issue?

Thanks & Regards,
Vineet

Thanks Steen and Brijesh,

I am able to encode and decode the video using DSP on Beagle Rev B5
Board. I have some doubt.
1. In /usr/share/ti-dmai/apps , there is encode and decode sample app
binary as well as codec engine encodeCombo.x264P and decodeCombo.x264P
separately. This looks like dvsdk 3_00_00_29 sample app and codec
Engine. But neither sample app taken from this dvsdk nor Codec Engine
works with Angstrom FileSys. I want to know how the sample application
and Codec Engine compiled for Beagle Board? Where is the source code?
Is it taken from dvsdk? I want encodedecodeCombo.x264P because only 1
Engine opens at a time and I need both the engines for our
Application.

2.Ethernet connectivity is loosing after some time and it stops
Piniging.

hmm not sure why this might happen try
ifdown etho
ifup etho
as root to see if this helps

3. Kernel Panic error is coming for some reason. we are using uImage
2.6.28

What is the output from
uname -r
and
uname -a
It might be possible that you have one kernel version installed on
your ext3 but are loading a different kernel version from uboot by
using the wrong uImage

4. mplayer is not playing any Video. Moreover Display is not proper .
I was able to see some colour bars using gst-launch -v videotestsrc !
xvimagesink but I couldnot find BigBuckBunny_640x360.m4v in any of the
the drive and I put davincieffect_ntsc.m4v but mplayer is not playing
that video and the same plugin problem comes. I have connected Monitor
using HDMI-DVI cable. I could not see any video and its beagle hungs
after some time.

What are your boot args? you can find them by typing
printenv
in U-boot

btw U-boot is the bootlader program, so to run commands in it stop it
from booting when it gives you the chance.

Yes, I am getting the same with the latest image. It appears that the
problem is related to network load - ie if I try to download say a
movie file or do a git update then the Ethernet connection will likely
die very quickly (within minutes). But If I bring up the network but
don't specifically use any userland apps that would tax the network,
the Ethernet will stay up for hours before failing.

Ifconfig or /etc/init.d/networking stop, start doesn't resolve the
problem but a reset without physically removing the power will make
the problem go away again for a time.

I'm also seeing a kernel hang when plugging in the DVI lead while the
OS is running, and a problem whereby USB hot-plug doesn't work (only
usb devices seen at power on are fully initialised / work - unplugging
and then plugging the device in again results in a device that isn't
fully recognised / re-initialised). Finally, there appears to be a
memory leak in my OS that causes the beagleboard to run out of memory
after a few days. I don't think any of these are related to the
Ethernet problem - just mentioning them in case others are
experiencing any of the same.

Hi,

I am having this problem when I try to play a video :

gst-launch filesrc location=/home/root/video/foreman.m4v ! qtdemux
name=demux.video_00 ! TIViddec2 ! xvimagesink

(gst-launch-0.10:2029): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstsubparse.so' : /usr/lib/gstreamer-0.10/
libgstsubparse.so : undefined symbol : parse_sami
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux.video_00:
This file contains no playable streams.
Additional debug info:
qtdemux.c(1966): gst_qtdemux_loop (): /GstPipeline:pipeline0/
GstQTDemux:demux.video_00:
no known streams found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ..

I suppose I haven't the file demux.video_00, where can I find what I
am missing ? And are there any things I am missing ?

Thanks

marine

Hello,

What type of file is foreman.m4v ? Is this elementary mpeg4 video file
? If yes then you pipeline is not correct. You should be using
something like

gst-launch filesrc location=myfile.m4v ! TIViddec2 codecName=mpeg4dec
engineName=decode ! ximagesink

or

gst-launch filesrc location=myfile.m4v ! typefind ! TIViddec2 ! ximagesink

In addition to this, i suggest you to read
http://wiki.davincidsp.com/index.php?title=GstTIPlugin_Elements

It wiki page lot of sample examples and element details.

-Brijesh

Brijesh,

Thanks for your reply.

What type of file is foreman.m4v ? Is this elementary mpeg4 video file

Yes it is.

gst-launch filesrc location=myfile.m4v ! TIViddec2 codecName=mpeg4dec
engineName=decode ! ximagesink

and

gst-launch filesrc location=myfile.m4v ! typefind ! TIViddec2 ! ximagesink

I can't see the video and the console says :

(gst-launch-0.10:2110): GStreamer-WARNING **: Failed to load plugin '/
usr/lib/gstreamer-0.10/libgstsubparse.so' : /usr/lib/gstreamer-0.10/
libgstsubparse.so : undefined symbol : parse_sami
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0"
Execution ended after 2716064 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

I have my module loads as :
modprobe cmemk phys_start=0x85800000 phys_end=0x86800000
pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000
modprobe dsplinkk
modprobe lpm_omap3530
modprobe sdmak

Thanks
marine

Add "--gst-debug=TI*:2" in your pipeline to check for errors

gst-launch --gst-debug=TI*:2 filesrc location=myfile.m4v ! TIViddec2 codecName=mpeg4dec
engineName=decode ! ximagesink

If the above pipeline reports error during display create then
possibly its issue with kernelcmd line.

My kernel cmdline for 2.6.29-omap1 looks something like:

root@beagleboard:/usr/ti/gst/omap3530# uname -a
Linux beagleboard 2.6.29-omap1 #1 Thu Jul 16 12:43:53 CDT 2009 armv7l unknown
root@beagleboard:/usr/ti/gst/omap3530# cat /proc/cmdline
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait
omapfb.mode=dvi:1280x1024MR-16@60 vra
m=12M omapfb.vram=1:4M,2:4M,3:4M omapdss.def_disp=lcd
mem=80M@0x80000000 mem=128M@0x88000000
root@beagleboard:/usr/ti/gst/omap3530# fbset -fb /dev/fb1

mode "1280x1024-57"
    # D: 86.505 MHz, H: 60.073 kHz, V: 56.995 Hz
    geometry 1280 1024 1280 1024 16
    timings 11560 80 48 3 20 32 7
    rgba 5/11,6/5,5/0,0/0
endmode

Thanks
Brijesh

correct cmdline for 2.6.29-omap1 is:

"console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait
omapfb.mode="dvi:640x480@60" vram=12M omapfb.vram="1:4M,2:4M,3:4M"
omapdss.def_disp=lcd mem=88M"

-Brijesh