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.

a question about H264_DEC_002 and 4k x 2k video decoding

Other Parts Discussed in Thread: TVP7002

Hi, I am confused about the config id H264_DEC_002 in "H264 High Profile Decoder 2.0 on HDVICP2 and Media Controller based platform Data Sheet ".

File above shows that the H264_DEC_002 supports resolutions between 2048 x 2048 and 4096 x 4096, and the example of bbccrowded_i4096x2320_47mbps_IPB_30fps.264 shows that the framerate is up to 30.I want to know how many HDVICP2s are used here,1 or 2? Is H264_DEC_002 something to be configured?

I`m using TI8168 EVM and DVRRDK 3.0. I`m using vdec+vdis demo and the display links are dropped to test the decoder individually. The framerate is about 60 when decoding a 3840x1080 video,and result shows that only one HDVICP is used. However, when decoding 2 3840x1080 videos, the framerate is only 30+ which I think should be 60 because 2 HDVICPs are used here. What limits the framerate in this case?

Thanks,

 

  • The datasheet provides the info:

    bbccrowded_i4096x2320_47mbps_IPB_30fps.264 Avg Mhz: 705.79  Peak Mhz:730.83

    These are standalone numbers. Assuming 10% overhead for running in a loaded system the stream will take ~ 770 Avg Mhz  in the system.

    Max HDVICP frequency depends on the 816x device part you use. If 600 Mhz is the max frequency on your 816x device, it means this stream can run at

    max fps =

    30 / (770/600) which is ~ 23 fps.

    One channel cannot be distributed across multiple HDVICPs even though there are 3 HDVICPs in DM8168.This is because frameN decoding can happen only after frame N - 1 decoding is complete which means decoding will be happening in a serial manner

  • Thanks for your explanation. I finally understand the number 705.79 in that chart.

    You have sayed that "One channel cannot be distributed across multiple HDVICPs". Why the framerate is only 30+ when decoding 2 3840x1080 videos as I`ve mentioned in the post?

    Yours,

    Xiaotao

  • I don't understand the question. Pls share log of "i: Print Detailed Statistics" option in mcfw cmd line demo for analysis.

  • When decoding 1 3840x1080 video:

    [m3video] 266501: HDVICP-ID:0
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :98 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :98 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :99 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 246871
    [m3video] numAccessCnt: 14085
    [m3video] IVA-FPS : 57
    [m3video] Average time spent per frame in microsec: 17176
    [m3video] 266502: HDVICP-ID:1
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :0 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :0 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :0 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 0
    [m3video] numAccessCnt: 0
    [m3video] IVA-FPS : 0
    [m3video] Average time spent per frame in microsec: 0
    [m3video] 266502: HDVICP-ID:2
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :0 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :0 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :0 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 0
    [m3video] numAccessCnt: 0
    [m3video] IVA-FPS : 0
    [m3video] Average time spent per frame in microsec: 0
    [m3video]
    [m3video] *** DECODE Statistics ***
    [m3video]
    [m3video] Elasped Time : 235 secs
    [m3video]
    [m3video]
    [m3video] CH | In Recv In User Out
    [m3video] Num | FPS Skip FPS FPS
    [m3video] -----------------------------------
    [m3video] 0 | 57 0 57
    [m3video]
    [m3video] Multi Channel Decode 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] IVAHD_1 Average Batch Size : 0
    [m3video] IVAHD_1 Max achieved Batch Size : 0
    [m3video] IVAHD_2 Average Batch Size : 0
    [m3video] IVAHD_2 Max achieved Batch Size : 0
    [m3video]
    [m3video] Multi Channel Decode Batch break Stats
    [m3video] Total Number of Batches created: 13450
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 100 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 0
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 0
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video]

    [host] MCFW_IPCFRAMES:VdecVdis_ipcFramesRecvFxn:INFO: periodic print.. [m3vpss ]
    [m3vpss ] 268270: LOAD: CPU: 4.2% HWI: 1.1%, SWI:1.2%
    [m3vpss ]
    [m3vpss ] 268270: LOAD: TSK: IPC_IN_M30 : 0.4%
    [m3vpss ] 268271: LOAD: TSK: IPC_FRAMES_OUT1 : 0.9%
    [m3vpss ] 268271: LOAD: TSK: MISC : 0.6%
    [m3vpss ]
    [m3video]
    [m3video] 268712: LOAD: CPU: 5.2% HWI: 0.6%, SWI:0.8%
    [m3video]
    [m3video] 268713: LOAD: TSK: IPC_OUT_M30 : 0.8%
    [m3video] 268713: LOAD: TSK: IPC_BITS_IN0 : 0.2%
    [m3video] 268713: LOAD: TSK: DEC0 : 1.3%
    [m3video] 268713: LOAD: TSK: DEC_PROCESS_TSK_0 : 1.1%
    [m3video] 268713: LOAD: TSK: MISC : 0.4%
    [m3video]
    [c6xdsp ]
    [c6xdsp ] 307384: LOAD: CPU: 0.1% HWI: 0.0%, SWI:0.0%
    [c6xdsp ]
    [c6xdsp ] 307384: LOAD: TSK: MISC : 0.1%
    [c6xdsp ]

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

    When decoding 2 3840x1080 videos:

    [m3video] 39529: HDVICP-ID:0
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :99 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :99 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :99 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 18332
    [m3video] numAccessCnt: 626
    [m3video] IVA-FPS : 34
    [m3video] Average time spent per frame in microsec: 28991
    [m3video] 39530: HDVICP-ID:1
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :98 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :98 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :99 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 18331
    [m3video] numAccessCnt: 744
    [m3video] IVA-FPS : 41
    [m3video] Average time spent per frame in microsec: 24145
    [m3video] 39531: HDVICP-ID:2
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :0 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :0 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :0 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 0
    [m3video] numAccessCnt: 0
    [m3video] IVA-FPS : 0
    [m3video] Average time spent per frame in microsec: 0
    [m3video]
    [m3video] *** DECODE Statistics ***
    [m3video]
    [m3video] Elasped Time : 18 secs
    [m3video]
    [m3video]
    [m3video] CH | In Recv In User Out
    [m3video] Num | FPS Skip FPS FPS
    [m3video] -----------------------------------
    [m3video] 0 | 34 0 34
    [m3video] 1 | 41 0 41
    [m3video]
    [m3video] Multi Channel Decode 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] IVAHD_1 Average Batch Size : 1
    [m3video] IVAHD_1 Max achieved Batch Size : 1
    [m3video] IVAHD_2 Average Batch Size : 0
    [m3video] IVAHD_2 Max achieved Batch Size : 0
    [m3video]
    [m3video] Multi Channel Decode Batch break Stats
    [m3video] Total Number of Batches created: 625
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 100 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 742
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 100 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 0
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video]
    [m3vpss ]
    [m3vpss ] 41300: LOAD: CPU: 8.2% HWI: 2.4%, SWI:2.6%
    [m3vpss ]
    [m3vpss ] 41300: LOAD: TSK: IPC_IN_M30 : 0.7%
    [m3vpss ] 41301: LOAD: TSK: IPC_FRAMES_OUT1 : 1.6%
    [m3vpss ] 41301: LOAD: TSK: MISC : 0.9%
    [m3vpss ]
    [m3video]
    [m3video] 41743: LOAD: CPU: 9.1% HWI: 1.2%, SWI:1.4%
    [m3video]
    [m3video] 41743: LOAD: TSK: IPC_OUT_M30 : 1.5%
    [m3video] 41743: LOAD: TSK: IPC_BITS_IN0 : 0.5%
    [m3video] 41743: LOAD: TSK: DEC0 : 2.4%
    [m3video] 41744: LOAD: TSK: DEC_PROCESS_TSK_0 : 0.7%
    [m3video] 41744: LOAD: TSK: DEC_PROCESS_TSK_1 : 0.9%
    [m3video] 41744: LOAD: TSK: MISC : 0.5%
    [m3video]
    [c6xdsp ]
    [c6xdsp ] 45687: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
    [c6xdsp ]
    [c6xdsp ] 45687: LOAD: TSK: MISC : 0.2%
    [c6xdsp ]

  • Pls attach full log and not portion.

  • This is the full log...

    I drop the display links, and the link is like :

    IPCBITOUT(a8) -- IPCBITIN(video) -- DEC -- IPCOUT(video) -- IPCIN(vpss) -- IPCFRAMEOUT(vpss) -- IPCFRAMEIN(a8)

  • Ok . The HDVICP assignment is wrong. Both channels are assigned to same HDVICP . Your HDVICP map should be :

    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
    {
        .isPopulated = 1,
        .ivaMap[0] =
        {
            .EncNumCh  = 0,
            .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 1,
            .DecChList = {   0    },
        },
        .ivaMap[1] =
        {
            .EncNumCh  = 0,
            .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 1,
            .DecChList = {   1   },
        },
        .ivaMap[2] =
        {
            .EncNumCh  = 0,
            .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 1,
            .DecChList = {   2 },
        },
    };


     and you should do

    System_linkControl(
            SYSTEM_LINK_ID_M3VIDEO,
            SYSTEM_COMMON_CMD_SET_CH2IVAHD_MAP_TBL,
            &systemVid_encDecIvaChMapTbl,
            sizeof(SystemVideo_Ivahd2ChMap_Tbl),
            TRUE
        );

     

     

  • Badri,

    I`ve tried your advice but the result is the same.

    The origin code in multich_vdec_vdis.c is:

    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =

     {    

    .isPopulated = 1,    

    .ivaMap[0] =    

     {        

     .EncNumCh  = 0,         .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 17,         .DecChList = {   0,  3,  6,  9, 12, 15, 18, 21,                         24, 27, 30, 33, 36, 39, 42, 45,                         48                      },    

     },    

     .ivaMap[1] =    

     {      

       .EncNumCh  = 0,         .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 17,         .DecChList = {   1,  4,  7, 10, 13, 16, 19, 22,                         25, 28, 31, 34, 37, 40, 43, 46,                         49                      },    

    },    

     .ivaMap[2] =    

     {        

     .EncNumCh  = 0,         .EncChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0},

            .DecNumCh  = 16,         .DecChList = {   2,  5,  8, 11, 14, 17, 20, 23,                         26, 29, 32, 35, 38, 41, 44, 47                      },    

     },

     };

    And the "i: Print Detailed Statistics"  in my post also shows that 2 HDVICP are used when decoding 2 videos.

  • Pls share thelogs after fixing the IVA map

  • [host] MCFW_IPCFRAMES:VdecVdis_ipcFramesRecvFxn:INFO: periodic print.. [m3video] 56414: HDVICP-ID:0
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :99 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :99 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :99 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 36433
    [m3video] numAccessCnt: 1271
    [m3video] IVA-FPS : 35
    [m3video] Average time spent per frame in microsec: 28377
    [m3video] 56415: HDVICP-ID:1
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :98 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :99 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :99 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 36431
    [m3video] numAccessCnt: 1524
    [m3video] IVA-FPS : 42
    [m3video] Average time spent per frame in microsec: 23425
    [m3video] 56416: HDVICP-ID:2
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :0 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :0 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :0 %
    [m3video] totalAcq2acqDelay :0 %
    [m3video] totalElapsedTime in msec : 0
    [m3video] numAccessCnt: 0
    [m3video] IVA-FPS : 0
    [m3video] Average time spent per frame in microsec: 0
    [m3video]
    [m3video] *** DECODE Statistics ***
    [m3video]
    [m3video] Elasped Time : 21 secs
    [m3video]
    [m3video]
    [m3video] CH | In Recv In User Out
    [m3video] Num | FPS Skip FPS FPS
    [m3video] -----------------------------------
    [m3video] 0 | 35 0 35
    [m3video] 1 | 42 0 42
    [m3video]
    [m3video] Multi Channel Decode 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] IVAHD_1 Average Batch Size : 1
    [m3video] IVAHD_1 Max achieved Batch Size : 1
    [m3video] IVAHD_2 Average Batch Size : 0
    [m3video] IVAHD_2 Max achieved Batch Size : 0
    [m3video]
    [m3video] Multi Channel Decode Batch break Stats
    [m3video] Total Number of Batches created: 743
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 100 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 894
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 100 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 0
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 0 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video]
    [m3vpss ]
    [m3vpss ] 58185: LOAD: CPU: 8.1% HWI: 2.4%, SWI:2.6%
    [m3vpss ]
    [m3vpss ] 58185: LOAD: TSK: IPC_IN_M30 : 0.7%
    [m3vpss ] 58185: LOAD: TSK: IPC_FRAMES_OUT1 : 1.6%
    [m3vpss ] 58185: LOAD: TSK: MISC : 0.8%
    [m3vpss ]
    [m3video]
    [m3video] 58627: LOAD: CPU: 9.1% HWI: 1.1%, SWI:1.4%
    [m3video]
    [m3video] 58627: LOAD: TSK: IPC_OUT_M30 : 1.5%
    [m3video] 58627: LOAD: TSK: IPC_BITS_IN0 : 0.4%
    [m3video] 58627: LOAD: TSK: DEC0 : 2.4%
    [m3video] 58628: LOAD: TSK: DEC_PROCESS_TSK_0 : 0.7%
    [m3video] 58628: LOAD: TSK: DEC_PROCESS_TSK_1 : 1.0%
    [m3video] 58628: LOAD: TSK: MISC : 0.6%
    [m3video]
    [c6xdsp ]
    [c6xdsp ] 65185: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
    [c6xdsp ]
    [c6xdsp ] 65185: LOAD: TSK: MISC : 0.2%
    [c6xdsp ]

  • I want to check if this is issue due to ddr b/w .Can you enable tiler and check if there is improvement in fps.To enable tiler set

    decPrm.tilerEnable = TRUE; in your usecase file

  • I change decPrm.tilerEnable to TRUE,but something wrong happens when creating decode link.

    Dec Channels => 2
    Disp Channels => 2
    -------------------------------------------
    0: SYSTEM: System Common Init in progress !!!
    0: SYSTEM: IPC init in progress !!!
    13: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
    14: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    16: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
    17: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
    18: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    18: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    19: SYSTEM: Notify register to [DSP] line 0, event 15 ...
    19: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
    20: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
    20: SYSTEM: IPC init DONE !!!
    22: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
    24: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
    25: SYSTEM: ListElem Shared Addr = 0x41719080
    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 = 0x41736b80
    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 = 0x41754680
    36: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
    38: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
    40: SYSTEM: ListElem Shared Addr = 0x41774080
    41: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
    43: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
    45: SYSTEM: ListElem Shared Addr = 0x41793a80
    63: SYSTEM: System Common Init Done !!!
    ch[0], h264
    ch[1], h264
    [FBDEV]
    [FBDEV] FB: Starting !!!
    [FBDEV] FB: Opened device [/dev/fb0] (fd=25) !!!
    [FBDEV]
    [FBDEV] Fix Screen Info
    [FBDEV] ---------------
    [FBDEV] Line Length - 2560
    [FBDEV] Physical Address = 8cc00000
    [FBDEV] Buffer Length = 8388608
    [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 0, sten en 0
    [FBDEV] tran en 0, type 0, key 0
    [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 = 8cc00000
    [FBDEV] Buffer Length = 8388608
    [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 0, sten en 0
    [FBDEV] tran en 0, type 0, key 0
    [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]
    183: MCFW : CPU Revision [ES1.1] !!!
    183: MCFW : Detected [2x SII9135, 1x TVP7002 VC] Board !!!
    183: MCFW : Base Board Revision [REV A] !!!
    183: MCFW : Daughter Card Revision [REV C] !!!

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

    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0x17E8000
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x4246e080 To Phy:0x90000080###Bit buff of size from the SR # 1 : 24698880

    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:1,Size:0x178E000
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x43c56080 To Phy:0x917e8080
    [host] 186: IPC_BITS_OUT : Create Done !!!
    [m3video] 17655: IPC_BITS_IN : Create in progress !!!
    [m3video] 17655: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] ...
    [m3video] 17656: SYSTEM: Opening ListMP [HOST_IPC_IN_24] ...
    [m3video] 17656: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
    [m3video] 17659: IPC_BITS_IN : Create Done !!!
    [m3video] 17659: DECODE: Create in progress ... !!!


    413:!!!SLAVE CORE [VIDEO-M3] DOWN!!!
    SystemLink_copySlaveCoreExceptionContext:146
    mmap of [0xbe9c0000:36864]
    mmap virt addresss:0x40004000
    munmap of [0x40004000:36864]
    SystemLink_copySlaveCoreExceptionContext:153
    [m3video] DECLINK_H264:HEAPID:0 USED:4264
    [m3video] DECLINK_H264:HEAPID:3 USED:42151936
    [m3video] 17852: SYSTEM : FREE SPACE : System Heap = 6274824 B, Mbx = 10239 msgs)
    [m3video] 17852: SYSTEM : FREE SPACE : SR0 Heap = 11003648 B (10 MB)
    [m3video] 17852: SYSTEM : FREE SPACE : Frame Buffer = 198642560 B (189 MB)
    [m3video] 17852: SYSTEM : FREE SPACE : Bitstream Buffer = 168337280 B (160 MB)
    [m3video] 17853: SYSTEM : FREE SPACE : Tiler Buffer = 256 B (0 MB) - TILER OFF
    [m3video] 17853: Assertion @ Line: 159 in utils/src/utils_tiler.c: (UInt32)(pFrame->addr[0][0]) != SYSTEM_TILER_INVALID_ADDR : failed !!!



  • Looks like it is running out of tiler memory.Pls set decPrm numBufPerCh = 3 and check it is able to create the usecase.

    Also confirm your DDR is running at 796 Mhz.

    Additionally share the .264 stream so that I can try it on my setup.

  • The framerate is near 60 when I just change the DDR to 796MHz.

    Thanks very much!!

    Yours,

    Xiaotao