gst-dsp support on beagle-xm

Hi,

I am referring to the below link and it says that the gst-dsp
currently works on Beagle Bx and Cx models but not on Beagle-xM.

http://elinux.org/BeagleBoardUbuntu#gst-dsp

I want to know what is the latest update on this. Do we have gst-dsp
implementation for xM board as well? If yes, please point me to the
right link.

Thanks.

Anuj wrote:

Hi,

I am referring to the below link and it says that the gst-dsp
currently works on Beagle Bx and Cx models but not on Beagle-xM.

BeagleBoardUbuntu - eLinux.org

I want to know what is the latest update on this. Do we have gst-dsp
implementation for xM board as well? If yes, please point me to the
right link.

see:

http://groups.google.com/group/beagleboard/browse_thread/thread/85a8b44f2e32cdb1

Hi Anuj,

This would be a good project for someone to work on... You interested?

Regards,

> Hi,

> I am referring to the below link and it says that the gst-dsp
> currently works on Beagle Bx and Cx models but not on Beagle-xM.

>BeagleBoardUbuntu - eLinux.org

> I want to know what is the latest update on this. Do we have gst-dsp
> implementation for xM board as well? If yes, please point me to the
> right link.

Hi Anuj,

This would be a good project for someone to work on... You interested?

Yes, I am as my customer is still stuck :frowning: but I would need some help
in getting this done.

I see steps mentioned at BeagleBoard/gst-dsp - eLinux.org but
don't know whether they are valid/tested for B-xM as well. Similar
doubt is with the link: BeagleBoard/DSP Howto - eLinux.org as I
see some links not working or pointing to correct locations.

Are they right starting point for this exercise?

Moreover, I wanted to check what would be the outcome of this entire
exercise in terms of binaries, getting installed on uBuntu filesystem?
Why I am asking this I have TI DVSDK 4.01 package, built for B-xM,
which has DSP support enabled in it. Is it possible to fetch the
desired binaries from it and install them on my uBuntu FS and enjoy
the DSP? If yes, please let me know what these are and where they need
to be installed?

Thanks

It works on xm too:
http://groups.google.com/group/gst-dsp/browse_thread/thread/2519e464f689604f/613fed595c9f536f?lnk=raot

It works on xm too:http://groups.google.com/group/gst-dsp/browse_thread/thread/2519e464f

We followed all the steps mentioned in the below wikis:

http://elinux.org/BeagleBoard_Ubuntu_%26_DSP_From_Sources#Build_.26_Prepare_the_Kernel
http://elinux.org/BeagleBoard/gst-dsp
http://elinux.org/BeagleBoard/DSP_Howto

Burnt uBuntu image, updated linux kernel (with dspbridge support) as
suggested, downloaded and installed DSP binaries and then tried tests
to verify the procedure. Ping command as mentioned in the wiki worked.

When we try "dsp-test", we get the following error (details below):

error: create_node: dsp node allocate failed
error: main: dsp node creation failed

When tried gst-launch, it played a mp4 file but hanged with most of
other file formats.

Kernel version is 2.6.38.3-x2, after the update.

Any pointers? Did we miss something or is there some other issue?

Thanks in advance.

*****************Log Starts********************

root@hs-desktop:~# dsp-
dsp-exec dsp-load dsp-probe dsp-test
root@hs-desktop:~#
root@hs-desktop:~#
root@hs-desktop:~#
root@hs-desktop:~#
root@hs-desktop:~#
root@hs-desktop:~#
root@hs-desktop:~# cd /dspbridge/
root@hs-desktop:/dspbridge# ls
cexec.out dynreg.out
qostest.out strmcopy.out
crashmon.out faultapp.out
scaledyn_3430.dll64P strmcopyPhasedyn_3430.dll64P
ddspbase_tiomap3430.dof64P loaddyn_3430.dll64P
scale_dyn.out zcmsgdyn_3430.dll64P
dmmcopydyn_3430.dll64P monitor_tiomap3430.dof64P
scale.out zcmsgPhasedyn_3430.dll64P
dmmcopy.out pingdyn_3430.dll64P
scalePhasedyn_3430.dll64P zerocopymsg.out
dmmcopyPhasedyn_3430.dll64P ping.out
strmcopydyn_3430.dll64P
dynbase_tiomap3430.dof64P pingPhasedyn_3430.dll64P
strmcopy_dyn.out
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./ping.out 10
DSP device detected !!
DSPNode_Allocate failed: 0xffffffff
root@hs-desktop:/dspbridge# ./cexec.out
cexec.out dynreg.out
qostest.out strmcopy.out
crashmon.out faultapp.out
scaledyn_3430.dll64P strmcopyPhasedyn_3430.dll64P
ddspbase_tiomap3430.dof64P loaddyn_3430.dll64P
scale_dyn.out zcmsgdyn_3430.dll64P
dmmcopydyn_3430.dll64P monitor_tiomap3430.dof64P
scale.out zcmsgPhasedyn_3430.dll64P
dmmcopy.out pingdyn_3430.dll64P
scalePhasedyn_3430.dll64P zerocopymsg.out
dmmcopyPhasedyn_3430.dll64P ping.out
strmcopydyn_3430.dll64P
dynbase_tiomap3430.dof64P pingPhasedyn_3430.dll64P
strmcopy_dyn.out
root@hs-desktop:/dspbridge# ./cexec.out /lib/
Display all 198 possibilities? (y or n)
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp
dsp/ dsp_orig/
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp
dsp/ dsp_orig/
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp/
baseimage.dof pingdyn_3430.dll64P
cexec.out ping.out
conversions.dll64P
pingPhasedyn_3430.dll64P
crashmon.out qosdyn_3430.dll64P
dctn_dyn.dll64P qostest.out
ddspbase_tiomap3430.dof64P ringio.dll64P
dmmcopydyn_3430.dll64P scaledyn_3430.dll64P
dmmcopy.out scale_dyn.out
dmmcopyPhasedyn_3430.dll64P scale.out
dynbase_tiomap3430.dof64P
scalePhasedyn_3430.dll64P
dynreg.out
strmcopydyn_3430.dll64P
faultapp.out strmcopy_dyn.out
h264vdec_sn.dll64P strmcopy.out
jpegdec_sn.dll64P
strmcopyPhasedyn_3430.dll64P
jpegenc_sn.dll64P
TSPA_Object_Code_Software_License_Agreement.txt
loaddyn_3430.dll64P usn.dll64P
m4venc_sn.dll64P vpp_sn.dll64P
monitor_tiomap3430.dof64P zcmsgdyn_3430.dll64P
mp4vdec_sn.dll64P
zcmsgPhasedyn_3430.dll64P
mpeg4aacdec_sn.dll64P zerocopymsg.out
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp/
baseimage.dof pingdyn_3430.dll64P
cexec.out ping.out
conversions.dll64P
pingPhasedyn_3430.dll64P
crashmon.out qosdyn_3430.dll64P
dctn_dyn.dll64P qostest.out
ddspbase_tiomap3430.dof64P ringio.dll64P
dmmcopydyn_3430.dll64P scaledyn_3430.dll64P
dmmcopy.out scale_dyn.out
dmmcopyPhasedyn_3430.dll64P scale.out
dynbase_tiomap3430.dof64P
scalePhasedyn_3430.dll64P
dynreg.out
strmcopydyn_3430.dll64P
faultapp.out strmcopy_dyn.out
h264vdec_sn.dll64P strmcopy.out
jpegdec_sn.dll64P
strmcopyPhasedyn_3430.dll64P
jpegenc_sn.dll64P
TSPA_Object_Code_Software_License_Agreement.txt
loaddyn_3430.dll64P usn.dll64P
m4venc_sn.dll64P vpp_sn.dll64P
monitor_tiomap3430.dof64P zcmsgdyn_3430.dll64P
mp4vdec_sn.dll64P
zcmsgPhasedyn_3430.dll64P
mpeg4aacdec_sn.dll64P zerocopymsg.out
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp/baseimage.dof
DSP device detected !!
DSPProcessor_Start succeeded.
Hit any key to terminate cexec.

root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./ping.out 10
DSP device detected !!
DSPNode_Allocate failed: 0xffffff82
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./cexec.out ddspbase_tiomap3430.dof64P
DSP device detected !!
DSPProcessor_Start succeeded.
Hit any key to terminate cexec.

