Hi,
We have hit a limit with number of OMX instances (10 decodes) possible Dm8168 using EZSDK 5.03.01.15. It would be of a huge help if you could provide us some information towards solving this. If we try to create more instances than this limit (11 decodes), then the OMX component does not transition into state-execute in A8, and if we see in M3, the component create has failed. Following are the steps to reproduce the issue: (and also the changes which we have done)
[1] We have modified MAXGROUPID in ti_sdk_03_01_15\component-sources\codec_engine_3_21_02_25\packages\ti\sdo\ce\Engine.xdc (and ti_sdk_03_01_15\component-sources\codec_engine_3_21_02_25\packages\ti\sdo\ce\alg\Algorithm.xdc) to 24. We have rebuilt the codec engine with these changes.
[2] We have also modified ti_sdk_03_01_15\component-sources\omx-ti81xx-src_05_02_00_30\examples\ti\omx\demos\dm816xbm\VpsAppMain.cfg to increase numEncCh and numDecCh to 12 each.
[4] We call Decode_Test() repeatedly with the same parameters in a loop. The Decode_Test() has been modified to exit once the OMX component goes to execute-state. Now the test works fine up to loop-count of 10 (basically 10 instances of decode). If we make the loop-count 11, then the M3 crashes, with the below information.
N:Video P:1 #:02917 T:00000005f4c8a93d S:IvaScheduler_registerInstance::Line 994::Scheduling Scheme 0
N:Video P:1 #:02919 T:00000005f4cc4d7b S:FATAL ERROR: ErrorCode:0x1. Unhandled Exception:
N:Video P:1 #:02920 T:00000005f4cc966d S:Exception occurred in ThreadType_HWI
N:Video P:1 #:02921 T:00000005f4cccacb S:handle: 0x9dfd85b8.
N:Video P:1 #:02922 T:00000005f4ccfcc7 S:stack base: 0x9e1af300.
N:Video P:1 #:02923 T:00000005f4cd2f51 S:stack size: 0x5000.
N:Video P:1 #:02924 T:00000005f4cd60e5 S:R0 = 0xf4c9327b R8 = 0x00000000
N:Video P:1 #:02925 T:00000005f4cd9d25 S:R1 = 0xbebebebe R9 = 0x0000000f
N:Video P:1 #:02926 T:00000005f4cdd883 S:R2 = 0x0000ffff R10 = 0x00000000
N:Video P:1 #:02927 T:00000005f4ce1319 S:R3 = 0x9dfd7f40 R11 = 0x9d703465
N:Video P:1 #:02928 T:00000005f4ce4fc5 S:R4 = 0x9dfdd04c R12 = 0x00000000
N:Video P:1 #:02929 T:00000005f4ce8b1f S:R5 = 0x00000010 SP(R13) = 0x9e1b4218
N:Video P:1 #:02930 T:00000005f4cec861 S:R6 = 0x00000000 LR(R14) = 0x9e3a1d73
N:Video P:1 #:02931 T:00000005f4cf05eb S:R7 = 0x00000000 PC(R15) = 0x9e3a1d84
N:Video P:1 #:02932 T:00000005f4cf42b9 S:PSR = 0x2100000f
N:Video P:1 #:02933 T:00000005f4cf7341 S:ICSR = 0x00400003
N:Video P:1 #:02934 T:00000005f4cfa1fb S:MMFSR = 0x00
N:Video P:1 #:02935 T:00000005f4cfcd95 S:BFSR = 0x82
N:Video P:1 #:02936 T:00000005f4cff937 S:UFSR = 0x0000
N:Video P:1 #:02937 T:00000005f4d026a9 S:HFSR = 0x40000000
N:Video P:1 #:02938 T:00000005f4d05651 S:DFSR = 0x00000000
N:Video P:1 #:02939 T:00000005f4d085ad S:MMAR = 0x0001000f
N:Video P:1 #:02940 T:00000005f4d0b52d S:BFAR = 0x0001000f
N:Video P:1 #:02941 T:00000005f4d0e4a5 S:AFSR = 0x00000000
N:Video P:1 #:02942 T:00000005f4d1131b S:FATAL ERROR: ErrorCode:0x1. Terminating Execution...