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.

SK-AM62A-LP: Query on cma memory

Part Number: SK-AM62A-LP

Dear Engineer,

I'm encountering CMA memory exhaust logs when recording multiple videos (1280x720p at 15fps) in parallel to MP4 format. Using ring buffers to collect frames before GStreamer encoding (v4l2h265enc pipeline).

From my investigation, I understand CMA is kernel-reserved memory (576MB default on AM62A) for VPU, GStreamer, camera, etc.

  • Does increasing CMA size via boot parameters or device tree reliably fix parallel recording errors? If yes, Any consequences?

  • Buffer/GStreamer tweaks for lower CMA usage?

  • Alternative approaches for efficient concurrent saving (lower memory, faster completion)? It takes 7 seconds for saving 10 seconds video.

Warm Regards,
Sajan