Dota-Underlords icon indicating copy to clipboard operation
Dota-Underlords copied to clipboard

Fedora 30 - "Failed to initialize Vulkan. Please make sure your driver and GPU support Vulkan." when game is started

Open Yetoo1 opened this issue 6 years ago • 2 comments

Your system information

  • System information from steam: https://web.archive.org/web/20191114204525/https://pastebin.com/09kEMVuT
  • Have you checked for system updates?: Yes
  • Are you using the latest stable video driver available for your system? Yes
  • Have you verified the game files?: Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Starting the Dota Underlords native binary via steam yields a message box with the following text: "Failed to initialize Vulkan. Please make sure your driver and GPU support Vulkan."

steam -vulkan_disable_steam_shader_cache doesn't work. The following Vulkan related packages are installed (I know many of these wouldn't have an effect on runtime, but just to be thorough): vulkan (resolves to vulkan-loader) vulkan-tools mesa-vulkan-drivers vulkan-loader mesa-vulkan-devel vulkan-headers vulkan-loader-devel mingw32-vulkan-loader mingw64-vulkan-loader vulkan-validation-layers vulkan-validation-layers-devel mingw32-vulkan-validation-layers mingw64-vulkan-validation-layers libvkd3d

Steps for reproducing this issue:

  1. Open Steam on Fedora 30
  2. Play Dota Underlords native binary.

Yetoo1 avatar Nov 14 '19 21:11 Yetoo1

This is still occurring on Fedora 31. Updated system information: http://web.archive.org/web/20200121154727/https://pastebin.com/BdrqGaPg

Yetoo1 avatar Jan 21 '20 15:01 Yetoo1

This still occurs on Fedora 33, but, if I use the Steam Linux Runtime, this error doesn't occur and I am able to play the game. Updated system information: https://web.archive.org/web/20210604005107/https://pastebin.com/YWX7YjMe

Running ./underlords.sh yields:

FATAL: /mnt/bigboy/SteamLibrary_Linux/steamapps/common/Underlords/game/bin/linuxsteamrt64/libengine2.so not loaded
	dlerror(): /valve/steam-runtime/bin/../runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /mnt/bigboy/SteamLibrary_Linux/steamapps/common/Underlords/game/bin/linuxsteamrt64/libengine2.so)

Running STEAM_RUNTIME=0 ./underlords.sh failed with the following relevant error in output: failed to dlopen "libpangoft2-1.0.so" error=libbz2.so.1.0: cannot open shared object file: No such file or directory

I made a symbolic link to libbz2.so.1.0 via sudo ln -s /lib64/libbz2.so.1 /lib64/libbz2.so.1.0 and now I am able to run STEAM_RUNTIME=0 ./underlords.sh or STEAM_RUNTIME=1 ./underlords.sh (still not able to run bare ./underlords.sh) with no errors preventing it from starting. But when I try to play the game via the Steam interface, I still get the Failed to initialize Vulkan. Please make sure your driver and GPU support Vulkan. error. I get that error with both STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam or STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 steam as well as running the two aforementioned commands with -vulkan_disable_steam_shader_cache appended to them and appended to just steam`.

Yetoo1 avatar Jun 03 '21 22:06 Yetoo1