[libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.

tetsuya.nomura at soho-enterprise.com tetsuya.nomura at soho-enterprise.com
Sat Oct 10 01:08:13 CEST 2020


Dear David-san Naush-san

I got reproduce the symptom and got the dmseg as attached.

It would be great if it will be your help to solve the issue.

Best Regards,

NOMURA

-----Original Message-----
From: Naushir Patuck <naush at raspberrypi.com> 
Sent: Thursday, October 8, 2020 5:19 PM
To: tetsuya.nomura at soho-enterprise.com
Cc: David Plowman <david.plowman at raspberrypi.com>; libcamera-devel at lists.libcamera.org
Subject: Re: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.

Hi all,

I did try a long running test, and interestingly, mine did also fail at around the 15hour mark (approx 1540000 frames).  My qcam process (running under gdb) was just terminated at that point.  However, no reboot occurred.  Looking at the dmesg logs, it seems that the Out of Memory killer terminated the task.  This suggests that there is maybe a memory leak lurking somewhere in either libcamera core or the Raspberry Pi ipa/pipeline handler.

Nomura-san, could you send us the output of dmesg when you run into this failure again, just to check if we are seeing the same thing?

Thanks,
Naush

On Thu, 8 Oct 2020 at 07:48, <tetsuya.nomura at soho-enterprise.com> wrote:
>
> Dear David-san
>
> We took a log to catch when (how long time after application start) reboot occurs.
> The logs says around 1100minuite, maybe the raspi got rebooted, no other log.
>
> And the older version and the combination, this phenomena never happened.
>
> libcamera: c3548a333f86d31213ca9f2ccc3faf743b246743
> rpi-update: f794477c7c48061a720d6b9331d27f8d0300009c
> (We are using the latest one for both.)
>
> Best Regards,
>
> NOMURA
> -----Original Message-----
> From: David Plowman <david.plowman at raspberrypi.com>
> Sent: Wednesday, October 7, 2020 7:37 PM
> To: tetsuya.nomura at soho-enterprise.com
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>; Kieran 
> Bingham <kieran.bingham at ideasonboard.com>; 
> libcamera-devel at lists.libcamera.org
> Subject: Re: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.
>
> Hello Nomura-san
>
> Thanks for your message.
>
> So we're not aware of any problems like the one you report but we'll see if we can reproduce it - obviously it will take a little while. Do you believe the Pi crashed completely and rebooted? If so, might we be able to get any system logs that could give us a clue as to what happened?
>
> Thanks and best regards
> David
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmseg.log
Type: application/octet-stream
Size: 45498 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20201010/b68d9339/attachment-0001.obj>


More information about the libcamera-devel mailing list