public inbox for poky@lists.yoctoproject.org
 help / color / mirror / Atom feed
* How to override mesa VULKAN_DRIVERS and GALLIUMDRIVERS variables?
@ 2025-08-03  6:28 trent.piepho
  2025-08-04 10:15 ` [poky] " Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: trent.piepho @ 2025-08-03  6:28 UTC (permalink / raw)
  To: poky

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-22 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-03  6:28 How to override mesa VULKAN_DRIVERS and GALLIUMDRIVERS variables? trent.piepho
2025-08-04 10:15 ` [poky] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox