enabling DSP

Folks,

I am trying to get gst-dsp to work on Beagleboard, I have gone through several threads, checked out different version of dsp binary releases, nothing seems to work not sure what is wrong…

As of now what I have is

  1. kernel from http://www.rcn-ee.net/deb/lucid/v2.6.35.4-l2/
  2. gst-dsp from master repo for gst-dsp
  3. dspbinaries from DSPbinaries-3.09-Linux-x86-Install

Tried out dsp_tools, dsp_test -p, ping works fine

But when I run
ubuntu@testpc:~$ sudo gst-launch-0.10 --gst-debug-level=2 playbin2 uri=file:///home/ubuntu/gst-dsp/big_buck_bunny_720p_surround.avi

Below output on console

0:00:02.299285896 885 0xf4050 WARN audioconvert gstaudioconvert.c:836:gst_audio_convert_fixate_channels: downstream caps contain no channel layout
create_node: dsp node create failed
0:00:02.444427498 885 0x120cb8 ERROR dsp gstdspvdec.c:1051:create_node: dsp node create failed
init_node: dsp node creation failed
0:00:03.689025895 885 0x120cb8 ERROR dsp gstdspbase.c:992:init_node: dsp node creation failed
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstDspVDec:dspvdec0: couldn’t start node
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
0:00:03.696594254 885 0x11a108 WARN avidemux gstavidemux.c:5071:gst_avi_demux_loop: error: Internal data stream error.
0:00:03.696777359 885 0x11a108 WARN avidemux gstavidemux.c:5071:gst_avi_demux_loop: error: streaming stopped, reason error
dsp_deinit: dsp detach failed
0:00:03.797302253 885 0x16050 ERROR dsp gstdspbase.c:650:dsp_deinit: dsp detach failed

I get the below output in kernel

[ 156.284088] procwrap_detach: deprecated dspbridge ioctl
[ 214.985839] procwrap_detach: deprecated dspbridge ioctl
[ 236.859466] procwrap_detach: deprecated dspbridge ioctl
[ 265.226806] procwrap_detach: deprecated dspbridge ioctl
[ 330.686401] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 330.687835] omap mailbox rev 4.0
[ 330.692718] proc_start: dsp in running state
[ 330.692901] procwrap_detach: deprecated dspbridge ioctl
[ 339.532440] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.556610] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.581024] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.615692] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.641021] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.666839] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.689422] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.720703] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.820709] drivers/staging/tidspbridge/rmgr/nldr.c, line 1692: Assertion (segid == MEMINTERNALID || segid == MEMEXTERNALID) failed.
[ 339.855438] C6410 C6410: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 339.861785]
[ 339.861785] Dynamically Loaded Modules:
[ 339.861785] ---------------------------
[ 339.871368] mp4vdec_sn.o64P
[ 339.874176] Section: 0x20002e80
[ 339.877624] mp4vd_nodecode
[ 339.880523] Section: 0x20054700
[ 339.883972] mp4vd_noderom
[ 339.886810] Section: 0x20059480
[ 339.890228] mp4vd_nodedata
[ 339.893157] ringio.o64P
[ 339.895629] Section: 0x20002680
[ 339.899047] ringio_code
[ 339.901702] usn.o64P
[ 339.903900] Section: 0x20000000
[ 339.907318] usn_nodecode
[ 339.910064] Section: 0x20002580
[ 339.913482] .const
[ 339.920745] dump_dsp_stack:No DSP MMU-Fault information available.
[ 339.927551] C6410 C6410: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 339.933807]
[ 339.933807] Dynamically Loaded Modules:
[ 339.933807] ---------------------------
[ 339.943206] mp4vdec_sn.o64P
[ 339.946014] Section: 0x20002e80
[ 339.949462] mp4vd_nodecode
[ 339.952362] Section: 0x20054700
[ 339.955810] mp4vd_noderom
[ 339.958618] Section: 0x20059480
[ 339.962036] mp4vd_nodedata
[ 339.964965] ringio.o64P
[ 339.967407] Section: 0x20002680
[ 339.970855] ringio_code
[ 339.973510] usn.o64P
[ 339.975708] Section: 0x20000000
[ 339.979125] usn_nodecode
[ 339.981872] Section: 0x20002580
[ 339.985290] .const
[ 339.992828] dump_dsp_stack:No DSP MMU-Fault information available.
[ 339.999053] C6410 C6410: ERR: clock id 2 already disabled
[ 340.004516] C6410 C6410: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 340.010772]
[ 340.010772] Dynamically Loaded Modules:
[ 340.010772] ---------------------------
[ 340.020172] mp4vdec_sn.o64P
[ 340.022979] Section: 0x20002e80
[ 340.026428] mp4vd_nodecode
[ 340.029327] Section: 0x20054700
[ 340.032745] mp4vd_noderom
[ 340.035583] Section: 0x20059480
[ 340.039001] mp4vd_nodedata
[ 340.041931] ringio.o64P
[ 340.044403] Section: 0x20002680
[ 340.047821] ringio_code
[ 340.050476] usn.o64P
[ 340.052673] Section: 0x20000000
[ 340.056091] usn_nodecode
[ 340.058837] Section: 0x20002580
[ 340.062255] .const
[ 340.069519] dump_dsp_stack:No DSP MMU-Fault information available.
[ 340.075744] C6410 C6410: ERR: clock id 2 already disabled
[ 340.095703] C6410 C6410: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 340.101959]
[ 340.101959] Dynamically Loaded Modules:
[ 340.101959] ---------------------------
[ 340.111419] mp4vdec_sn.o64P
[ 340.114227] Section: 0x20002e80
[ 340.117645] mp4vd_nodecode
[ 340.120666] Section: 0x20054700
[ 340.124114] mp4vd_noderom
[ 340.126953] Section: 0x20059480
[ 340.130371] mp4vd_nodedata
[ 340.133270] ringio.o64P
[ 340.135772] Section: 0x20002680
[ 340.139190] ringio_code
[ 340.141815] usn.o64P
[ 340.144042] Section: 0x20000000
[ 340.147460] usn_nodecode
[ 340.150177] Section: 0x20002580
[ 340.153625] .const
[ 340.160919] dump_dsp_stack:No DSP MMU-Fault information available.
[ 340.167175] C6410 C6410: ERR: clock id 2 already disabled
[ 341.267761] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 341.269439] omap mailbox rev 4.0
[ 341.278747] proc_start: dsp in running state

Any thoughts?

Hi Arun,

I am trying to get gst-dsp to work on Beagleboard, I have gone through
several threads, checked out different version of dsp binary releases,
nothing seems to work not sure what is wrong...

Please use gst-dsp@googlegroups.com, you can Cc if you want.

As of now what I have is

1) kernel from http://www.rcn-ee.net/deb/lucid/v2.6.35.4-l2/

2.6.36 release candidates already include tidspbridge, not need for
patches. But other kernels should work fine.

2) gst-dsp from master repo for gst-dsp

0.8.0 has been just released, but most likely what you got should work too.

3) dspbinaries from DSPbinaries-3.09-Linux-x86-Install

It's better to use the latest ones:
TI_DSPbinaries_RLS23.i3.8-3.12-Linux-x86-Install, but I also have
packaged them here:
http://code.google.com/p/gst-dsp/downloads

Tried out dsp_tools, dsp_test -p, ping works fine

But when I run
ubuntu@testpc:~$ sudo gst-launch-0.10 --gst-debug-level=2 playbin2
uri=file:///home/ubuntu/gst-dsp/big_buck_bunny_720p_surround.avi

720p is not supported, please try with VGA, and remember H.264 only
works with baseline profile (no CABAC).