If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.
As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.
Alex
On Fri, 16 Sept 2022 at 19:17, Edgar Mobile <
heideggm@hotmail.com> wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> ________________________________
> From: Alexander Kanavin <
alex.kanavin@gmail.com>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile <
heideggm@hotmail.com>
> Cc:
yocto@lists.yoctoproject.org <
yocto@lists.yoctoproject.org>
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile <
heideggm@hotmail.com> wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto honister (qemu, host is x64). Can you tell me which parameters I need to add to local.conf to get all libs and headers installed (plus maybe some useful tools and demo if present)?
> >
> > Regards
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#58059):
https://lists.yoctoproject.org/g/yocto/message/58059
> > Mute This Topic:
https://lists.yoctoproject.org/mt/93720286/1686489
> > Group Owner:
yocto+owner@lists.yoctoproject.org
> > Unsubscribe:
https://lists.yoctoproject.org/g/yocto/unsub [
alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >