Best way for using Gstreamer + Openmax with DSP on beagle board ?

Whoa, a lot of people contributed, thanks :slight_smile:

However, some notes:

tidspbridge is *not* stable, nor production ready as demonstrated by
critical fixes that have been flowing in as recent as two weeks ago:
http://marc.info/?l=linux-omap&m=123811667326198&w=2
http://marc.info/?l=linux-omap&m=124028261217376&w=2

That is heavy development, not just cleanups.

The fact that a phone was *announced* at CES (reference?) with it,
doesn't mean it's production ready, just that one company is betting
on it being stable by release time. And also, products are released
with code that is not really production ready.

It is true that TI is working on the linux-omap-pm branch, but they
disagree on the pm architecture, that's why they have a fork at
omapzoom.org. The dsp-bridge at omapzoom is maintained by TI, while
the one in linux-omap is maintained by Ameya (previously Hiroshi):

http://marc.info/?l=linux-omap&m=123626584228670&w=2

Fortunately mediawiki has a place to discuss articles :slight_smile:
http://elinux.org/Talk:BeagleBoard/DSP_Clarification

Cheers.

tidspbridge is *not* stable, nor production ready as demonstrated by
critical fixes that have been flowing in as recent as two weeks ago:http://marc.info/?l=linux-omap&m=123811667326198&w=2http://marc.info/?l=linux-omap&m=124028261217376&w=2

That is heavy development, not just cleanups.

Well, generally a patch with that impact on a driver has to go through
lots of testing to be merged , it just doesn't magically appear or
work... or do they? if so, let me know because lots of cleanup is need
at:
https://www.omapzoom.org/gf/project/omapbridge/tracker/

The fact that a phone was *announced* at CES (reference?) with it,
doesn't mean it's production ready, just that one company is betting
on it being stable by release time. And also, products are released
with code that is not really production ready.

and betting to be some phone killer too :wink: but nowadays all want the
same thing

It is true that TI is working on the linux-omap-pm branch, but they
disagree on the pm architecture, that's why they have a fork at
omapzoom.org. The dsp-bridge at omapzoom is maintained by TI, while
the one in linux-omap is maintained by Ameya (previously Hiroshi):

http://marc.info/?l=linux-omap&m=123626584228670&w=2

you'd be surprised to clone omapzoom and doing cd drivers/dsp/bridge

btw last time I checked gitorious branch wasn't on linux-omap
http://marc.info/?l=linux-omap&m=123817274028462&w=2

perhaps i should try to clone it now :smiley:

Fortunately mediawiki has a place to discuss articles :slight_smile:Talk:BeagleBoard/DSP Clarification - eLinux.org

I felt encouraged by "If you don't want your writing to be edited
mercilessly and redistributed at will, then don't submit it here"

Regards,
- omar ramirez

tidspbridge is *not* stable, nor production ready as demonstrated by
critical fixes that have been flowing in as recent as two weeks ago:http://marc.info/?l=linux-omap&m=123811667326198&w=2http://marc.info/?l=linux-omap&m=124028261217376&w=2

That is heavy development, not just cleanups.

Well, generally a patch with that impact on a driver has to go through
lots of testing to be merged , it just doesn't magically appear or
work... or do they? if so, let me know because lots of cleanup is need
at:
https://www.omapzoom.org/gf/project/omapbridge/tracker/

Sorry? There are different kinds of cleanup patches. If the cleanup is
good it should not alter functionality, but mistakes happen, that's
why testing is needed. Some cleanup patches have a higher risk of
introducing bugs.

Thanks for the cleanup patches, but let's say things as they are;
critical bugfixes are coming in all the time, this one for example is
definitely not a cleanup, or I least I noticed an impressive
improvement in stability with it:
http://marc.info/?l=linux-omap&m=124028261217376&w=2

The fact that a phone was *announced* at CES (reference?) with it,
doesn't mean it's production ready, just that one company is betting
on it being stable by release time. And also, products are released
with code that is not really production ready.

and betting to be some phone killer too :wink: but nowadays all want the
same thing

If course, but until it's not released you cannot say much about the
stability of it's software.

It is true that TI is working on the linux-omap-pm branch, but they
disagree on the pm architecture, that's why they have a fork at
omapzoom.org. The dsp-bridge at omapzoom is maintained by TI, while
the one in linux-omap is maintained by Ameya (previously Hiroshi):

