New update, vulkan is broken again

With the latest update, vulkan support is “broken” again, this time even more than before.

vulkaninfo
ERROR: [Loader Message] Code 0 : /usr/lib32/amdvlk32.so: wrong ELF class: ELFCLASS32
error: XDG_RUNTIME_DIR not set in the environment.
The selected gpu (0) is not a valid GPU index. The available GPUs are in the range of 0 to 18446744073709551615 >

playing war thunder ( a vulkan only game ) simply results in a your gpu is not supported or does not exist error

i tries uninstalling and reinstalling steam and steam native to no avail.

It works.

inxi -Fazy
System:
  Kernel: 5.10.30-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=b1beb20b-cc4f-48d6-b4dd-8af0c2d1c655 rw quiet apparmor=1 
  security=apparmor resume=UUID=3cf867c8-0a8f-4184-8734-723e7fc75c34 
  udev.log_priority=3 nordrand 
  Console: tty pts/3 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux 
  base: Arch Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: MEG X570 ACE (MS-7C35) v: 1.0 
  serial: <filter> UEFI: American Megatrends LLC. v: 1.D0 date: 01/22/2021 
CPU:
  Info: 8-Core model: AMD Ryzen 7 3800X socket: AM4 bits: 64 type: MT MCP 
  arch: Zen 2 family: 17 (23) model-id: 71 (113) stepping: 0 
  microcode: 8701021 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 124804 
  Speed: 2056 MHz min/max: 2200/3900 MHz base/boost: 3900/4550 boost: enabled 
  volts: 1.1 V ext-clock: 100 MHz Core speeds (MHz): 1: 2056 2: 3600 3: 2057 
  4: 2057 5: 2198 6: 2200 7: 2200 8: 2197 9: 2056 10: 2055 11: 2195 12: 2195 
  13: 2199 14: 2200 15: 2057 16: 3593 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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 AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Gigabyte driver: amdgpu v: kernel bus-ID: 2d:00.0 chip-ID: 1002:67df 
  class-ID: 0300 
  Device-2: Creative Live! Cam Chat HD [VF0700] type: USB 
  driver: snd-usb-audio,uvcvideo bus-ID: 5-1:2 chip-ID: 041e:4088 
  class-ID: 0102 serial: <filter> 
  Display: server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 4480x1080 s-dpi: 96 s-size: 1185x285mm (46.7x11.2") 
  s-diag: 1219mm (48") 
  Monitor-1: DisplayPort-2 res: 1920x1080 hz: 60 dpi: 92 
  size: 531x298mm (20.9x11.7") diag: 609mm (24") 
  Monitor-2: HDMI-A-0 res: 2560x1080 hz: 60 dpi: 97 
  size: 673x284mm (26.5x11.2") diag: 730mm (28.8") 
  OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.40.0 
  5.10.30-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.1 direct render: Yes 
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 2d:00.1 
  chip-ID: 1002:aaf0 class-ID: 0403 
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 2f:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-3: Creative Live! Cam Chat HD [VF0700] type: USB 
  driver: snd-usb-audio,uvcvideo bus-ID: 5-1:2 chip-ID: 041e:4088 
  class-ID: 0102 serial: <filter> 
  Device-4: Insignia (Best Buy) Desktop Microphone NS-PAUM50 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-2:3 chip-ID: a014:b014 
  class-ID: 0300 serial: <filter> 
  Sound Server-1: ALSA v: k5.10.30-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.25 running: yes 
Network:
  Device-1: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb 
  v: kernel port: e000 bus-ID: 26:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp38s0 state: down mac: <filter> 
  Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 
  v: kernel port: d000 bus-ID: 27:00.0 chip-ID: 10ec:8125 class-ID: 0200 
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: d000 
  bus-ID: 28:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlo1 state: down mac: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3 
  chip-ID: 8087:0029 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:
  Local Storage: total: 4.57 TiB used: 870.87 GiB (18.6%) 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 PRO 512GB 
  family: based SSDs size: 476.94 GiB block-size: physical: 512 B 
  logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: SSD serial: <filter> 
  rev: 1B6Q temp: 24 C scheme: GPT 
  SMART: yes state: enabled health: PASSED on: 312d 1h cycles: 23 
  written: 1.44 TiB 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 PRO 512GB 
  family: based SSDs size: 476.94 GiB block-size: physical: 512 B 
  logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: SSD serial: <filter> 
  rev: 1B6Q temp: 25 C 
  SMART: yes state: enabled health: PASSED on: 312d 1h cycles: 23 
  written: 0 KiB 
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST2000DM008-2FR102 
  family: BarraCuda 3.5 size: 1.82 TiB block-size: physical: 4096 B 
  logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 0001 temp: 39 C 
  SMART: yes state: enabled health: PASSED on: 312d 2h cycles: 22 
  read: 3.3 TiB written: 9.14 TiB Pre-Fail: reallocated sector: 99 
  threshold: 10 attribute: Spin_Retry_Count value: 100 worst: 100 
  threshold: 97 
  ID-4: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST2000DM008-2FR102 
  family: BarraCuda 3.5 size: 1.82 TiB block-size: physical: 4096 B 
  logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 0001 temp: 36 C 
  SMART: yes state: enabled health: PASSED on: 312d 2h cycles: 22 
  read: 2.03 TiB written: 9.34 TiB Pre-Fail: reallocated sector: 99 
  threshold: 10 attribute: Spin_Retry_Count value: 100 worst: 100 
  threshold: 97 
Partition:
  ID-1: / raw-size: 459.43 GiB size: 451.22 GiB (98.21%) 
  used: 166.28 GiB (36.9%) fs: ext4 block-size: 4096 B dev: /dev/sda2 
  maj-min: 8:2 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 280 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1 
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) 
  used: 704.59 GiB (37.8%) fs: btrfs block-size: 4096 B dev: /dev/sdc 
  maj-min: 8:32 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 17.21 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda3 maj-min: 8:3 
Sensors:
  System Temperatures: cpu: 42.8 C mobo: 37.0 C gpu: amdgpu temp: 46.0 C 
  Fan Speeds (RPM): fan-1: 0 fan-2: 1560 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 
  fan-7: 0 gpu: amdgpu fan: 707 
Info:
  Processes: 395 Uptime: 23m wakeups: 0 Memory: 15.62 GiB 
  used: 3.35 GiB (21.4%) Init: systemd v: 247 tool: systemctl Compilers: 
  gcc: 10.2.0 clang: 11.1.0 Packages: 1733 pacman: 1697 lib: 496 flatpak: 28 
  snap: 8 Shell: Bash (su) v: 5.1.0 running-in: konsole inxi: 3.3.04 

the game is not working, because vulkan is broken now.

Manjaro KDE
Custom Kernel: 5.11.13-tkg-mrazster (Tkg kernel with my own config)
Mesa: 21.0.1

Cpu: Ryzen 7 3700X
Gpu: Asus Strix 5700XT

The game starts perfectly fine for me.

Linux the-beast 5.10.30-1-MANJARO #1 SMP Wed Apr 14 08:07:27 UTC 2021 x86_64 GNU/Linux

maybe because you are using a different kernel

now i have removed both steam and war thunder, rebooted and reinstalled them, no change vulkan is still dead.

Try to install another Kernel for a test (from the Manjaro Settings Manager tool, from your application menu).

Linux the-beast 5.11.14-1-MANJARO #1 SMP PREEMPT Wed Apr 14 08:25:29 UTC 2021 x86_64 GNU/Linux

Nothing changed, vulkan still unavailable

Try to reinstall the video card drivers from Manjaro Settings Manager → Hardware

Maybe there is an issue with your specific hardware I don’t know, but seems to work for everyone else (forum doesn’t have threads about your issue).

Are you sure your system is properly up to date?

pamac update
Warning: Building packages as root
Warning: Setting build directory to /var/cache/pamac
Preparing…
Synchronizing package databases…
Nothing to do.
Transaction successfully finished.

system is up to date, graphics drivers reinstalles
No change

you think if i used timeshift to undo the update that might get the game going again?
because the things are, none of the games that use vulkan can run using vulkan warthunser is vulkan only so it doesn’t run, and dota2 uses Opengl and can not run vulkan

using gpu-viewer it seems to detect vulkan working just fine, apiVersion = 1.2.145 , device id = 26591, deviceName = AMD RADV POLARIS (ACO), deviceType = Physical device type gpu :slight_smile: , driverVersion= 20.3.5 and vendor id = 4098

vkcube
vkEnumeratePhysicalDevices reported zero accessible devices.

Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.

It will not run or recognize my rx570

Is it only WT or have you tried other games running with/on vulkan api ?

i tried dota2 and it only runs on opengl , no vulkan

What is the output of pacman -Qqs vulkan

pacman -Qqs vulkan
amdvlk
lib32-amdvlk
lib32-vulkan-icd-loader
lib32-vulkan-mesa-layers
lib32-vulkan-radeon
lib32-vulkan-validation-layers
spirv-tools
vulkan-extra-layers
vulkan-extra-tools
vulkan-headers
vulkan-html-docs
vulkan-icd-loader
vulkan-mesa-layers
vulkan-radeon
vulkan-swrast
vulkan-tools
vulkan-validation-layers

Any particular reason as to why toy have amdvlk installed?
If you use mesa you shouldn’t need amdvlk.
Maybe try to remove it and see what happens.

I don’t have it installed and yet all my vulkan based games works perfectly fine.

2 Likes

There was a mixup with mesa. This is fixed now. Update your system again.

3 Likes

wow, that fixed it
removing amdvlk fixed it
vulkaninfo

VULKANINFO
==========

Vulkan Instance Version: 1.2.172

Instance Extensions: count = 18

    VK_EXT_acquire_xlib_display            : extension revision 1
    VK_EXT_debug_report                    : extension revision 9
    VK_EXT_debug_utils                     : extension revision 2
    VK_EXT_direct_mode_display             : extension revision 1
    VK_EXT_display_surface_counter         : extension revision 1
    VK_KHR_device_group_creation           : extension revision 1
    VK_KHR_display                         : extension revision 23
    VK_KHR_external_fence_capabilities     : extension revision 1
    VK_KHR_external_memory_capabilities    : extension revision 1
    VK_KHR_external_semaphore_capabilities : extension revision 1
    VK_KHR_get_display_properties2         : extension revision 1
    VK_KHR_get_physical_device_properties2 : extension revision 1
    VK_KHR_get_surface_capabilities2       : extension revision 1
    VK_KHR_surface                         : extension revision 25
    VK_KHR_surface_protected_capabilities  : extension revision 1
    VK_KHR_wayland_surface                 : extension revision 6
    VK_KHR_xcb_surface                     : extension revision 6
    VK_KHR_xlib_surface                    : extension revision 6

also, my system is fully up to date, i had to remove amdvlk