Hello TI-friends,
why the input frame rate for SCD is only 2 instead of 30? Is there any reason?
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.
Hello TI-friends,
why the input frame rate for SCD is only 2 instead of 30? Is there any reason?
Hi all,
By testing, there's a hang problem when adjusting the incoming frame rate to either 20 or 30 in DVRRDK_03_00.xx
And I found there's a describtion inside the datasheet (SCD_TI_API_UsersGuide_v00.50.pdf) and shown below
The following insufficiencies with the SCD algorithm are present in this version:
Only 5 frames per second processing has been extensively tested. The impact to processing at other frame rates is currently under investigation.
Does any bodies know that?
When you see hangup situation can you invoke Vsys_printDetailsStatistics() and Vsys_printBufferStatistics () and share the log. Do you have the ability to connect CCS to the target at point of hang on your board ?
If you can connect CCS via JTAG to your board at hang situation we can have a joint debug session to debug the issue further
1. Hereunder are some logs for reference
videoSourceStatus.numChannels 16
DEMO: 0: Detected video at CH [0,0] (720x240@59Hz, 1)!!!
DEMO: 1: Detected video at CH [0,1] (720x240@59Hz, 1)!!!
DEMO: 2: Detected video at CH [0,2] (720x240@59Hz, 1)!!!
DEMO: 3: Detected video at CH [0,3] (720x240@59Hz, 1)!!!
DEMO: 4: Detected video at CH [1,0] (720x240@59Hz, 1)!!!
DEMO: 5: Detected video at CH [1,1] (720x240@59Hz, 1)!!!
DEMO: 6: Detected video at CH [1,2] (720x240@59Hz, 1)!!!
DEMO: 7: Detected video at CH [1,3] (720x240@59Hz, 1)!!!
DEMO: 8: Detected video at CH [2,0] (720x240@59Hz, 1)!!!
DEMO: 9: Detected video at CH [2,1] (720x240@59Hz, 1)!!!
DEMO: 10: Detected video at CH [2,2] (720x240@59Hz, 1)!!!
DEMO: 11: Detected video at CH [2,3] (720x240@59Hz, 1)!!!
DEMO: 12: Detected video at CH [3,0] (720x240@59Hz, 1)!!!
DEMO: 13: Detected video at CH [3,1] (720x240@59Hz, 1)!!!
DEMO: 14: Detected video at CH [3,2] (720x240@59Hz, 1)!!!
DEMO: 15: Detected video at CH [3,3] (720x240@59Hz, 1)!!!
[m3vpss ]
[m3vpss ] *** Capture Driver Advanced Statistics ***
[m3vpss ]
[m3vpss ] VIP Parser Reset Count : 0
[m3vpss ]
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ------------------------------------------------------------------------------------------------------------
[m3vpss ] 000 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (2/0)
[m3vpss ] 001 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 002 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 003 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 100 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 101 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 102 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 103 | 2471 1236 1235 68 34 34 720 / 720 243 / 244 1 0 0/0 (0/0)
[m3vpss ] 200 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (0/0)
[m3vpss ] 201 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (0/0)
[m3vpss ] 202 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (2/0)
[m3vpss ] 203 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (2/0)
[m3vpss ] 300 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (0/0)
[m3vpss ] 301 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (0/0)
[m3vpss ] 302 | 2470 1236 1234 68 34 34 720 / 720 243 / 244 1 1 0/0 (1/0)
[m3vpss ] 303 | 2470 1234 1236 68 34 34 720 / 720 243 / 244 1 5 0/0 (4/0)
[m3vpss ]
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ] VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ] VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ] VIP Capture Port 3 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ]
[m3vpss ] *** Capture List Manager Advanced Statistics ***
[m3vpss ]
[m3vpss ] List Post Count : 18178
[m3vpss ] List Stall Count : 0
[m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
[m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 949, 972)
[m3vpss ] Descriptor miss found count : 0
[m3vpss ]
[m3vpss ]
[m3vpss ] VIP and VPDMA registers,
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00001400
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00001400
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x007e0000
[m3vpss ]
[m3vpss ]
[m3vpss ] 80730: CAPTURE: Fields = 39512 (fps = 1086, CPU Load = 0)
[m3vpss ] 80731: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 80731: SYSTEM : FREE SPACE : System Heap = 4344 B, Mbx = 10237 msgs)
[m3vpss ] 80731: SYSTEM : FREE SPACE : SR0 Heap = 11003648 B (10 MB)
[m3vpss ] 80731: SYSTEM : FREE SPACE : Frame Buffer = 128 B (0 MB)
[m3vpss ] 80731: SYSTEM : FREE SPACE : Bitstream Buffer = 188955520 B (180 MB)
[m3vpss ] 80732: SYSTEM : FREE SPACE : Tiler 8-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 80732: SYSTEM : FREE SPACE : Tiler 16-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ]
[m3vpss ] *** [DEI0 ] DEI Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time : 39 secs
[m3vpss ] Total Fields Processed : 20704
[m3vpss ] Total Fields FPS : 738 FPS
[m3vpss ]
[m3vpss ]
[m3vpss ] CH | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS Skip FPS Skip FPS Skip FPS Skip FPS Skip FPS Min / Max
[m3vpss ] -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 66 0 66 0 25 24 0 0 66 7 9 0 0 0 0 0 0 0 11 / 24
[m3vpss ] 1 | 66 0 66 0 23 24 0 0 66 9 9 0 0 0 0 0 0 0 11 / 24
[m3vpss ] 2 | 66 0 66 0 23 24 0 0 66 9 9 0 0 0 0 0 0 0 11 / 24
[m3vpss ] 3 | 66 0 66 0 24 24 0 0 66 8 8 0 0 0 0 0 0 0 10 / 24
[m3vpss ] 4 | 66 0 66 0 24 24 0 0 66 8 8 0 0 0 0 0 0 0 10 / 24
[m3vpss ] 5 | 66 0 66 0 24 24 0 0 66 8 8 0 0 0 0 0 0 0 10 / 23
[m3vpss ] 6 | 66 0 66 0 25 24 0 0 66 7 8 0 0 0 0 0 0 0 10 / 24
[m3vpss ] 7 | 66 0 66 0 26 24 0 0 66 7 8 0 0 0 0 0 0 0 10 / 23
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [DEI2 ] DEI Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time : 39 secs
[m3vpss ] Total Fields Processed : 20716
[m3vpss ] Total Fields FPS : 752 FPS
[m3vpss ]
[m3vpss ]
[m3vpss ] CH | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS Skip FPS Skip FPS Skip FPS Skip FPS Skip FPS Min / Max
[m3vpss ] -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 66 0 66 0 24 23 0 0 66 8 9 0 0 0 0 0 0 0 10 / 23
[m3vpss ] 1 | 66 0 66 0 24 23 0 0 66 8 9 0 0 0 0 0 0 0 10 / 23
[m3vpss ] 2 | 66 0 66 0 25 23 0 0 66 7 9 0 0 0 0 0 0 0 10 / 23
[m3vpss ] 3 | 66 0 66 0 26 23 0 0 66 7 9 0 0 0 0 0 0 0 10 / 23
[m3vpss ] 4 | 66 0 66 0 25 23 0 0 66 7 9 0 0 0 0 0 0 0 6 / 24
[m3vpss ] 5 | 66 0 66 0 26 23 0 0 66 6 9 0 0 0 0 0 0 0 6 / 24
[m3vpss ] 6 | 66 0 66 0 27 23 0 0 66 5 9 0 0 0 0 0 0 0 6 / 24
[m3vpss ] 7 | 66 0 66 0 28 23 0 0 66 4 9 0 0 0 0 0 0 0 6 / 24
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS0] Mosaic Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time: 9 secs
[m3vpss ]
[m3vpss ] Output Request FPS : 36 fps (331 frames)
[m3vpss ] Output Actual FPS : 36 fps (331 frames)
[m3vpss ] Output Drop FPS : 0 fps (0 frames)
[m3vpss ] Output Reject FPS : 0 fps (0 frames)
[m3vpss ] Scaling Internal : 29 ms
[m3vpss ] Scaling Internal min : 19 ms
[m3vpss ] Scaling Internal max : 56 ms
[m3vpss ]
[m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max
[m3vpss ] ------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 36 10 0 0 26 0 0 ( 0/255) 0 0 0 12 / 753
[m3vpss ] 1 | 36 12 0 0 24 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 2 | 36 12 0 0 24 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 3 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 4 | 36 11 0 0 24 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 5 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 6 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 704
[m3vpss ] 7 | 36 10 0 0 26 0 0 ( 0/255) 0 0 0 12 / 704
[m3vpss ] 8 | 36 12 0 0 24 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 9 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 10 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 11 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 721
[m3vpss ] 12 | 36 11 0 0 25 0 0 ( 0/255) 0 0 0 12 / 704
[m3vpss ] 13 | 36 9 0 0 27 0 0 ( 0/255) 0 0 0 13 / 704
[m3vpss ] 14 | 36 9 0 0 27 0 0 ( 0/255) 0 0 0 13 / 704
[m3vpss ] 15 | 36 7 0 0 28 0 0 ( 0/255) 0 0 0 13 / 705
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS0] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 30
[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 | 704 x 240 | 1408 / 1408 | NON-TILED | 0, 0 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 1 | 1 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 480, 0 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 2 | 2 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 960, 0 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 3 | 3 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 1440, 0 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 4 | 4 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 0, 270 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 5 | 5 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 480, 270 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 6 | 6 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 960, 270 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 7 | 7 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 1440, 270 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 8 | 8 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 0, 540 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 9 | 9 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 480, 540 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 10 | 10 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 960, 540 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 11 | 11 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 1440, 540 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 12 | 12 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 0, 810 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 13 | 13 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 480, 810 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 14 | 14 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 960, 810 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ] 15 | 15 | 0, 0 | 704 x 240 | 1408 / 1408 | NON-TILED | 1440, 810 | 480 x 270 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
[m3vpss ]
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS1] Mosaic Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time: 9 secs
[m3vpss ]
[m3vpss ] Output Request FPS : 36 fps (332 frames)
[m3vpss ] Output Actual FPS : 36 fps (332 frames)
[m3vpss ] Output Drop FPS : 0 fps (0 frames)
[m3vpss ] Output Reject FPS : 0 fps (0 frames)
[m3vpss ] Scaling Internal : 29 ms
[m3vpss ] Scaling Internal min : 19 ms
[m3vpss ] Scaling Internal max : 64 ms
[m3vpss ]
[m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max
[m3vpss ] ------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 36 0 0 0 36 0 0 ( 0/255) 0 0 0 26 / 134
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS1] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 30
[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 | 960 x 1080 | 3840 / 0 | NON-TILED | 0, 0 | 1920 x 1080 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ]
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS2] Mosaic Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time: 9 secs
[m3vpss ]
[m3vpss ] Output Request FPS : 37 fps (335 frames)
[m3vpss ] Output Actual FPS : 37 fps (335 frames)
[m3vpss ] Output Drop FPS : 0 fps (0 frames)
[m3vpss ] Output Reject FPS : 0 fps (0 frames)
[m3vpss ] Scaling Internal : 29 ms
[m3vpss ] Scaling Internal min : 28 ms
[m3vpss ] Scaling Internal max : 35 ms
[m3vpss ]
[m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max
[m3vpss ] ------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 37 0 0 0 36 0 0 ( 0/255) 0 0 0 39 / 144
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS2] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 30
[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 | 960 x 1080 | 3840 / 0 | NON-TILED | 0, 0 | 720 x 480 | 1472 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ]
[m3vpss ]
[m3vpss ] 82572: DISPLAY: HDDAC(BP0) : 67 fps, Latency (Min / Max) = ( 9 / 61 ), Callback Interval (Min / Max) = ( 13 / 16 ) !!!
[m3vpss ] 82572: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 2616, HDDAC(BP0) 2621, DVO2(BP1) 2622, SDDAC(SEC1) 2623
[m3vpss ] 82573: SYSTEM : FREE SPACE : System Heap = 4344 B, Mbx = 10237 msgs)
[m3vpss ] 82573: SYSTEM : FREE SPACE : SR0 Heap = 11003648 B (10 MB)
[m3vpss ] 82573: SYSTEM : FREE SPACE : Frame Buffer = 128 B (0 MB)
[m3vpss ] 82573: SYSTEM : FREE SPACE : Bitstream Buffer = 188955520 B (180 MB)
[m3vpss ] 82574: SYSTEM : FREE SPACE : Tiler 8-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 82574: SYSTEM : FREE SPACE : Tiler 16-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 82574: DISPLAY: DVO2(BP1) : 68 fps, Latency (Min / Max) = ( 7 / 74 ), Callback Interval (Min / Max) = ( 14 / 16 ) !!!
[m3vpss ] 82575: DISPLAY: SDDAC(SEC1): 33 fps, Latency (Min / Max) = ( 2 / 45 ), Callback Interval (Min / Max) = ( 28 / 30 ) !!!
[m3vpss ]
[m3vpss ] *** IpcFramesOutRTOS Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time : 39 secs
[m3vpss ] Total Fields Processed : 14930
[m3vpss ] Total Fields FPS : 382 FPS
[m3vpss ]
[m3vpss ]
[m3vpss ] CH | In Recv In Process In Skip
[m3vpss ] Num | FPS FPS FPS
[m3vpss ] --------------------------------
[m3vpss ] 0 | 24 24 0
[m3vpss ] 1 | 24 24 0
[m3vpss ] 2 | 24 24 0
[m3vpss ] 3 | 24 24 0
[m3vpss ] 4 | 24 24 0
[m3vpss ] 5 | 24 24 0
[m3vpss ] 6 | 24 24 0
[m3vpss ] 7 | 24 24 0
[m3vpss ] 8 | 23 23 0
[m3vpss ] 9 | 23 23 0
[m3vpss ] 10 | 23 23 0
[m3vpss ] 11 | 23 23 0
[m3vpss ] 12 | 23 23 0
[m3vpss ] 13 | 23 23 0
[m3vpss ] 14 | 23 23 0
[m3vpss ] 15 | 23 23 0
[m3vpss ]
[c6xdsp ]
[c6xdsp ] *** SCD Statistics ***
[c6xdsp ]
[c6xdsp ] Elasped Time : 47 secs
[c6xdsp ] Total Fields Processed : 1048
[c6xdsp ] Total Fields FPS : 22 FPS
[c6xdsp ]
[c6xdsp ]
[c6xdsp ] CH | In Recv In Process User Skip Process Skip In Process Time
[c6xdsp ] Num | FPS FPS FPS FPS per frame (msec)
[c6xdsp ] ----------------------------------------------------------------
[c6xdsp ] 0 | 20 1 19 0 794
[c6xdsp ] 1 | 20 1 19 0 802
[c6xdsp ] 2 | 21 1 19 0 807
[c6xdsp ] 3 | 21 1 19 0 829
[c6xdsp ] 4 | 21 1 19 0 781
[c6xdsp ] 5 | 21 1 19 0 789
[c6xdsp ] 6 | 21 1 19 0 791
[c6xdsp ] 7 | 21 1 19 0 859
[c6xdsp ] 8 | 20 1 19 0 759
[c6xdsp ] 9 | 20 1 19 0 731
[c6xdsp ] 10 | 20 1 19 0 706
[c6xdsp ] 11 | 20 1 19 0 735
[c6xdsp ] 12 | 20 1 19 0 752
[c6xdsp ] 13 | 20 1 19 0 735
[c6xdsp ] 14 | 20 1 19 0 761
[c6xdsp ] 15 | 20 1 19 0 757
[c6xdsp ]
[m3video] 86108: HDVICP-ID:0
[m3video] All percentage figures are based off totalElapsedTime
[m3video] totalAcquire2wait :8 %
[m3video] totalWait2Isr :86 %
[m3video] totalIsr2Done :0 %
[m3video] totalWait2Done :86 %
[m3video] totalDone2Release :0 %
[m3video] totalAcquire2Release :97 %
[m3video] totalAcq2acqDelay :2 %
[m3video] totalElapsedTime in msec : 41682
[m3video] numAccessCnt: 34236
[m3video] IVA-FPS : 835
[m3video] Average time spent per frame in microsec: 1046
[m3video] 86109: 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] 86110: 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 : 41 secs
[m3video]
[m3video]
[m3video] CH | In Recv In Skip In User Out Latency
[m3video] Num | FPS FPS Skip FPS FPS Min / Max
[m3video] --------------------------------------------
[m3video] 0 | 26 1 0 24 16 / 993
[m3video] 1 | 24 1 0 22 48 / 1025
[m3video] 2 | 24 1 0 22 48 / 1025
[m3video] 3 | 25 3 0 22 48 / 1025
[m3video] 4 | 25 2 0 22 48 / 1025
[m3video] 5 | 25 2 0 22 73 / 1025
[m3video] 6 | 26 4 0 22 97 / 1025
[m3video] 7 | 26 5 0 21 73 / 1025
[m3video] 8 | 25 2 0 22 73 / 993
[m3video] 9 | 25 2 0 22 73 / 993
[m3video] 10 | 26 3 0 22 73 / 993
[m3video] 11 | 26 4 0 22 73 / 993
[m3video] 12 | 26 4 0 22 97 / 930
[m3video] 13 | 27 5 0 21 97 / 899
[m3video] 14 | 28 7 0 21 97 / 899
[m3video] 15 | 29 9 0 20 97 / 899
[m3video] 16 | 24 0 0 24 81 / 977
[m3video] 17 | 24 0 0 24 81 / 977
[m3video] 18 | 24 0 0 23 81 / 977
[m3video] 19 | 25 1 0 23 81 / 977
[m3video] 20 | 25 1 0 23 81 / 1009
[m3video] 21 | 25 1 0 23 81 / 1009
[m3video] 22 | 25 1 0 23 81 / 1009
[m3video] 23 | 25 1 0 23 81 / 1009
[m3video] 24 | 24 0 0 24 82 / 1009
[m3video] 25 | 24 0 0 24 90 / 1009
[m3video] 26 | 24 0 0 23 90 / 1009
[m3video] 27 | 24 0 0 23 90 / 1009
[m3video] 28 | 24 0 0 23 90 / 1009
[m3video] 29 | 24 0 0 23 90 / 1009
[m3video] 30 | 24 0 0 23 90 / 1009
[m3video] 31 | 24 0 0 23 90 / 1009
[m3video]
[m3video] Multi Channel Encode Average Submit Batch Size
[m3video] Max Submit Batch Size : 24
[m3video] IVAHD_0 Average Batch Size : 10
[m3video] IVAHD_0 Max achieved Batch Size : 24
[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: 2841
[m3video] All numbers are based off total number of Batches created
[m3video] Batch breaks due to batch sizeexceeding limit: 17 %
[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: 13 %
[m3video] Batch breaks due to different codec: 69 %
[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 : 13 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] 2 | 0 0 0
[m3video] 3 | 0 0 0
[m3video] 4 | 0 0 0
[m3video] 5 | 0 0 0
[m3video] 6 | 0 0 0
[m3video] 7 | 0 0 0
[m3video] 8 | 0 0 0
[m3video] 9 | 0 0 0
[m3video] 10 | 0 0 0
[m3video] 11 | 0 0 0
[m3video] 12 | 0 0 0
[m3video] 13 | 0 0 0
[m3video] 14 | 0 0 0
[m3video] 15 | 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 ] 87887: LOAD: CPU: 32.9% HWI: 4.6%, SWI:1.8%
[m3vpss ]
[m3vpss ] 87887: LOAD: TSK: IPC_OUT_M30 : 2.5%
[m3vpss ] 87887: LOAD: TSK: IPC_FRAMES_OUT1 : 1.6%
[m3vpss ] 87887: LOAD: TSK: CAPTURE : 1.3%
[m3vpss ] 87887: LOAD: TSK: DEI0 : 4.1%
[m3vpss ] 87888: LOAD: TSK: DEI2 : 4.1%
[m3vpss ] 87888: LOAD: TSK: DISPLAY0 : 0.4%
[m3vpss ] 87888: LOAD: TSK: DISPLAY1 : 0.3%
[m3vpss ] 87888: LOAD: TSK: DISPLAY2 : 0.3%
[m3vpss ] 87888: LOAD: TSK: DUP0 : 0.7%
[m3vpss ] 87888: LOAD: TSK: DUP1 : 0.3%
[m3vpss ] 87888: LOAD: TSK: DUP2 : 0.6%
[m3vpss ] 87888: LOAD: TSK: DUP3 : 0.2%
[m3vpss ] 87888: LOAD: TSK: SWMS0 : 2.2%
[m3vpss ] 87888: LOAD: TSK: SWMS1 : 1.0%
[m3vpss ] 87889: LOAD: TSK: SWMS2 : 0.8%
[m3vpss ] 87889: LOAD: TSK: MERGE0 : 0.2%
[m3vpss ] 87889: LOAD: TSK: MERGE1 : 0.2%
[m3vpss ] 87889: LOAD: TSK: MERGE2 : 0.2%
[m3vpss ] 87889: LOAD: TSK: MERGE3 : 0.3%
[m3vpss ] 87889: LOAD: TSK: MISC : 5.2%
[m3vpss ]
[m3video]
[m3video] 88332: LOAD: CPU: 23.9% HWI: 1.3%, SWI:1.2%
[m3video]
[m3video] 88332: LOAD: TSK: IPC_IN_M30 : 1.0%
[m3video] 88333: LOAD: TSK: IPC_BITS_OUT0 : 3.7%
[m3video] 88333: LOAD: TSK: ENC0 : 4.3%
[m3video] 88333: LOAD: TSK: DEC0 : 0.6%
[m3video] 88333: LOAD: TSK: ENC_PROCESS_TSK_0 : 11.3%
[m3video] 88333: LOAD: TSK: MISC : 0.5%
[m3video]
[c6xdsp ]
[c6xdsp ] 99479: LOAD: CPU: 4.8% HWI: 0.1%, SWI:0.0%
[c6xdsp ]
[c6xdsp ] 99480: LOAD: TSK: IPC_FRAMES_IN1 : 0.3%
[c6xdsp ] 99480: LOAD: TSK: IPC_BITS_OUT1 : 1.8%
[c6xdsp ] 99480: LOAD: TSK: ALG1 : 0.4%
[c6xdsp ] 99480: LOAD: TSK: SCD_PROCESS_TSK1 : 1.7%
[c6xdsp ] 99480: LOAD: TSK: MISC : 0.5%
[c6xdsp ]
VDEC:Buffer Statistics
ChId | InBufCnt | OutBufCnt
[m3vpss ]
[m3vpss ] *** CAPTURE Statistics ***
[m3vpss ] 89220: CAPTURE: Queued to driver = 48894, Dequeued from driver = 48744
[m3vpss ] CAPTURE [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 184, rdPtr 184
[m3vpss ]
[m3vpss ] *** [DEI0 ] DEI Statistics ***
[m3vpss ] 89229: DEI: Rcvd from prev = 24376, Returned to prev = 24376
[m3vpss ] DEI Out [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] DEI Out [1] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 220, rdPtr 220
[m3vpss ] DEI Out [2] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 60, rdPtr 60
[m3vpss ] DEI Out [3] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] DEI Out [4] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ]
[m3vpss ] *** [DEI2 ] DEI Statistics ***
[m3vpss ] 89231: DEI: Rcvd from prev = 24368, Returned to prev = 24368
[m3vpss ] DEI Out [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] DEI Out [1] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 304, rdPtr 304
[m3vpss ] DEI Out [2] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 189, rdPtr 189
[m3vpss ] DEI Out [3] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] DEI Out [4] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ]
[m3vpss ] *** [SWMS0] Mosaic Statistics ***
[m3vpss ] 89232: SWMS: Rcvd from prev = 18572, Returned to prev = 12433
[m3vpss ] SWMS Out Buf Q Status
[m3vpss ] Empty Q -> count 2, wrPtr 373, rdPtr 371
[m3vpss ] Full Q -> count 0, wrPtr 371, rdPtr 371
[m3vpss ]
[m3vpss ] *** [SWMS1] Mosaic Statistics ***
[m3vpss ] 89233: SWMS: Rcvd from prev = 1523, Returned to prev = 1521
[m3vpss ] SWMS Out Buf Q Status
[m3vpss ] Empty Q -> count 3, wrPtr 374, rdPtr 371
[m3vpss ] Full Q -> count 1, wrPtr 371, rdPtr 370
[m3vpss ]
[m3vpss ] *** [SWMS2] Mosaic Statistics ***
[m3vpss ] 89233: SWMS: Rcvd from prev = 1523, Returned to prev = 1520
[m3vpss ] SWMS Out Buf Q Status
[m3vpss ] Empty Q -> count 2, wrPtr 375, rdPtr 373
[m3vpss ] Full Q -> count 1, wrPtr 373, rdPtr 372
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 89235: DISPLAY: Rcvd from prev = 1523, Returned to prev = 1521, BufsInDriver = 4
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 89235: DISPLAY: Rcvd from prev = 1522, Returned to prev = 1521, BufsInDriver = 3
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 89235: DISPLAY: Rcvd from prev = 1524, Returned to prev = 1522, BufsInDriver = 4
[m3video]
[m3video] *** Encode Statistics ***
[m3video] 89677: ENC: Rcvd from prev = 36458, Returned to prev = 36256
[m3video] ENC Out BitBuf Q Status
[m3video] Empty Q 0 -> count 0, wrPtr 333, rdPtr 333
[m3video] Empty Q 1 -> count 16, wrPtr 297, rdPtr 281
[m3video] Full Q -> count 0, wrPtr 28, rdPtr 28
2. I see the following messages when hangup
[MOTION DETECTED] 389704815: SCD CH <0> CAP CH = 0
[m3vpss ] 360543164: DISPLAY: HDDAC(BP0) : 5 fps, Latency (Min / Max) = ( 9 / 38 ), Callback Interval (Min / Max) = ( 13 /
[m3vpss ] 360543164: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 5883961, HDDAC(BP0) 5883994, DVO2(BP1) 5884029, SDDAC(SEC1) 58932
[m3vpss ] 360543165: SYSTEM : FREE SPACE : System Heap = 4344 B, Mbx = 10239 msgs)
[m3vpss ] 360543165: SYSTEM : FREE SPACE : SR0 Heap = 11003648 B (10 MB)
[m3vpss ] 360543166: SYSTEM : FREE SPACE : Frame Buffer = 128 B (0 MB)
[m3vpss ] 360543166: SYSTEM : FREE SPACE : Bitstream Buffer = 188955520 B (180 MB)
[m3vpss ] 360543167: SYSTEM : FREE SPACE : Tiler 8-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 360543167: SYSTEM : FREE SPACE : Tiler 16-bit = 134217728 B (128 MB) - TILER ON
[m3vpss ] 360543217: DISPLAY: DVO2(BP1) : 5 fps, Latency (Min / Max) = ( 1 / 22 ), Callback Interval (Min / Max) = ( 14 /
[m3vpss ] 360543295: DISPLAY: SDDAC(SEC1): 9 fps, Latency (Min / Max) = ( 4 / 39 ), Callback Interval (Min / Max) = ( 27 /
[MOTION DETECTED] 392177694: SCD CH <5> CAP CH = 5
Any further idea?
Did you get these logs after the hang occurred ? When you say hang what does it mean ? Is display getting blanked ? Is encode stopping ?
From the log there seems to additional problem with M3 frequency. Have you flashed the uboot that is part of RDK 3.0 ? At boot up time can you confirm M3 frequency is 280 Mhz ?
Did you get these logs after the hang occurred ?
==> No, they're before the hang
When you say hang what does it mean ?
==> there's no response in the console. the preview display has no response.
Is display getting blanked ?
==> no
Is encode stopping ?
==> not sure
From the log there seems to additional problem with M3 frequency. Have you flashed the uboot that is part of RDK 3.0 ?
==> No. Did you mean the wrong frequency? if yes, is there any relationship about the frequency? basically, frequency has
an effect on performance instead of hang. Right?
At boot up time can you confirm M3 frequency is 280 Mhz?
==> Yes.
==> there's no response in the console. the preview display has no response.
- You mean A8 is hung ?
- Can you try disabling notify between ipcBitsOut on DSP and ipcBitsIn on A8 and check if there is any change in behaviour.
Change /dvr_rdk/mcfw/src_linux/mcfw_api/usecases/ti816x/multich_progressive_vcap_venc_vdec_vdis.c
ipcBitsOutDspPrm.baseCreateParams.notifyNextLink = TRUE;
ipcBitsOutDspPrm.baseCreateParams.noNotifyMode = FALSE;
to
ipcBitsOutDspPrm.baseCreateParams.notifyNextLink = FALSE;
ipcBitsOutDspPrm.baseCreateParams.noNotifyMode = TRUE;
and change
ipcBitsInHostPrm[1].baseCreateParams.notifyPrevLink = TRUE;
ipcBitsInHostPrm[1].baseCreateParams.noNotifyMode = FALSE;
to
ipcBitsInHostPrm[1].baseCreateParams.notifyPrevLink = FALSE;
ipcBitsInHostPrm[1].baseCreateParams.noNotifyMode = TRUE;
From the log there seems to additional problem with M3 frequency. Have you flashed the uboot that is part of RDK 3.0 ?
-Pls flash uboot and use uImage that is part of RDK release. Havign wrong frequency will cause functionality issues and not just performance issue since BIOS clock tick is configured assuming M3 frequency is 280.
From the log there seems to additional problem with M3 frequency. Have you flashed the uboot that is part of RDK 3.0 ?
-Pls flash uboot and use uImage that is part of RDK release. Havign wrong frequency will cause functionality issues and not just performance issue since BIOS clock tick is configured assuming M3 frequency is 280.
==> After trying with uboot under pre-built binary in DVRRDK_3.00.00, I got following logs. The preview display hung but I can press Ctrl+C to jump out
[MOTION DETECTED] 69319786: SCD CH <8> CAP CH = 8
[MOTION DETECTED] 69319788: SCD CH <12> CAP CH = 12
[MOTION DETECTED] 69319789: SCD CH <14> CAP CH = 14
22 Obtained 6 stack frames.
/opt/dvr_rdk/ti816x/bin/dvr_rdk_demo_mcfw_api.out [0xaa8c]
/lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0x2acb6630]
/opt/dvr_rdk/ti816x/bin/dvr_rdk_demo_mcfw_api.out [0x1c1b0]
/opt/dvr_rdk/ti816x/bin/dvr_rdk_demo_mcfw_api.out [0x14aa0]
/lib/libpthread.so.0 [0x2ac715f4]
/lib/libc.so.6(clone+0x88) [0x2ad4e368]
[m3vpss ] 69341304: CAPTURE: Stop in progress !!!
[m3vpss ] 69341304: CAPTURE: Stop Done !!!
[m3vpss ] 69341307: DEI : Stop in progress, 0 requests pending !!!
[m3vpss ] 69341307: DEI : Stop Done !!!
[m3vpss ] 69341312: DEI : Stop in progress, 0 requests pending !!!
[m3vpss ] 69341313: DEI : Stop Done !!!
Dear Badri,
Thanks for your reply. I'll try your previous post to disable notify and update once I got result.
Are you doing demo stop .i.e Giving "e" ? From the logs I see the links are getting stopped.Just doing Ctrl+C will not do that.
Are you doing demo stop .i.e Giving "e" ? From the logs I see the links are getting stopped.Just doing Ctrl+C will not do that.
==>No. When I see the logs, I wait for several minutes to see if something change. Unfortunately, nothing happened, so I try "Ctrl+C"
and it return to command line. No further error message were displayed.
Giving "e" ?
==>what do you mean? Could you highlight this one?
You are running mcfw API demo right ? The demo takes cmd line option to exit demo. If you enter "e" it will exit the demo. From the logs it looks like attempt was made to exit the demo since I am seeing log "Stopping DEI link". Doign Ctrl+C will not stop the demo.It will just exit from the mcfw demo app.
You are running mcfw API demo right ?
The demo takes cmd line option to exit demo. If you enter "e" it will exit the demo.
From the logs it looks like attempt was made to exit the demo since I am seeing log "Stopping DEI link".
Doign Ctrl+C will not stop the demo.It will just exit from the mcfw demo app.
==> No. We modify the demo code and the exit command is "88". And I didn't see the number was key-in.
Dear Badri,
Thanks for your opinion.
- Can you try disabling notify between ipcBitsOut on DSP and ipcBitsIn on A8 and check if there is any change in behaviour.
Change /dvr_rdk/mcfw/src_linux/mcfw_api/usecases/ti816x/multich_progressive_vcap_venc_vdec_vdis.c
ipcBitsOutDspPrm.baseCreateParams.notifyNextLink = TRUE;
ipcBitsOutDspPrm.baseCreateParams.noNotifyMode = FALSE;
to
ipcBitsOutDspPrm.baseCreateParams.notifyNextLink = FALSE;
ipcBitsOutDspPrm.baseCreateParams.noNotifyMode = TRUE;
and change
ipcBitsInHostPrm[1].baseCreateParams.notifyPrevLink = TRUE;
ipcBitsInHostPrm[1].baseCreateParams.noNotifyMode = FALSE;
to
ipcBitsInHostPrm[1].baseCreateParams.notifyPrevLink = FALSE;
ipcBitsInHostPrm[1].baseCreateParams.noNotifyMode = TRUE;
From the log there seems to additional problem with M3 frequency. Have you flashed the uboot that is part of RDK 3.0 ?
-Pls flash uboot and use uImage that is part of RDK release. Havign wrong frequency will cause functionality issues and not just performance issue since BIOS clock tick is configured assuming M3 frequency is 280.
Q1. May I know your idea about this modification?
I didnt understand your question.Do you want to know why I suggested the change ?.
When a frame is sent from one core to another there is an option to notify the remote core by causing an interrupt on the other core. If there are too many interrupts it may cause system instability. hence I suggetsed to avoid notiy and use periodic polling instead.
Dear Badri,
Thanks for your reply.
When a frame is sent from one core to another there is an option to notify the remote core by causing an interrupt on the other core. If there are too many interrupts it may cause system instability.hence I suggetsed to avoid notiy and use periodic polling instead.
==> So did you mean if I change that way, then it could change to periodic polling? if not, how can I do that?
So did you mean if I change that way, then it could change to periodic polling?
- Yes that is correct
Dear Badri,
Thanks for your reply.
I have one more question that is the periodic polling is done by SW instead of HW. Am I right?
I just want to know if any side effect. Did you have any idea?
Is the periodic polling is done by SW instead of HW
- Yes that is correct
Any side effect
- By making periodic polling the latency increases. The polling interval is to 8 msec so upto 8msec additional delay may be intriduced by moving to polling instead of interrupt.
Dear Badri,
Thanks for your reply.
The polling interval is to 8 msec so upto 8msec additional delay may be intriduced by moving to polling instead of interrupt.
==>
Q1. why the default value is 8 msec?
Q2. if we want to modify, then how could I do?
Q1. why the default value is 8 msec?
- Capture driver polling period is 8msec so 8msec is the interval at which new frames will be received.
Q2. if we want to modify, then how could I do?
To modify the polling period you have to change
/dvr_rdk/mcfw/src_bios6/links_common/ipcFramesIn/ipcFramesInLink_priv.h
#define IPC_FRAMES_IN_LINK_DONE_PERIOD_MS (8u)
/dvr_rdk/mcfw/src_bios6/links_common/ipcFramesOut/ipcFramesOutLink_priv.h
#define IPC_FRAMESOUT_LINK_DONE_PERIOD_MS (8u)
There is no reason to reduce this number.Reducing the polling period will increase the load on DSP and M3 VPSS