http://marc.info/?l=linux-omap&m=123626584228670&w=2

you'd be surprised to clone omapzoom and doing cd drivers/dsp/bridge

Sorry, I don't have any zoom device, nor am interested in anything but
upstream, but I'm curious, what would I find?

btw last time I checked gitorious branch wasn't on linux-omap
http://marc.info/?l=linux-omap&m=123817274028462&w=2

You mean it wasn't on Tony's tree? I believe Tony has expressed no
interest on maintaining the tidspbridge branch, so it's maintained on
Ameya's repo at gitorious.

perhaps i should try to clone it now :smiley:

Fortunately mediawiki has a place to discuss articles :slight_smile:Talk:BeagleBoard/DSP Clarification - eLinux.org

I felt encouraged by "If you don't want your writing to be edited
mercilessly and redistributed at will, then don't submit it here"

Huh?

yes that's a nice bug fix, but anyway... it is good to get feedback from it.

Regards,
- omar ramirez

Hi Felipe:
  Follow the instructions on
[1]http://elinux.org/BeagleBoard/DSP_Howto
[2]http://elinux.org/BeagleBoard/gst-openmax

but,when i run "gst-launch-0.10 filesrc location="foobar.avi" !
avidemux ! omx_mpeg4dec ! omapfbsink"

I get the errors like this:
NODE:DSPNode_Allocate: Failed to get Node UUID properties

****************LCML ERROR : DSP ************************

Error: Allocate Component : Err Num = 80008021

****************LCML ERROR : DSP ************************

Can you help me; i am so trouble with the issue;

Do you have the right socket nodes in /lib/dsp ?

HI,Felipe

HI,Felipe

Firstly,thank you for you reply;

Certainly!

After booted into linux;

I runned this:

[1]modprobe bridgedriver base_img=/lib/dsp/baseimage.dof

[2]./dynreg.out -r pingdyn_3430.dll64P

[3]./ping.out (ping action success)

But after i run "run "gst-launch-0.10 filesrc location="foobar.avi" !
avidemux ! omx_mpeg4dec ! omapfbsink"
i get the error

omx_mpeg4dec is using a different socket node, please list all the
files in your /lib/dsp directory.

NODE:DSPNode_Allocate: Failed to get Node UUID properties

****************LCML ERROR : DSP ************************

Error: Allocate Component : Err Num = 80008021

****************LCML ERROR : DSP ************************

I don't know why;

By the way,what is LCML? what is its fullName and its function?

AFAIK it's Linux Common Media Language. And it's yet another layer to
use the DSP from OpenMAX IL.

In your options ,which part maybe have problem?
libbridge,libomxil-ti,bridgedriver or others?

I think the problem is in libomxil-ti trying to use a socket node that
is not available.

Hi,Felipe :
Really appreciate you;

This is my /lib/dsp:
              baseimage.dof
              dctn_dyn.dll64P
              mpeg4aacdec_sn.dll64P
              mp4vdec_sn.dll64P
              postprocessor.dll64P
              vpp_sn.dll64P
              ringio.dll64P
              usn.dll64P
All the content in /lib/dsp/ were generated by running
"./tiopenmax-0.3.5/TI-OMX-Sample-Firmware-0.3-Linux-x86-Install" on
vmware
linux.

I have one another problem. What difference between tiopenmax-0.3
and
libomxil-ti;

I did not compile the tiopenmax-0.3; Only ran
"TI-OMX-Sample-Firmware-0.3-Linux-x86-Install"
in it to generate the dof file and dll64P file (/lib/dsp/*)

Hi,Felipe:
    I am reseaching how to enalbe dsp on BeagleBoard; But I have
problem with dsp-bridge way;
    I follow [1] and [2];
    But at last,i run the command [3];I get the errors of the gst-
omapfb; The errror message is as below:

   ..............

   0:00:00.948974612 1169 0x15050 ERROR omapfb
omapfb.c:214:start
   :<omapfbsink0> memory map failed

   ...................

  I am very trouble with the problem for long time; So can you give
some advise or help;

[1]http://elinux.org/BeagleBoard/DSP_Howto
[2]http://elinux.org/BeagleBoard/gst-openmax
[3]gst-launch-0.10 filesrc location="/home/root/1.avi" ! avidemux !
omx_mpeg4dec ! omapfbsink

Wait for your help; thanks;