Dear Renesas Team,
We are using Renesas RZ/G2L smarc-evaluation board and the bsp/vlp version is 3.0.1, in which we have enabled all the dependency of g-streamer and trying to stream an IP-camera, while running the g-streamer command and accessing the ip-camera(rtsp stream) we are facing the below issue,
root@smarc-rzg2l:~# gst-launch-1.0 -e rtspsrc protocols=tcp location="rtsp://admin:Smet1234@192.168.1.216:554/cam/realmonitor?channel=1&subtype=1" ! queue ! rtph264depay ! h264parse ! queue ! omxh264dec !
Hi Mahesh,
> MMNGR: open error.> ...> MMI open: No such file or directory
This is the reason of you issue. This error means MMNGR was missing in your environment.If you build BSP/VLP 3.0.1 correctly *with codec feature package*, MMNGR will be available at boot. And you can see it when run: # dmesg | grep -i mmngr # lsmod | grep mmngr
If you do not see MMNGR in above commands, you have build the system incorrectly.
Hi HungT,
Please find the output of the above command.
Thanks & Regards
Mahesh R
Your result means MMNGR already available. You can rerun GStreamer command.
If you still have same error "MMNGR: open error.", check whether /dev/rgnmm exists or not.This is a device driver made by MMNGR. If MMNGR is available but this device driver does not exist, some errors must have occured in MMNGR (in that case, check all messages in dmesg for clue).
Please find the info w.r.t kernel.
[ 4.188271] mali 11840000.gpu: GPU identified as 0x3 arch 7.0.9 r0p0 status 0
> [ OK 4.286503] rgnmm_drv mmngr: assigned reserved memory node linux,multimedia> [ OK ] Mounted Huge Pages File System.> [ 4.335762] alloc_contig_range: [88000, 98000) PFNs busy> [ OK ] Mounted POS[ 4.344071] cma: cma_alloc: alloc failed, req-size: 65536 pages, ret: -16> [ 4.597541] MMD mm_init ERROR> [ 4.600803] rgnmm_drv: probe of mmngr failed with error -1
I guess you had changed somethings in the devicetree, regarding CMA memory reserve?
As per your instructions we have changed the cma allocation in .dts file for camera streaming, please find the below memory configuration file.
reserved-memory {