From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] default-providers: use Mesa a a default provider for OpenCL and Vulkan
Date: Tue, 24 Mar 2026 10:44:54 +0200 [thread overview]
Message-ID: <20260324084454.2971108-2-dmitry.baryshkov@oss.qualcomm.com> (raw)
In-Reply-To: <20260324084454.2971108-1-dmitry.baryshkov@oss.qualcomm.com>
Without DEFAULT_RPROVIDERs for the virtual packages OE behaviour is not
deterministic, it's not always obvious, which package will be selected
to fulfill the dependency.
Add DEFAULT_RPROVIDERs for OpenCL and Vulkan ICDs (installable client
drivers) and specify Mesa packages by default. It is a weak assignment,
so the distributions can override those settings.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/distro/include/default-providers.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 883ea2f8af8c..aeff8afe0119 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -66,4 +66,6 @@ PREFERRED_PROVIDER_virtual/nativesdk-libsdl2 ?= "nativesdk-libsdl2"
PREFERRED_RPROVIDER_virtual-libegl-icd ?= "libegl-mesa"
PREFERRED_RPROVIDER_virtual-libglx-icd ?= "libglx-mesa"
+PREFERRED_RPROVIDER_virtual-opencl-icd ?= "libopencl-mesa"
+PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers"
PREFERRED_RPROVIDER_virtual-x-terminal-emulator ?= "rxvt-unicode"
--
2.47.3
next prev parent reply other threads:[~2026-03-24 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 8:44 [PATCH 1/2] default-providers: fix GLX / EGL providers Dmitry Baryshkov
2026-03-24 8:44 ` Dmitry Baryshkov [this message]
2026-03-24 11:46 ` [OE-core] [PATCH 2/2] default-providers: use Mesa a a default provider for OpenCL and Vulkan Richard Purdie
2026-03-24 18:22 ` Dmitry Baryshkov
2026-03-24 20:40 ` Dmitry Baryshkov
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=20260324084454.2971108-2-dmitry.baryshkov@oss.qualcomm.com \
--to=dmitry.baryshkov@oss.qualcomm.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