root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./ping.out 10
DSP device detected !!
DSPNodeCreate succeeded
DSPNode_registerNotify succeeded
DSPNode_run succeeded
Ping: Id 1.000000 Msg 0.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 1.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 2.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 3.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 4.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 5.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 6.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 7.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 8.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 9.000000 Mem 15408.000000
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dmesg
[ 570.618682] procwrap_detach: deprecated dspbridge ioctl
[ 605.396026] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 605.398681] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 605.420288] proc_start: dsp in running state
[ 605.420532] procwrap_detach: deprecated dspbridge ioctl
[ 609.439453] procwrap_detach: deprecated dspbridge ioctl
[ 626.720977] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 626.766204] proc_load: Processor Loaded ddspbase_tiomap3430.dof64P
[ 626.780426] proc_start: dsp in running state
[ 626.780670] procwrap_detach: deprecated dspbridge ioctl
[ 630.100036] procwrap_detach: deprecated dspbridge ioctl
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./cexec.out /lib/dsp/baseimage.dof
DSP device detected !!
DSPProcessor_Start succeeded.
Hit any key to terminate cexec.

root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dmesg
[ 570.618682] procwrap_detach: deprecated dspbridge ioctl
[ 605.396026] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 605.398681] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 605.420288] proc_start: dsp in running state
[ 605.420532] procwrap_detach: deprecated dspbridge ioctl
[ 609.439453] procwrap_detach: deprecated dspbridge ioctl
[ 626.720977] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 626.766204] proc_load: Processor Loaded ddspbase_tiomap3430.dof64P
[ 626.780426] proc_start: dsp in running state
[ 626.780670] procwrap_detach: deprecated dspbridge ioctl
[ 630.100036] procwrap_detach: deprecated dspbridge ioctl
[ 664.283843] omap_device: omap-mailbox.-1: new worst case deactivate
latency 0: 30517
[ 664.283874] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 664.308227] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 664.315765] proc_start: dsp in running state
[ 664.315979] procwrap_detach: deprecated dspbridge ioctl
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# ./ping.out 10
DSP device detected !!
DSPNode_Create failed: 0xffffffe3
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dmesg
[ 570.618682] procwrap_detach: deprecated dspbridge ioctl
[ 605.396026] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 605.398681] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 605.420288] proc_start: dsp in running state
[ 605.420532] procwrap_detach: deprecated dspbridge ioctl
[ 609.439453] procwrap_detach: deprecated dspbridge ioctl
[ 626.720977] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 626.766204] proc_load: Processor Loaded ddspbase_tiomap3430.dof64P
[ 626.780426] proc_start: dsp in running state
[ 626.780670] procwrap_detach: deprecated dspbridge ioctl
[ 630.100036] procwrap_detach: deprecated dspbridge ioctl
[ 664.283843] omap_device: omap-mailbox.-1: new worst case deactivate
latency 0: 30517
[ 664.283874] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 664.308227] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 664.315765] proc_start: dsp in running state
[ 664.315979] procwrap_detach: deprecated dspbridge ioctl
[ 706.822845] procwrap_detach: deprecated dspbridge ioctl
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dmesg
[ 570.618682] procwrap_detach: deprecated dspbridge ioctl
[ 605.396026] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 605.398681] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 605.420288] proc_start: dsp in running state
[ 605.420532] procwrap_detach: deprecated dspbridge ioctl
[ 609.439453] procwrap_detach: deprecated dspbridge ioctl
[ 626.720977] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 626.766204] proc_load: Processor Loaded ddspbase_tiomap3430.dof64P
[ 626.780426] proc_start: dsp in running state
[ 626.780670] procwrap_detach: deprecated dspbridge ioctl
[ 630.100036] procwrap_detach: deprecated dspbridge ioctl
[ 664.283843] omap_device: omap-mailbox.-1: new worst case deactivate
latency 0: 30517
[ 664.283874] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 664.308227] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 664.315765] proc_start: dsp in running state
[ 664.315979] procwrap_detach: deprecated dspbridge ioctl
[ 706.822845] procwrap_detach: deprecated dspbridge ioctl
[ 755.495513] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 755.517730] procwrap_detach: deprecated dspbridge ioctl
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-probe
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: STRMCOPY_TI
task: PING_TI
task: DSPTOOL_TI
dais socket: SCALESOCKET_TI
task: DMMCOPY_TI
task: ZCMSG_TI
device: (allocated)
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-load
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
^C
root@hs-desktop:/dspbridge# dsp-load -h
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
^C
root@hs-desktop:/dspbridge# dsp-probe
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: STRMCOPY_TI
task: PING_TI
task: DSPTOOL_TI
dais socket: SCALESOCKET_TI
task: DMMCOPY_TI
task: ZCMSG_TI
device: (allocated)
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-
dsp-exec dsp-load dsp-probe dsp-test
root@hs-desktop:/dspbridge# dsp-exec /lib/dsp/baseimage.dof
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-probe
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: STRMCOPY_TI
task: PING_TI
task: DSPTOOL_TI
dais socket: SCALESOCKET_TI
task: DMMCOPY_TI
task: ZCMSG_TI
device: (allocated)
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge# dmesg
[ 570.618682] procwrap_detach: deprecated dspbridge ioctl
[ 605.396026] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 605.398681] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 605.420288] proc_start: dsp in running state
[ 605.420532] procwrap_detach: deprecated dspbridge ioctl
[ 609.439453] procwrap_detach: deprecated dspbridge ioctl
[ 626.720977] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 626.766204] proc_load: Processor Loaded ddspbase_tiomap3430.dof64P
[ 626.780426] proc_start: dsp in running state
[ 626.780670] procwrap_detach: deprecated dspbridge ioctl
[ 630.100036] procwrap_detach: deprecated dspbridge ioctl
[ 664.283843] omap_device: omap-mailbox.-1: new worst case deactivate
latency 0: 30517
[ 664.283874] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 664.308227] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 664.315765] proc_start: dsp in running state
[ 664.315979] procwrap_detach: deprecated dspbridge ioctl
[ 706.822845] procwrap_detach: deprecated dspbridge ioctl
[ 755.495513] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 755.517730] procwrap_detach: deprecated dspbridge ioctl
[ 771.372314] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 771.413146] procwrap_detach: deprecated dspbridge ioctl
[ 806.393737] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 806.413208] procwrap_detach: deprecated dspbridge ioctl
[ 812.038360] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 812.060394] procwrap_detach: deprecated dspbridge ioctl
[ 830.151916] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 830.210540] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 830.232727] proc_start: dsp in running state
[ 830.232757] procwrap_detach: deprecated dspbridge ioctl
[ 839.885986] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 839.905151] procwrap_detach: deprecated dspbridge ioctl
[ 844.272521] cod_open: error status 0xfffffff7, sz_coff_path: /lib/
dsp/test.dll64P flags: 0x0
[ 844.295684] procwrap_detach: deprecated dspbridge ioctl
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#
root@hs-desktop:/dspbridge#

