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.

DVRRDK350 TI816x .after run few hours,link not put the buff back????.lead input fps is zero

HI: 

    ti Engineer,recently I met a stranger issue,after run more than 12 hours(may be more,it's random,not static),the link chain never transfer frame to next link,so the next link input fps is zero,I use the colorbar(nullsrclink) instead the capturelink ,also happen this issue.

    first ,past my link chain:

   

  step2: isuue log:

 

[m3vpss ]  *** [Scalar0   ] SCLR Statistics ***
[m3vpss ] 
[m3vpss ]  Elasped Time           : 507 secs
[m3vpss ]  Total Fields Processed : 86240
[m3vpss ]  Total Fields FPS       : 125 FPS
[m3vpss ] 
[m3vpss ] 
[m3vpss ]  CH  | In Recv In Reject In Process Out Skip Out User Out Latency  
[m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS   Skip FPS Min / Max
[m3vpss ]  ---------------------------------------------------------------------
[m3vpss ]    0 |       0         0          0   0        0        0 255   0
[m3vpss ]    1 |       0         0          0   0        0        0 255   0
[m3vpss ]    2 |       0         0          0   0        0        0 255   0
[m3vpss ]    3 |       0         0          0   0        0        0 255   0
step3:
    now i already debug this issue a month,until now don't know what's the reason lead this issue.
    but I think this issue like there are not put back the empty buff to preview link.so preview link don't generate new frame?.  but I can't locate whick will lead this issue.
    if no empty buff lead this issue: I think only three link have chance leads the issue: swms , enc. swms, the color bar buff will put back by above links.
   
    now I need some advice to debug this issue, it's very emergent, our company product should sovle this issue,then can sail the device.
    thanks very much!
email: robing4500@gmail.com
if anyone have idea can send email. 
 thanks very much!

 

  • It is not clear from your link connection but is you link connection dup -> merge -> dup ? If this is the case you cant have dup link output connected to another dup link.It will result in some issue.

    Pls share logs of Vsys_printDetailedStatistics and Vsys_printBufferStatistics when you see the issue.

  • DetailedStatistics:

    [m3vpss ]  *** [Scalar0   ] SCLR Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 22 secs
     [m3vpss ]  Total Fields Processed : 5128450 
     [m3vpss ]  Total Fields FPS       : 129 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Reject In Process Out Skip Out User Out Latency   
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS   Skip FPS Min / Max 
     [m3vpss ]  ---------------------------------------------------------------------
     [m3vpss ]    0 |       0         0          0   0        0        0 255   0
     [m3vpss ]    1 |       0         0          0   0        0        0 255   0
     [m3vpss ]    2 |       0         0          0   0        0        0 255   0
     [m3vpss ]    3 |       0         0          0   0        0        0 255   0
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [NSF0] NSF Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 22 secs
     [m3vpss ]  Total Fields Processed : 6989891 
     [m3vpss ]  Total Fields FPS       : 109 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Reject In Process Out User Out Out      
     [m3vpss ]  Num | FPS     FPS       FPS        FPS Skip FPS Skip FPS 
     [m3vpss ]  ------------------------------------------------
     [m3vpss ]    0 |      27         0         27  27        0        0
     [m3vpss ]  
     [m3vpss ] [src:links_common/ipcOutM3/ipcOutM3Link_tsk.c line:470] IPC_OUT_M30 is alive
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 22 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Actual  FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 36 ms 
     [m3vpss ]  Scaling Internal min : 37 ms 
     [m3vpss ]  Scaling Internal max : 37 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627929         27         0 
     [m3vpss ]    1 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627929         27         0 
     [m3vpss ]    2 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627929         27         0 
     [m3vpss ]    3 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627929         27         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 25
     [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 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  135 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  405 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  675 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |  480,  135 |  1440 x    810 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS2] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 22 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Actual  FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 36 ms 
     [m3vpss ]  Scaling Internal min : 37 ms 
     [m3vpss ]  Scaling Internal max : 37 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627926         27         0 
     [m3vpss ]    1 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627926         27         0 
     [m3vpss ]    2 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627926         27         0 
     [m3vpss ]    3 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627926         27         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS2] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 25
     [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 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  135 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  405 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  675 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |  480,  135 |  1440 x    810 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 22 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Actual  FPS   : 27 fps (610 frames) 
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 36 ms 
     [m3vpss ]  Scaling Internal min : 37 ms 
     [m3vpss ]  Scaling Internal max : 37 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627921         27         0 
     [m3vpss ]    1 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627921         27         0 
     [m3vpss ]    2 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627921         27         0 
     [m3vpss ]    3 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 258627921         27         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 25
     [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 |  1280 x    720 |  1328 /  1328 | NON-TILED   |    0,  135 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |  1280 x    720 |  1328 /  1328 | NON-TILED   |    0,  405 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |  1280 x    720 |  1328 /  1328 | NON-TILED   |    0,  675 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |  1280 x    720 |  1328 /  1328 | NON-TILED   |  480,  135 |  1440 x    810 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  258671853: DISPLAY: HDDAC(BP0) : 10 fps, Latency (Min / Max) = ( 71 / 88 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!! 
     [m3vpss ]  258671854: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1359, HDDAC(BP0) 1359, DVO2(BP1) 1354, SDDAC(SEC1) 2767 
     [m3vpss ]  258671854: DISPLAY: DVO2(BP1)  : 10 fps, Latency (Min / Max) = ( 71 / 88 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!! 
    
     [host] [src:ipcBitsInLink_tsk.c line:367] ipcBitsIn_1(host) (arm) is alive
    
     [host] [src:ipcBitsInLink_tsk.c line:367] ipcBitsIn_2(host) (arm) is alive
     [m3vpss ] [src:links_m3vpss/sclr/sclrLink_tsk.c line:86] Scalar0    is alive
     [m3video] [src:links_m3video/iva_enc/encLink_tsk.c line:92] Enc link is alive
     [m3video]      258675855: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :3 %
     [m3video]               totalWait2Isr :32 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :32 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :36 %
     [m3video]               totalAcq2acqDelay :63 %
     [m3video]               totalElapsedTime in msec :42309766
     [m3video]               numAccessCnt: 2564223
     [m3video]              IVA-FPS :      60
     [m3video]              Average time spent per frame in microsec:     456
     [m3video]      258675856: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :36 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :36 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :37 %
     [m3video]               totalAcq2acqDelay :62 %
     [m3video]               totalElapsedTime in msec :42310005
     [m3video]               numAccessCnt: 2564237
     [m3video]              IVA-FPS :      60
     [m3video]              Average time spent per frame in microsec:     513
     [m3video]      258675856: HDVICP-ID:2
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :16 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :16 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :16 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :258629643
     [m3video]               numAccessCnt: 6990049
     [m3video]              IVA-FPS :      27
     [m3video]              Average time spent per frame in microsec:      21
     [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 |       0       0        0   0 255 /   0
     [m3video]    1 |       0       0        0   0 255 /   0
     [m3video]    2 |       0       0        0   0 255 /   0
     [m3video]    3 |       0       0        0   0 255 /   0
     [m3video]    4 |      27       0        0  27 255 / 43932
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size 
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [m3video] IVAHD_1 Average Batch Size : 0
     [m3video] IVAHD_1 Max achieved Batch Size : 0
     [m3video] IVAHD_2 Average Batch Size : 1
     [m3video] IVAHD_2 Max achieved Batch Size : 1
     [m3video]  
     [m3video] Multi Channel Encode Batch break Stats 
     [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] Total Number of Batches created: 610 
     [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]  
     [m3video]  *** DECODE Statistics *** 
     [m3video]  
     [m3video]  Elasped Time           : 22 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In User  Out 
     [m3video]  Num | FPS     Skip FPS FPS 
     [m3video]  -----------------------------------
     [m3video]    0 |       0        0   0
     [m3video]    1 |       0        0   0
     [m3video]  
     [m3video] Multi Channel Decode Average Submit Batch Size 
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [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: 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 %
     [m3vpss ] [src:links_m3vpss/capture/captureLink_tsk.c line:103] Capture link is alive
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3vpss ] [src:links_m3vpss/swMs/swMsLink_tsk.c line:160] SWMS0 is alive
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ] [src:links_m3vpss/nsf/nsfLink_tsk.c line:75] NSF0 is alive
     [m3video] Total Number of Batches created: 0 
     [m3vpss ] [src:links_m3vpss/swMs/swMsLink_tsk.c line:160] SWMS1 is alive
     [m3video] All numbers are based off total number of Batches created
     [m3vpss ] [src:links_m3vpss/swMs/swMsLink_tsk.c line:160] SWMS2 is alive
     [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
     [m3vpss ] [src:links_m3vpss/display/displayLink_tsk.c line:78] DISPLAY0 is alive
     [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
     [m3vpss ] [src:links_m3vpss/display/displayLink_tsk.c line:78] DISPLAY1 is alive
     [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 ]  258677863: LOAD: CPU: 9.6% HWI: 2.2%, SWI:1.7% 
     [m3vpss ]  
     [m3vpss ]  258677863: LOAD: TSK: IPC_OUT_M30         : 0.3% 
     [m3vpss ]  258677864: LOAD: TSK: IPC_IN_M30          : 0.1% 
     [m3vpss ]  258677864: LOAD: TSK: CAPTURE             : 0.2% 
     [m3vpss ]  258677864: LOAD: TSK: NSF0                : 0.2% 
     [m3vpss ]  258677864: LOAD: TSK: DISPLAY0            : 0.2% 
     [m3vpss ]  258677864: LOAD: TSK: DISPLAY1            : 0.2% 
     [m3vpss ]  258677864: LOAD: TSK: DUP2                : 0.1% 
     [m3vpss ]  258677864: LOAD: TSK: SWMS0               : 0.3% 
     [m3vpss ]  258677864: LOAD: TSK: SWMS1               : 0.5% 
     [m3vpss ]  258677864: LOAD: TSK: SWMS2               : 0.5% 
     [m3vpss ]  258677864: LOAD: TSK: MISC                : 3.1% 
     [m3vpss ]  
     [m3video]  
     [m3video]  258678365: LOAD: CPU: 4.2% HWI: 0.5%, SWI:1.1% 
     [m3video]  
     [m3video]  258678365: LOAD: TSK: IPC_IN_M30          : 0.1% 
     [m3video]  258678365: LOAD: TSK: IPC_BITS_IN0        : 0.1% 
     [m3video]  258678366: LOAD: TSK: IPC_BITS_OUT0       : 0.3% 
     [m3video]  258678366: LOAD: TSK: ENC0                : 0.6% 
     [m3video]  258678366: LOAD: TSK: DEC0                : 0.5% 
     [m3video]  258678366: LOAD: TSK: ENC_PROCESS_TSK_2   : 0.6% 
     [m3video]  258678366: LOAD: TSK: MISC                : 0.4% 
     [m3video]  
     [c6xdsp ]  
     [c6xdsp ]  258676524: LOAD: CPU: 14.1% HWI: 0.2%, SWI:0.3% 
     [c6xdsp ]  
     [c6xdsp ]  258676524: LOAD: TSK: AENC0               : 13.2% 
     [c6xdsp ]  258676524: LOAD: TSK: MISC                : 0.4% 
     [c6xdsp ]  

     BufferStatistics:

     

    [m3vpss ]  *** [Scalar0   ] Sclr Statistics *** 
     [m3vpss ] 258682005: Sclr: Rcvd from prev = 5128486, Returned to prev = 5128486
     [m3vpss ]  
     [m3vpss ]  *** [NSF0] NSF Statistics *** 
     [m3vpss ] 258682006: NSF: Rcvd from prev = 6990220, Returned to prev = 6990220
     [m3vpss ] NSF Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 268, rdPtr 268
     [m3vpss ] Sclr Out [0] Buf Q Status
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
     [m3vpss ] 258682006: SWMS: Rcvd from prev = 0, Returned to prev = 12118617
     [m3vpss ] SWMS Out  Buf Q Status
     [m3vpss ] Empty Q -> count 2, wrPtr 294, rdPtr 292
     [m3vpss ] Full Q -> count 1, wrPtr 292, rdPtr 291
     [m3vpss ]  
     [m3vpss ]  *** [SWMS2] Mosaic Statistics *** 
     [m3vpss ] 258682007: SWMS: Rcvd from prev = 0, Returned to prev = 12118634
     [m3vpss ] SWMS Out  Buf Q Status
     [m3vpss ] Empty Q -> count 2, wrPtr 297, rdPtr 295
     [m3vpss ] Full Q -> count 1, wrPtr 295, rdPtr 294
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
     [m3vpss ] 258682007: SWMS: Rcvd from prev = 0, Returned to prev = 5128466
     [m3vpss ] SWMS Out  Buf Q Status
     [m3vpss ] Empty Q -> count 5, wrPtr 273, rdPtr 268
     [m3vpss ] Full Q -> count 0, wrPtr 268, rdPtr 268
     [m3vpss ] Empty Q -> count 16, wrPtr 146, rdPtr 130
     [m3vpss ] Full Q -> count 0, wrPtr 130, rdPtr 130
     [m3vpss ]  
     [m3vpss ]  *** Display Statistics *** 
     [m3vpss ] 258682008: DISPLAY: Rcvd from prev = 6541347, Returned to prev = 6541345, BufsInDriver = 4
     [m3vpss ]  
     [m3vpss ]  *** Display Statistics *** 
     [m3vpss ] 258682008: DISPLAY: Rcvd from prev = 6541351, Returned to prev = 6541349, BufsInDriver = 4
     [m3video]  
     [m3video]  *** Encode Statistics *** 
     [m3video]   258682508: ENC: Rcvd from prev = 12118719, Returned to prev = 12118701
     [m3video]  ENC Out  BitBuf Q Status
     [m3video] Empty Q 0 -> count 10, wrPtr 168, rdPtr 158
     [m3video] Empty Q 1 -> count 6, wrPtr 283, rdPtr 277
     [m3video] Full Q -> count 0, wrPtr 33, rdPtr 33

       dup->merge->dup ,this type will lead some issue?   yes my dup->merge->dup is my usecase!

  • For testing purpose remove the dup before swms1 and swms2. Have only single swms1 and duping the output of swms1 to both display. This is for testing to check if dup->merge->dup is causing the issue.

    Also print all the members of the DupLink_statsObj structure part of  DupLink_Obj when you see the issue. The stats will show which output queue is not freeing the buffers.You will have to add a link  cmd to dupLink to print the stats.

    Similarly print the MergeLink_statsObj.

    Duplink and MergeLink stats would give some clue on which link is not freeing buffers,

  • Hello: 

             I have try other link chain  as below:

         this still have same issue,the log mesasge is:

         

    staticsic info:
     [m3vpss ]  
     [m3vpss ]  *** [Scalar0   ] SCLR Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 125 secs
     [m3vpss ]  Total Fields Processed : 2110536 
     [m3vpss ]  Total Fields FPS       : 130 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Reject In Process Out Skip Out User Out Latency   
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS   Skip FPS Min / Max 
     [m3vpss ]  ---------------------------------------------------------------------
     [m3vpss ]    0 |       0         0          0   0        0        0 255   0
     [m3vpss ]    1 |       0         0          0   0        0        0 255   0
     [m3vpss ]    2 |       0         0          0   0        0        0 255   0
     [m3vpss ]    3 |       0         0          0   0        0        0 255   0
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 125 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 27 fps (3398 frames) 
     [m3vpss ]  Output Actual  FPS   : 27 fps (3398 frames) 
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 36 ms 
     [m3vpss ]  Scaling Internal min : 37 ms 
     [m3vpss ]  Scaling Internal max : 37 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 21975132         27         0 
     [m3vpss ]    1 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 21975132         27         0 
     [m3vpss ]    2 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 21975132         27         0 
     [m3vpss ]    3 |     27     27    0    0    0          0        0 (  0/255)         0          0      0 65535 / 21975132         27         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 25
     [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 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  135 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  405 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |    0,  675 |   480 x    270 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |  1920 x   1080 |  3840 /     0 | NON-TILED   |  480,  135 |  1440 x    810 |  3840 /      0 | NON-TILED   |      OFF |    0 |  422I  |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  22323124: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 71 / 87 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!! 
     [m3vpss ]  22323124: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 7545, HDDAC(BP0) 7545, DVO2(BP1) 7546, SDDAC(SEC1) 7546 
     [m3video] 	22327124: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video] 		 totalAcquire2wait :0 %
     [m3video] 		 totalWait2Isr :69 %
     [m3video] 		 totalIsr2Done :0 %
     [m3video] 		 totalWait2Done :69 %
     [m3video] 		 totalDone2Release :0 %
     [m3video] 		 totalAcquire2Release :69 %
     [m3video] 		 totalAcq2acqDelay :30 %
     [m3video] 		 totalElapsedTime in msec :17411623
     [m3video] 		 numAccessCnt: 1055136
     [m3video] 		IVA-FPS :      60
     [m3video] 		Average time spent per frame in microsec:     151
     [m3video] 	22327125: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video] 		 totalAcquire2wait :2 %
     [m3video] 		 totalWait2Isr :67 %
     [m3video] 		 totalIsr2Done :0 %
     [m3video] 		 totalWait2Done :67 %
     [m3video] 		 totalDone2Release :0 %
     [m3video] 		 totalAcquire2Release :69 %
     [m3video] 		 totalAcq2acqDelay :30 %
     [m3video] 		 totalElapsedTime in msec :17411926
     [m3video] 		 numAccessCnt: 1055154
     [m3video] 		IVA-FPS :      60
     [m3video] 		Average time spent per frame in microsec:     146
     [m3video] 	22327126: 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]  *** ENCODE Statistics *** 
     [m3video]  
     [m3video]  Elasped Time           : 125 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 |       0       0        0   0 255 /   0
     [m3video]    1 |       0       0        0   0 255 /   0
     [m3video]    2 |       0       0        0   0 255 /   0
     [m3video]    3 |       0       0        0   0 255 /   0
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size 
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [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 Encode Batch break Stats 
     [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] 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]  
     [m3video]  *** DECODE Statistics *** 
     [m3video]  
     [m3video]  Elasped Time           : 125 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In User  Out 
     [m3video]  Num | FPS     Skip FPS FPS 
     [m3video]  -----------------------------------
     [m3video]    0 |       0        0   0
     [m3video]    1 |       0        0   0
     [m3video]  
     [m3video] Multi Channel Decode Average Submit Batch Size 
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [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: 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] 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 ]  22329132: LOAD: CPU: 2.6% HWI: 0.7%, SWI:0.9% 
     [m3vpss ]  
     [m3vpss ]  22329132: LOAD: TSK: IPC_OUT_M30         : 0.1% 
     [m3vpss ]  22329132: LOAD: TSK: DISPLAY0            : 0.2% 
     [m3vpss ]  22329133: LOAD: TSK: SWMS1               : 0.3% 
     [m3vpss ]  22329133: LOAD: TSK: MISC                : 0.4% 
     [m3vpss ]  
     [m3video]  
     [m3video]  22329633: LOAD: CPU: 2.0% HWI: 0.2%, SWI:0.6% 
     [m3video]  
     [m3video]  22329633: LOAD: TSK: IPC_IN_M30          : 0.1% 
     [m3video]  22329633: LOAD: TSK: IPC_BITS_IN0        : 0.1% 
     [m3video]  22329634: LOAD: TSK: IPC_BITS_OUT0       : 0.1% 
     [m3video]  22329634: LOAD: TSK: ENC0                : 0.2% 
     [m3video]  22329634: LOAD: TSK: DEC0                : 0.3% 
     [m3video]  22329634: LOAD: TSK: MISC                : 0.4% 
     [m3video]  
     [c6xdsp ]  
     [c6xdsp ]  22327867: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0% 
     [c6xdsp ]  
     [c6xdsp ]  22327867: LOAD: TSK: MISC                : 0.2% 
     [c6xdsp ]  
    
    /**********************************************************/
    buff info:
     IPCBITSOUTLINK:Buffer Statistics
    
     Num Alloc Pools:2
    
     PoolId | TotalBufCnt | FreeBufCnt | BufSize | AppAllocCount
    
           0|            6|          6|  131072|            0
    
           1|            6|          6|  131072|            0
    
    
     VDEC:Buffer Statistics
    
     ChId | InBufCnt | OutBufCnt
    
         0|         0|         0
    
         1|         0|         0
     [m3vpss ]  
     [m3vpss ]  *** [Scalar0   ] Sclr Statistics *** 
     [m3vpss ] 22311658: Sclr: Rcvd from prev = 2110538, Returned to prev = 2110538
     [m3vpss ]  
     [m3vpss ]  *** [DUP0] DUP Statistics *** 
     [m3vpss ] 22311658: DUP: Rcvd from prev = 2110538, Returned to prev = 2110518
     [m3vpss ]  
     [m3vpss ]  *** [DUP0] Dup channel statisc*****
     [m3vpss ] Channel	|ForwardCount	|ReleaseCount
     [m3vpss ] 00		|2110538		|2110518
     [m3vpss ] 01		|2110538		|2110538
     [m3vpss ] dup Channel 00 Buf Q Status
     [m3vpss ] Empty Q -> count 300, wrPtr 374, rdPtr 74
     [m3vpss ] Full Q -> count 0, wrPtr 74, rdPtr 74
     [m3vpss ] dup Channel 01 Buf Q Status
     [m3vpss ] Empty Q -> count 320, wrPtr 10, rdPtr 74
     [m3vpss ] Full Q -> count 0, wrPtr 74, rdPtr 74
     [m3vpss ] Sclr Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 16, wrPtr 88, rdPtr 72
     [m3vpss ] Full Q -> count 0, wrPtr 72, rdPtr 72
     [m3vpss ]  
     [m3vpss ]  *** [MERGE1] Merge Statistics *** 
     [m3vpss ] Channel	|FrameInputCount	|FrameReturnCount
     [m3vpss ] 00		|2110536			|2110532
     [m3vpss ] 01		|0			|0
     [m3vpss ] MERGE1 Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 72, rdPtr 72
     [m3vpss ]  
     [m3vpss ]  *** [SWMS1] Mosaic Statistics *** 
     [m3vpss ] 22311710: SWMS: Rcvd from prev = 2110536, Returned to prev = 2110532
     [m3vpss ] SWMS Out  Buf Q Status
     [m3vpss ] Empty Q -> count 3, wrPtr 296, rdPtr 293
     [m3vpss ] Full Q -> count 0, wrPtr 293, rdPtr 293
     [m3vpss ]  
     [m3vpss ]  *** Display Statistics *** 
     [m3vpss ] 22313710: DISPLAY: Rcvd from prev = 593627, Returned to prev = 593625, BufsInDriver = 4
     [m3video]  
     [m3video]  *** Encode Statistics *** 
     [m3video]   22314711: ENC: Rcvd from prev = 2110538, Returned to prev = 2110518
     [m3video]  ENC Out  BitBuf Q Status
     [m3video] Empty Q 0 -> count 8, wrPtr 238, rdPtr 230
     [m3video] Full Q -> count 0, wrPtr 210, rdPtr 210

    According to the log information, the encoder link never put back the buff, still have 20 buff

    another issue:  when the above issue happen,I exit the program,when stop enclink, the api not return(hang)

    so I guess the enclink is (hang)  or  running fly.

    The chip working temperature is 70 ℃ ( equal 159 ℉)

    now I need some advice to confirm the issue!

    thanks very much

  • additional:

                    test 6 boards,only 4 boars have this issue,  also test use same fireware,in the same condition, only two board have the issue, so I guess the chip is broken or some chips have bug?

  • Was dup output que 0 connected to encLink ? From your description it looks like HDVICP is hung. Can you try out the changes mentioned in http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/360468/1272606.aspx

    and check if you get timeout in HDVICP_wait ?

    For board design hw issue you will have to check your board against guidelines mentioned in

    http://processors.wiki.ti.com/index.php/DM816x_Design_Resources

  • Hi:

        yes dup0 connect to enclink. I will try it!

        thanks very much!

  • Hi:

         I modify the /dvr_rdk/mcfw/src_bios6/links_m3video/codec_utils/src/iresman_hdvicp2_fwif.c as below:

    XDAS_UInt32 HDVICP_Wait(IALG_Handle handle, IRES_HDVICP2_Handle iresHandle,
                            IRES_YieldContext * yieldCtxt)
    {
    
        DBC_require(iresHandle);
    #ifdef UTILS_ENCDEC_HDVICP_PROFILE
        {
            UInt32 curTime = Utils_encdecGetTime();
    
            g_HDVICP_logTbl[iresHandle->id].totalAcquire2wait +=
                (curTime - g_HDVICP_logTbl[iresHandle->id].tempAcquireTime);
            g_HDVICP_logTbl[iresHandle->id].tempWaitTime = curTime;
        }
    #endif
        /* pend for the semaphore ie. block on the semaphore */
        _HDVICP2_context[iresHandle->id].inIVAHDprocess = TRUE;	
    #if 0 
        Semaphore_pend(_HDVICP2_context[iresHandle->id].semHandle,
                       BIOS_WAIT_FOREVER);
    #else
    	UTILS_assert(Semaphore_pend(_HDVICP2_context[iresHandle->id].semHandle,
                       1000) == TRUE);
    #endif
    	_HDVICP2_context[iresHandle->id].inIVAHDprocess = FALSE;
        DBC_ensure(success);
    
        return (XDAS_TRUE);
    }

    when I print buff info or statics info ,it will block,when I modify back,it will fine!

    so  UTILS_assert can't work fine in this src?

    my RDK version is 3.5!

     

  • HI:

        because UTILT_assert can't work fine.so I modify HDVICP_wait as below:

    if(Semaphore_pend(_HDVICP2_context[iresHandle->id].semHandle,
    1000) != TRUE)
    {
    Vps_rprintf ("Assertion @ Line: %d in %s : failed !!!\n",__LINE__,__FILE__);
    }

    now terminal  Continuous printf 
     [m3video] Assertion @ Line: 455 in links_m3video/codec_utils/src/iresman_hdvicp2_fwif.c : failed !!!

    it can confirm: because the enclink hang lead this issue?
    if it's true, I want to know what's the condition will lead enclink hang, then we can do something to avoid it!

    thanks very much!

    wish you reply !

  • Hang in HDVICP typically indicates board deisgn issue.Unfortunately there is no workaround possible from sw side. Pls check your board against the guidelines mentioned in DesignResources link I shared previously. You can try reducing HDVICP frequency to 533 or below and check if it improves stability. If issue was with peak voltage supply on your board reducing frequency could improve stability.