<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:x="urn:schemas-microsoft-com:office:excel" 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=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0mm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</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=EN-US link="#467886" vlink="#96607D" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi Libcamera Fundis!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Having a problem capturing an image on Android 14 (& 13).<o:p></o:p></p><p class=MsoNormal>Tombstone looks like this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>06-03 15:13:03.880 308 578 I DMABUFHEAPS: Using : Non-legacy ION heaps<o:p></o:p></p><p class=MsoNormal>06-03 15:13:03.880 308 578 I [minigbm:gbm_mesa_internals.cpp(233)]: Found GPU v3d<o:p></o:p></p><p class=MsoNormal>06-03 15:13:04.052 308 359 E libcamera: ERROR Buffer mapped_framebuffer.cpp:230 Failed to mmap plane: Permission denied<o:p></o:p></p><p class=MsoNormal>.... lots of Permission denied!<o:p></o:p></p><p class=MsoNormal>06-03 15:13:11.282 308 359 E libcamera: ERROR Buffer mapped_framebuffer.cpp:230 Failed to mmap plane: Permission denied<o:p></o:p></p><p class=MsoNormal>06-03 15:13:12.008 308 579 E libcamera: ERROR Camera camera.cpp:675 Camera in Running state trying acquire() requiring state Available<o:p></o:p></p><p class=MsoNormal>06-03 15:13:12.008 308 579 E libcamera: ERROR HAL camera_device.cpp:390 '/base/axi/pcie@120000/rp1/i2c@88000/imx708@1a': Failed to acquire the camera<o:p></o:p></p><p class=MsoNormal>06-03 15:13:12.008 308 579 E libcamera: ERROR HAL camera3_hal.cpp:81 Failed to open camera module '0'<o:p></o:p></p><p class=MsoNormal>06-03 15:13:12.008 308 579 E libcamera: FATAL HAL generic_frame_buffer_allocator.cpp:106 gralloc_open() failed: -87<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>MLKIT Streaming & analyzing works until trying to capture an image the above happens.<o:p></o:p></p><p class=MsoNormal>The various Android versions for Rpi5 I could find gave the same issue.<o:p></o:p></p><p class=MsoNormal>I tried Emteria, AOSP & LineageOS 13 & 14<o:p></o:p></p><p class=MsoNormal>Android built from Raspberry Vanilla and even replacing with later libcamera had the same issue.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m not sure if this is purely a configuration problem, wrt to policies or permissions or specifically to the RPi’s architecture.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please help, I can rebuild and test.<o:p></o:p></p><p class=MsoNormal>I have tried the latest code pulled into RaspVanilla, but had the same issue.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td width=25 style='width:18.75pt;padding:0mm 0mm 0mm 0mm'><p class=MsoNormal><img width=19 height=43 style='width:.1979in;height:.4479in' id="Picture_x0020_1" src="cid:image001.png@01DAB67A.67C107E0"><o:p></o:p></p></td><td style='padding:0mm 0mm 0mm 0mm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:0mm 0mm 0mm 0mm'><p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Jan Zwiegers</span></b><span style='font-size:12.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'> </span><o:p></o:p></p></td></tr><tr><td valign=bottom style='padding:0mm 0mm 0mm 0mm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Verdana",sans-serif;color:#E95224'>Radical Electronic Systems</span></b><span style='font-size:10.0pt;font-family:"Verdana",sans-serif;color:#E95224'> </span><o:p></o:p></p></td></tr></table></td></tr><tr><td colspan=2 valign=bottom style='padding:0mm 0mm 0mm 0mm'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Physical Address</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'><br>14 Cocorico Street<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Durbanville</span><span style='font-family:"Calibri",sans-serif;color:black'><o:p></o:p></span></p></td></tr><tr><td colspan=2 valign=bottom style='padding:0mm 0mm 0mm 0mm'><table class=MsoNormalTable border=0 cellspacing=1 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>E-mail:</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><a href="mailto:jan@radicalsystems.co.za"><span style='color:#E95224'>jan@radicalsystems.co.za</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Web:</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><a href="http://www.radicalsystems.co.za/"><span style='color:#E95224'>www.radicalsystems.co.za</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>LinkedIn:</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><a href="https://www.linkedin.com/in/jan-zwiegers"><span style='color:#E95224'>www.linkedin.com/in/jan-zwiegers</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>LinkedIn:</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><a href="https://www.linkedin.com/company/radical-electronic-systems"><span style='color:#E95224'>www.linkedin.com/company/radical-electronic-systems</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Cell:</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>+27 (0)82 554 5657</span><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Tel (VOIP):</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>+27 (0)21 982 4929</span><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td></tr><tr><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>Cell(CPY):</span></b><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td><td style='padding:1.5pt 1.5pt 1.5pt 1.5pt'><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#6D6E71'>+27 (0)76 224 2224</span><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666'><o:p></o:p></span></p></td></tr></table></td></tr></table><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>