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.

Restart Issue with IPNC RDK version 3.8

Hi,

I am working on IPNC RDK version 3.8 with my own 4 channel H264 usecase, Its working fine.

Only Issue with Restart (when Audio Start).. I got an Assertion ASSERT (system_ipc_msgq.c|System_ipcMsgQSendMsg|353) when Audio on or off (i.e. Restart Camera)

I found somehow where is an issue, But not perfectly.

There is a function GetMcFWInitStatus called in RestartAll() function from file - ipnc_app/sys_server/src/system_control.c, Try to receive an MCFWInitStatus, but not getting it always.

Somehow MCFW side (Into Stream.c) not getting to receive a command "MSG_CMD_GET_MCFW_INIT_STATUS"

Thats why, other functions like setting of framerate,bitrate etc from Init_StreamEnv not called and Encoder statetics behaviour is different and video not play.

Please help on this.

Regards,

Sandip Gokani

  • Waiting for reply.

    Regards,
    Sandip
  • Still Waiting....Please do something on it.

    Regards,

    Sandip Gokani

  • Hello,

    I will notify the IPNC team for help.

    BR
    Margarita
  • Hi,

     

    The 'MessageQ_alloc()' function is failing.

    When does the issue occur? Every time when you enable/disable audio?

    Pl. print the prmSize as shown in the attached file (..

    /*******************************************************************************
     *                                                                             *
     * Copyright (c) 2009 Texas Instruments Incorporated - http://www.ti.com/      *
     *                        ALL RIGHTS RESERVED                                  *
     *                                                                             *
     ******************************************************************************/
    
    
    #include "system_priv_common.h"
    #include "system_priv_ipc.h"
    
    Int32 System_ipcMsgQHeapCreate()
    {
        Int32 status;
        UInt32 retryCount;
    
        {
            /* open heap */
            retryCount = 10;
    
            while(retryCount)
            {
                OSA_printf(" %u: SYSTEM: Opening MsgQ Heap [%s] ...\n",
                    OSA_getCurTimeInMsec(),
                    SYSTEM_IPC_MSGQ_HEAP_NAME
                );
    
                status = HeapMemMP_open(SYSTEM_IPC_MSGQ_HEAP_NAME, &gSystem_ipcObj.msgQHeapHndl);
                if (status == HeapMemMP_E_NOTFOUND) {
                    /* Sleep for a while before trying again. */
                    OSA_waitMsecs (1000);
                } else
                if (status == HeapMemMP_S_SUCCESS) {
                    break;
                }
                retryCount--;
                if(retryCount<=0)
                    UTILS_assert(0);
            }
        }
    
        /* Register this heap with MessageQ */
        MessageQ_registerHeap(
            (IHeap_Handle)gSystem_ipcObj.msgQHeapHndl,
            SYSTEM_IPC_MSGQ_HEAP
            );
    
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQHeapDelete()
    {
        Int32 status;
    
        MessageQ_unregisterHeap(SYSTEM_IPC_MSGQ_HEAP);
    
        {
            /* close heap */
            status = HeapMemMP_close(&gSystem_ipcObj.msgQHeapHndl);
            UTILS_assert(status==OSA_SOK);
        }
    
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQTskCreate()
    {
        Int32 status;
    
        status = OSA_mutexCreate(&gSystem_ipcObj.msgQLock);
        UTILS_assert(status==OSA_SOK);
        /*
         * Create task
         */
        status = OSA_thrCreate(
                    &gSystem_ipcObj.msgQTask,
                    System_ipcMsgQTaskMain,
                    SYSTEM_MSGQ_TSK_PRI,
                    SYSTEM_MSGQ_TSK_STACK_SIZE,
                    NULL
                );
        UTILS_assert(status==OSA_SOK);
    
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQTskDelete()
    {
        Int32 status;
    
        /* unblock task */
        MessageQ_unblock(gSystem_ipcObj.selfMsgQ);
    
        /* wait for command to be received
           and task to be exited */
        OSA_waitMsecs(10);
    
        OSA_thrDelete(&gSystem_ipcObj.msgQTask);
    
        status = OSA_mutexDelete ( &gSystem_ipcObj.msgQLock );
        UTILS_assert(status==OSA_SOK);
    
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQCreate()
    {
        UInt32 i;
        UInt32 procId;
        Int32 status;
        Int32 retryCount;
        MessageQ_Params msgQParams;
        char msgQName[64];
        char ackMsgQName[64];
    
        i=0;
    
        while(gSystem_ipcEnableProcId[i]!=SYSTEM_PROC_MAX)
        {
            procId = gSystem_ipcEnableProcId[i];
    
            if (procId != SYSTEM_PROC_INVALID)
            {
                System_ipcGetMsgQName(procId, msgQName, ackMsgQName);
    
                if(procId==System_getSelfProcId())
                {
                    /* create MsgQ */
                    MessageQ_Params_init(&msgQParams);
    
                    OSA_printf(" %u: SYSTEM: Creating MsgQ [%s] ...\n",
                        OSA_getCurTimeInMsec(),
                        msgQName
                    );
    
                    gSystem_ipcObj.selfMsgQ = MessageQ_create(msgQName, &msgQParams);
                    UTILS_assert(gSystem_ipcObj.selfMsgQ!=NULL);
    
                    MessageQ_Params_init(&msgQParams);
    
                    OSA_printf(" %u: SYSTEM: Creating MsgQ [%s] ...\n",
                        OSA_getCurTimeInMsec(),
                        ackMsgQName
                    );
    
                    gSystem_ipcObj.selfAckMsgQ = MessageQ_create(ackMsgQName, &msgQParams);
                    UTILS_assert(gSystem_ipcObj.selfMsgQ!=NULL);
                }
                else
                {
                    /* open MsgQ */
    
                    retryCount=10;
                    while(retryCount)
                    {
                        OSA_printf(" %u: SYSTEM: Opening MsgQ [%s] ...\n",
                            OSA_getCurTimeInMsec(),
                            msgQName
                        );
    
                        status = MessageQ_open(msgQName, &gSystem_ipcObj.remoteProcMsgQ[procId]);
                        if(status==MessageQ_E_NOTFOUND)
                            OSA_waitMsecs(1000);
                        else
                        if(status==MessageQ_S_SUCCESS)
                            break;
    
                        retryCount--;
                        if(retryCount<=0)
                            UTILS_assert(0);
                    }
    
                    /* no need to open ack msgq,
                        since ack msgq id is embeeded in the received message
                    */
                }
            }
            i++;
        }
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQDelete()
    {
        UInt32 i;
        UInt32 procId;
        Int32 status;
    
        i=0;
    
        while(gSystem_ipcEnableProcId[i]!=SYSTEM_PROC_MAX)
        {
            procId = gSystem_ipcEnableProcId[i];
    
            if (procId != SYSTEM_PROC_INVALID)
            {
    	        if(procId==System_getSelfProcId())
    	        {
    	            /* delete MsgQ */
    
    	            status = MessageQ_delete(&gSystem_ipcObj.selfMsgQ);
    	            UTILS_assert(status==0);
    
    	            status = MessageQ_delete(&gSystem_ipcObj.selfAckMsgQ);
    	            UTILS_assert(status==0);
    	        }
    	        else
    	        {
    	            status = MessageQ_close(&gSystem_ipcObj.remoteProcMsgQ[procId]);
    	            UTILS_assert(status==0);
    
    	            /* no need to close ack msgq */
    	        }
            }
            i++;
        }
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQInit()
    {
        System_ipcMsgQHeapCreate();
        System_ipcMsgQCreate();
        System_ipcMsgQTskCreate();
    
        return OSA_SOK;
    }
    
    Int32 System_ipcMsgQDeInit()
    {
        System_ipcMsgQTskDelete();
        System_ipcMsgQDelete();
        System_ipcMsgQHeapDelete();
    
        return OSA_SOK;
    }
    
    Void *System_ipcMsgQTaskMain(Void *arg)
    {
        UInt32 prmSize;
        SystemIpcMsgQ_Msg *pMsgCommon;
        Void *pPrm;
        Int32 status;
    
        while(1)
        {
            status = MessageQ_get(gSystem_ipcObj.selfMsgQ, (MessageQ_Msg*)&pMsgCommon, OSA_TIMEOUT_FOREVER);
    		if(pMsgCommon == NULL)
    		    break;
            if(status==MessageQ_E_UNBLOCKED)
                break;
    
            if(status!=MessageQ_S_SUCCESS)
            {
                OSA_printf(" %u: MSGQ: MsgQ get failed !!!\n",
                            OSA_getCurTimeInMsec()
                            );
                continue;
            }
    
            #if 0
            OSA_printf(" %u: MSGQ: Received command [0x%04x] (prmSize = %d) for [%s][%02d] (waitAck=%d)\n",
                OSA_getCurTimeInMsec(),
                pMsgCommon->cmd,
                pMsgCommon->prmSize,
                System_getProcName(SYSTEM_GET_PROC_ID(pMsgCommon->linkId)),
                SYSTEM_GET_LINK_ID(pMsgCommon->linkId),
                pMsgCommon->waitAck
                );
            #endif
    
            prmSize = pMsgCommon->prmSize;
    
            pPrm = SYSTEM_IPC_MSGQ_MSG_PAYLOAD_PTR(pMsgCommon);
    
            if(pMsgCommon->cmd==SYSTEM_CMD_GET_INFO)
            {
                UTILS_assert(prmSize == sizeof(System_LinkInfo));
    
                pMsgCommon->status = System_linkGetInfo_local(pMsgCommon->linkId, pPrm);
            }
            else
            {
                pMsgCommon->status = System_linkControl_local(
                                        pMsgCommon->linkId,
                                        pMsgCommon->cmd,
                                        pPrm,
                                        prmSize,
                                        pMsgCommon->waitAck
                                     );
            }
            if(pMsgCommon->waitAck)
            {
                MessageQ_QueueId replyMsgQ;
    
                replyMsgQ = MessageQ_getReplyQueue(pMsgCommon);
    
                status = MessageQ_put(replyMsgQ, (MessageQ_Msg)pMsgCommon);
    
                if(status!=MessageQ_S_SUCCESS)
                {
                    OSA_printf(" %u: MSGQ: MsgQ Ack put failed !!!\n",
                            OSA_getCurTimeInMsec()
                            );
                    MessageQ_free((MessageQ_Msg)pMsgCommon);
                }
            }
            else
            {
                MessageQ_free((MessageQ_Msg)pMsgCommon);
            }
        }
    
        return NULL;
    }
    
    Int32 System_ipcMsgQSendMsg(UInt32 linkId, UInt32 cmd, Void *pPrm, UInt32 prmSize, Bool waitAck, UInt32 timeout)
    {
        Int32 status=OSA_SOK;
        SystemIpcMsgQ_Msg *pMsgCommon;
        UInt32 procId;
        Void *pMsgPrm;
    
        UTILS_assert(prmSize<=SYSTEM_IPC_MSGQ_MSG_SIZE_MAX);
    
        procId = SYSTEM_GET_PROC_ID(linkId);
    
        #ifdef TI_8107_BUILD
        if(procId==SYSTEM_PROC_DSP)
        {
            OSA_printf(" %u: MSGQ: WARNING: Trying to send command [0x%04x] to link [%d] on processor [%s], BUT [%s] is NOT present on this platform !!!\n",
                            OSA_getCurTimeInMsec(),
                            cmd,
                            SYSTEM_GET_LINK_ID(linkId),
                            System_getProcName(procId),
                            System_getProcName(procId)
                            );
    
            /* return SUCCESS so that calling API can continue */
            return status;
        }
        #endif
    
        OSA_mutexLock(&gSystem_ipcObj.msgQLock);
    
        UTILS_assert(  procId < SYSTEM_PROC_MAX);
    
        pMsgCommon = (SystemIpcMsgQ_Msg *)MessageQ_alloc(
                        SYSTEM_IPC_MSGQ_HEAP,
                        sizeof(*pMsgCommon)+prmSize
                        );
    
    	if(pMsgCommon == NULL)
    	{
    		OSA_printf("#### MsgQ Alloc Size = %d\n",prmSize);
    	}	
    					
        UTILS_assert(pMsgCommon!=NULL);
    
        if(prmSize && pPrm)
        {
            pMsgPrm = SYSTEM_IPC_MSGQ_MSG_PAYLOAD_PTR(pMsgCommon);
            memcpy(pMsgPrm, pPrm, prmSize);
        }
    
        pMsgCommon->linkId = linkId;
        pMsgCommon->cmd = cmd;
        pMsgCommon->prmSize = prmSize;
        pMsgCommon->waitAck = waitAck;
        pMsgCommon->status = OSA_SOK;
    
        MessageQ_setReplyQueue(gSystem_ipcObj.selfAckMsgQ, (MessageQ_Msg)pMsgCommon);
        MessageQ_setMsgId(pMsgCommon, linkId);
    
        status = MessageQ_put(gSystem_ipcObj.remoteProcMsgQ[procId], (MessageQ_Msg)pMsgCommon);
        if(status!=MessageQ_S_SUCCESS)
        {
            OSA_printf(" %u: MSGQ: MsgQ put for [%s] failed !!!\n",
                            OSA_getCurTimeInMsec(),
                            System_getProcName(procId)
                            );
            MessageQ_free((MessageQ_Msg)pMsgCommon);
            OSA_mutexUnlock(&gSystem_ipcObj.msgQLock);
            return status;
        }
    
        if(waitAck)
        {
            SystemIpcMsgQ_Msg *pAckMsg;
            Bool retryMsgGet = FALSE;
            UInt32 retryCount = 1000;
            if (OSA_TIMEOUT_FOREVER == timeout)
            {
                timeout = MessageQ_FOREVER;
            }
    
            do {
                status = MessageQ_get(gSystem_ipcObj.selfAckMsgQ, (MessageQ_Msg*)&pAckMsg, timeout);
                if(status==MessageQ_E_TIMEOUT)
                {
                    /* if timeout then break out of retry loop */
                    break;
                }
                if(status!=MessageQ_S_SUCCESS)
                {
                    /* normally this situation should not happen, this more for safety and debug purpose */
                    retryCount--;
    
                    OSA_printf(" %u: MSGQ: MsgQ Ack get from [%s] failed for link %d, cmdId 0x%04x !!! (retrying - %d times)\n",
                               OSA_getCurTimeInMsec(),
                               System_getProcName(procId),
                               SYSTEM_GET_LINK_ID(linkId),
                               cmd,
                               retryCount
                                );
    
                    if(retryCount==0)
                    {
                        retryMsgGet = FALSE;
                    }
                    else
                    {
                        retryMsgGet = TRUE;
                    }
                }
                if (status == MessageQ_S_SUCCESS)
                {
                    if (!((pAckMsg->linkId == linkId)
                          &&
                          (pAckMsg->cmd    == cmd)))
                    {
                        /* normally this situation should not happen, this more for safety and debug purpose */
    
                        OSA_printf(" %u: MSGQ: MsgQ Ack get from [%s] failed for link %d, cmdId 0x%04x !!! \n"
                               "           Received unexpected Ack from [%s] link %d, cmdId 0x%04x !!! \n",
                               OSA_getCurTimeInMsec(),
                               System_getProcName(procId),
                               SYSTEM_GET_LINK_ID(linkId),
                               cmd,
                               System_getProcName(SYSTEM_GET_PROC_ID(pAckMsg->linkId)),
                               SYSTEM_GET_LINK_ID(pAckMsg->linkId),
                               pAckMsg->cmd
                               );
    
                        MessageQ_free((MessageQ_Msg)pAckMsg);
                        retryMsgGet = TRUE;
                    }
                }
    
            } while(TRUE == retryMsgGet);
    
            if (status!=MessageQ_S_SUCCESS)
            {
                /* Do not free msg if MsgQ_Get timesout.
                 * Since we dont have Msg ownership, we should not free the msg
                 */
                /* MessageQ_free((MessageQ_Msg)pMsgCommon); */
                OSA_mutexUnlock(&gSystem_ipcObj.msgQLock);
                return status;
            }
    
            if(prmSize && pPrm)
            {
                pMsgPrm = SYSTEM_IPC_MSGQ_MSG_PAYLOAD_PTR(pAckMsg);
                memcpy(pPrm, pMsgPrm, prmSize);
            }
    
            status = pAckMsg->status;
    
            MessageQ_free((MessageQ_Msg)pAckMsg);
        }
    
        OSA_mutexUnlock(&gSystem_ipcObj.msgQLock);
    
        return status;
    }
    
    \ipnc_rdk\ipnc_mcfw\mcfw\src_linux\links\system\system_ipc_msgq.c) and send me your console log when the issue occurs.

     

    regards,

    Anand 

  • Hi Anand,

    I attached 2 log files here. Please review it. Not Getting every time this issue. If I tried to 10 times Audio on/off, at least 3~4 times occurs.

    In First Log File, I tried so many times restart (through Audio On / Off) - I got [host] CacheMng_Video_Free: search cache fail!!

    and #### Wait for McFW shutdown ... (& Video / Streaming Stopped, Camera Hang)

    But, Some times Restart perfectly works, some times not... Please verify Log file 1 Below.

    In Second Log File, Get Assertion - ASSERT (system_ipc_msgq.c|System_ipcMsgQSendMsg|358)... Please verify Log file 2 Below.

    Log File 1:

    Change in Config Data: Reloading New Usecase !!!!!
    ##############################skg_restart : Start of Restart function
    AVI caught SIGTERM: shutting down
    ApproDrvExit: 15
    caught SIGINT: shutting down
    caught SIGINT: shutting down
    ApproDrvExit: 9
    caught SIGINT: shutting down
    caught SIGINT: shutting down
    caught SIGINT: shutting down
    ApproDrvExit: 2
    ApproDrvExit: 8
    ApproDrvExit: 6
    ApproDrvExit: 10

     [host]
    Usecase is Active !!!
    killall: wis-streamer: no process killed

     [host] MCFW EXIT COMMAND RECVD

     [host]
    ENTERING TEARDOWN
    #### Wait for McFW shutdown ...
    INTEGRATION_TIME: 1124
    GAIN: 128
    6 duty_cycle = 6
    #### Wait for McFW shutdown ...

     [host] Date time task deleted

     [host] Vsys_freeBuf - addr = 0x4f671000

     [host] App_streamSysExit Exit Completed

     [host] Vsys_freeBuf - addr = 0x40052000
     [m3vpss ]  368400: CAMERA: Stop in progress !!!
     [m3video]  368488: ENCODE: CH-1:
     [m3video] Stop in progress !!!
     [m3vpss ]  368401: CAMERA: Stop Done !!!

     [host] 37691: IPCBITSIN:Link[3000001f]:
     [host] RECV:3342    FREE:3326,DROPPED:0,AVGLATENCY:0,AVG_APP_CB_TIME:0
     [host]  37691: IPC_BITS_IN   : Delete in progress !!!

     [host]  37692: IPC_BITS_IN   : Delete Done !!!
     [m3vpss ]  368500: IPC_OUT_M3   : Delete in progress !!!
     [m3video]  368488: ENCODE: CH-1:
     [m3video] Stop done !!!
     [m3video]  368490: IPC_BITS_OUT   : Delete in progress !!!
     [m3video] 368490: IPCBITSOUT:Link[1000001d]:
     [m3video] RECV:3342    FREE:3326,DROPPED:0,AVGLATENCY:11
     [m3video]  368490: PRF : IPC_BITS_OUT0 : t: 205 ms, c: 3337, f: 3342, fps: 16302, fpc: 1
     [m3vpss ]  368500: IPC_OUT_M3   : Delete Done !!!
     [m3vpss ]  368415: FD   : Alg Delete Done !!!
     [m3video]  368491: IPC_BITS_OUT   : Delete Done !!!
     [m3vpss ]  368415: FD   : Delete Done !!!
     [m3vpss ]  368502: SCLR    : Stop in progress, 0 requests pending !!!
     [m3video]  368491: ENCODE: CH-1:
     [m3video] Stop in progress !!!
     [m3vpss ]  368502: SCLR    : Stop Done !!!
     [m3vpss ]  368502: SCLR    : Fields = 552 (fps = 38), FRAMES -> Total 552, skipped 551, fps = 0!!!
     [m3video]  368491: ENCODE: CH-1:
     [m3video] Stop done !!!
     [m3vpss ]  368503: SCLR: Delete in progress !!!
     [m3vpss ]  368503: SCLR: Delete Done !!!
     [m3video]  368492: ENCODE: CH-1:
     [m3video]  ENC    : Delete in progress !!!
     [m3vpss ]  368424: SWOSD   : Delete Done !!!
     [m3video] MemoryLeak:STAGE:0    HEAPNUM:0    ALLOC=13272    FREED=11720
     [m3vpss ]  368511: MERGE   : Delete Done !!!
     [m3video]  368493: ENCODE: CH0: FrameNum :     1103, Processed Frames :     1098, Total Process Time :    26339, Total Frame Interval:    43879, Dropped Frames:        2, FPS:       25 (Required FPS:       30)
     [m3vpss ]  368511: DEI    : Stop in progress, 0 requests pending !!!
     [m3video]  368494: ENCODE: CH1: FrameNum :     1103, Processed Frames :     1098, Total Process Time :    16306, Total Frame Interval:    43877, Dropped Frames:        0, FPS:       25 (Required FPS:       30)
     [m3vpss ]  368511: DEI    : Stop Done !!!
     [m3video]  368496: ENCODE: CH2: FrameNum :     1103, Processed Frames :      564, Total Process Time :     4114, Total Frame Interval:    43879, Dropped Frames:      534, FPS:       13 (Required FPS:       30)
     [m3vpss ]  368512: DEI    : Fields = 1103 (fps = 402), !!!
     [m3video] MemoryLeak:STAGE:0    HEAPNUM:0    ALLOC=11720    FREED=13272
     [m3vpss ]  368512: DEI    : Delete in progress !!!
     [m3video]  368497: ENCODE: CH3: FrameNum :     1103, Processed Frames :      564, Total Process Time :     4093, Total Frame Interval:    43838, Dropped Frames:      534, FPS:       13 (Required FPS:       30)
     [m3vpss ]  368512: DEI    : Delete Done !!!
     [m3video] Motion Detect Task Exit Completed
     [m3video]  368499: ENCODE: CH-1:
     [m3video]  ENC    : Delete done !!!
     [m3vpss ]  368514: DEI    : Stop in progress, 0 requests pending !!!
     [m3video]  368499: IPC_IN_M3   : Delete in progress !!!
     [m3vpss ]  368514: DEI    : Stop Done !!!
     [m3video]  368500: IPC_IN_M3   : Delete Done !!!
     [m3vpss ]  368514: DEI    : Fields = 1103 (fps = 422), !!!
     [m3vpss ]  368514: DEI    : Delete in progress !!!
     [m3vpss ]  368515: DEI    : Delete Done !!!
     [m3vpss ]  368515: SCLR    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  368516: SCLR    : Stop Done !!!
     [m3vpss ]  368516: SCLR    : Fields = 1103 (fps = 43), FRAMES -> Total 1103, skipped 0, fps = 43!!!
     [m3vpss ]  368516: SCLR: Delete in progress !!!
     [m3vpss ]  368517: SCLR: Delete Done !!!
     [m3vpss ]  368517: SCLR    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  368517: SCLR    : Stop Done !!!
     [m3vpss ]  368517: SCLR    : Fields = 1103 (fps = 84), FRAMES -> Total 1103, skipped 0, fps = 84!!!
     [m3vpss ]  368518: SCLR: Delete in progress !!!
     [m3vpss ]  368518: SCLR: Delete Done !!!
     [m3vpss ]  368519: DUP   : Delete Done !!!
     [m3vpss ]  368519: DUP   : Delete Done !!!
     [m3vpss ]  368433: CAMERA: Fields = 2206 (fps = 49, CPU Load = 27)
     [m3vpss ]  368433: CAMERA: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  368434: CAMERA: Delete in progress !!!
     [m3vpss ]  IssAlg_captTskUpdate:951: Exiting Alg Task !!!
     [m3vpss ]  368535: CAMERA: Driver deleted !!!
     [m3vpss ]  368535: CAMERA: Delete Done !!!
     [m3video]  
     [m3vpss ]  
     [m3vpss ]  368622: LOAD: CPU: 30.0% HWI: 5.1%, SWI:1.4%
     [m3vpss ]  

     [host] USECASE TEARDOWN DONE

     [host] Entered:App_ipcFramesDelete...
     [host] Leaving:App_ipcFramesDelete...
     [host]  37805: SYSTEM: System Common De-Init in progress !!!

     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host]  37811: SYSTEM: IPC de-init in progress !!!
     [m3video]  368623: LOAD: CPU: 23.9% HWI: 3.1%, SWI:2.7%
     [m3video]  

     [host]  37843: SYSTEM: IPC de-init DONE !!!

     [host]  37843: SYSTEM: System Common De-Init Done !!!

     [host]
    Application Stop Completed
    #### Wait for McFW shutdown ...
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ]  307291: SYSTEM  : System Dsp De-Init in progress !!!
     [c6xdsp ]  307305: SYSTEM  : De-Initializing Links !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ]  307325: SYSTEM  : De-Initializing Links ... DONE !!!
     [m3video]  368928: SYSTEM  : System Video De-Init in progress !!!
     [m3video]  368928: SYSTEM  : De-Initializing Links !!!
     [c6xdsp ]  307328: SYSTEM  : System Dsp De-Init Done !!!
     [m3video]  368960: SYSTEM  : FREE SPACE : System Heap      = 6284688 B, Mbx = 10240 msgs)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 'p'
     [m3video]  368960: SYSTEM  : FREE SPACE : SR0 Heap         = 1940352 B (1 MB)
     [m3video]  368961: SYSTEM  : FREE SPACE : Frame Buffer     = 252590976 B (240 MB)
     [m3video]  368961: SYSTEM  : FREE SPACE : Bitstream Buffer = 123731840 B (117 MB)
     [m3video]  368962: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 'p'
     [m3video]  368962: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
     [m3video]  368963: SYSTEM  : De-Initializing Links ... DONE !!!
     [m3vpss ]  UTILS: DMA: Utils_dmaDeInit() ... FAILED (-139)
     [m3vpss ]  369031: SYSTEM  : De-Initializing Links !!!
     [m3video]  368963: SYSTEM  : System Video De-Init Done !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
    Unable to handle kernel paging request at virtual address cddedfdc
    pgd = cb36c000
    [cddedfdc] *pgd=8cb7b011, *pte=00000000, *ppte=00000000
    Internal error: Oops: 7 [#1]
    last sysfs file: /sys/devices/virtual/gpio/gpio106/value
    Modules linked in: osa_kermod sbull syslink [last unloaded: osa_kermod]
    CPU: 0    Not tainted  (2.6.37_DM8127_IPNC_3.50.00 #4)
    PC is at SharedRegion_getSRPtr+0x5c/0xf0 [syslink]
    LR is at SharedRegion_getSRPtr+0x34/0xf0 [syslink]
    pc : [<bf02126c>]    lr : [<bf021244>]    psr: 20000013
    sp : cb215e78  ip : 00000000  fp : cb215e94
    r10: 40b96228  r9 : cb214000  r8 : 00000000
    r7 : 000005c2  r6 : 40b96228  r5 : 0000ffff  r4 : db92a000
    r3 : bf07904c  r2 : 0023ffdc  r1 : cdbae000  r0 : cddedfdc
    Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 10c5387d  Table: 8b36c019  DAC: 00000015
    Process ipnc_rdk_mcfw.o (pid: 1477, stack limit = 0xcb2142e8)
    Stack: (0xcb215e78 to 0xcb216000)
    5e60:                                                       0000ffff bf018548
    5e80: db92a000 cb34b400 cb215efc cb215e98 bf049c6c bf02121c c018f35a 40b96228
    5ea0: 00000000 00000038 00001021 00000004 00000001 0007be70 cb215efc cb215ec8
    5ec0: c03a4278 c008b7b4 cb215eec 40b9726c 00000458 0000081f cc5c3c00 00000006
    5ee0: 40b96228 00000006 00000000 00000000 cb215f74 cb215f00 c00d67d4 bf049af4
    5f00: cb34e800 00000458 cb215f7c cb215f18 c01a34c4 c01a2344 cb215f34 cb215f28
    5f20: c006bce4 40b9726c cb215f8c 00000458 c01a30b4 00100100 00200200 cbbde000
    5f40: 00000002 00000001 00000458 cb34e800 cb34b400 40b96228 c018f35a 00000006
    5f60: 00000000 cb214000 cb215fa4 cb215f78 c00d68a0 c00d6310 c01a3510 00000001
    5f80: 00000001 40b96228 00000002 2000003d 00000036 c0048568 00000000 cb215fa8
    5fa0: c00483c0 c00d6854 40b96228 00000002 00000006 c018f35a 40b96228 c018f35a
    5fc0: 40b96228 00000002 2000003d 00000036 00000004 00001021 00000004 00000001
    5fe0: 00000002 40b96220 0008348c 4032c1cc 80000010 00000006 00000000 00000000
    Backtrace:
    [<bf021210>] (SharedRegion_getSRPtr+0x0/0xf0 [syslink]) from [<bf049c6c>] (MessageQDrv_ioctl+0x184/0x848 [syslink])
     r5:cb34b400 r4:db92a000
    [<bf049ae8>] (MessageQDrv_ioctl+0x0/0x848 [syslink]) from [<c00d67d4>] (do_vfs_ioctl+0x4d0/0x544)
    [<c00d6304>] (do_vfs_ioctl+0x0/0x544) from [<c00d68a0>] (sys_ioctl+0x58/0x7c)
     r9:cb214000 r8:00000000 r7:00000006 r6:c018f35a r5:40b96228
    r4:cb34b400
    [<c00d6848>] (sys_ioctl+0x0/0x7c) from [<c00483c0>] (ret_fast_syscall+0x0/0x30)
     r8:c0048568 r7:00000036 r6:2000003d r5:00000002 r4:40b96228
    Code: e3a02024 e5931008 e0020592 e0810002 (e7912002)
    ---[ end trace 68881a0fdf04a105 ]---
    #### Wait for McFW shutdown ...

    Log File 2:

    Change in Config Data: Reloading New Usecase !!!!!
    ########################################skg_restart : Start of Restart function
    killall: Appro_avi_save: no process killed
    caught SIGINT: shutting down
    caught SIGINT: shutting down
    caught SIGINT: shutting down
    ApproDrvExit: 8
    caught SIGINT: shutting down
    ApproDrvExit: 6
    ApproDrvExit: 9
    caught SIGINT: shutting down
    ApproDrvExit: 2
    ApproDrvExit: 10

     [host]
    Usecase is Active !!!
    killall: wis-streamer: no process killed

     [host] MCFW EXIT COMMAND RECVD

     [host]
    ENTERING TEARDOWN
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...
     ERROR  (audio_capture.c|RecordAudio|614): audio error from read : Input/output error

     [host] AUDIO >> Device closed

     [host]
     Deleting Audio capture task
     [host]  Audio capture task deleted
     [m3video]  ==================== EncLink_PrintDetails ====================
     [m3video]     52043: HDVICP-ID:0
     [m3video]         totalAcquire2wait in msec:      1362
     [m3video]         totalWait2Isr in msec:     33929
     [m3video]         totalIsr2Done in msec:        78
     [m3video]         totalWait2Done in msec:     34007
     [m3video]         totalDone2Release in msec:         0
     [m3video]         totalAcquire2Release in msec:     35916
     [m3video]         totalAcq2acqDelay in msec:     10532
     [m3video]         totalElapsedTime in msec:     46445
     [m3video]         numAccessCnt:      3579
     [m3video]         IVA-FPS :        77
     [m3video]  
     [m3video]  *** ENCODE Statistics ***
     [m3video]  
     [m3video]  Elasped Time           : 22 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In Skip In User  Out Latency  
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      26       0        0 26.00  34 /  48
     [m3video]    1 |      26       0        0 26.00  38 /  55
     [m3video]    2 |      26       0       13 13.00   9 /  21
     [m3video]    3 |      26       0       13 13.00  11 /  24
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 1
     [m3video] IVAHD_0 Max achieved Batch Size : 1
     [m3video]  ==============================================================
    #### Wait for McFW shutdown ...
    #### Wait for McFW shutdown ...

     [host] Date time task deleted

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 503

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 504

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 505

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 506

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 507

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 508

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 509

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 510

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 511

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 512

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 513

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 514

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 515

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 516

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 517

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 518

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 519

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 520

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 521

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 522

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 523

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 524

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 525

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 526

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 527

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 528

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 529

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 530

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 531

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 532

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 263

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 264

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 265

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 266

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 267

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 268

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 269

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 270

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 271

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 272

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 273

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 274

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 275

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 276

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 277

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 278

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 279

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 280

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 281

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 282

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 283

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 284

    #### Wait for McFW shutdown ...
     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 285

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 286

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 287

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 288

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 289

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 290

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 291

     [host] CacheMng_Video_Free: search cache fail!!

     [host] Fail at unlock frame 292

     [host] Vsys_freeBuf - addr = 0x4f698000

     [host] App_streamSysExit Exit Completed

     [host] Vsys_freeBuf - addr = 0x585b1000

     [host] 41017: IPCBITSIN:Link[3000001f]:
     [host] RECV:3646    FREE:3630,DROPPED:0,AVGLATENCY:0,AVG_APP_CB_TIME:0
     [host]  41017: IPC_BITS_IN   : Delete in progress !!!

     [host]  41018: IPC_BITS_IN   : Delete Done !!!
     [m3vpss ]  53375: CAMERA: Stop in progress !!!
     [m3video]  53654: ENCODE: CH-1:
     [m3video] Stop in progress !!!
     [m3vpss ]  53375: CAMERA: Stop Done !!!
     [m3video]  53654: ENCODE: CH-1:
     [m3video] Stop done !!!
     [m3vpss ]  53666: IPC_OUT_M3   : Delete in progress !!!
     [m3video]  53656: IPC_BITS_OUT   : Delete in progress !!!
     [m3vpss ]  53666: IPC_OUT_M3   : Delete Done !!!
     [m3vpss ]  53389: FD   : Alg Delete Done !!!
     [m3video] 53656: IPCBITSOUT:Link[1000001d]:
     [m3video] RECV:3646    FREE:3630,DROPPED:0,AVGLATENCY:15
     [m3video]  53657: PRF : IPC_BITS_OUT0 : t: 221 ms, c: 3637, f: 3646, fps: 16497, fpc: 1
     [m3vpss ]  53389: FD   : Delete Done !!!
     [m3vpss ]  53668: SCLR    : Stop in progress, 0 requests pending !!!
     [m3video]  53657: IPC_BITS_OUT   : Delete Done !!!
     [m3vpss ]  53668: SCLR    : Stop Done !!!
     [m3vpss ]  53668: SCLR    : Fields = 602 (fps = 38), FRAMES -> Total 602, skipped 601, fps = 0!!!
     [m3video]  53657: ENCODE: CH-1:
     [m3video] Stop in progress !!!
     [m3vpss ]  53669: SCLR: Delete in progress !!!
     [m3vpss ]  53669: SCLR: Delete Done !!!
     [m3video]  53658: ENCODE: CH-1:
     [m3video] Stop done !!!
     [m3video]  53658: ENCODE: CH-1:
     [m3video]  ENC    : Delete in progress !!!
     [m3vpss ]  53398: SWOSD   : Delete Done !!!
     [m3video] MemoryLeak:STAGE:0    HEAPNUM:0    ALLOC=13272    FREED=11720
     [m3vpss ]  53677: MERGE   : Delete Done !!!
     [m3video]  53659: ENCODE: CH0: FrameNum :     1203, Processed Frames :     1198, Total Process Time :    28097, Total Frame Interval:    47870, Dropped Frames:       19, FPS:       25 (Required FPS:       30)
     [m3vpss ]  53677: DEI    : Stop in progress, 0 requests pending !!!
     [m3video]  53660: ENCODE: CH1: FrameNum :     1203, Processed Frames :     1198, Total Process Time :    17675, Total Frame Interval:    47871, Dropped Frames:       15, FPS:       25 (Required FPS:       30)
     [m3vpss ]  53677: DEI    : Stop Done !!!
     [m3video]  53662: ENCODE: CH2: FrameNum :     1203, Processed Frames :      643, Total Process Time :     5100, Total Frame Interval:    47867, Dropped Frames:      565, FPS:       13 (Required FPS:       30)
     [m3vpss ]  53678: DEI    : Fields = 1203 (fps = 423), !!!
     [m3video] MemoryLeak:STAGE:0    HEAPNUM:0    ALLOC=11720    FREED=13272
     [m3vpss ]  53678: DEI    : Delete in progress !!!
     [m3video]  53663: ENCODE: CH3: FrameNum :     1203, Processed Frames :      644, Total Process Time :     4713, Total Frame Interval:    47869, Dropped Frames:      567, FPS:       13 (Required FPS:       30)
     [m3vpss ]  53678: DEI    : Delete Done !!!
     [m3video] Motion Detect Task Exit Completed
     [m3vpss ]  53679: DEI    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  53679: DEI    : Stop Done !!!
     [m3video]  53665: ENCODE: CH-1:
     [m3video]  ENC    : Delete done !!!
     [m3vpss ]  53679: DEI    : Fields = 1203 (fps = 423), !!!
     [m3video]  53665: IPC_IN_M3   : Delete in progress !!!
     [m3vpss ]  53679: DEI    : Delete in progress !!!
     [m3video]  53666: IPC_IN_M3   : Delete Done !!!
     [m3vpss ]  53680: DEI    : Delete Done !!!
     [m3vpss ]  53680: SCLR    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  53680: SCLR    : Stop Done !!!
     [m3vpss ]  53681: SCLR    : Fields = 1203 (fps = 43), FRAMES -> Total 1203, skipped 0, fps = 43!!!
     [m3vpss ]  53681: SCLR: Delete in progress !!!
     [m3vpss ]  53681: SCLR: Delete Done !!!
     [m3vpss ]  53682: SCLR    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  53682: SCLR    : Stop Done !!!
     [m3vpss ]  53682: SCLR    : Fields = 1203 (fps = 84), FRAMES -> Total 1203, skipped 0, fps = 84!!!
     [m3vpss ]  53683: SCLR: Delete in progress !!!
     [m3vpss ]  53683: SCLR: Delete Done !!!
     [m3vpss ]  53684: DUP   : Delete Done !!!
     [m3vpss ]  53684: DUP   : Delete Done !!!
     [m3vpss ]  53406: CAMERA: Fields = 2406 (fps = 49, CPU Load = 30)
     [m3vpss ]  53407: CAMERA: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  53407: CAMERA: Delete in progress !!!

     [host] USECASE TEARDOWN DONE

     [m3video]  
     [m3vpss ]  IssAlg_captTskUpdate:951: Exiting Alg Task !!!
     [m3video]  53788: LOAD: CPU: 23.7% HWI: 3.2%, SWI:3.1%
     [m3vpss ]  53508: CAMERA: Driver deleted !!!
     [m3video]  
     [m3vpss ]  53508: CAMERA: Delete Done !!!
     [m3vpss ]  
     [m3vpss ]  53787: LOAD: CPU: 30.1% HWI: 5.4%, SWI:2.0%
     [m3vpss ]  
     [host] Entered:App_ipcFramesDelete...
     [host] Leaving:App_ipcFramesDelete...
     [host]  41151: SYSTEM: System Common De-Init in progress !!!

     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host]  41156: SYSTEM: IPC de-init in progress !!!

     [host]  41188: SYSTEM: IPC de-init DONE !!!

     [host]  41188: SYSTEM: System Common De-Init Done !!!

     [host]
    Application Stop Completed
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  54098: SYSTEM  : System Video De-Init in progress !!!
     [m3video]  54098: SYSTEM  : De-Initializing Links !!!
     [m3video]  54130: SYSTEM  : FREE SPACE : System Heap      = 6284688 B, Mbx = 10240 msgs)
     [m3video]  54130: SYSTEM  : FREE SPACE : SR0 Heap         = 1348224 B (1 MB)
     [c6xdsp ]  45219: SYSTEM  : System Dsp De-Init in progress !!!
     [m3video]  54131: SYSTEM  : FREE SPACE : Frame Buffer     = 252590976 B (240 MB)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ]  45233: SYSTEM  : De-Initializing Links !!!
     [m3video]  54131: SYSTEM  : FREE SPACE : Bitstream Buffer = 123731840 B (117 MB)
     [m3video]  54132: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
     [c6xdsp ]  45253: SYSTEM  : De-Initializing Links ... DONE !!!
     [m3video]  54132: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
     [c6xdsp ]  45256: SYSTEM  : System Dsp De-Init Done !!!
     [m3video]  54133: SYSTEM  : De-Initializing Links ... DONE !!!
    #### Wait for McFW shutdown ...
     [m3video]  54133: SYSTEM  : System Video De-Init Done !!!
     [m3vpss ]  UTILS: DMA: Utils_dmaDeInit() ... FAILED (-139)
     [m3vpss ]  54224: SYSTEM  : De-Initializing Links !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 'p'
     [m3vpss ]  54273: SYSTEM  : FREE SPACE : System Heap      = 1681112 B, Mbx = 10239 msgs)
     [m3vpss ]  54273: SYSTEM  : FREE SPACE : SR0 Heap         = 3623552 B (3 MB)
     [m3vpss ]  54273: SYSTEM  : FREE SPACE : Frame Buffer     = 252590976 B (240 MB)
     [m3vpss ]  54274: SYSTEM  : FREE SPACE : Bitstream Buffer = 123731840 B (117 MB)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 'p'
     [m3vpss ]  54274: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
     [m3vpss ]  54274: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
     [m3vpss ]  54281: SYSTEM  : De-Initializing Links ... DONE !!!
     [m3vpss ]  54281: SYSTEM  : System VPSS De-Init in progress !!!
     [m3vpss ]  54281: SYSTEM  : Platform Device De-init in progress !!!
     [m3vpss ]  54282: SYSTEM  : FVID2 De-init in progress !!!
     [m3vpss ]  54284: SYSTEM  : Platform De-init in progress !!!
     [m3vpss ]  54284: SYSTEM  : System VPSS De-Init Done !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ] Received character 'p'

     [host]
    Application Stop Completed

     [host]
    Application Unload Completed
    Msg_ThrFxn closing...
    Kill queue id:196614
    Msg_Kill done...

     [host]
    Exiting Usecase !!!
    #### Wait for McFW shutdown ...
    ApproDrvExit: 7
    CPU CurrentStatus is = 0
    VideoAnalytics DmvaEnable_Value = 1, Function = SetDmvaEnable, Line = 5298
    VideoAnalytics DmvaEnable_Value = 1, Function = SetDmvaPrm, Line = 5242
    Error: SemWait: Invalid Semaphore handler
    Error: SemRelease: Invalid Semaphore handler

    *****************************************************************

        IPNC BUILD VERSION: IPNC RDK VERSION 03.80.00.05 (FULL FEATURE)    

    *****************************************************************

    DEMOCFG Value    : 1
    Videocodecmode    : 8
    Videocodecres     : 0
    streamtype     : 2

     vsenable : 0
    ./bin/ipnc_rdk_mcfw.out   VA VNF_QUALITY TRISTREAM TRIPLE_H264 TI2A AEWB 1080P_D1 H264 HIGH_SPEED1 H264 HIGH_SPEED2 MJPEG 80 &
    skg_restart : Start of Init_stream_Function
    ApproDrvInit: 7
    Creat queue id:229382
    queue id:229382
    queue id:98307
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  55583: SYSTEM  : System VPSS Init in progress !!!
     [m3vpss ]  55584: SYSTEM: All VPDMA Free !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3vpss ]  55602: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3vpss ]  55602: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3vpss ]  55603: SYSTEM: ListElem Shared Addr = 0xbf58b680
     [m3vpss ]  55605: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3vpss ]  55605: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3vpss ]  55606: SYSTEM: ListElem Shared Addr = 0xbf58eb80
     [m3vpss ]  55619: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  55619: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  55620: SYSTEM: ListElem Shared Addr = 0xbf592080
     [m3vpss ]  55622: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  55623: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  55623: SYSTEM: ListElem Shared Addr = 0xbf5b1a80
     [m3video]  55633: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  55625: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_26] in region 0 ...
     [m3video]  55634: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3vpss ]  55626: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_26] in region 0 ...
     [m3video]  55635: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3vpss ]  55626: SYSTEM: ListElem Shared Addr = 0xbf5d1480
     [m3video]  55635: SYSTEM: ListElem Shared Addr = 0xbf60ab00
     [m3vpss ]  55632: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ]  55632: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_29] in region 0 ...
     [m3vpss ]  55633: SYSTEM: ListElem Shared Addr = 0xbf5f0e80
     [m3vpss ]  55635: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_30] in region 0 ...
     [m3vpss ]  55636: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_30] in region 0 ...
     [m3vpss ]  55637: SYSTEM: ListElem Shared Addr = 0xbf60e000
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  55638: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3vpss ]  55639: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  55639: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3vpss ]  55639: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  55639: SYSTEM: ListElem Shared Addr = 0xbf627c80
     [m3video]  55649: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
     [m3video]  55649: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
     [m3video]  55650: SYSTEM: ListElem Shared Addr = 0xbf62b180
     [m3video]  55652: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_30] in region 0 ...
     [m3video]  55652: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_30] in region 0 ...
     [m3video]  55653: SYSTEM: ListElem Shared Addr = 0xbf644e00
     [m3video]  55655: SYSTEM  : Initializing Links !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  55655: SYSTEM  : FREE SPACE : System Heap      = 6282064 B, Mbx = 10240 msgs)
     [m3video]  55655: SYSTEM  : FREE SPACE : SR0 Heap         = 2758272 B (2 MB)
     [m3video]  55656: SYSTEM  : FREE SPACE : Frame Buffer     = 256900992 B (244 MB)
     [m3video]  55656: SYSTEM  : FREE SPACE : Bitstream Buffer = 123731840 B (117 MB)
     [m3vpss ]  55722: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  55722: SYSTEM  : Device Init in progress !!!
     [m3video]  55657: SYSTEM  : FREE SPACE : Tiler 8-bit      = 134217728 B (128 MB)  - TILER ON
     [m3vpss ]  Iss_init called !!!!!!
     [m3video]  55657: SYSTEM  : FREE SPACE : Tiler 16-bit     = 134217728 B (128 MB)  - TILER ON
     [m3vpss ]  func: Iss_ispInit line: 734
     [m3vpss ]  func: Iss_ispInit line: 796
     [m3video] Entered the MctnfLink_init()
     [m3vpss ]  CPIS_init DONE !!!!!!
     [m3video]  55729: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ] initPrms.isI2cInitReq = 1
     [m3video]  55730: SYSTEM  : System Video Init Done !!!
     [m3vpss ] initPrms.isI2cInitReq = 1
     [c6xdsp ]  46558: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  56399: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  56403: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  56407: SYSTEM: ListElem Shared Addr = 0xbf65ea80
     [c6xdsp ]  56415: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  56419: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  56423: SYSTEM: ListElem Shared Addr = 0xbf67e480
     [c6xdsp ]  56431: SYSTEM: Creating ListMP [DSP_IPC_OUT_26] in region 0 ...
     [c6xdsp ]  56435: SYSTEM: Creating ListMP [DSP_IPC_IN_26] in region 0 ...
     [c6xdsp ]  56439: SYSTEM: ListElem Shared Addr = 0xbf69de80
     [c6xdsp ]  56446: SYSTEM: Creating ListMP [DSP_IPC_OUT_29] in region 0 ...
     [c6xdsp ]  56450: SYSTEM: Creating ListMP [DSP_IPC_IN_29] in region 0 ...
     [c6xdsp ]  56454: SYSTEM: ListElem Shared Addr = 0xbf6bd880
     [c6xdsp ]  56461: SYSTEM: Creating ListMP [DSP_IPC_OUT_30] in region 0 ...
     [c6xdsp ]  56466: SYSTEM: Creating ListMP [DSP_IPC_IN_30] in region 0 ...
     [c6xdsp ]  56470: SYSTEM: ListElem Shared Addr = 0xbf6d7500
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  46639: SYSTEM  : Initializing Links !!!
     [c6xdsp ]  56484: SYSTEM  : FREE SPACE : System Heap      = 6282440 B, Mbx = 10236 msgs)
     [c6xdsp ]  46695: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  Vps_deviceInit Daughter card not detected/connected!
     [c6xdsp ]  46697: SYSTEM  : System DSP Init Done !!!
     [m3vpss ]  I2C0: Passed for address 0x10 !!!
     [m3vpss ]  I2C0: Passed for address 0x18 !!!

     [host] #### MsgQ Alloc Size = 4
     ASSERT (system_ipc_msgq.c|System_ipcMsgQSendMsg|358)
     [m3vpss ]  I2C0: Passed for address 0x68 !!!
     [m3vpss ]  58447: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ] ###### deviceInitPrm.i2cRegs[0] : 0
     [m3vpss ] ###### deviceInitPrm.i2cRegs[2] : 0
     [m3vpss ] ###### deviceInitPrm.i2cIntNum[0] : 0
     [m3vpss ] ###### deviceInitPrm.i2cIntNum[2] : 0
     [m3vpss ] deviceInitPrm.i2cClkKHz[ISS_PLATFORM_EVM_I2C_INST_ID] : 0
     [m3vpss ] ###### ISS_PLATFORM_EVM_I2C_INST_ID : 0
     [m3vpss ]  58498: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  58499: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  58499: SYSTEM  : Initializing Links !!!
     [m3vpss ]  58499: SYSTEM  : FREE SPACE : System Heap      = 1677296 B, Mbx = 10239 msgs)
     [m3vpss ]  58499: SYSTEM  : FREE SPACE : SR0 Heap         = 2158464 B (2 MB)
     [m3vpss ]  58500: SYSTEM  : FREE SPACE : Frame Buffer     = 252590976 B (240 MB)
     [m3vpss ]  58500: SYSTEM  : FREE SPACE : Bitstream Buffer = 123731840 B (117 MB)
     [m3vpss ]  58500: SYSTEM  : FREE SPACE : Tiler 8-bit      = 116129792 B (110 MB)  - TILER ON
     [m3vpss ]  58501: SYSTEM  : FREE SPACE : Tiler 16-bit     = 98041856 B (93 MB)  - TILER ON
     [m3vpss ]  58636: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ] Received character 't'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 't'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 't'

     [host] Application Start Completed
    DMA: Module install successful, device major num = 247
    DRV: Module install successful
    DRV: Module built on Apr 14 2015 16:26:06

     [host] QUAD_STREAM_H264_USE_CASE
    Entered : write_info

     [host]  0: SYSTEM: System Common Init in progress !!!

     [host]  0: SYSTEM: IPC init in progress !!!

     [host]  12: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!

     [host]  13: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!

     [host]  13: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!

     [host]  13: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!

     [host]  13: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...

     [host]  14: SYSTEM: Creating MsgQ [HOST_MSGQ] ...

     [host]  26: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...

     [host]  29: SYSTEM: Opening MsgQ [DSP_MSGQ] ...

     [host]  30: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...

     [host]  32: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...

     [host]  35: SYSTEM: Notify register to [DSP] line 0, event 12 ...

     [host]  36: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...

     [host]  37: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...

     [host]  37: SYSTEM: IPC init DONE !!!

     [host]  39: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...

     [host]  40: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...

     [host]  42: SYSTEM: ListElem Shared Addr = 0x40f15400

     [host]  43: SYSTEM: Creating ListMP [HOST_IPC_OUT_30] in region 0 ...

     [host]  44: SYSTEM: Creating ListMP [HOST_IPC_IN_30] in Entered : write_info
    region 0 ...

     [host]  46: SYSTEM: ListElem Shared Addr = 0x40f2f080

     [hoDMA: ChannelID allocated:4
    st]  47: SYSTEM:DMA: ChannelID allocated:5
     Creating ListMP [HOST_IPC_OUT_24] in region 0 ...

     [host]  49: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...

     [host]  50: SYSTEM: ListElem Shared Addr = 0x40f68480

     [host]  51: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...

     [host]  53: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...

     [host]  54: SYSTEM: ListElem Shared Addr = 0x40f87e80

     [host]  55: SYSTEM: Creating ListMP [HOST_IPC_OUT_26] in region 0 ...

     [host]  57: SYSTEM: Creating ListMP [HOST_IPC_IN_26] in region 0 ...

     [host]  58: SYSTEM: ListElem Shared Addr = 0x40fa7280

     [host]  58: SYSTEM: System Common Init Done !!!

     [host] Vsys_allocBuf - addr = 0x4f58d000,size = 130023424
    ##########pInfo->totalsize 105840640

     [host] MemMng_memcpy_open:OSA_dmaOpen passed with ch id = 4

     [host] CacheMng_MemCpy_open:OSA_dmaOpen passed with ch id = 5

     [host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:Entered...
     [host] Vsys_allocBuf - addr = 0x5843b000,size = 33603

     [host] DCC buffer allocated for size 33603

     [host] DCC Default File Intialization Done

     [host] ******************** SMART ANALYTICS USECASE WITH QUAD STREAM ********************

     [host] ****** H264-1080p@30fps + H264-1080p@30fps + H264-D1@15fps + H264-D1@15fps ******


     [host]  177: MCFW  : CPU Revision [ES2.1] !!!

     [host]  177: MCFW  : Detected [UNKNOWN] Board !!!

     [host]  177: MCFW  : Base Board Revision [REV A] !!!
     [m3vpss ]  58820: CAMERA: Create in progress !!!
     [m3vpss ]  Channel Num Stream 0 Ch 0 ChannelNum 0
     [m3vpss ]  Channel Num Stream 1 Ch 0 ChannelNum 1
     [m3vpss ]  58821: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!!
     [m3vpss ]  58821: CAMERA: VIP 0: VID DEC 268436737 (0x10): 0002:20202020:20202020, AUD_STATUS 538976288
     [m3vpss ] Iss_captCreate:1661
     [m3vpss ] !!!!!!!!!!!!!! IssAlg_capt2AInit, Entered
     [m3vpss ]  func: Iss_captCreate line: 1838
     [m3vpss ] !!!!!!!!!!!!!! IssAlg_capt2AInit, Entered
     [m3vpss ]  58826: CAMERA: Create Done !!!
     [m3vpss ]  58919: CAMERA: Detect video in progress !!!
     [m3vpss ]  58919: CAMERA: Detect video Done !!!
     [m3vpss ]  59204: DUP   : Create Done !!!
     [m3vpss ]  59211: DUP   : Create Done !!!
     [m3vpss ]  IssAlg_captTsk2A:2172: 2A task Main function Entered !!!
     [m3vpss ] DCC server task running
     [m3vpss ]  59215: SCLR: Create in progress !!!
     [m3vpss ]  59280: SCLR    : Loading Up-scaling Co-effs ...
     [m3vpss ]  59281: SCLR    : Co-effs Loading ... DONE !!!
     [m3vpss ] SCLR:HEAPID:0    USED:64
     [m3vpss ] SCLR:HEAPID:1    USED:5952
     [m3vpss ]  59281: SCLR: Create Done !!!
     [m3vpss ]  59281: SCLR: Create in progress !!!
     [m3vpss ]  59294: SCLR    : Loading Up-scaling Co-effs ...
     [m3vpss ]  59294: SCLR    : Co-effs Loading ... DONE !!!
     [m3vpss ] SCLR:HEAPID:0    USED:64
     [m3vpss ] SCLR:HEAPID:1    USED:2432
     [m3vpss ]  59294: SCLR: Create Done !!!
     [m3vpss ]  59295: DEI    : Create in progress !!!
     [m3vpss ]  59310: DEI: OUT1:  0: 0xb1b61280, 720 x 480, 4 frames
     [m3vpss ]  59312: DEI     : Loading Down-scaling Co-effs
     [m3vpss ]  59312: DEI     : Co-effs Loading ... DONE !!!
     [m3vpss ] DEI:HEAPID:0    USED:64
     [m3vpss ] DEI:HEAPID:1    USED:4528
     [m3vpss ]  59312: DEI    : Create Done !!!
     [m3vpss ]  59313: DEI    : Create in progress !!!
     [m3vpss ]  59328: DEI: OUT1:  0: 0xb1d5b680, 720 x 480, 4 frames
     [m3vpss ]  59329: DEI     : Loading Down-scaling Co-effs
     [m3vpss ]  59329: DEI     : Co-effs Loading ... DONE !!!
     [m3vpss ] DEI:HEAPID:0    USED:64
     [m3vpss ] DEI:HEAPID:1    USED:1008
     [m3vpss ]  59329: DEI    : Create Done !!!
     [m3vpss ]  59332: MERGE   : Create Done !!!
     [m3vpss ] {SWOSD} edma3Handle->tccVal = 36
     [m3vpss ] {SWOSD} edma3Handle->chId   = 36
     [m3vpss ] {SWOSD} edma3Handle->tccVal = 37
     [m3vpss ] {SWOSD} edma3Handle->chId   = 37
     [m3vpss ] {SWOSD} edma3Handle->tccVal = 38
     [m3vpss ] {SWOSD} edma3Handle->chId   = 38
     [m3vpss ] {SWOSD} edma3Handle->tccVal = 39
     [m3vpss ] {SWOSD} edma3Handle->chId   = 39
     [m3vpss ]  59134: SWOSD   : Create Done !!!
     [m3vpss ]  59412: SCLR: Create in progress !!!
     [m3video]  59425: IPC_IN_M3   : Create in progress !!!
     [m3vpss ]  59416: SCLR    : Loading Up-scaling Co-effs ...
     [m3video]  59426: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ]  59416: SCLR    : Co-effs Loading ... DONE !!!
     [m3video]  59427: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3video]  59430: IPC_IN_M3   : Create Done !!!
     [m3vpss ] SCLR:HEAPID:0    USED:64
     [m3video]  59431: ENCODE: Create in progress ... !!!
     [m3vpss ] SCLR:HEAPID:1    USED:2432
     [m3vpss ]  59416: SCLR: Create Done !!!
     [m3vpss ]  59145: FD   : Alg Create Done !!!
     [m3vpss ]  59145: FD   : Create Done !!!
     [m3vpss ]  59424: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  59425: IPC_OUT_M3   : Create Done !!!
     [m3video]  59525: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 8000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0    USED:13272
     [m3video]  59610: ENCODE: Creating CH1 of 720 x 480, pitch = (736, 736) [PROGRESSIVE] [NON-TILED  ], bitrate = 8000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0    USED:11720
     [m3video]  59695: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0    USED:11720
     [m3video]  59779: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...

     [host] IpcBitsInLink_tskMain:Entered
     [host]  822: IPC_BITS_IN   : Create in progress !!!

     [host]  822: IPC_BITS_IN   : ListMPOpen start !!!

     [host]  822: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_29] ...

     [host]  824: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_29] ...

     [host]  826: IPC_BITS_IN   : ListMPOpen done !!!

     [host]  827: IPC_BITS_IN   : System_linkGetInfo done !!!

     [host]  827: IPC_BITS_IN   : Create Done !!!

     [host] ****************** Usecase Done **********************
     [m3vpss ]  59603: CAMERA: Start in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0    USED:11720
     [m3vpss ]  59603: CAMERA: Start Done !!!
     [m3video]  59864: ENCODE: All CH Create ... DONE !!!
     [m3video] ENCLINK:HEAPID:0    USED:48760
     [m3video]  59867: ENCODE: Create ... DONE !!!
     [m3video]  59867: IPC_BITS_OUT   : Create in progress !!!
     [m3video]  59870: IPC_BITS_OUT   : Create Done !!!

     [host]
    Application Run Completed
     [m3vpss ] TI_2A_UpdateDynamicParams1 1024 brightness: 128  pObj: 0
     [m3vpss ] TI_2A_UpdateDynamicParams1 1026 contrast: 128  pObj: 0
     [m3vpss ] TI_2A_UpdateDynamicParams1 1041 saturation: 128  pObj: 0
     [m3vpss ] TI_2A_UpdateDynamicParams1 1054 sharpness: 128  pObj: 0
     [m3vpss ]  59749: CAMERA: Fields = 2 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
     [m3video]  Channel:2 inputframerate:30 targetfps:60
     [m3video]  Channel:3 inputframerate:30 targetfps:60
     [m3video]  Channel:0 inputframerate:30 targetfps:60
     [m3video]  Channel:1 inputframerate:30 targetfps:60

     [host] ITT server task running !!!

     [host]
     ITT ittServer_run

     [host] ITT Server Message initialization successful

     [host]
     ITT capture task created

     [host] DCC server Message ques is open succefully

     [host] Setting cmd <1> in message <40d2f180>

     [host] Posting message <40d2f180> in QId <20002>

     [host] Response from M3 is : 1
     [m3vpss ] Command 1 recived from HOST A8

     [host] Response from M3 is : 1

     [host] Default parameters were sent sucessfully

     [host] Server Socket created with ID <23>
     [m3vpss ] Command 2 recived from HOST A8
     [m3vpss ] New DCC data of size <33603>
     [m3vpss ] Call to VNF_LINK_CMD_UPDATE_DCC -1
     [m3video]  ==================== EncLink_PrintDetails ====================
     [m3video]     79980: HDVICP-ID:0
     [m3video]         totalAcquire2wait in msec:       680
     [m3video]         totalWait2Isr in msec:     16145
     [m3video]         totalIsr2Done in msec:        48
     [m3video]         totalWait2Done in msec:     16193
     [m3video]         totalDone2Release in msec:         0
     [m3video]         totalAcquire2Release in msec:     17125
     [m3video]         totalAcq2acqDelay in msec:      2822
     [m3video]         totalElapsedTime in msec:     19947
     [m3video]         numAccessCnt:      2060
     [m3video]         IVA-FPS :       108
     [m3video]  
     [m3video]  *** ENCODE Statistics ***
     [m3video]  
     [m3video]  Elasped Time           : 19 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In Skip In User  Out Latency  
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      26       0        0 26.05  33 /  48
     [m3video]    1 |      26       0        0 26.00  36 /  54
     [m3video]    2 |      26       0        0 26.00   9 /  24
     [m3video]    3 |      26       0        0 26.00  14 /  27
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 1
     [m3video] IVAHD_0 Max achieved Batch Size : 2
     [m3video]  ==============================================================

     [host]
    Usecase is Active !!!
     [m3video]  ==================== EncLink_PrintDetails ====================
     [m3video]     101277: HDVICP-ID:0
     [m3video]         totalAcquire2wait in msec:      1468
     [m3video]         totalWait2Isr in msec:     33400
     [m3video]         totalIsr2Done in msec:       105
     [m3video]         totalWait2Done in msec:     33505
     [m3video]         totalDone2Release in msec:         0
     [m3video]         totalAcquire2Release in msec:     35450
     [m3video]         totalAcq2acqDelay in msec:      5794
     [m3video]         totalElapsedTime in msec:     41238
     [m3video]         numAccessCnt:      4260
     [m3video]         IVA-FPS :       103
     [m3video]  
     [m3video]  *** ENCODE Statistics ***
     [m3video]  
     [m3video]  Elasped Time           : 21 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In Skip In User  Out Latency  
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      25       0        0 25.38  33 /  48
     [m3video]    1 |      25       0        0 25.43  37 /  62
     [m3video]    2 |      25       0        0 25.38   9 /  25
     [m3video]    3 |      25       0        0 25.38  13 /  27
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 1
     [m3video] IVAHD_0 Max achieved Batch Size : 2
     [m3video]  ==============================================================


  • Anand,

    Waiting for your reply.

    Regards,
    Sandip
  • Hi Anand,
    Possible to resolved this Restart Issue ? Please..

    Regards,
    Sandip Gokani
  • Hi,

    In the first log, i see that the VPSS M3 core hung in System_deInit() fn (..\ipnc_rdk\ipnc_mcfw\mcfw\src_bios6\links_m3vpss\system\system_m3vpss.c) pl. check this.

    The errors in the second log like '[host] CacheMng_Video_Free: search cache fail!!' are not normal and we have not seen these kind of errors.

    These could be result of your changes in the bitstream management code i.e ..\ipnc_rdk\ipnc_mcfw\demos\mcfw_api_demos\stream\mem_mng.c and ..\ipnc_rdk\ipnc_mcfw\demos\mcfw_api_demos\stream\cache_mng.c which support only 3 streams whereas you are generating 4 streams.

    How are you handling the bitstream from the 4th stream?

     

    regards,

    Anand

     

  • Hi,

    Sry for late reply.

    I had checked all files like ..\ipnc_rdk\ipnc_mcfw\mcfw\src_bios6\links_m3vpss\system\system_m3vpss.c and mem_mng.c or cache_mng.c.

    But not getting succeed.

    Can you please more help on this? There are log files are for your reference already.

    Regards,

    Sandip