Install a second set of mesa's vulkan drivers in parallel and use them by default using drop-in files only?

David Airlie airlied at redhat.com
Mon Feb 3 20:06:25 UTC 2025


On Mon, Feb 3, 2025 at 11:59 PM Thorsten Leemhuis <fedora at leemhuis.info> wrote:
>
> On 30.01.25 16:05, Jose Exposito Quintana wrote:
> > As Dave mentioned, it looks like an issue with the loader. This logs are
> > not very useful to figure out which device is mapped to which driver:
> > [...]
>
> Yeah, the debug output is somewhat confusing when different builds of
> the same driver are installed in parallel. :-D
>
> > But it looks like the device associated with "/usr/lib64/
> > libvulkan_radeon.so" is being set as the first one.
>
> Yup.
>
> > I'm not familiar with vulkan-loader's code, but I think that the sorting
> > happens here (compare_devices() function):
> > [...]
> > I'd try to report the bug there, maybe they can clarify if ICD is taken
> > into account in this case.
>
> David, Jose, many thx to both of you for your help. Filed a bug here,
> lets see what happens:
> https://github.com/KhronosGroup/Vulkan-Loader/issues/1647

It might be an idea to change the string in your rebuild just for
debugging purposes initially

Dave.
>
> Ciao Thorsten
>
> > On Thu, Jan 30, 2025 at 7:55 AM Thorsten Leemhuis <fedora at leemhuis.info
> > <mailto:fedora at leemhuis.info>> wrote:
> >
> >     On 28.01.25 21:37, David Airlie wrote:
> >     > On Wed, Jan 29, 2025 at 4:52 AM Thorsten Leemhuis
> >     <fedora at leemhuis.info <mailto:fedora at leemhuis.info>> wrote:
> >     >>
> >     >> Lo! Is it possible to install mesa's vulkan drivers in parallel
> >     to the
> >     >> ones from the Linux distro and make all apps used them by default
> >     using
> >     >> drop-in files only?
> >     >>
> >     >> I'm asking, as I want to provide a RPM package with in a 3rd
> >     party repo
> >     >> which provides mesa's vulkan drivers that have features compiled
> >     in the
> >     >> distro in question (Fedora) is unwilling to enable in their
> >     regular mesa
> >     >> builds.
> >     > [...]
> >     > Uggh, sounds like a bug in the loader or in device select reordering,
> >     >
> >     > At a guess device select picks things on the first probe trip, but
> >     > maybe either uses the first or last one that matches the underlying
> >     > hw,
> >     >
> >     > it might be that it could be patched to reorder things so it works,
> >     > but it could also be the loader ordering things, I'd probably try and
> >     > debug device select layers default pick and see if it gets called a
> >     > few times when you have multiple installed.
> >
> >     David, many thx for your reply. I or besser82 (now CCed) will try to
> >     look into this, maybe with your advice we'll be able to fix this.
> >
> >     But FWIW and TWIMC, these are the messages I get when trying to use a
> >     vulkan app while VK_LOADER_DEBUG=all is set and both drivers are
> >     installed:
> >
> >     INFO:              No valid vk_loader_settings.json file found, no
> >     loader settings will be active
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     LAYER:             Searching for explicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/explicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/explicit_layer.d
> >     LAYER:                   /etc/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/explicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     explicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/explicit_layer.d
> >     LAYER:                   /usr/share/vulkan/explicit_layer.d
> >     LAYER:                Found no files
> >     INFO:              No valid vk_loader_settings.json file found, no
> >     loader settings will be active
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     LAYER:             Searching for explicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/explicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/explicit_layer.d
> >     LAYER:                   /etc/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/explicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     explicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/explicit_layer.d
> >     LAYER:                   /usr/share/vulkan/explicit_layer.d
> >     LAYER:                Found no files
> >     INFO:              No valid vk_loader_settings.json file found, no
> >     loader settings will be active
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     DRIVER:            Searching for driver manifest files
> >     DRIVER:               In following locations:
> >     DRIVER:                  /home/thl/.config/vulkan/icd.d
> >     DRIVER:                  /etc/xdg/vulkan/icd.d
> >     DRIVER:                  /etc/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/icd.d
> >     DRIVER:                  /var/lib/flatpak/exports/share/vulkan/icd.d
> >     DRIVER:                  /usr/local/share/vulkan/icd.d
> >     DRIVER:                  /usr/share/vulkan/icd.d
> >     DRIVER:               Found the following files:
> >     DRIVER:                  /etc/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /etc/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/lvp_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/nouveau_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/virtio_icd.x86_64.json
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_broadcom.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_freedreno.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel_hasvk.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     lvp_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_lvp.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     nouveau_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_nouveau.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_panfrost.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_powervr_mesa.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     virtio_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_virtio.so
> >     DRIVER:            Searching for driver manifest files
> >     DRIVER:               In following locations:
> >     DRIVER:                  /home/thl/.config/vulkan/icd.d
> >     DRIVER:                  /etc/xdg/vulkan/icd.d
> >     DRIVER:                  /etc/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/icd.d
> >     DRIVER:                  /var/lib/flatpak/exports/share/vulkan/icd.d
> >     DRIVER:                  /usr/local/share/vulkan/icd.d
> >     DRIVER:                  /usr/share/vulkan/icd.d
> >     DRIVER:               Found the following files:
> >     DRIVER:                  /etc/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /etc/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/lvp_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/nouveau_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/virtio_icd.x86_64.json
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_broadcom.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_freedreno.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel_hasvk.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     lvp_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_lvp.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     nouveau_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_nouveau.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_panfrost.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_powervr_mesa.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     virtio_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_virtio.so
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     INFO:              No valid vk_loader_settings.json file found, no
> >     loader settings will be active
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     DRIVER:            Searching for driver manifest files
> >     DRIVER:               In following locations:
> >     DRIVER:                  /home/thl/.config/vulkan/icd.d
> >     DRIVER:                  /etc/xdg/vulkan/icd.d
> >     DRIVER:                  /etc/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/icd.d
> >     DRIVER:                  /var/lib/flatpak/exports/share/vulkan/icd.d
> >     DRIVER:                  /usr/local/share/vulkan/icd.d
> >     DRIVER:                  /usr/share/vulkan/icd.d
> >     DRIVER:               Found the following files:
> >     DRIVER:                  /etc/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /etc/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/lvp_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/nouveau_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/virtio_icd.x86_64.json
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_broadcom.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_freedreno.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel_hasvk.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     lvp_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_lvp.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     nouveau_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_nouveau.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_panfrost.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_powervr_mesa.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     virtio_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_virtio.so
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     INFO:              No valid vk_loader_settings.json file found, no
> >     loader settings will be active
> >     LAYER:             Searching for implicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/implicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/implicit_layer.d
> >     LAYER:                   /etc/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/implicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/implicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     implicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/implicit_layer.d
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d
> >     LAYER:                Found the following files:
> >     LAYER:                   /usr/share/vulkan/implicit_layer.d/
> >     VkLayer_MESA_device_select.json
> >     INFO:              Found manifest file /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
> >     LAYER:             Searching for explicit layer manifest files
> >     LAYER:                In following locations:
> >     LAYER:                   /home/thl/.config/vulkan/explicit_layer.d
> >     LAYER:                   /etc/xdg/vulkan/explicit_layer.d
> >     LAYER:                   /etc/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/vulkan/explicit_layer.d
> >     LAYER:                   /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/explicit_layer.d
> >     LAYER:                   /var/lib/flatpak/exports/share/vulkan/
> >     explicit_layer.d
> >     LAYER:                   /usr/local/share/vulkan/explicit_layer.d
> >     LAYER:                   /usr/share/vulkan/explicit_layer.d
> >     LAYER:                Found no files
> >     DRIVER:            Searching for driver manifest files
> >     DRIVER:               In following locations:
> >     DRIVER:                  /home/thl/.config/vulkan/icd.d
> >     DRIVER:                  /etc/xdg/vulkan/icd.d
> >     DRIVER:                  /etc/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/vulkan/icd.d
> >     DRIVER:                  /home/thl/.local/share/flatpak/exports/
> >     share/vulkan/icd.d
> >     DRIVER:                  /var/lib/flatpak/exports/share/vulkan/icd.d
> >     DRIVER:                  /usr/local/share/vulkan/icd.d
> >     DRIVER:                  /usr/share/vulkan/icd.d
> >     DRIVER:               Found the following files:
> >     DRIVER:                  /etc/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /etc/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/intel_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/lvp_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/nouveau_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
> >     DRIVER:                  /usr/share/vulkan/icd.d/virtio_icd.x86_64.json
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /etc/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/dri-
> >     freeworld/libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     broadcom_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_broadcom.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     freedreno_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_freedreno.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_hasvk_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel_hasvk.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     intel_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_intel.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     lvp_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_lvp.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     nouveau_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_nouveau.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     panfrost_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_panfrost.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     powervr_mesa_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_powervr_mesa.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     radeon_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_radeon.so
> >     DRIVER:            Found ICD manifest file /usr/share/vulkan/icd.d/
> >     virtio_icd.x86_64.json, version 1.0.0
> >     DEBUG | DRIVER:    Searching for ICD drivers named /usr/lib64/
> >     libvulkan_virtio.so
> >     DEBUG | LAYER:     Loading layer library
> >     libVkLayer_MESA_device_select.so
> >     INFO | LAYER:      Insert instance layer
> >     "VK_LAYER_MESA_device_select" (libVkLayer_MESA_device_select.so)
> >     LAYER:             vkCreateInstance layer callstack setup to:
> >     LAYER:                <Application>
> >     LAYER:                  ||
> >     LAYER:                <Loader>
> >     LAYER:                  ||
> >     LAYER:                VK_LAYER_MESA_device_select
> >     LAYER:                        Type: Implicit
> >     LAYER:                        Enabled By: Implicit Layer
> >     LAYER:                            Disable Env Var:  NODEVICE_SELECT
> >     LAYER:                        Manifest: /usr/share/vulkan/
> >     implicit_layer.d/VkLayer_MESA_device_select.json
> >     LAYER:                        Library:  libVkLayer_MESA_device_select.so
> >     LAYER:                  ||
> >     LAYER:                <Drivers>
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkCreateDebugUtilsMessengerEXTEXT
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkCreateDebugUtilsMessengerEXTKHR
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkDestroyDebugUtilsMessengerEXTEXT
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkDestroyDebugUtilsMessengerEXTKHR
> >     INFO | DRIVER:     linux_read_sorted_physical_devices:
> >     INFO | DRIVER:          Original order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] llvmpipe (LLVM 19.1.5, 256 bits)
> >     INFO | DRIVER:                [2] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:          Sorted order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [2] llvmpipe (LLVM 19.1.5, 256 bits)
> >     INFO | DRIVER:     linux_read_sorted_physical_devices:
> >     INFO | DRIVER:          Original order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] llvmpipe (LLVM 19.1.5, 256 bits)
> >     INFO | DRIVER:                [2] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:          Sorted order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [2] llvmpipe (LLVM 19.1.5, 256 bits)
> >     DEBUG | DRIVER:    Copying old device 0 into new device 0
> >     DEBUG | DRIVER:    Copying old device 1 into new device 1
> >     DEBUG | DRIVER:    Copying old device 2 into new device 2
> >     INFO | DRIVER:     linux_read_sorted_physical_devices:
> >     INFO | DRIVER:          Original order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] llvmpipe (LLVM 19.1.5, 256 bits)
> >     INFO | DRIVER:                [2] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:          Sorted order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [2] llvmpipe (LLVM 19.1.5, 256 bits)
> >     DEBUG | DRIVER:    Copying old device 0 into new device 0
> >     DEBUG | DRIVER:    Copying old device 1 into new device 1
> >     DEBUG | DRIVER:    Copying old device 2 into new device 2
> >     INFO | DRIVER:     linux_read_sorted_physical_devices:
> >     INFO | DRIVER:          Original order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] llvmpipe (LLVM 19.1.5, 256 bits)
> >     INFO | DRIVER:                [2] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:          Sorted order:
> >     INFO | DRIVER:                [0] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [1] AMD Radeon 780M (RADV GFX1103_R1)
> >     INFO | DRIVER:                [2] llvmpipe (LLVM 19.1.5, 256 bits)
> >     DEBUG | DRIVER:    Copying old device 0 into new device 0
> >     DEBUG | DRIVER:    Copying old device 1 into new device 1
> >     DEBUG | DRIVER:    Copying old device 2 into new device 2
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_virtio.so
> >     due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/
> >     libvulkan_powervr_mesa.so due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_panfrost.so
> >     due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_nouveau.so
> >     due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_intel.so due
> >     to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/
> >     libvulkan_intel_hasvk.so due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_freedreno.so
> >     due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/libvulkan_broadcom.so
> >     due to not having any physical devices
> >     INFO | DRIVER:     Removing driver /usr/lib64/dri-freeworld/
> >     libvulkan_intel.so due to not having any physical devices
> >     INFO | LAYER:      Failed to find vkGetDeviceProcAddr in layer
> >     "libVkLayer_MESA_device_select.so"
> >     DRIVER | LAYER:    vkCreateDevice layer callstack setup to:
> >     DRIVER | LAYER:       <Application>
> >     DRIVER | LAYER:         ||
> >     DRIVER | LAYER:       <Loader>
> >     DRIVER | LAYER:         ||
> >     DRIVER | LAYER:       <Device>
> >     DRIVER | LAYER:           Using "AMD Radeon 780M (RADV GFX1103_R1)"
> >     with driver: "/usr/lib64/libvulkan_radeon.so"
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkCreateDebugUtilsMessengerEXTEXT
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkCreateDebugUtilsMessengerEXTKHR
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkDestroyDebugUtilsMessengerEXTEXT
> >     DEBUG:             loader_gpa_instance_terminator() unrecognized
> >     name vkDestroyDebugUtilsMessengerEXTKHR
> >
> >     Ciao, Thorsten
> >
>



More information about the mesa-dev mailing list