*****************Log Ends********************

I can't see clearly what's going on on that log.

I just you to list what is in /lib/dsp, try to run dsp-test, and put
the full dmesg.

You might need this patch on the kernel:
http://guillaume.gardet.free.fr/OMAP/patch_add-omap-mailboxes-for-dm3730.patch

For dsp-test to work you need /lib/dsp/test.dll64P present, which can
be found here:
https://github.com/felipec/dsp-tools/blob/firmware/firmware/test.dll64P

Were you guys able to solve this problem? I downloaded test.dll64P to /lib/dsp and I’m still getting the same error.

I was about to reply today because we made some progress in the past few days.

As I mentioned earlier, the source of our experiments are elinux.org and various Beagle links over there. We rebuilt the kernel and upgraded our uBuntu, downloaded DSPBridge binaries and copied them in the relevant locations and tried accessing the DSP.

Some key logs below:

Boot log:
http://pastebin.com/ag42MjFc

Bootargs: splash ro elevator=noop vram=12M omapfb.mode=dvi:1024x768MR-16@60 root=UUID=819110a4-8083-492f-9891-b602b42d428c fixrtc console=ttyO2,115200n8 console=tty0 mpurate=800

Kernel version after update: 2.6.38.3-x2

The following files are now present in the lib\dsp folder:
baseimage.dof
conversions.dll64P
dctn_dyn.dll64P
h264vdec_sn.dll64P
jpegdec_sn.dll64P
jpegenc_sn.dll64P
LICENSE
m4venc_sn.dll64P
mp4vdec_sn.dll64P
mpeg4aacdec_sn.dll64P
qosdyn_3430.dll64P
ringio.dll64P
test.dll64P
usn.dll64P
vpp_sn.dll64P

