For the time being I use vulkan-tools so I get vulkaninfo. It fails apparently 
due to no appropriate driver available.
I think adding virtio-experimental to mesa may be necessary, right? Or is there 
another core recipse that will add mesa vulkan drivers?

Regards

________________________________
From: Alexander Kanavin <alex.kana...@gmail.com>
Sent: Monday, September 19, 2022 1:31 PM
To: Edgar Mobile <heide...@hotmail.com>
Cc: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

As I said you need to inspect the working directory of the recipe to find out 
what goes where.


Alex

On Mon 19. Sep 2022 at 13.28, Edgar Mobile 
<heide...@hotmail.com<mailto:heide...@hotmail.com>> wrote:
I have the impression that the only binary vulkan-samples installs is 
/usr/bin/spirv-cross . Are there other packages that install more samples?

________________________________
From: Alexander Kanavin <alex.kana...@gmail.com<mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 8:25 AM

To: Edgar Mobile <heide...@hotmail.com<mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
<yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I suppose you need to look at compile and install logs for vulkan-samples. And 
how the installed items get split into packages. I’m short, inspect ${WORKDIR} 
for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile 
<heide...@hotmail.com<mailto:heide...@hotmail.com>> wrote:
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards

________________________________
From: Alexander Kanavin <alex.kana...@gmail.com<mailto:alex.kana...@gmail.com>>
Sent: Saturday, September 17, 2022 8:28 AM

To: Edgar Mobile <heide...@hotmail.com<mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
<yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

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 
<heide...@hotmail.com<mailto:heide...@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.kana...@gmail.com<mailto:alex.kana...@gmail.com>>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile <heide...@hotmail.com<mailto:heide...@hotmail.com>>
> Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
> <yocto@lists.yoctoproject.org<mailto: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 
> <heide...@hotmail.com<mailto:heide...@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 (#58072): https://lists.yoctoproject.org/g/yocto/message/58072
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to