Comment # 2 on bug 1215881 from James
Thanks for the reply, would you have any idea on what part of the distribution
is at fault?

It seams that for 32-bit applications, the 64-bit files try to get loaded.

**Broken 32-bit**
COMMAND:
VK_LOADER_DEBUG=all mangohud vkcube32


PARTIAL COMMAND OUTPUT:
DEBUG | DRIVER:   Searching for ICD drivers named
/usr/lib/libvulkan_intel_hasvk.so
DRIVER:           Found ICD manifest file
/usr/share/vulkan/icd.d/intel_icd.i686.json, version 1.0.0
DEBUG | DRIVER:   Searching for ICD drivers named /usr/lib/libvulkan_intel.so
DRIVER:           Found ICD manifest file
/usr/share/vulkan/icd.d/radeon_icd.i686.json, version 1.0.0
DEBUG | DRIVER:   Searching for ICD drivers named /usr/lib/libvulkan_radeon.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
INFO:             /usr/lib64/libvulkan_intel_hasvk.so: wrong ELF class:
ELFCLASS64
DRIVER:           Requested layer /usr/lib64/libvulkan_intel_hasvk.so was wrong
bit-type. Ignoring this JSON
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
INFO:             /usr/lib64/libvulkan_intel.so: wrong ELF class: ELFCLASS64
DRIVER:           Requested layer /usr/lib64/libvulkan_intel.so was wrong
bit-type. Ignoring this JSON
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
INFO:             /usr/lib64/libvulkan_radeon.so: wrong ELF class: ELFCLASS64
DRIVER:           Requested layer /usr/lib64/libvulkan_radeon.so was wrong
bit-type. Ignoring this JSON
Requested layer /usr/lib64/libvulkan_radeon.so was wrong bit-type. Ignoring
this JSON
INFO:             /usr/lib64/mangohud/libMangoHud.so: wrong ELF class:
ELFCLASS64
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)
INFO | LAYER:     Requested layer "VK_LAYER_MANGOHUD_overlay_x86_64" was wrong
bit-type.
LAYER:            vkCreateInstance layer callstack setup to:
LAYER:               <Application>
LAYER:                 ||
LAYER:               <Loader>
LAYER:                 ||
LAYER:               VK_LAYER_MESA_device_select
LAYER:                       Type: Implicit
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>




**Working 64-bit**
COMMAND:
VK_LOADER_DEBUG=all mangohud vkcube

PARTIAL COMMAND OUTPUT:
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/radeon_icd.x86_64.json, version 1.0.0
DEBUG | DRIVER:   Searching for ICD drivers named
/usr/lib64/libvulkan_radeon.so
DEBUG | LAYER:    Loading layer library /usr/lib64/mangohud/libMangoHud.so
INFO | LAYER:     Insert instance layer "VK_LAYER_MANGOHUD_overlay_x86_64"
(/usr/lib64/mangohud/libMangoHud.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:                           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:               VK_LAYER_MANGOHUD_overlay_x86_64
LAYER:                       Type: Implicit
LAYER:                           Disable Env Var:  DISABLE_MANGOHUD
LAYER:                       Manifest:
/usr/share/vulkan/implicit_layer.d/MangoHud.x86_64.json
LAYER:                       Library:  /usr/lib64/mangohud/libMangoHud.so
LAYER:                 ||
LAYER:               <Drivers>


You are receiving this mail because: