Vulkan not working properly

Lutris keeps telling me that vulkan isn’t installed, and I have it installed and all the stuff needed for it. I get this from “vulkantools”:

[xxxx@xxxxxxxx ~]$ vulkaninfo
ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib32/amdvlk32.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1.  Skipping ICD.
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.162/vulkaninfo/vulkaninfo.h:248:vkEnumerateInstanceExtensionProperties failed with ERROR_INITIALIZATION_FA
ILED

I’ve tried everything I could, and I’m just not sure what to do. Can anyone help with this please?

You need to tell us your system details, graphics card model and driver, installed mesa/nvidia/vulkan package names and their versions, if you expect anyone to actually help.

1 Like

inxi -Fazy

1 Like

Here’s what it spit out:

System:
  Kernel: 5.4.88-CUSTOMMANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.88-x86_64 
  root=UUID=b79b821e-1963-484b-a988-4ed9c1b70ba4 rw splash intel_iommu=on 
  apparmor=1 security=apparmor 
  Desktop: MATE 1.24.1 info: mate-panel wm: marco 1.24.1 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Z400 Workstation v: N/A 
  serial: <filter> Chassis: type: 6 serial: <filter> 
  Mobo: Hewlett-Packard model: 0B4Ch v: D serial: <filter> 
  BIOS: Hewlett-Packard v: 786G3 v03.57 date: 07/15/2013 
CPU:
  Info: 6-Core model: Intel Xeon X5675 bits: 64 type: MT MCP arch: Nehalem 
  family: 6 model-id: 2C (44) stepping: 2 microcode: 1F L2 cache: 12 MiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 73629 
  Speed: 1959 MHz min/max: N/A Core speeds (MHz): 1: 1959 2: 1821 3: 2186 
  4: 1654 5: 1675 6: 1855 7: 1792 8: 1775 9: 1678 10: 1875 11: 2618 12: 2318 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds 
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Curacao PRO [Radeon R7 370 / R9 270/370 OEM] 
  vendor: PC Partner Limited driver: radeon v: kernel alternate: amdgpu 
  bus ID: 0f:00.0 chip ID: 1002:6811 
  Display: x11 server: X.Org 1.20.10 compositor: marco v: 1.24.1 
  driver: ati,radeon unloaded: fbdev,modesetting alternate: vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 55 size: 885x498mm (34.8x19.6") 
  diag: 1015mm (40") 
  OpenGL: renderer: AMD PITCAIRN (DRM 2.50.0 5.4.88-CUSTOMMANJARO LLVM 11.0.0) 
  v: 4.5 Mesa 20.3.1 direct render: Yes 
Audio:
  Device-1: Intel 82801JI HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:3a3e 
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 
  Series] 
  vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 0f:00.1 
  chip ID: 1002:aab0 
  Device-3: Logitech Webcam C110 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 2-4:4 chip ID: 046d:0829 
  Sound Server: ALSA v: k5.4.88-CUSTOMMANJARO 
Network:
  Device-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe 
  vendor: Hewlett-Packard driver: tg3 v: 3.137 port: d0c0 bus ID: 01:00.0 
  chip ID: 14e4:1684 
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: d0c0 
  bus ID: 00:1f.2 chip ID: 8086.2822 rev: N/A 
Drives:
  Local Storage: total: 2.05 TiB used: 181.54 GiB (8.6%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM006-2DM164 
  size: 1.82 TiB block size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s 
  serial: <filter> rev: CC26 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Silicon Power 
  model: SPCC Solid State Disk size: 238.47 GiB block size: physical: 512 B 
  logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: 61.3 
Partition:
  ID-1: / raw size: 238.47 GiB size: 233.73 GiB (98.01%) 
  used: 181.54 GiB (77.7%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A gpu: radeon temp: 35.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 281 Uptime: 5h 42m wakeups: 0 Memory: 19.59 GiB 
  used: 7.63 GiB (38.9%) Init: systemd v: 247 runlevel: 5 Compilers: 
  gcc: 10.2.0 Packages: 1649 pacman: 1643 lib: 458 rpm: 0 flatpak: 0 snap: 6 
  Shell: Bash v: 5.1.0 running in: konsole inxi: 3.2.01

Vulkan is only supported with AMDGPU. You may be able to enable experimental support. We have an easy way to do it with the amdgpu-experimental package. Reboot after installing it. You’ll know if it works, because you won’t be able to boot if it doesn’t. If not, just switch to a TTY, remove it and reboot.

1 Like