This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Syslink error in playing gstreamer on dm385.

Other Parts Discussed in Thread: DM385

Hi Ti, 

We are trying this steps on dm385 :

dm814x-evm login: root


root@dm814x-evm:~# ls

root@dm814x-evmhome/dm385# ./slaveloader startup VPSS-M3 ti813x_hdvpss.xem3
Attached to slave procId 1.
Loading procId 1.
Loaded file ti813x_hdvpss.xem3 on slave procId 1.
Started slave procId 1.

root@dm814x-evmhome/dm385# insmod vpss.ko sbufaddr=0xA0200000

root@dm814x-evmhome/dm385# insmod ti81xxfb.ko vram=0:16M,1:16M,2:6M

root@dm814x-evmhome/dm385# insmod ti81xxhdmi.ko
HDMI W1 rev 4.0
HDMI CEC Spec version 1.2


root@dm814x-evmhome/dm385# gst-launch -v filesrc location=/usr/share/ti/dat
a/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! o
mx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_video
sink sync=false
Assertion at Line no: 467 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../..d
Assertion at Line no: 1349 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandld
gst-launch-0.10: DmmDelegateHeap.c:193: DmmDelegate_createIpcHeap: Assertion `(heapHandle != 0)' failed.
Aborted


How can i solve this issue ?

What exactly this issue is caused ?


Kindly reply for this ?


Thanks & Regards

ROHIT

  • Hello,

    What is the EZSDK version that you are using ?

    Rohit Shanbhag said:
    gst-launch -v filesrc location=/usr/share/ti/dat
    a/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! o
    mx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_video
    sink sync=false

    Your pipeline is correct.

    Could you provide the debug log(add --gst-debug=3 to the pipeline)?

    Could you check syslink.ko is loaded?

    Best Regards,

    Margarita

  • HI Margarita ,

    ---->  Kernel version: 2.6.37

    -----> SDK version: EZSDK 5_05_02_00.

    --------------------------->   log is attached to this post

    root@dm814x-evm:/home/dm385/Module_Drivers# cd gst-launch -v filesrc location=/u
    sr/share/ti/data/videos/dm816x_1080p_demo.264 ! video/x-h264 ! h264parse access-
    unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl displayde=OMX_DC_MODE_1080P_60 !
     omx_videosink sync=false
    0:00:00.001170904  1340    0x16050 INFO                GST_INIT gst.c:605:init_pre: Initializing GStreamer Core Library version 0.10.32
    0:00:00.001667084  1340    0x16050 INFO                GST_INIT gst.c:606:init_pre: Using library installed in /usr/lib
    0:00:00.001801178  1340    0x16050 INFO                GST_INIT gst.c:616:init_pre: Linux dm814x-evm 2.6.37 #15 Mon Mar 18 16:04:50 IST 2013 armv7l
    0:00:00.012422780  1340    0x16050 INFO                GST_INIT gstquery.c:108:_gst_query_initialize: init queries
    0:00:00.026204449  1340    0x16050 INFO                GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
    0:00:00.028122404  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
    0:00:00.029513658  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
    0:00:00.029647709  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
    0:00:00.032435767  1340    0x16050 INFO            GST_REGISTRY gstregistry.c:1599:ensure_current_registry: reading registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
    0:00:00.214796269  1340    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /home/root/.gstreamer-0.10/registry.arm.bin in 0.182089 seconds
    0:00:00.215480170  1340    0x16050 INFO            GST_REGISTRY gstregistry.c:1469:scan_and_update_registry: Validating plugins from registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
    0:00:00.264796868  1340    0x16050 INFO            GST_REGISTRY gstregistry.c:1561:scan_and_update_registry: Registry cache has not changed
    0:00:00.265054067  1340    0x16050 INFO            GST_REGISTRY gstregistry.c:1628:ensure_current_registry: registry reading and updating done, result = 1
    0:00:00.265145517  1340    0x16050 INFO                GST_INIT gst.c:792:init_post: GLib runtime version: 2.24.1
    0:00:00.265293668  1340    0x16050 INFO                GST_INIT gst.c:794:init_post: GLib headers version: 2.24.1
    0:00:00.265626268  1340    0x16050 INFO            GST_PIPELINE gstparse.c:299:gst_parse_launch_full: parsing pipeline description 'filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! video/x-h264 ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl displayde=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false '
    0:00:00.307710268  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
    0:00:00.307903168  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "filesrc"
    0:00:00.311117368  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSrc@0x14a030> adding pad 'src'
    0:00:00.318196568  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgsth264parse.so" loaded
    0:00:00.318367818  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "h264parse"
    0:00:00.319686718  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstH264Parse@0x1495b8> adding pad 'sink'
    0:00:00.320162118  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstH264Parse@0x1495b8> adding pad 'src'
    0:00:00.434348518  1340    0x16050 INFO                     omx gstomx_videomixer.c:2183:init_interfaces: GstChildProxy interface registered
    0:00:00.434557368  1340    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstomx.so" loaded
    0:00:00.434658318  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_h264dec"
    0:00:00.437298719  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x153058> adding pad 'sink'
    0:00:00.437476369  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x153058> adding pad 'src'
    0:00:00.437719669  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_scaler"
    0:00:00.439331118  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x156060> adding pad 'sink'
    0:00:00.439476218  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x156060> adding pad 'src'
    0:00:00.440032568  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_ctrl"
    0:00:00.440975368  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x158030> adding pad 'sink'
    0:00:00.441325968  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x158030> adding pad 'src'
    0:00:00.441697468  1340    0x16050 INFO                 default gstchildproxy.c:209:gst_child_proxy_lookup: no param spec named displayde
    0:00:00.441835818  1340    0x16050 ERROR           GST_PIPELINE ./grammar.y:448:gst_parse_element_set: no property "displayde" in element "omxbasectrl0"
    0:00:00.442004918  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_videosink"
    0:00:00.443663518  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSink@0x15c220> adding pad 'sink'
    0:00:00.587340569  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "pipeline"
    0:00:00.588324569  1340    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking filesrc0:(any) to h264parse0:(any) (0/0) with caps "0xab1c0"
    0:00:00.588542769  1340    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "capsfilter"
    0:00:00.589327869  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x15f000> adding pad 'sink'
    0:00:00.589609318  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x15f000> adding pad 'src'
    0:00:00.589794668  1340    0x16050 INFO              GST_STATES gstbin.c:1759:gst_bin_get_state_func:<pipeline0> getting state
    0:00:00.590055368  1340    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to NULL
    0:00:00.590284318  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element filesrc0:(any) to element capsfilter0:sink
    0:00:00.590398168  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:sink
    0:00:00.590499518  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: filesrc0 and capsfilter0 in same bin, no need for ghost pads
    0:00:00.590784518  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link filesrc0:src and capsfilter0:sink
    0:00:00.590965768  1340    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked filesrc0:src and capsfilter0:sink, successful
    0:00:00.591168218  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element capsfilter0:src to element h264parse0:(any)
    0:00:00.591304568  1340    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:src
    0:00:00.928003518  1340    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link capsfilter0:src and h264parse0:sink
    0:00:00.928261368  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: capsfilter0 and h264parse0 in same bin, no need for ghost pads
    0:00:00.928427018  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link capsfilter0:src and h264parse0:sink
    0:00:00.928593568  1340    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked capsfilter0:src and h264parse0:sink, successful
    0:00:00.928767868  1340    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking h264parse0:(any) to omxh264dec0:(any) (0/0) with caps "(nil)"
    0:00:00.928870068  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element h264parse0:(any) to element omxh264dec0:(any)
    0:00:00.928973168  1340    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link h264parse0:src and omxh264dec0:sink
    0:00:00.929069068  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: h264parse0 and omxh264dec0 in same bin, no need for ghost pads
    0:00:00.929200618  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link h264parse0:src and omxh264dec0:sink
    0:00:00.929298968  1340    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked h264parse0:src and omxh264dec0:sink, successful
    0:00:00.929508618  1340    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxh264dec0:(any) to omxscaler0:(any) (0/0) with caps "(nil)"
    0:00:00.929605668  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxh264dec0:(any) to element omxscaler0:(any)
    0:00:00.929704268  1340    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxh264dec0:src and omxscaler0:sink
    0:00:00.929822268  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxh264dec0 and omxscaler0 in same bin, no need for ghost pads
    0:00:00.929959518  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxh264dec0:src and omxscaler0:sink
    0:00:00.930068118  1340    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxh264dec0:src and omxscaler0:sink, successful
    0:00:00.930233168  1340    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxscaler0:(any) to omxbasectrl0:(any) (0/0) with caps "(nil)"
    0:00:00.930327568  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxscaler0:(any) to element omxbasectrl0:(any)
    0:00:01.266062118  1340    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxscaler0:src and omxbasectrl0:sink
    0:00:01.266181268  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxscaler0 and omxbasectrl0 in same bin, no need for ghost pads
    0:00:01.266315468  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxscaler0:src and omxbasectrl0:sink
    0:00:01.266427418  1340    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxscaler0:src and omxbasectrl0:sink, successful
    0:00:01.266593618  1340    0x160Assertion at Line no: 467 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/SharedRegionDrv.c: (heapHandle != NULL) : failed
    50 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxbasectrl0:(any) to omxvideosink0:(any) (0/0) with caps "(nil)"
    0:00:01.266689518  1340    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxbasectrl0:(any) to element omxvideosink0:(any)
    0:00:01.266787068  1340    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxbasectrl0:src and omxvideosink0:sink
    0:00:01.267035068  1340    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxbasectrl0 and omxvideosink0 in same bin, no need for ghost pads
    0:00:01.267181068  1340    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxbasectrl0:src and omxvideosink0:sink
    0:00:01.267392768  1340    0x16050 INFO                     omx gstomx_base_sink.c:504:pad_sink_link:<omxvideosink0> link
    Assertion at Line no: 1349 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandle != NULL) : failed
    gst-launch-0.10: DmmDelegateHeap.c:193: DmmDelegate_createIpcHeap: Assertion `(heapHandle != 0)' failed.
    Aborted

    ----------------------> Yes ! Syslink module is loaded ! i checked using lsmod.

    Regards

    ROHIT

  • Hello,

    Rohit Shanbhag said:
    Assertion at Line no: 467 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../..d
    Assertion at Line no: 1349 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandld
    gst-launch-0.10: DmmDelegateHeap.c:193: DmmDelegate_createIpcHeap: Assertion `(heapHandle != 0)' failed.
    Aborted

    Could you try:

    1. Define notifyk.vpssm3_sva=0xBF900000 as a part of bootargs

    2. insmod syslink.ko
    3. ./slaveloader startup VPSS-M3 ti813x_hdvpss.xem3
    4. insmod vpss.ko
    5. insmod ti81xxfb.ko vram=0:16M,1:16M,2:6M
    6. insmod ti81xxhdmi.ko

    Rohit Shanbhag said:
    0:00:00.441835818  1340    0x16050 ERROR           GST_PIPELINE ./grammar.y:448:gst_parse_element_set: no property "displayde" in element "omxbasectrl0"

    Let me know the result.

    Best Regards,

    Margarita

  • HI Margarita,

    i tried the following bootargs  :

    1)setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=176M rootwait earlyprintk vram=50M ti81xxfb.vram=0:16M,1:16M,2:6M notifyk.vpssm3_sva=0xBF900000' :

    2)insmod syslink.ko

    SysLink version : 2.20.02.20
    SysLink module created on Date:Mar 14 2013 Time:15:00:39


    3)./slaveloader startup VPSS-M3 ti813x_hdvpss.xem3


    Attached to slave procId 1.
    Loading procId 1.
    Loaded file ti813x_hdvpss.xem3 on slave procId 1.
    Started slave procId 1.

    4)insmod vpss.ko

    VPSS_FVID2: Unable to get firmware version
    VPSS_CORE : Failed to init fvid2 interface,
    vpss: probe of vpss failed with error -22
    VPSS_CORE : failed to register ti81xx-vpss driver


    Kindly reply me with the changes if any need to be done !


    Thanks

    ROHIT

  • Hello,

    Rohit Shanbhag said:
    Assertion at Line no: 467 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../..d
    Assertion at Line no: 1349 in /home/ramappa/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandld
    gst-launch-0.10: DmmDelegateHeap.c:193: DmmDelegate_createIpcHeap: Assertion `(heapHandle != 0)' failed.
    Aborted

    You could check this thread :

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/207536/741872.aspx#741872

    Best Regards,

    Margarita

  • +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I am using the syslink.ko, ti81xxfb.ko, ti81xxhdmi.ko, ti813x_hdvpss.xem3, vpss.ko modules which are built for ti813x, i am using slaveloader to load these modules in to the kernal. I am able to get EZSDK of 814 working both on HDMI display as well as on LCD. The only thing that are not working are the Multimedia samples. I traced the error back to DOMX. You suggested to make some changes in this. Where in DOMX do you think changes would be required ?

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    1)Even am facing same issue ! As said we are also using syslink.ko, ti81xxfb.ko, ti81xxhdmi.ko, ti813x_hdvpss.xem3 which are built for ti813x.

    Am getting display on Composite out as well as on HDMI.

    2)What changes they are suggesting here is not clear !

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Please check the version of syslink, if that supports TI813X ? Also check in syslink if processor ids are same as for 814x. 813X does not have DSP, so if processor ids are difefrent, it would not be able to load the firmware. You will have to modify syslink for making the processor ids same as 814X. OR modify DOMX/Firmware loader.

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    3)I checked the syslink file , where i got HDVICP_ID is 1 and HDVPSS id is 2

    Kindly support me on this !

    Regards

    ROHIT