Vulkan error

I’ve installed Vulkan but in the terminal, lutris shows
Running Lutris 0.5.0.1
2019-03-21 16:07:31,388: Using X.Org
2019-03-21 16:07:31,389: Running Mesa driver 19.1.0 on AMD MULLINS (DRM 2.50.0, 4.15.0-46-generic, LLVM 7.0.1) (0x9851)
2019-03-21 16:07:31,389: GPU: 1002:6660 103C:81F6 using radeon drivers
2019-03-21 16:07:31,390: GPU: 1002:9851 103C:81F6 using radeon drivers
2019-03-21 16:07:34,663: Vulkan is not available or your system isn’t Vulkan capable

Do you have mesa-vulkan-drivers and mesa-vulkan-drivers:i386 installed?

You can also install and use vulkaninfo to check what you have supported. I’m pretty sure it’s on the package vulkan-utils

I’ve installed those drivers after you said but still, the error is there.

the output of vulkaninfo is :

===========
VULKAN INFO

Vulkan Instance Version: 1.1.70

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
/build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK_ERROR_INITIALIZATION_FAILED

I just tried vulkaninfo myself and I do get the same Loader Messages in the first two lines, but I definitely don’t get the 3rd.

That is an error and has to be fixed.

First and foremost, note that Driver Support on DXVK’s github mentions LLVM 7.0.1 as being faulty. Then, your DRM and linux kernel may be outdated.

If changing your LLVM version to either 7.0 or 8.0 doesn’t solve the issue, could you elaborate on your system info?
Useful stuff:

  • Distribution
  • CPU name/model
  • GPU name/model (it seems you have a Mullins APU, but mention if applicable).
  • Source of your Mesa 19.1.0 (since it’s not common to have Mesa 19 and Kernel 4.15)

I’ve tried installing AMD GPU pro but now lutris says,

amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x.
amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x.
2019-03-28 14:24:29,558: glxinfo call failed: Command ‘[‘glxinfo’, ‘-B’]’ died with <Signals.SIGSEGV: 11>.
2019-03-28 14:24:29,582: No available glxinfo output
2019-03-28 14:24:34,729: Running Lutris 0.5.1
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 221, in do_command_line
run_all_checks()
File “/usr/lib/python3/dist-packages/lutris/startup.py”, line 151, in run_all_checks
check_driver()
File “/usr/lib/python3/dist-packages/lutris/startup.py”, line 61, in check_driver
logger.info(“Using %s”, LINUX_SYSTEM.glxinfo.opengl_vendor)
AttributeError: ‘NoneType’ object has no attribute ‘opengl_vendor’
2019-03-28 14:24:34,830: Shutting down Lutris

Spewing out error messages is not helpful. You didn’t answer the very helpful information I needed before, and now I don’t know what version of AMDGPU pro you installed. I’ve never seen anyone recommend amdgpu pro for DXVK and similar

oh, posting backtraces is always helpful.

I’m gonna make a fix for that.

Edit: fixed in master

1 Like

glad you could make sense with such specific information. I stand corrected after all ^^

Distribution: Ubuntu 18.04 LTS
CPU: AMD Quad-Core A8-7410 APU
GPU: AMD Radeon™ R5 M430 Graphics

I’ve installed amdgpu pro because some forms say to install it to solve the VK_ERROR_INITIALIZATION_FAILED error

You can get more information in:

https://support.hp.com/in-en/document/c05165066

I’ve uninstalled amdgpu-pro because of some errors

Did you solve your problem?

strider mentioned fixing it in master, which means the source code for Lutris. I believe it’s this commit:


If that is the case, the issue will be solved on Lutris 0.5.1.4 (since 0.5.1.3 was a fake release version in order to get published by the automatic build service). That version is not released yet, so if you can’t wait, you can probably compile Lutris yourself in the meantime.

I tried the https://github.com/lutris/lutris/commit/f70273774682146e9c23847320e10d3902fa9f31
but lutris now says

Traceback (most recent call last):
File “/usr/bin/lutris”, line 31, in
from lutris.gui.application import Application
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 33, in
from lutris import pga
File “/usr/lib/python3/dist-packages/lutris/pga.py”, line 10, in
from lutris.util import sql, system
File “/usr/lib/python3/dist-packages/lutris/util/system.py”, line 10, in
from lutris.util.linux import LINUX_SYSTEM
File “/usr/lib/python3/dist-packages/lutris/util/linux.py”, line 300, in
LINUX_SYSTEM = LinuxSystem()
File “/usr/lib/python3/dist-packages/lutris/util/linux.py”, line 121, in init
self.populate_liraries()
AttributeError: ‘LinuxSystem’ object has no attribute ‘populate_liraries’

AttributeError: ‘LinuxSystem’ object has no attribute ‘populate_liraries’
it feels like there’s a typo in populate_libraries (are liraries a thing?)

@strider

Now I’m getting

Traceback (most recent call last):
File “/usr/bin/lutris”, line 31, in
from lutris.gui.application import Application
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 33, in
from lutris import pga
File “/usr/lib/python3/dist-packages/lutris/pga.py”, line 10, in
from lutris.util import sql, system
File “/usr/lib/python3/dist-packages/lutris/util/system.py”, line 10, in
from lutris.util.linux import LINUX_SYSTEM
File “/usr/lib/python3/dist-packages/lutris/util/linux.py”, line 86, in
class LinuxSystem:
File “/usr/lib/python3/dist-packages/lutris/util/linux.py”, line 301, in LinuxSystem
LINUX_SYSTEM = LinuxSystem()
NameError: name ‘LinuxSystem’ is not defined

My vulkannfo error is still there.
Maybe fixing it will solve it?

I think you’ll have a higher response rate if you put this information on GitHub, so that the developpers get contacted directly. If your problem is really not because of any system settings, but bugs, they’re your best bet.

What bugs me is that you’re using some pretty standard pieces (OS, CPU, GPU) to be having such problems. I’m on Linux Mint 19 (kinda like ubuntu 18.04) and ryzen apu (which is more recent, meaning ‘more problematic to get all the bugs fixed’), and everything was solved by setup.

I think I even looked into your GPU for vulkan support and it was in the supported list, if I’m not mistaken.