Vulkan not working, can only use OpenGL

as the title says I can't figure out how make the Vulkan api work properly, if I try to launch games that use it they just crash before even getting to the menu, same when using Proton...
I downloaded Dota 2 for testing and while it runs, it only uses OpenGL (even after selecting Vulkan in the options and then re-launching it).

vulkaninfo returns these errors:

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/ wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/ wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/ wrong ELF class: ELFCLASS32
amdgpu: unknown (family_id, chip_external_rev): (149, 2)
/build/vulkan-tools-KEbD_A/vulkan-tools- failed with ERROR_INITIALIZATION_FAILED

This is the system info gathered with inxi -SPARM -GCDN -v1 -xGCRS

System: Host: 2001-A-Space-Odyssey Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: N/A Desktop: Gnome 3.38.4
Distro: Zorin OS 16.2 base: Ubuntu 20.04 LTS Focal
Machine: Type: Desktop System: Micro-Star product: MS-7D69 v: 1.0 serial: <superuser/root required>
Mobo: Micro-Star model: MEG X670E ACE (MS-7D69) v: 1.0 serial: <superuser/root required>
UEFI: American Megatrends LLC. v: 1.42 date: 12/02/2022
CPU: Topology: 16-Core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 3 rev: 2 L2 cache: 16.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 288012
Speed: 2978 MHz min/max: 400/5881 MHz Core speeds (MHz): 1: 2977 2: 2978 3: 2979 4: 2976 5: 2935 6: 2978 7: 2915
8: 2979 9: 2979 10: 2981 11: 2963 12: 2976 13: 2985 14: 2981 15: 2977 16: 2977 17: 2979 18: 2977 19: 2978 20: 2977
21: 2977 22: 2978 23: 2977 24: 2980 25: 2975 26: 2980 27: 2981 28: 2944 29: 2979 30: 2980 31: 2980 32: 2979
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Sapphire Limited
driver: amdgpu v: 5.18.13 bus ID: 03:00.0
Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Micro-Star MSI driver: amdgpu v: 5.18.13 bus ID: 16:00.0
Display: wayland server: X.Org 1.20.13 driver: ati,fbdev unloaded: modesetting,radeon,vesa
resolution: 2560x1440~60Hz, 2048x1152~60Hz
OpenGL: renderer: Radeon RX 7900 XTX v: 4.6.0 Core Profile Context 19.30.221207 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 03:00.1
Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus ID: 16:00.1
Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus ID: 16:00.6
Device-4: Micro Star USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-6:7
Device-5: Cambridge Audio Cambridge Audio DAC100 USB 2 type: USB driver: snd-usb-audio bus ID: 3-2:2
Device-6: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 3-3:3
Sound Server: ALSA v: k5.15.0-58-generic
Network: Device-1: Aquantia AQC113CS NBase-T/IEEE 802.3bz Ethernet [AQtion] vendor: Micro-Star MSI driver: atlantic
v: kernel port: f000 bus ID: 07:00.0
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: N/A port: f000 bus ID: 0c:00.0
Drives: Local Storage: total: 7.28 TiB used: 1.22 TiB (16.8%)
ID-1: /dev/nvme0n1 vendor: Corsair model: MP600 PRO XT size: 7.28 TiB
RAID: Message: No RAID data was found.
Partition: ID-1: / size: 7.22 TiB used: 1.22 TiB (16.9%) fs: ext4 dev: /dev/nvme0n1p2
Info: Processes: 577 Uptime: 2h 11m Memory: 61.95 GiB used: 7.41 GiB (12.0%) Init: systemd runlevel: 5 Compilers:
gcc: 9.4.0 Shell: bash v: 5.0.17 inxi: 3.0.38

If my understanding of those error messages is correct, the system is failing to load the right libraries but I have honestly no idea as how to fix it... Any help would be greatly appreciated.

Gday @HAL9000 ,
Does Vulkan come with Zorin Pro?
If so:
Please try contacting via link, for Zorin Pro help.


So, the solution for me was to uninstall the "amdvlk" implementation of Vulkan and only use the vulkan pro version, apparently installing them both created some weird incompatibilities...


Thanks for the advice!
Luckily, after much headache, I've managed to solve the problem... The system didn't liked that I had installed both the "amdvlk" and the "pro" implementations of Vulkan (even though according to the guide it should have been fine :-P).


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.