Following is the log when we tried dsp-load, dsp-test and dsp-probe commands:
root@hs-desktop:~# dsp-exec /lib/dsp/baseimage.dof
root@hs-desktop:~# dsp-test
copied 1000 times successfully
root@hs-desktop:~# dsp-probe
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: dummy
root@hs-desktop:~#
root@hs-desktop:~# gst-launch-0.10 playbin uri=file:///media/8C88-792D/SmartTV\ Demo.mp4
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
map_buffer: buffer not aligned: 0x42cb0008-0x42d23008
map_buffer: buffer not aligned: 0xc9fc08-0xd12c08
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
WARNING: from element /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2686): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage:
There may be a timestamping problem, or this computer is too slow.
^CCaught interrupt – handling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 47243927001 ns.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
root@hs-desktop:~#
root@hs-desktop:~# dsp-probe
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: dummy
dais socket: H264VDSOCKET_TI
root@hs-desktop:~#

As one can see, we are able to establish a link with DSP. When we try playing a .mp4 file using gst-launch, we were able to see the video although the video becomes very jerky when we switch to full screen mode (I guess because the codecs might not be the best ones or the bootargs are lacking some memory allocation). We can also see the dsp-load getting increased once we start the playback using the dsp-load command:

sudo dsp-hs@hs-desktop:/media/8C88-792D/Anuj/26apr-log$ sudo dsp-load
[sudo] password for hs:
load: 46, freq: 0
load: 67, freq: 0
load: 90, freq: 0
load: 64, freq: 0
load: 35, freq: 0
load: 65, freq: 0
load: 66, freq: 0
load: 31, freq: 0
load: 32, freq: 0
load: 31, freq: 0
load: 60, freq: 0
load: 63, freq: 0
load: 0, freq: 0
load: 0, freq: 0

(I don’t understand what ‘0’ means over there :))

When .AVI is tried using gst-launch, it failed:
root@hs-desktop:~# gst-launch-0.10 playbin uri=file:///media/8C88-792D/cop.avi
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
Caught SIGSEGV accessing address (nil)
map_buffer: buffer not aligned: 0x48f18008-0x48f99008
map_buffer: buffer not aligned: 0x48f18008-0x48f99008
#0 0x40303896 in ?? ()
#1 0x40384eb4 in ?? ()
Spinning. Please run ‘gdb gst-launch 1652’ to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^CCaught interrupt – handling interrupt.
Interrupt: Stopping pipeline …
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …

When a different .MP4 is tried, it failed:
root@hs-desktop:~# gst-launch-0.10 playbin uri=file:///media/8C88-792D/Formats/mp41.mp4
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
map_buffer: buffer not aligned: 0x11ac008-0x11ad008
map_buffer: buffer not aligned: 0x11ac008-0x11ad008
map_buffer: buffer not aligned: 0x11ac008-0x11ad008
map_buffer: buffer not aligned: 0x11bd120-0x11be120
map_buffer: buffer not aligned: 0x11d4708-0x11e0d08
map_buffer: buffer not aligned: 0x11ed388-0x11f9988
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstPulseSinkClock
ERROR: from element /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: pa_stream_write() failed: Connection terminated
Additional debug info:
pulsesink.c(1551): gst_pulseringbuffer_commit (): /GstPlayBin:playbin0/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse
Execution ended after 8292510987 ns.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Assertion ‘pa_atomic_load(&(b)->_ref) > 0’ failed at pulsecore/memblock.c:589, function pa_memblock_unref(). Aborting.
Aborted
root@hs-desktop:~#

When any file format is tried with Totem Media Player, we always got the following error: gstreamer encountered a general stream error.

Please let me know how to integrate gstreamer with the underlying DSP binaries now and make use of the full hardware acceleration. If any further logs are required, let me know and I will provide that as well.

Thanks.

Most likely the CPU is too slow for that kind of load; note that
ximagesink only accepts RGB so you are incurring in a color-space
conversion, which most likely is not optimized. Are you using orc?

You should try to use xvimagesink (requires Xv extension), and then
you would be able to use 'playbin flags=99' (native audio/video
renderers with no conversion). Or you can try omapfbsink instead. Then
there's no color-space conversion.

Cheers.