public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Jordan Crouse <jorcrous@amazon.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 3/3] vulkan-validation: Add the official Vulkan validation layers
Date: Fri, 11 Nov 2022 08:27:55 -0700	[thread overview]
Message-ID: <20221111152755.ztodymtsd72kbdjo@amazon.com> (raw)
In-Reply-To: <CANNYZj8v2Ps2GTJv_4hhGr09VjPWO2LwHPOFUcncenX8SfCY8g@mail.gmail.com>

On Fri, Nov 11, 2022 at 09:03:02AM +0100, Alexander Kanavin wrote:
> On Thu, 10 Nov 2022 at 22:30, Jordan Crouse <jorcrous@amazon.com> wrote:
> > ERROR: vulkan-validation-1.3.231.1-r0 do_package_qa: QA Issue: -dev package vulkan-validation-dev contains non-symlink .so '/usr/lib/libVkLayer_khronos_validation.so' [dev-elf]
> >
> > I borrowed the QA inhibit from vulkan-loader (since they are built
> > mostly the same) but if there is a different path forward, that would be
> > great.
> 
> Thanks. I am not seeing QA inhibits or any special handling in the
> current vulkan-loader:
> https://git.yoctoproject.org/poky/tree/meta/recipes-graphics/vulkan/vulkan-loader_1.3.231.1.bb?h=master-next

That was my mistake, I guess I don't clearly remember why these were
added in our downstream tree - clearly a poorly executed effort at
getting rid of the error.

> Can you find out why the /usr/lib/libVkLayer_khronos_validation.so is
> built unversioned and where in the source tree that decision is made?

These libraries (plugins, really) are dynamically loaded by the vulkan-loader at runtime. 

I couldn't immediately find an standard online but a cursory glance of the vulkan
drivers/layers from other distros use a .so format, for example:

https://packages.debian.org/buster/amd64/mesa-vulkan-drivers/filelist

And from mesa in OE:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/mesa.inc#n304

I agree that the existing INSANE_SKIP was the wrong way to go about it -
perhaps the better option would be to do this:

FILES:${PN} = "${libdir}/*.so ${datadir}/vulkan"

I think ${PN}-dev would nominally be empty anyway - the two
outputs of this package are .so layers and a .manifest file for the
loader.

Jordan


  reply	other threads:[~2022-11-11 15:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10 20:42 [PATCH 0/3] Add vulkan validation and improvements for headless devices Jordan Crouse
2022-11-10 20:42 ` [PATCH 1/3] spirv-tools: Correctly set the prefix in exported cmake packages Jordan Crouse
2022-11-10 20:43   ` [OE-core] " Khem Raj
2022-11-11 10:44   ` Jose Quaresma
2022-11-10 20:42 ` [PATCH 2/3] vulkan-loader: Allow headless targets to build the loader Jordan Crouse
2022-11-10 20:42 ` [PATCH 3/3] vulkan-validation: Add the official Vulkan validation layers Jordan Crouse
2022-11-10 20:57   ` [OE-core] " Alexander Kanavin
2022-11-10 21:30     ` Jordan Crouse
2022-11-11  8:03       ` Alexander Kanavin
2022-11-11 15:27         ` Jordan Crouse [this message]
2022-11-11 17:31           ` Alexander Kanavin
2022-11-13 22:11   ` Alexandre Belloni
2022-11-14 15:23     ` Jordan Crouse
2023-06-01 21:55       ` Vincent Davis Jr
2023-06-02  5:21         ` [OE-core] " Alexander Kanavin
2023-06-27 17:10           ` Jordan Crouse
2023-06-27 19:13             ` Alexander Kanavin
2023-06-27 19:26             ` Vincent Davis Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221111152755.ztodymtsd72kbdjo@amazon.com \
    --to=jorcrous@amazon.com \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox