From: trent.piepho@igorinstitute.com
To: poky@lists.yoctoproject.org
Subject: How to override mesa VULKAN_DRIVERS and GALLIUMDRIVERS variables?
Date: Sat, 02 Aug 2025 23:28:17 -0700 [thread overview]
Message-ID: <2n8W.1754202497905279149.soMo@lists.yoctoproject.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
I'd like to change the value of these.
However, they are set like this:
VULKAN_DRIVERS = ""
VULKAN_DRIVERS:append:x86 = ",intel,amd"
VULKAN_DRIVERS:append:x86-64 = ",intel,amd"
...
VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
Setting VULKAN_DRIVERS in an bbappend or machine conf file to something like "intel" doesn't work, because the append actions still append to that value all additional drivers.
Trying to remove other drivers with something like VULKAN_DRIVERS:remove = ",amd" doesn't work either, as remove only matches on word boundaries and the list is command delimited, not space delimited.
[-- Attachment #2: Type: text/html, Size: 1168 bytes --]
next reply other threads:[~2025-08-03 6:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-03 6:28 trent.piepho [this message]
2025-08-04 10:15 ` [poky] How to override mesa VULKAN_DRIVERS and GALLIUMDRIVERS variables? Alexander Kanavin
2025-08-04 17:19 ` Trent Piepho
2025-08-05 8:29 ` Alexander Kanavin
2025-08-11 12:29 ` Quentin Schulz
2025-08-11 17:12 ` Trent Piepho
2025-08-22 16:18 ` Quentin Schulz
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=2n8W.1754202497905279149.soMo@lists.yoctoproject.org \
--to=trent.piepho@igorinstitute.com \
--cc=poky@lists.yoctoproject.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