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.

Linux/TDA2: Linux OpenCV Canny no video out

Part Number: TDA2

Tool/software: Linux

Hi,

SDK 3.04. 

Build tda2xx_evm_linux_opencx

Compilation OK.

Run Single camera usecase

OV10635 1CH VIP capture and display to HDMI output.

OK. No problem.

But when run OpenCV Canny usecase got error and no video out.

Any idea?

[HOST] [HOST ] OpenCV Usecases
[HOST] [HOST ] ----------------------------
[HOST] [HOST ] 1: 1CH VIP capture + OpenCV Canny (A15) + SGX Copy + DISPLAY
[HOST] [HOST ] 2: 1CH VIP capture + OpenCV OpenCL Dilation (A15 + DSP) + SGX Copy + DISPLAY
[HOST] [HOST ]
[HOST] [HOST ] x: Exit
[HOST] [HOST ]
[HOST] [HOST ] Enter Choice:
[HOST] [HOST ]
1
[HOST] [HOST ] 73.112304 s:
[HOST] [IPU2 ] 73.112487 s: CHAINS: Sensor create in progress
[HOST] [IPU2 ] 73.113036 s: VIDEO_SENSOR: INST0 : I2C1 : I2C Addr = 0x30
[HOST] [IPU2 ] 73.210364 s: VIDEO_SENSOR: VIP 0: DRV ID 1203 (I2C ADDR 0x30): a635:0000:7fa2
[HOST] [IPU2 ] 73.210699 s: CHAINS: Sensor create ... DONE !!!
[HOST] [IPU2 ] 73.217104 s: CAPTURE: Create in progress !!!
[HOST] [IPU2 ] 73.217470 s: CAPTURE: VIP1 Slice0 PortA capture mode is [ 8-bit] !!!
ASSERT (chains_vipSingleCamOpenCVCannySgxDisplay_priv.c|chains_vipSingleCamOpenCVCannySgxDisplay_Create|166)
[HOST] [HOST ] 73.339931 s: IPC_IN_0 : Create in progress !!!
[HOST] [HOST ] 73.340328 s: IPC_IN_0 : Create Done !!!
[HOST] [HOST ] 73.340389 s: ALG: ERROR: No alg create function specified (algId = 5) !!!
[HOST] [IPU2 ] 73.338894 s: CAPTURE: Create Done !!!
[HOST] [IPU2 ] 73.339291 s: IPC_OUT_0 : Create in progress !!!
[HOST] [IPU2 ] 73.339687 s: IPC_OUT_0 : Create Done !!!

  • Hi Chee Peng,

    Due to CMEM dependency, this issue is observed

    & same has been reported & documented in release note of VSDK 3.4 release

    ADASVISION-1894 : [TDA2xx Linux] OpenCL UC, Cmem initialization fails

    However if you don't have any dependency on Linux, then you can try BIOS config for openCV (working fine with 3.4 release)

    Otherwise you can try on old VSDK release (3.1 release) where it is working fine

    Regards

    Surya

  • Hi Surya,

    May I have VSDK release 3.1 download link?
    Thank you very much

    regards
    chee peng
  • Hi Surya

    I tried VSDK 3.01
    Strange, i can compile successful for tda2xx_evm_linux_all
    But compile fail for tda2xx_evm_linux_opencx
    Do you have any idea?

    Best regards
    Chee Peng

    cheepeng@ubuntu:~/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/build$ make -s -j
    # Invoking configuro...
    # Configuro done!
    # Making tda2xx-evm:ipu2:release:vision_sdk_lib...
    # Linking into /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4...
    #
    #
    # /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu2_release.xem4 created.
    #
    ‘/home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/obj/vision_sdk/tda2xx-evm/ipu2/release/vision_sdk_configuro/osa_mem_map.h’ -> ‘/home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/links_fw/src/hlos/osa/include/osa_mem_map.h’
    # system: tda2xx-evm: Compiling system_ipc.c
    # osa: tda2xx-evm: Compiling osa_mem.c
    # osa: tda2xx-evm: Compiling osa_remote_log_client.c
    # osa: tda2xx-evm: Compiling osa_remote_log_server.c
    # system: tda2xx-evm: Creating archive system.a
    # osa: tda2xx-evm: Creating archive osa.a
    In file included from /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/include/chains_common_osal.h:86:0,
    from /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/include/chains_common_surround_view.h:83,
    from /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/hlos/common/chains_common.h:147,
    from /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/hlos/adas/include/chains.h:101,
    from chains_vipSingleCamOpenCLFrameCopySgxDisplay.c:99:
    /home/cheepeng/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/links_fw/src/hlos/system/system_priv_ipc.h:100:30: fatal error: ti/ipc/MultiProc.h: No such file or directory
    compilation terminated.
  • Hi Chee Peng,

    Did you install all components with 3.1 release or not ?

    Could you please check "MultiProc.h" file is present in below folder or not ?

    ti_components\os_tools\ipc_3_45_00_00\packages\ti\ipc

     

    Regards

    Surya

  • Hi Chee Peng,
    The issue "ASSERT (chains_vipSingleCamOpenCVCannySgxDisplay_priv.c|chains_vipSingleCamOpenCVCannySgxDisplay_Create|166)" has been resolved & will be available with next vision sdk release

    Regards
    Surya