From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7242ECAAD3 for ; Mon, 19 Sep 2022 08:26:06 +0000 (UTC) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by mx.groups.io with SMTP id smtpd.web10.17424.1663575956534809472 for ; Mon, 19 Sep 2022 01:25:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZF0MZrxB; spf=pass (domain: gmail.com, ip: 209.85.167.44, mailfrom: alex.kanavin@gmail.com) Received: by mail-lf1-f44.google.com with SMTP id o2so43532475lfc.10 for ; Mon, 19 Sep 2022 01:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=sB1GhGSgVRShbLv2UwEh3MQD/BVvvPtk1uduymbB66Y=; b=ZF0MZrxBgK4ZdCAYtGsHER+TcIlnLfux7vp/Vu+1aOs0B+Stz9T+kXtqSejMi8obM3 kCJzon0JUGKv5MAnGTflju0IYtxdfpzPJq27rdJ0DVpf0kuftoXGf15DJB88TcSLc9EX wGvsbdeMQVM+E3jjMDiGpku/8xpCMeHqi/mfiX4k9hLmX59T3tFGkojZFh7XQgn9VlHw QmHv7c4yrkd5/DOB7TnD329u8U4vXm9B2V8e5oCoYHOknAPCESnXB3efDTnzZL2BtXae r/wa5aDoClWJudRIUY91VFRR2EjmZR41d2f38Bm+pMws1uNdeDHVZ3zpwyCmQKRowUMu RL+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=sB1GhGSgVRShbLv2UwEh3MQD/BVvvPtk1uduymbB66Y=; b=8PCbATSOxxwmsmrC2wMJ+QKWSbzxZaW3PrEeXEtlH/Qt+B33M6K7O26jQASBzfrbmS 7CtaWBzgXr/3uNAAVH+8FD6HF9nYcdAqzrD7o+dyAKd/eqeitJiwM09/MavRVnSQJ1mu K0+1vtvhqrclS+PE4Q4uo1B7hAXlyPdGe+kfrLQpPMyM4dNhBP9JQWEI1Uth9Q5uH2pL GeZ87DsceNu78NNJ7G/RnxaXnHCp/FQIVY5XeP70FEZCyHtpwfmX1aP8FL0XSaZS66qq cb0pHIKo8aikZkA5+fFsYvwZ9NL1pXREj81Jw4lIpio2WImRyqZr/2pgM1BENsHkKqzE G4mA== X-Gm-Message-State: ACrzQf3Mbp6clpK1ds7I7Gk+Hm0aXLgTXRqNTL0sCSa/5qAiTIE+j15M Kt6MPtSxUpEY0K4t/RKQLQ+rQgDGHRI6rJO3vpk= X-Google-Smtp-Source: AMsMyM5vH20d/vwk9EJyLuD8YZbmjAu7IPZdqh9s4SAY9HHmsGGr928BHmPIcsnWYcSFUw8D3/Nh4HxGBaNfj+3j/nk= X-Received: by 2002:a05:6512:10c4:b0:499:4c:64d7 with SMTP id k4-20020a05651210c400b00499004c64d7mr5794154lfg.521.1663575954377; Mon, 19 Sep 2022 01:25:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Kanavin Date: Mon, 19 Sep 2022 10:25:43 +0200 Message-ID: Subject: Re: [yocto] Adding Vulkan to core-image-weston To: Edgar Mobile Cc: "yocto@lists.yoctoproject.org" Content-Type: multipart/alternative; boundary="000000000000d151f105e903751e" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 19 Sep 2022 08:26:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/58069 --000000000000d151f105e903751e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I suppose you need to look at compile and install logs for vulkan-samples. And how the installed items get split into packages. I=E2=80=99m short, ins= pect ${WORKDIR} for it. Alex On Mon 19. Sep 2022 at 9.36, Edgar Mobile 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 > *Sent:* Saturday, September 17, 2022 8:28 AM > > *To:* Edgar Mobile > *Cc:* 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 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 > > Sent: Friday, September 16, 2022 12:14 PM > > To: Edgar Mobile > > Cc: 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 > 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 > > > > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > > > 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] > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > > > > --000000000000d151f105e903751e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I suppose you need to look at compile and install logs fo= r vulkan-samples. And how the installed items get split into packages. I=E2= =80=99m short, inspect ${WORKDIR} for it.

=
Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile <heideggm@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 vulka= n-samples?
Regards


From: Ale= xander Kanavin <alex.kanavin@gmail.com>=
Sent: Saturday, September 1= 7, 2022 8:28 AM

To: Edgar Mobile <heideggm@hotmail.com>
Cc: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Adding= Vulkan to core-image-weston
=C2=A0
If the samples don't link with libvulkan directly, it won't ge= t 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 nee= d to add to local.conf to get all libs and headers installed (plus maybe so= me useful tools and demo if present)?
> >
> > Regards
> >
> > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> > 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]
> > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> >
--000000000000d151f105e903751e--