<div dir="ltr"><div>Hello,</div><div><br></div><font color="#9900ff">> The kernel shouldn't need to be patched, but you'll have to enable the<br>> vimc module. libcamera should just work too (of course, the vimc<br>> pipeline handler + ipa will need to be enabled).<br>><br>> It's multistream support that needs to be added, but getting both the<br>> kernel and libcamera to build+run is a simple and required first step.</font><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font color="#000000">I am able to get qcam frames from libcamera from vimc source. I confirmed it by adding prints in the </font></div>ipa/vimc/vimc.cpp file.<br><br>Next task is to apply the vimc multi stream patches to kernel and libcamera, understand the current state with the patches?<br><br></blockquote>Regards<div>Prashanth S</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Feb 2023 at 13:52, Paul Elder <<a href="mailto:paul.elder@ideasonboard.com">paul.elder@ideasonboard.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Feb 22, 2023 at 09:46:58PM +0530, Prashanth S via libcamera-devel wrote:<br>
> Hello Kieran,<br>
> <br>
> Thank you for your reply.<br>
> <br>
> > The project will require building kernel modules (or the whole kernel)<br>
> > and making developments against libcamera.<br>
> > Do you have any experience building a linux kernel? or modules? If not -<br>
> > that's a good place to start investigating.<br>
> I have experience building Linux kernel and dynamic modules.<br>
> <br>
> > For warmup tasks, see if you can get the existing developments rebased<br>
> > and working and see if you can identify what would be next.<br>
> ><br>
> > See<br>
> > - <a href="https://patchwork.libcamera.org/project/libcamera/list/?series=1127" rel="noreferrer" target="_blank">https://patchwork.libcamera.org/project/libcamera/list/?series=1127</a><br>
> > and<br>
> > - <a href="https://lore.kernel.org/linux-media/" rel="noreferrer" target="_blank">https://lore.kernel.org/linux-media/</a><br>
> <a href="http://20200819180442.11630-1-kgupta@es.iitr.ac.in/" rel="noreferrer" target="_blank">20200819180442.11630-1-kgupta@es.iitr.ac.in/</a><br>
> I tried to build the libcamera source and run the qcam application. I was able<br>
> to see the captured frames (from the integrated webcam) in the qcam application<br>
> (which uses libcamera library build).<br>
> <br>
> Warmup Tasks:<br>
> I am trying to enable vimc in the libcamera build (I have not used the meson<br>
> build system before).<br>
> I also tried to load the vimc module (modprobe vimc) and capture frames from<br>
> the vimc device file (/dev/video<3/4/5>) using the default application in<br>
> ubuntu (application name: cheese). But I got an error.<br>
<br>
Cheese directly with vimc device nodes won't work, so that's fine.<br>
<br>
> I will try to apply the corresponding patches to the linux kernel and<br>
> libcamera.<br>
<br>
The kernel shouldn't need to be patched, but you'll have to enable the<br>
vimc module. libcamera should just work too (of course, the vimc<br>
pipeline handler + ipa will need to be enabled).<br>
<br>
It's multistream support that needs to be added, but getting both the<br>
kernel and libcamera to build+run is a simple and required first step.<br>
<br>
<br>
Paul<br>
<br>
> <br>
> On Wed, 22 Feb 2023 at 20:55, Kieran Bingham <<a href="mailto:kieran.bingham@ideasonboard.com" target="_blank">kieran.bingham@ideasonboard.com</a>><br>
> wrote:<br>
> <br>
> Hello Prashanth.<br>
> <br>
> Quoting Prashanth S via libcamera-devel (2023-02-22 05:36:44)<br>
> > Hi All,<br>
> ><br>
> > I would like to contribute to libcamera as part of GSoC 2023.<br>
> ><br>
> > I looked through the project ideas (<a href="https://libcamera.org/" rel="noreferrer" target="_blank">https://libcamera.org/</a><br>
> open-projects.html<br>
> > ).<br>
> > I like to choose *vimc multistream support* project.<br>
> ><br>
> > I am trying to do the warmup tasks.<br>
> ><br>
> > May I ask for suggestions on vimc multistream support project?<br>
> <br>
> The project will require building kernel modules (or the whole kernel)<br>
> and making developments against libcamera.<br>
> <br>
> Do you have any experience building a linux kernel? or modules? If not -<br>
> that's a good place to start investigating.<br>
> <br>
> For warmup tasks, see if you can get the existing developments rebased<br>
> and working and see if you can identify what would be next.<br>
> <br>
> See<br>
> - <a href="https://patchwork.libcamera.org/project/libcamera/list/?series=1127" rel="noreferrer" target="_blank">https://patchwork.libcamera.org/project/libcamera/list/?series=1127</a><br>
> and<br>
> - <a href="https://lore.kernel.org/linux-media/" rel="noreferrer" target="_blank">https://lore.kernel.org/linux-media/</a><br>
> <a href="http://20200819180442.11630-1-kgupta@es.iitr.ac.in/" rel="noreferrer" target="_blank">20200819180442.11630-1-kgupta@es.iitr.ac.in/</a><br>
> <br>
> --<br>
> Regards<br>
> <br>
> Kieran<br>
> <br>
> <br>
> ><br>
> > Regards<br>
> > Prashanth S<br>
> <br>
</blockquote></div>