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.

DMVA2 IPNC: Out of memory in dark environment with 720p+IMD

Hi,

My customer find if he set the IPNC as one stream 720P h264enc@30f/sand enable IMD, then let the environment dark, the IPNC will met below error. Pls find detail attached.

> DMVAL: Out of memory!
> DMVA APP: DMVA Library Error = Out of memory!
> DMVA APP: Attempting to reset DMVA library...ALG: Created Image Sym Algo Kernel !
ALG: Created NMS Kernel !
CMEMK Error: ioctl: failed to allocate heap buffer of size 0x70800
ALG: Created RLE Kernel !
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1
ERROR  (alg_morp.c|ALG_morpCreate|135): Failed to open video encode algorithm: dmvalmorp (0x0)
ERROR  (alg_morp.c|MORP_Algcreate|459): ALG_morpCreate()
ALG: Could not create MORP... exiting!
ERROR: assertion violation: SemMP_posix.c, line 360

But customer also tried to set hte IPNC with two stream 720p h264enc@30f/s+MPEG4 D1@30f/sand enable IMD and put it in the same dark environment, but it works ok.

Would you pls kinldy explain why and how to solve the problem with 720p+IMD?

  • Hi Chris,

    Can this condition be easily reproduced? If so, we would like to do so . There are a few questions that will help us:

    • Is your customer using a TI reference design or a custom board design?  If using a TI ref. design, what is it the part no., e.g. DMVA2IPNC-MT5 or DMVA2IPNC-IMX036?
    • What version of the software is the customer using?
    • After the environment becomes dark, how long does it take before the DMVAL: Out of Memory error messages appear?
    • Under low light conditions, the image sensor tends to introduce a significant amount of noise that can confuse IMD, especially if the auto leveling control is can not stabilize. Are real objects moving around in the camera's field of view or is the scene essentially static, e.g. nothing is moving in front of the camera?
    • If not legitimate motion is happening in front of the camera, does IMD appear to segment lots of foreground objects when the camera is in the dark environment? If possible, please provide a screen snapshot...
    • How many times does it attempt to reset the DMVA library ?

    Any other information that you can provide will be very helpful.

    Thanks,

    DMoore

     

  • Hi Darnell, Chris helped me to raise the problem. Thanks for your and Chris' help. About your questions, my answers are as followed: ◦Is your customer using a TI reference design or a custom board design? If using a TI ref. design, what is it the part no., e.g. DMVA2IPNC-MT5 or DMVA2IPNC-IMX036? We are useing Appro reference design. Part number maybe is DMVA2IPNC-MT5, but I amn't very clear. ◦What version of the software is the customer using? The version of the software we using is 1.0.0. ◦After the environment becomes dark, how long does it take before the DMVAL: Out of Memory error messages appear? The time approximately takes 3 or 4 seconds before OOM messages appear. ◦Are real objects moving around in the camera's field of view or is the scene essentially static, e.g. nothing is moving in front of the camera? There are nothing in front of the camera, actually, we closed aperture of the lens in order to reproduce the problem ASAP.(CTD is disabled) ◦If not legitimate motion is happening in front of the camera, does IMD appear to segment lots of foreground objects when the camera is in the dark environment? At this condition, IMD doesn't appear to segment, only noise can be seen. ◦How many times does it attempt to reset the DMVA library ? The DMVA library try to reset itself about 100 ~ 200, and then the fatal error messages appear, ipnc is down. Could you help us to fix the problem, it is very emergency. Any comments will be much appreciated. David FU
  • David,

     

    Thanks for your feedback and patience. I'll attempt to reproduce this condition and get back to you as soon as I can

    Regards,

    Darnell

  • David,

    Sorry for the delay.  I investigated this problem and was not able to reproduce the behavior you described using the latest code release. Please work with Chris Meng to get version 1.6 or later.

    Regards,

    Darnell