-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hey,
First, thanks for uploading the driver and library. I managed to compile both for the Lichee Pi Zero (V3S) following your instructions, but I am still getting ION_IOC_ALLOC even after increasing CMA_AREAS (7) and CMA_SIZE_MBYTES (32). I am using Kernel 5.3 at the moment because I could not get the USB to work on 5.4 yet.
debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug : omx_venc <openVencDriver:3221>:AVC 4 byte interleave nalu Disable.
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
error : ionAlloc <ion_alloc_palloc:335>:ION_IOC_ALLOC error
I am using a camera attached to the Lichee via USB, and run ffmpeg as bellow:
ffmpeg -f v4l2 -video_size 1280x720 -i /dev/video0 -codec:v h264_omx -b:v 2048k webcam.mkv
I thought I could be genuinely running out of memory, but this is what I get when I run free -k
# free -k
total used free shared buff/cache available
Mem: 53812 6216 41108 336 6488 44008
Swap: 0 0 0
Am I missing something? Or could you share your Buildroot and Linux defconfigs so I can check if I missed something?
Appreciate any help...
Metadata
Metadata
Assignees
Labels
No labels