All windows games giving me an err:vulkan_vk_init failed to load vulkan library

Questions about Wine on Linux
Locked
johnspack
Newbie
Newbie
Posts: 3
Joined: Thu Apr 26, 2018 7:17 pm

All windows games giving me an err:vulkan_vk_init failed to load vulkan library

Post by johnspack »

I get this error when loading any windows game now. I can no longer add dxvk ect as the games won't even load at that point. Used to run both dxvk and vkd3d-proton with no problems and could run any dx11 or 12 game. Now I keep getting the above error message. Vulkaninfo tells me that vulkan is working, native vulkan apps run just fine. I do have an old gtx980ti, but it should still support the current vulkan. I am running a new install of Kubuntu 23.10, but older versions do the same thing. Only thing I really changed was to go to a threadripper gen1 platform from my intel platform. I really need wine to use vulkan again... what do I do?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: All windows games giving me an err:vulkan_vk_init failed to load vulkan library

Post by jkfloris »

First make sure you have installed the necessary Vulkan libraries:

Code: Select all

sudo apt install --install-recommends libvulkan1:{amd64,i386}
If that does not help, try running vulkaninfo.exe with Wine:

Code: Select all

# Create a test prefix:
WINEPREFIX="${HOME}/vulkan-test" wineboot

# Download and install vulkaninfo:
cd "${HOME}/vulkan-test/drive_c"
wget "https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanRT-1.3.261.1-Components.zip"
7z x VulkanRT-1.3.261.1-Components.zip

# Test:
cd "${HOME}/vulkan-test/drive_c/VulkanRT-1.3.261.1-Components"
WINEPREFIX="${HOME}/vulkan-test" wine x64/vulkaninfo.exe --summary
WINEPREFIX="${HOME}/vulkan-test" wine x86/vulkaninfo.exe --summary
johnspack
Newbie
Newbie
Posts: 3
Joined: Thu Apr 26, 2018 7:17 pm

Re: All windows games giving me an err:vulkan_vk_init failed to load vulkan library

Post by johnspack »

Thank you for that. Never had to install the extra vulkan stuff before. Interesting. The error is gone, looks I can get back to normal!
johnspack
Newbie
Newbie
Posts: 3
Joined: Thu Apr 26, 2018 7:17 pm

Re: All windows games giving me an err:vulkan_vk_init failed to load vulkan library

Post by johnspack »

Thank you again... dxvk and proton now working. That vulkan line should be added to the wine installer. I've never had to run that before, for everything to work.
Locked