<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:游ゴシック;
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"MS Pゴシック";
panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
{font-family:"\@游ゴシック";
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@MS Pゴシック";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0mm;
font-size:12.0pt;
font-family:"MS Pゴシック";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.21
{mso-style-type:personal-compose;
font-family:游ゴシック;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<v:textbox inset="5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=JA link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Dear David-san<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>We have tried rpi-update.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>We had the build error then.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Do you have any idea for this problem?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Anyway we’ll try clean install.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>By the way, we’d like to change the image orientation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>I think v4l2 command support vertical/horizontal flip by changing the register of 0x172[1:0] .<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>How can we apply this function when using qcam?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>I appreciate your kind advice in advance.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>NOMURA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0mm 0mm 0mm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> tetsuya.nomura@soho-enterprise.com <tetsuya.nomura@soho-enterprise.com> <br><b>Sent:</b> Sunday, November 8, 2020 8:55 AM<br><b>To:</b> 'David Plowman' <david.plowman@raspberrypi.com><br><b>Cc:</b> 'Naushir Patuck' <naush@raspberrypi.com>; 'libcamera devel' <libcamera-devel@lists.libcamera.org><br><b>Subject:</b> RE: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Dear David-san<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Thank you for the notification of fixing memory leak issue.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>I</span><span style='font-size:11.0pt;font-family:游ゴシック'>’<span lang=EN-US>ll try it soon.<o:p></o:p></span></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'>NOMURA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:游ゴシック'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0mm 0mm 0mm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> David Plowman <<a href="mailto:david.plowman@raspberrypi.com">david.plowman@raspberrypi.com</a>> <br><b>Sent:</b> Saturday, November 7, 2020 12:23 AM<br><b>To:</b> <a href="mailto:tetsuya.nomura@soho-enterprise.com">tetsuya.nomura@soho-enterprise.com</a><br><b>Cc:</b> Naushir Patuck <<a href="mailto:naush@raspberrypi.com">naush@raspberrypi.com</a>>; libcamera devel <<a href="mailto:libcamera-devel@lists.libcamera.org">libcamera-devel@lists.libcamera.org</a>><br><b>Subject:</b> Re: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Hi everyone<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>This is just to let you know that doing "sudo rpi-update" should now update your kernel with a fix for this memory leak.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>David<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US>On Sat, 10 Oct 2020 at 10:16, David Plowman <<a href="mailto:david.plowman@raspberrypi.com">david.plowman@raspberrypi.com</a>> wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0mm 0mm 0mm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0mm;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US>Hello Nomura-san<br><br>Thanks for sending that log. At least it seems to be showing the same<br>thing that Naush saw, so hopefully there is only a single problem.<br><br>You had previously mentioned the following two git commits:<br><br>libcamera: c3548a333f86d31213ca9f2ccc3faf743b246743<br>rpi-update: f794477c7c48061a720d6b9331d27f8d0300009c<br><br>Can you perhaps confirm whether this version of the software, with the<br>above commits at the top of the tree, did show the memory problem or<br>did not show it?<br><br>Best regards<br>David<br><br>On Sat, 10 Oct 2020 at 02:16, <<a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a>> wrote:<br>><br>> Dear David-san and Naush-san<br>><br>> We have another dmesg log as attached.<br>><br>> Best Regards,<br>><br>> NOMURA<br>> -----Original Message-----<br>> From: <a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a> <<a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a>><br>> Sent: Saturday, October 10, 2020 8:20 AM<br>> To: 'Naushir Patuck' <<a href="mailto:naush@raspberrypi.com" target="_blank">naush@raspberrypi.com</a>>; 'David Plowman' <<a href="mailto:david.plowman@raspberrypi.com" target="_blank">david.plowman@raspberrypi.com</a>><br>> Cc: '<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a>' <<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a>><br>> Subject: RE: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<br>><br>> Dear David-san and Naush-san<br>><br>> And after login again and run the qcam, it stopped after a few minutes and see the login window.<br>> But this time I could not login.(no dmseg was got after this symptom)<br>><br>> While second trial of qcam the response speed for the click became very slow.<br>> Image display speed kept 30.0fps.<br>><br>> For an additional report.<br>><br>> Best Regards,<br>><br>> NOMURA<br>> -----Original Message-----<br>> From: <a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a> <<a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a>><br>> Sent: Saturday, October 10, 2020 8:08 AM<br>> To: 'Naushir Patuck' <<a href="mailto:naush@raspberrypi.com" target="_blank">naush@raspberrypi.com</a>>; 'David Plowman' <<a href="mailto:david.plowman@raspberrypi.com" target="_blank">david.plowman@raspberrypi.com</a>><br>> Cc: '<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a>' <<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a>><br>> Subject: RE: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<br>><br>> Dear David-san Naush-san<br>><br>> I got reproduce the symptom and got the dmseg as attached.<br>><br>> It would be great if it will be your help to solve the issue.<br>><br>> Best Regards,<br>><br>> NOMURA<br>><br>> -----Original Message-----<br>> From: Naushir Patuck <<a href="mailto:naush@raspberrypi.com" target="_blank">naush@raspberrypi.com</a>><br>> Sent: Thursday, October 8, 2020 5:19 PM<br>> To: <a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a><br>> Cc: David Plowman <<a href="mailto:david.plowman@raspberrypi.com" target="_blank">david.plowman@raspberrypi.com</a>>; <a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a><br>> Subject: Re: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<br>><br>> Hi all,<br>><br>> 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.<br>><br>> 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?<br>><br>> Thanks,<br>> Naush<br>><br>> On Thu, 8 Oct 2020 at 07:48, <<a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a>> wrote:<br>> ><br>> > Dear David-san<br>> ><br>> > We took a log to catch when (how long time after application start) reboot occurs.<br>> > The logs says around 1100minuite, maybe the raspi got rebooted, no other log.<br>> ><br>> > And the older version and the combination, this phenomena never happened.<br>> ><br>> > libcamera: c3548a333f86d31213ca9f2ccc3faf743b246743<br>> > rpi-update: f794477c7c48061a720d6b9331d27f8d0300009c<br>> > (We are using the latest one for both.)<br>> ><br>> > Best Regards,<br>> ><br>> > NOMURA<br>> > -----Original Message-----<br>> > From: David Plowman <<a href="mailto:david.plowman@raspberrypi.com" target="_blank">david.plowman@raspberrypi.com</a>><br>> > Sent: Wednesday, October 7, 2020 7:37 PM<br>> > To: <a href="mailto:tetsuya.nomura@soho-enterprise.com" target="_blank">tetsuya.nomura@soho-enterprise.com</a><br>> > Cc: Laurent Pinchart <<a href="mailto:laurent.pinchart@ideasonboard.com" target="_blank">laurent.pinchart@ideasonboard.com</a>>; Kieran<br>> > Bingham <<a href="mailto:kieran.bingham@ideasonboard.com" target="_blank">kieran.bingham@ideasonboard.com</a>>;<br>> > <a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a><br>> > Subject: Re: [libcamera-devel] How to activate AGC control in libcamera, or set the GAIN/EXPOSURE parameter by v4l2 command.<br>> ><br>> > Hello Nomura-san<br>> ><br>> > Thanks for your message.<br>> ><br>> > 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?<br>> ><br>> > Thanks and best regards<br>> > David<br>> ><o:p></o:p></span></p></blockquote></div></div></body></html>