You are not logged in.
Pages: 1
Hello!
I am trying to play games based on the Vulkan API on my Arch machine, but Vulkan does not seem to work for me :-( I am running KDE plasma on a laptop with Intel UHD graphics 610. I have lib32-vulkan-icd-loader, lib32-vulkan-intel, vulkan-headers, vulkan-icd-loader, vulkan-intel, vulkan-tools, and vulkan-validation-layers installed. The output of vulkaninfo is as follows:
ERROR: [Loader Message] Code 0 : /usr/lib32/amdvlk32.so: wrong ELF class: ELFCLASS32
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 at /build/vulkan-tools/src/Vulkan-Tools-1.2.162/vulkaninfo/vulkaninfo.h:668:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORY
I can't seem to find anything helpful on the internet. I know that it is possible for vulkan to work, because it worked on the same hardware back when I still ran Ubuntu. Any help is appreciated :-)
Last edited by Leo Wagner (2021-01-15 12:41:17)
Offline
There seems to be some sort of AMD driver lurking somewhere on my system...
output of "expac -Qs '%n' vulkan-driver"
amdvlk
lib32-amdvlk
lib32-vulkan-intel
vulkan-info
Output of "ls /usr/share/vulkan/icd.d/"
amd_icd32.json amd_icd64.json intel_icd.i686.json intel_icd.x86_64.json
The two amd files above were also in a bolder, green font, while the Intel ones were not. Does that mean that I am using AMD Vulkan drivers, which are screwing up things?
Offline
You need vulkan-intel (... the non-lib32 one is important for vulkaninfo) and none of the amd packages.
Last edited by V1del (2021-01-14 21:42:58)
Online
Cool! I deleted the amd files from /usr/share/vulkan/icd.d and now vulkaninfo works :-)
I am installing vkquake2 from the aur to test vulkan, and make sure everything works.
Offline
It works :-) Yesssss :-)
Thank you so much for the help!
All I had to do was delete two amd json files. Nice.
Topic closed
Offline
They are package provided, there should be no reason for you to manually delete files provided by packages, just uninstall the amdvlk packages.
Please mark the topic as [SOLVED] by editing the title in your first post and adding that.
Online
Cool. I uninstalled those, and it is even better now! :-)
Offline
Fantastic. Thanks for this info. What I needed to do was `pacman -Rs amdvlk lib32-amdvlk`.
Then the two erroneous AMD json files in /usr/share/vulkan/icd.d/ were removed, and only the needed Intel ones remaining.
After that, vulkaninfo produces a large output, and no longer any error message.
Running Intel HD Graphics 620.
Last edited by olof (2021-04-07 12:07:22)
Offline
Pages: 1