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.

system hang when decode 36 channels

Other Parts Discussed in Thread: TVP5158

Hi,

I use rdk03.00.00.00 to run "decode display" demo. I use 32 channel decoder can be work fine. But when I increase decode channel number to 36, the system will be hang. what decode channel number does rdk3.0 support? it should be support max 64 channels. Anyone can give me a suggestion?

Thanks,

Jacson

  • Can you share the console logs (with remote_debug_client.out running) to determine the cause of the hang.We need to check if it is memory allocation issue.I assume you are running on TI816x.

  • Hi Badri Narayanan,

    Please see following console log, I don't find any cause hang message. I observe the display, the image have been show a few second, and some channel will be stop update, it seems someone hdvicp hw hang. and all channel will be stop update after more time. At this state, I can't exit demo program when press 'e' , the log only show
     [m3video]  1191516: DECODE: Stop in progress !!!

    I am running on ti816x and own 2G ram.

    root@dm816x:/opt/dvr_rdk/ti816x#
    root@dm816x:/opt/dvr_rdk/ti816x#
    root@dm816x:/opt/dvr_rdk/ti816x# ./run.sh [J


     =========

     Main Menu

     =========



     1: VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode

     2: VCAP + VENC        + VDIS  - SD Encode ONLY

     3: VCAP + VENC        + VDIS  - HD Encode ONLY

     4:               VDEC + VDIS  - SD/HD Decode ONLY

     5: VCAP               + VDIS  - NO Encode or Decode



     e: Exit



     Enter Choice: 4
     0: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     0: WARNING: Either the displaydelay was not set or Default value was set as 0
     0: WARNING: Either the Num of output buffers not set or Default value was set as zero
     1: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     1: WARNING: Either the displaydelay was not set or Default value was set as 0
     1: WARNING: Either the Num of output buffers not set or Default value was set as zero
     2: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     2: WARNING: Either the displaydelay was not set or Default value was set as 0
     2: WARNING: Either the Num of output buffers not set or Default value was set as zero
     3: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     3: WARNING: Either the displaydelay was not set or Default value was set as 0
     3: WARNING: Either the Num of output buffers not set or Default value was set as zero
     4: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     4: WARNING: Either the displaydelay was not set or Default value was set as 0
     4: WARNING: Either the Num of output buffers not set or Default value was set as zero
     5: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     5: WARNING: Either the displaydelay was not set or Default value was set as 0
     5: WARNING: Either the Num of output buffers not set or Default value was set as zero
     6: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     6: WARNING: Either the displaydelay was not set or Default value was set as 0
     6: WARNING: Either the Num of output buffers not set or Default value was set as zero
     7: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     7: WARNING: Either the displaydelay was not set or Default value was set as 0
     7: WARNING: Either the Num of output buffers not set or Default value was set as zero
     8: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     8: WARNING: Either the displaydelay was not set or Default value was set as 0
     8: WARNING: Either the Num of output buffers not set or Default value was set as zero
     9: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     9: WARNING: Either the displaydelay was not set or Default value was set as 0
     9: WARNING: Either the Num of output buffers not set or Default value was set as zero
     10: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     10: WARNING: Either the displaydelay was not set or Default value was set as 0
     10: WARNING: Either the Num of output buffers not set or Default value was set as zero
     11: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     11: WARNING: Either the displaydelay was not set or Default value was set as 0
     11: WARNING: Either the Num of output buffers not set or Default value was set as zero
     12: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     12: WARNING: Either the displaydelay was not set or Default value was set as 0
     12: WARNING: Either the Num of output buffers not set or Default value was set as zero
     13: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     13: WARNING: Either the displaydelay was not set or Default value was set as 0
     13: WARNING: Either the Num of output buffers not set or Default value was set as zero
     14: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     14: WARNING: Either the displaydelay was not set or Default value was set as 0
     14: WARNING: Either the Num of output buffers not set or Default value was set as zero
     15: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     15: WARNING: Either the displaydelay was not set or Default value was set as 0
     15: WARNING: Either the Num of output buffers not set or Default value was set as zero
     16: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     16: WARNING: Either the displaydelay was not set or Default value was set as 0
     16: WARNING: Either the Num of output buffers not set or Default value was set as zero
     17: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     17: WARNING: Either the displaydelay was not set or Default value was set as 0
     17: WARNING: Either the Num of output buffers not set or Default value was set as zero
     18: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     18: WARNING: Either the displaydelay was not set or Default value was set as 0
     18: WARNING: Either the Num of output buffers not set or Default value was set as zero
     19: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     19: WARNING: Either the displaydelay was not set or Default value was set as 0
     19: WARNING: Either the Num of output buffers not set or Default value was set as zero
     20: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     20: WARNING: Either the displaydelay was not set or Default value was set as 0
     20: WARNING: Either the Num of output buffers not set or Default value was set as zero
     21: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     21: WARNING: Either the displaydelay was not set or Default value was set as 0
     21: WARNING: Either the Num of output buffers not set or Default value was set as zero
     22: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     22: WARNING: Either the displaydelay was not set or Default value was set as 0
     22: WARNING: Either the Num of output buffers not set or Default value was set as zero
     23: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     23: WARNING: Either the displaydelay was not set or Default value was set as 0
     23: WARNING: Either the Num of output buffers not set or Default value was set as zero
     24: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     24: WARNING: Either the displaydelay was not set or Default value was set as 0
     24: WARNING: Either the Num of output buffers not set or Default value was set as zero
     25: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     25: WARNING: Either the displaydelay was not set or Default value was set as 0
     25: WARNING: Either the Num of output buffers not set or Default value was set as zero
     26: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     26: WARNING: Either the displaydelay was not set or Default value was set as 0
     26: WARNING: Either the Num of output buffers not set or Default value was set as zero
     27: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     27: WARNING: Either the displaydelay was not set or Default value was set as 0
     27: WARNING: Either the Num of output buffers not set or Default value was set as zero
     28: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     28: WARNING: Either the displaydelay was not set or Default value was set as 0
     28: WARNING: Either the Num of output buffers not set or Default value was set as zero
     29: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     29: WARNING: Either the displaydelay was not set or Default value was set as 0
     29: WARNING: Either the Num of output buffers not set or Default value was set as zero
     30: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     30: WARNING: Either the displaydelay was not set or Default value was set as 0
     30: WARNING: Either the Num of output buffers not set or Default value was set as zero
     31: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     31: WARNING: Either the displaydelay was not set or Default value was set as 0
     31: WARNING: Either the Num of output buffers not set or Default value was set as zero
     32: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     32: WARNING: Either the displaydelay was not set or Default value was set as 0
     32: WARNING: Either the Num of output buffers not set or Default value was set as zero
     33: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     33: WARNING: Either the displaydelay was not set or Default value was set as 0
     33: WARNING: Either the Num of output buffers not set or Default value was set as zero
     34: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     34: WARNING: Either the displaydelay was not set or Default value was set as 0
     34: WARNING: Either the Num of output buffers not set or Default value was set as zero
     35: Opening file [/data/longman_720x480.264] of 720 x 480  Codec: h264...
     35: WARNING: Either the displaydelay was not set or Default value was set as 0
     35: WARNING: Either the Num of output buffers not set or Default value was set as zero
    gVdecVdis_config.numRes : 1 gVdecVVPSS_GRPX : (1)- venc 4 not running.
    dis_config.numChnlInRes[0] : 36
     File open ... DONE !!!
     
    --------------- CHANNEL DETAILS-------------
    Dec Channels => 36
    Disp Channels => 36
    -------------------------------------------
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     12: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     13: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     15: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     16: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     18: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     19: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     19: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     20: SYSTEM: IPC init DONE !!!
     21: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     23: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     25: SYSTEM: ListElem Shared Addr = 0x2b9b0300
     26: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     28: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     30: SYSTEM: ListElem Shared Addr = 0x2b9cde00
     31: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     34: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     35: SYSTEM: ListElem Shared Addr = 0x2ba0b080
     36: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     39: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     40: SYSTEM: ListElem Shared Addr = 0x2ba2aa80
     42: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     44: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     45: SYSTEM: ListElem Shared Addr = 0x2ba49f00
     62: SYSTEM: System Common Init Done !!!
    ch[0], h264
    ch[1], h264
    ch[2], h264
    ch[3], h264
    ch[4], h264
    ch[5], h264
    ch[6], h264
    ch[7], h264
    ch[8], h264
    ch[9], h264
    ch[10], h264
    ch[11], h264
    ch[12], h264
    ch[13], h264
    ch[14], h264
    ch[15], h264
    ch[16], h264
    ch[17], h264
    ch[18], h264
    ch[19], h264
    ch[20], h264
    ch[21], h264
    ch[22], h264
    ch[23], h264
    ch[24], h264
    ch[25], h264
    ch[26], h264
    ch[27], h264
    ch[28], h264
    ch[29], h264
    ch[30], h264
    ch[31], h264
    ch[32], h264
    ch[33], h264
    ch[34], h264
    ch[35], h264
     [FBDEV]
     [FBDEV] FB: Starting !!!
     [FBDEV] FB: Opened device [/dev/fb0] (fd=56) !!!
     [FBDEV]
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 2560
     [FBDEV] Physical Address = fea00000
     [FBDEV] Buffer Length = 8294400
     [FBDEV]
     [FBDEV]
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 1280
     [FBDEV] Yres - 720
     [FBDEV] Xres Virtual - 1280
     [FBDEV] Yres Virtual - 720
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 6734
     [FBDEV] Rotation - 0
     [FBDEV]
     [FBDEV]
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 1, sten en 0
     [FBDEV] tran en 1, type 0, key 16777215
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV]
     [FBDEV]
     [FBDEV] ### BUF SIZE = 1843200 Bytes !!!
     [FBDEV]
     [FBDEV]
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 2560
     [FBDEV] Physical Address = fea00000
     [FBDEV] Buffer Length = 8294400
     [FBDEV]
     [FBDEV]
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 1280
     [FBDEV] Yres - 720
     [FBDEV] Xres Virtual - 1280
     [FBDEV] Yres Virtual - 720
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 6734
     [FBDEV] Rotation - 0
     [FBDEV]
     [FBDEV]
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 1, sten en 0
     [FBDEV] tran en 1, type 0, key 16777215
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV]
     [FBDEV]
     [FBDEV] ### BUF SIZE = 1843200 Bytes !!!
     [FBDEV]
     [FBDEV] grpx_fb_draw ...
     [FBDEV] grpx_fb_draw ... Done !!!
     [FBDEV] FB: Start DONE !!!
     [FBDEV]
     197: MCFW  : CPU Revision [ES2.0] !!!

     197: MCFW  : Detected [(null)] Board !!!

     197: MCFW  : Base Board Revision [DVR] !!!

     198: MCFW  : Daughter Card Revision [DVR] !!!



     [host]  199: IPC_BITS_OUT   : Create in progress !!!
    ###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2c731080 To Phy:0x88000080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:1,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2c92b480 To Phy:0x881fa480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:2,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2cb25880 To Phy:0x883f4880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:3,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2cd1fc80 To Phy:0x885eec80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:4,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2cf1a080 To Phy:0x887e9080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:5,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d114480 To Phy:0x889e3480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:6,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d30e880 To Phy:0x88bdd880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:7,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d508c80 To Phy:0x88dd7c80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:8,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d703080 To Phy:0x88fd2080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:9,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d8fd480 To Phy:0x891cc480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:10,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2daf7880 To Phy:0x893c6880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:11,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2dcf1c80 To Phy:0x895c0c80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:12,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2deec080 To Phy:0x897bb080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:13,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2e0e6480 To Phy:0x899b5480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:14,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2e2e0880 To Phy:0x89baf880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:15,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2e4dac80 To Phy:0x89da9c80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:16,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2e6d5080 To Phy:0x89fa4080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:17,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2e8cf480 To Phy:0x8a19e480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:18,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2eac9880 To Phy:0x8a398880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:19,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2ecc3c80 To Phy:0x8a592c80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:20,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2eebe080 To Phy:0x8a78d080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:21,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2f0b8480 To Phy:0x8a987480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:22,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2f2b2880 To Phy:0x8ab81880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:23,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2f4acc80 To Phy:0x8ad7bc80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:24,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2f6a7080 To Phy:0x8af76080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:25,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2f8a1480 To Phy:0x8b170480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:26,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2fa9b880 To Phy:0x8b36a880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:27,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2fc95c80 To Phy:0x8b564c80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:28,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x2fe90080 To Phy:0x8b75f080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:29,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x3008a480 To Phy:0x8b959480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:30,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x30284880 To Phy:0x8bb53880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:31,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x3047ec80 To Phy:0x8bd4dc80###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:32,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x30679080 To Phy:0x8bf48080###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:33,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x30873480 To Phy:0x8c142480###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:34,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x30a6d880 To Phy:0x8c33c880###Bit buff of size from the SR # 1 : 2073600


     [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:35,Size:0x1FA400

     [host] IPCBITSOUTLINK:Translated Addr Virt:0x30c67c80 To Phy:0x8c536c80

     [host]  874: IPC_BITS_OUT   : Create Done !!!
     [m3video]  103821: IPC_BITS_IN   : Create in progress !!!
     [m3video]  103821: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] ...
     [m3video]  103821: SYSTEM: Opening ListMP [HOST_IPC_IN_24] ...
     [m3video]  103824: IPC_BITS_IN   : Create Done !!!
     [m3video]  103824: DECODE: Create in progress ... !!!
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  103867: DECODE: Creating CH0 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  103910: DECODE: Creating CH1 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  103952: DECODE: Creating CH2 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  103994: DECODE: Creating CH3 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104037: DECODE: Creating CH4 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104079: DECODE: Creating CH5 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104121: DECODE: Creating CH6 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104164: DECODE: Creating CH7 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104206: DECODE: Creating CH8 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104248: DECODE: Creating CH9 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104291: DECODE: Creating CH10 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104333: DECODE: Creating CH11 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104375: DECODE: Creating CH12 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104418: DECODE: Creating CH13 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104460: DECODE: Creating CH14 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104502: DECODE: Creating CH15 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104545: DECODE: Creating CH16 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104587: DECODE: Creating CH17 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104630: DECODE: Creating CH18 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104672: DECODE: Creating CH19 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104714: DECODE: Creating CH20 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104757: DECODE: Creating CH21 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104799: DECODE: Creating CH22 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104841: DECODE: Creating CH23 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104884: DECODE: Creating CH24 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104926: DECODE: Creating CH25 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  104969: DECODE: Creating CH26 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105011: DECODE: Creating CH27 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105053: DECODE: Creating CH28 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105096: DECODE: Creating CH29 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105138: DECODE: Creating CH30 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105180: DECODE: Creating CH31 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105223: DECODE: Creating CH32 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105265: DECODE: Creating CH33 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3video]  105307: DECODE: Creating CH34 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3video] DECLINK_H264:HEAPID:0    USED:2368
     [m3vpss ]  105355: IPC_IN_M3   : Create in progress !!!
     [m3video] DECLINK_H264:HEAPID:3    USED:4444160
     [m3vpss ]  105355: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] ...
     [m3video]  105350: DECODE: Creating CH35 of 720 x 480 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2000 Kbps ...
     [m3vpss ]  105355: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] ...
     [m3video]  105351: DECODE: All CH Create ... DONE !!!
     [m3vpss ]  105357: IPC_IN_M3   : Create Done !!!
     [m3video] DECLINK:HEAPID:0    USED:85368
     [m3vpss ]  105358: MP_SCLR: Create in progress !!!
     [m3video] DECLINK:HEAPID:3    USED:322560000
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3video]  105353: DECODE: Create ... DONE !!!
     [m3vpss ]  105359: MP_SCLR: Create Done !!!
     [m3video]  105354: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  105363: DUP   : Create Done !!!
     [m3video]  105354: IPC_OUT_M3   : Create Done !!!
     [m3vpss ]  105363: SWMS: Create in progress !!!
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 59 (59)
     [m3vpss ] SWMS: instance 0, sc id 4, start win 0 end win 15
     [m3vpss ]  105504: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ...
     [m3vpss ]  105504: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ...
     [m3vpss ]  105505: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ] SWMS: instance 1, sc id 7, start win 16 end win 33
     [m3vpss ]  105505: SWMS    : VipScReq is FALSE!!!
     [m3vpss ]  105508: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ...
     [m3vpss ]  105508: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ...
     [m3vpss ]  105508: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ]  105509: SWMS    : ******* Configuring clock 32 secs...
     [m3vpss ]  105509: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ...
     [m3vpss ]  105509: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ...
     [m3vpss ]  105509: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters ***
     [m3vpss ]  
     [m3vpss ]  Output FPS: 29
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |    0,    0 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |  736,    0 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |    0,  500 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |  736,  500 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    4 |   4 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,    0 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    5 |   5 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  250 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    6 |   6 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  500 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    7 |   7 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  750 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]  
     [m3vpss ] SWMS:HEAPID:0    USED:424
     [m3vpss ] SWMS:HEAPID:1    USED:64352
     [m3vpss ] SWMS:HEAPID:4    USED:29030400
     [m3vpss ]  105513: SWMS: Create Done !!!
     [m3vpss ]  105513: DISPLAY: Create in progress !!!
     [m3vpss ]  105514: DISPLAY: Create Done !!!
     [m3vpss ]  105515: DISPLAY: Start in progress !!!


     =============

     Run-Time Menu

     =============



     1: Capture Settings

     2: Encode  Settings

     3: Decode  Settings

     4: Display Settings

     5: Audio   Capture / Playback Settings



     6: Audio Capture <TVP5158> & Encode <AAC-LC> demo

     7: Audio encode demo <AAC-LC File In/Out>

     8: Audio decode demo <AAC-LC File In/Out>



     i: Print detailed system information

     s: Core Status: Active/In-active

     f: Switch IVA Channel Map



     e: Stop Demo



     Enter Choice:  [m3vpss ]  105573: DISPLAY: Start Done !!!
     [m3vpss ]  105573: DISPLAY: HDDAC(BP0) : 34 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!
     [m3vpss ]  105573: SWMS: Start in Progress !!!
     [m3vpss ]  105573: SWMS: Start Done !!!
     [m3vpss ]  105574: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 0, HDDAC(BP0) 0, DVO2(BP1) 0, SDDAC(SEC1) 0
     [m3vpss ]  105574: SYSTEM  : FREE SPACE : System Heap      = 6280 B, Mbx = 10239 msgs)
     [m3vpss ]  105574: SYSTEM  : FREE SPACE : SR0 Heap         = 11002240 B (10 MB)


     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print.. [m3vpss ]  105574: SYSTEM  : FREE SPACE : Frame Buffer     = 694510464 B (662 MB)
     [m3vpss ]  105574: SYSTEM  : FREE SPACE : Bitstream Buffer = 143978368 B (137 MB)
     [m3vpss ]  105574: SYSTEM  : FREE SPACE : Tiler Buffer     = 127 B (0 MB)  - TILER OFF
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[0],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[1],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[2],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[3],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[4],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[5],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[6],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[7],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[8],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[9],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[10],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[11],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[12],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[13],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[14],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[15],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[16],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[17],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[18],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[19],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[20],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[21],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[22],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[23],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[24],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[25],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[26],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[27],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[28],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[29],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[30],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[31],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[32],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[33],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[34],FirstPTS[0]
     [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[35],FirstPTS[0]


     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..nfs: server 192.168.33.82 not responding, still trying


     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..nfs: server 192.168.33.82 not responding, still trying


     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..


     =============

     Run-Time Menu

     =============



     1: Capture Settings

     2: Encode  Settings

     3: Decode  Settings

     4: Display Settings

     5: Audio   Capture / Playback Settings



     6: Audio Capture <TVP5158> & Encode <AAC-LC> demo

     7: Audio encode demo <AAC-LC File In/Out>

     8: Audio decode demo <AAC-LC File In/Out>



     i: Print detailed system information

     s: Core Status: Active/In-active

     f: Switch IVA Channel Map



     e: Stop Demo



     Enter Choice:

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..

     [host] MCFW_IPCBITS:VdecVdis_bitsRdSendFxn:INFO: periodic print..e
     [m3video]  1191516: DECODE: Stop in progress !!!




  • In the hung state can you share the logs of

     i: Print detailed system information

    and

    "b"

  • Can you pls try with the following modification in file /dvr_rdk/mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c

    Fucntion :

    static Int32 DecLink_PrepareBatch  (DecLink_Obj *pObj, UInt32 tskId,                                    DecLink_ReqObj *pReqObj,                                    DecLink_ReqBatch *pReqObjBatch)

    PATCH START

    ================================================================================ 

    ------------ mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c ------------
    diff --git a/mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c b/mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c
    index ed3dc2d..ca359d3 100755
    --- a/mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c
    +++ b/mcfw/src_bios6/links_m3video/iva_dec/decLink_common.c
    @@ -2431,7 +2431,7 @@
       /*Since this is the first ReqList in the Batch, the channel submit and codec
          submit bits wont have been set a-priori.*/
       pReqObjBatch->channelSubmittedFlag = pReqObjBatch->channelSubmittedFlag |
    -                                        (0x1 << channelId);
    +                                        (((UInt64)0x1ULL) << channelId);
     
       maxBatchSize = DEC_LINK_GROUP_SUBM_MAX_SIZE;
     
    @@ -2587,7 +2587,7 @@
         }
     
         /*Check if the channel has already been inserted in the batch*/
    -    if (pReqObjBatch->channelSubmittedFlag & (0x1 << newObjChannelId))
    +    if (pReqObjBatch->channelSubmittedFlag & (((UInt64)0x1ULL) << newObjChannelId))
         {
           /*Codec doesnt support multiple entries of the same channel in the same
             multi process call. So the batch generation ends here.*/
    @@ -2602,7 +2602,7 @@
         {
           /*This is a new channel so set the bit for this channel*/
           pReqObjBatch->channelSubmittedFlag = pReqObjBatch->channelSubmittedFlag |
    -                                           (0x1 << newObjChannelId);
    +                                           (((UInt64)0x1ULL) << newObjChannelId);
         }
     
    ================================================================================

    PATCH END

     

    Below is the full function for your reference. Pls compare with your version:

    static Int32 DecLink_PrepareBatch  (DecLink_Obj *pObj, UInt32 tskId,
                                       DecLink_ReqObj *pReqObj,
                                       DecLink_ReqBatch *pReqObjBatch)
    {
      Int32 channelId, newObjChannelId, codecClassSwitch = 0;
      Int32 status = FVID2_SOK;
      UInt32 contentType;
    #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
      Int32 i;
    #endif

      Bool batchPreperationDone = FALSE;
      DecLink_ReqObj *pNewReqObj;
      DecLink_ChObj *pChObj;
      Int32 maxBatchSize;

      /*Reset the submitted flag at the start of batch preperation*/
      pReqObjBatch->channelSubmittedFlag = 0x0;
      pReqObjBatch->codecSubmittedFlag = 0x0;
      pReqObjBatch->numReqObjsInBatch = 0;

      pReqObjBatch->pReqObj[pReqObjBatch->numReqObjsInBatch++] = pReqObj;

      channelId = pReqObj->InBuf->channelNum;

      contentType =
               Utils_encdecMapFVID2XDMContentType(pObj->inQueInfo.chInfo[channelId].
                                                  scanFormat);
      pChObj = &pObj->chObj[channelId];
      pChObj->numBufsInCodec += pReqObj->OutFrameList.numFrames;

      /*Since this is the first ReqList in the Batch, the channel submit and codec
         submit bits wont have been set a-priori.*/
      pReqObjBatch->channelSubmittedFlag = pReqObjBatch->channelSubmittedFlag |
                                            (((UInt64)0x1ULL) << channelId);

      maxBatchSize = DEC_LINK_GROUP_SUBM_MAX_SIZE;

      switch (pObj->outObj.outChObj[channelId].reslutionClass)
      {
          case UTILS_ENCDEC_RESOLUTION_CLASS_16MP:
          case UTILS_ENCDEC_RESOLUTION_CLASS_9MP:
          case UTILS_ENCDEC_RESOLUTION_CLASS_4MP:
          case UTILS_ENCDEC_RESOLUTION_CLASS_1080P:
              /*If the element has resolution between 1080p and 720p,
                only 1 channels possible per Batch*/
              maxBatchSize = 1;
              break;

          case UTILS_ENCDEC_RESOLUTION_CLASS_720P:
          case UTILS_ENCDEC_RESOLUTION_CLASS_D1:
          case UTILS_ENCDEC_RESOLUTION_CLASS_CIF:
              /*If the element has resolution anything <= 720, Batch can have
                a max of 24 channels*/
              maxBatchSize = MIN (24,DEC_LINK_GROUP_SUBM_MAX_SIZE);
              break;

          default:
              UTILS_assert(FALSE);
              break;
      }

      /*Set the flag for which codec class this REqObject belongs to.*/
      switch (pChObj->algObj.algCreateParams.format)
      {
          case IVIDEO_H264BP:
          case IVIDEO_H264MP:
          case IVIDEO_H264HP:
              pReqObjBatch->codecSubmittedFlag = pReqObjBatch->codecSubmittedFlag |
                                                  (0x1 <<
                                                   DEC_LINK_GROUP_CODEC_CLASS_H264);
              break;
          case IVIDEO_MJPEG:
              pReqObjBatch->codecSubmittedFlag = pReqObjBatch->codecSubmittedFlag |
                                                  (0x1 <<
                                                   DEC_LINK_GROUP_CODEC_CLASS_JPEG);
              break;
          case IVIDEO_MPEG4ASP:
          case IVIDEO_MPEG4SP:
              pReqObjBatch->codecSubmittedFlag = pReqObjBatch->codecSubmittedFlag |
                                                  (0x1 <<
                                                   DEC_LINK_GROUP_CODEC_CLASS_MPEG4);
              break;
          default:
              UTILS_assert(FALSE);
      }

      while (FALSE == batchPreperationDone)
      {
        if (pReqObjBatch->numReqObjsInBatch >=
            MIN (DEC_LINK_GROUP_SUBM_MAX_SIZE, maxBatchSize))
        {
          /*The number of Request Lists has exceeded the maximum batch size
            supported be the codec.*/
          #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
          Vps_printf ("DEC : IVAHDID : %d Number of Req Objs exceeded limit: %d\n", tskId,
                      maxBatchSize);
          #endif
          pObj->debugBatchPrepStats[tskId].numReasonSizeExceeded++;
          batchPreperationDone = TRUE;
          continue;
        }

        if (Utils_queIsEmpty (&pObj->decProcessTsk[tskId].processQue))
        {
          /*There are no more request Objects to be dequeued. Batch generation done*/
          #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
          Vps_printf ("DEC : IVAHDID : %d Incoming Queue is empty. Batch generation complete!!",
                      tskId);
          #endif
          pObj->debugBatchPrepStats[tskId].numReasonReqObjQueEmpty++;
          batchPreperationDone = TRUE;
          continue;

        }

        /*Peek at the next Request Obj in the Process Queue*/
        status = Utils_quePeek(&pObj->decProcessTsk[tskId].processQue,
                               (Ptr *) &pNewReqObj);

        if (status != FVID2_SOK)
          return status;

        if (pNewReqObj->type != DEC_LINK_REQ_OBJECT_TYPE_REGULAR)
        {
            batchPreperationDone = TRUE;
            continue;
        }

        newObjChannelId = pNewReqObj->InBuf->channelNum;

        if ((UTILS_ENCDEC_RESOLUTION_CLASS_16MP ==
             pObj->outObj.outChObj[newObjChannelId].reslutionClass) ||
            (UTILS_ENCDEC_RESOLUTION_CLASS_9MP ==
             pObj->outObj.outChObj[newObjChannelId].reslutionClass) ||
            (UTILS_ENCDEC_RESOLUTION_CLASS_4MP ==
             pObj->outObj.outChObj[newObjChannelId].reslutionClass) ||
            (UTILS_ENCDEC_RESOLUTION_CLASS_1080P ==
             pObj->outObj.outChObj[newObjChannelId].reslutionClass))
        {
            /*If the element has resolution between 1080p and 720p,
              only 1 channels possible per Batch. As we already have an element in,
              break out*/
            batchPreperationDone = TRUE;
            pObj->debugBatchPrepStats[tskId].numReasonResoultionClass++;
            continue;
        }
        else if ((UTILS_ENCDEC_RESOLUTION_CLASS_720P ==
                  pObj->outObj.outChObj[newObjChannelId].reslutionClass) ||
                 (UTILS_ENCDEC_RESOLUTION_CLASS_D1 ==
                  pObj->outObj.outChObj[newObjChannelId].reslutionClass) ||
                 (UTILS_ENCDEC_RESOLUTION_CLASS_CIF ==
                  pObj->outObj.outChObj[newObjChannelId].reslutionClass))
        {
            /*If the element has resolution <=720P, Batch can have
              max 24 channels*/
            if (pReqObjBatch->numReqObjsInBatch >=
                MIN (24,DEC_LINK_GROUP_SUBM_MAX_SIZE))
            {
                batchPreperationDone = TRUE;
                pObj->debugBatchPrepStats[tskId].numReasonResoultionClass++;
                continue;
            }
            else
            {
                maxBatchSize = MIN (maxBatchSize, 24);
            }
        }
        else
        {
          UTILS_assert(FALSE);
        }

        /*If the new element's Content type doesnt match that of the first ReqObj,
          stop the Batch preperation. Each batch can have either all progressive or
          all interlaced channels*/
        if (contentType != Utils_encdecMapFVID2XDMContentType(pObj->inQueInfo.chInfo
                                                              [newObjChannelId].
                                                              scanFormat))
        {
          #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
          Vps_printf ("DEC : IVAHDID : %d Interlaced or Progressive switch happened!!\n",
                      tskId);
          #endif
          batchPreperationDone = TRUE;
          pObj->debugBatchPrepStats[tskId].numReasonContentType++;
          continue;
        }

        /*Check if the channel has already been inserted in the batch*/
        if (pReqObjBatch->channelSubmittedFlag & (((UInt64)0x1ULL) << newObjChannelId))
        {
          /*Codec doesnt support multiple entries of the same channel in the same
            multi process call. So the batch generation ends here.*/
          #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
          Vps_printf ("DEC : IVAHDID : %d Channel repeated within Batch!!\n", tskId);
          #endif
          batchPreperationDone = TRUE;
          pObj->debugBatchPrepStats[tskId].numReasonChannelRepeat++;
          continue;
        }
        else
        {
          /*This is a new channel so set the bit for this channel*/
          pReqObjBatch->channelSubmittedFlag = pReqObjBatch->channelSubmittedFlag |
                                               (((UInt64)0x1ULL) << newObjChannelId);
        }

        /*Check if there is a codec switch. If yes, batch generation is completed.*/
        pChObj = &pObj->chObj[newObjChannelId];

        /*Check the flag for which codec class this Request Object belongs to.*/
        switch (pChObj->algObj.algCreateParams.format)
        {
            case IVIDEO_H264BP:
            case IVIDEO_H264MP:
            case IVIDEO_H264HP:
                codecClassSwitch = pReqObjBatch->codecSubmittedFlag &
                                                    (0x1 <<
                                                     DEC_LINK_GROUP_CODEC_CLASS_H264);
                break;
            case IVIDEO_MJPEG:
                codecClassSwitch = pReqObjBatch->codecSubmittedFlag &
                                                    (0x1 <<
                                                     DEC_LINK_GROUP_CODEC_CLASS_JPEG);
                break;
            case IVIDEO_MPEG4ASP:
            case IVIDEO_MPEG4SP:
                codecClassSwitch = pReqObjBatch->codecSubmittedFlag &
                                                    (0x1 <<
                                                     DEC_LINK_GROUP_CODEC_CLASS_MPEG4);
                 break;
            default:
                UTILS_assert(FALSE);
        }

        if (! codecClassSwitch)
        {
          /*A codec switch from JPEG to H264 or vice-versa has happened and this
            Request object cannot be part of the batch to be submitted.
            Batch generation done.*/
          #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
          Vps_printf ("DEC : IVAHDID : %d Codec Switch occured!!. Batch generation complete!!",
                      tskId);
          #endif
          batchPreperationDone = TRUE;
          pObj->debugBatchPrepStats[tskId].numReasonCodecSwitch++;
          continue;
        }

        /*Now that the Request Obj is eligible to be part of the Batch, include it.
         */
        status = Utils_queGet(&pObj->decProcessTsk[tskId].processQue,
                              (Ptr *) &pNewReqObj, 1, BIOS_WAIT_FOREVER);

        UTILS_assert(pNewReqObj->type == DEC_LINK_REQ_OBJECT_TYPE_REGULAR);
        pReqObjBatch->pReqObj[pReqObjBatch->numReqObjsInBatch++] = pNewReqObj;
        pChObj->numBufsInCodec += pNewReqObj->OutFrameList.numFrames;

      }

      if (FVID2_SOK == status)
      {
        /*Print Debug details of the Batch created*/
        #ifdef SYSTEM_DEBUG_MULTI_CHANNEL_DEC
        Vps_printf("DEC : IVAHDID : %d Batch creation ... DONE !!!\n", tskId);
        Vps_printf("DEC : IVAHDID : %d Number of Req Objs in Batch : %d\n",
                   tskId, pReqObjBatch->numReqObjsInBatch);
        Vps_printf ("DEC : IVAHDID : %d Channels included in Batch:\n", tskId);
        for ( i = 0; i < pReqObjBatch->numReqObjsInBatch; i++)
        {
          Vps_printf ("DEC : IVAHDID : %d %d\n", tskId,
                      pReqObjBatch->pReqObj[i]->InBuf->channelNum);
        }

        #endif
      }

      pObj->debugBatchPrepStats[tskId].numBatchCreated++;
      return status;
    }

  • Hi Badri Narayanan,

    Very thanks for your patch, that is resolved my problem. Very good job!!!

    Jacson

  • Hi Badri Narayanan,

    Could you explain why this bug cause the behavior of I described?

    Thanks,

    Jacson

  • We use NProcessAPI in RDK to maximize HDVICP utilization.

    To use NProcessAPIs a batch is created using frames from different decode channels .All the frames in a single batch will be decoded in a single NProcessAPI.

    A batch should not contain the multiple frames from the same channel.

    The logic to determine if a frame from a channel is already added to the current batch is present in the prepareBatch function.

    The logic has a bug wherein the channel number is left shifted as (1 << channelNum).

    This works as long as channelNum < 32. For channelNum > 32, 1 << channelNum results in 0 as 1 is treated as a 32-bit integer and max left shift is only 32.

    To fix the issue code was changed to ((UInt64)1ULL << channelNum). SInce ULL is 64 bit channel number upto 63 are valid.

  • Hi Badri Narayanan,

    Thanks for your explained.

    Jacson