WineHQ
Bug Tracking Database – Bug 47640

 Bugzilla

 

Last modified: 2024-12-13 21:36:51 UTC  

No Man's Sky (Beyond) does not start anymore: Unable to initialize Vulkan (vkEnumerateInstanceExtensionProperties failed)

Bug 47640 - No Man's Sky (Beyond) does not start anymore: Unable to initialize Vulkan (vkEnumerateInstanceExtensionProperties failed)
No Man's Sky (Beyond) does not start anymore: Unable to initialize Vulkan (vk...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
4.13
x86-64 MacOS
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks: 47686
  Show dependency tree
 
Reported: 2019-08-18 21:15 UTC by dima
Modified: 2024-12-13 21:36 UTC (History)
8 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
wine64 No Man's Sky console output (3.48 KB, text/plain)
2019-08-18 21:15 UTC, dima
Details
console output from starting NMS.exe (4.63 KB, application/zip)
2019-08-20 08:34 UTC, Kevin Brott
Details
Game crash backtrace (22.21 KB, text/plain)
2019-08-20 08:45 UTC, Kevin Brott
Details
Game crash with builtin vulkan-1.dll on Mac (3.81 KB, text/plain)
2019-08-20 20:40 UTC, dima
Details
Game config (2.31 KB, application/octet-stream)
2019-08-28 07:39 UTC, Zhiyi Zhang
Details
NMS start with bug 47109 settings (11.52 KB, text/plain)
2019-09-01 02:23 UTC, dima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dima 2019-08-18 21:15:22 UTC
Created attachment 65081 [details]
wine64 No Man's Sky console output

No Man's Sky (which looks like used to run) switched to Vulkan.

Now it does not start with popup message right after start:

---
Unable to initialize Vulkan (vkEnumerateInstanceExtensionProperties failed).
You may not have a Vulkan driver installed, or an old driver on your machine may be corrupted.

Please refer to www.no-mans-sky.com for details.
---

Mac OS X Version: 10.14.6
MacBook Pro (15-inch, 2018)
Radeon Pro 555X 4 GB
Intel UHD Graphics 630 1536 MB

No Man's Sky version: 2.06b
No Man's Sky was installed with GOG Galaxy client.
Comment 1 Kevin Brott 2019-08-20 01:27:20 UTC
Same issue on:
Debian 9.9
GeForce GTX 670
nvidia-driver  430.40-1
Steam version of game - exact same error.
Game used to run and was playable, no longer even starts.
Comment 2 dude.sir26 2019-08-20 04:43:17 UTC
I found a workaround while wrestling with the same issue. Simply delete the vulkan-1.dll that comes with the game, or force vulkan-1 to builtin-only in winecfg.
Either option will force the game to use WINE's own vulkan-1 library. Hopefully it will work for you as well.

Keep in mind that, depending on your graphics card and/or driver, there's a chance that the game's performance will be atrocious compared to the older OpenGL-powered versions. The Vulkan switch seems to have been widely reported to be a crapshoot in that regard.
Comment 3 Kevin Brott 2019-08-20 08:33:58 UTC
Workaround of setting library vulkan-1 to builtin-only fixes the no-startup issue. Game menuing loads and functions as expected.

Starting a game crashes to desktop in the startup starfield display.
See attached console log.
Comment 4 Kevin Brott 2019-08-20 08:34:29 UTC
Created attachment 65089 [details]
console output from starting NMS.exe
Comment 5 Kevin Brott 2019-08-20 08:45:51 UTC
Created attachment 65090 [details]
Game crash backtrace

Got slightly further in game load on second attempt - to the white "Initialse" screen - and then game crashed. (backtrace attached)
Comment 6 dima 2019-08-20 20:39:25 UTC
After suggested removal of the vulkan-1.dll it does not start on Mac.
With attached backtrace.

Relevant to Vulkan lines are:

0009:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0009:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
0009:err:module:find_forwarded_export module not found for forward 'winevulkan.wine_vkGetInstanceProcAddr' used by L"C:\\windows\\system32\\vulkan-1.dll"

I've tried to build wine, but ./configure --with-vulkan can't find headers, installation of seemingly related Vulkan-headers and molten-vk with brew did not help
Comment 7 dima 2019-08-20 20:40:57 UTC
Created attachment 65094 [details]
Game crash with builtin vulkan-1.dll on Mac
Comment 8 Zhiyi Zhang 2019-08-28 07:38:33 UTC
Confirm the vulkan-1 builtin issue and the enter game crash with Wine 4.14. Dlls in application directory should be preferred and it is correct for Wine. But then native vulkan-1 won't work obviously because it can't talk to graphic driver. Maybe we should add a registry override for vulkan-1.

As for the enter game crash, taking AMD graphics card for example, mesa 19.1.2 is missing a VK_EXT_shader_subgroup_ballot extension that the game needs and you need to update to mesa 19.2 to get that extension. So please check that you have the latest driver. Another workaround is to reduce terrain tessellation level to "Low", you can use the TKGRAPHICSSETTINGS.MXML attachment to replace ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/No\ Man\'s\ Sky/Binaries/SETTINGS/TKGRAPHICSSETTINGS.MXML and see if it works for you. Be sure to backup the old one first in case any thing gone wrong.
Comment 9 Zhiyi Zhang 2019-08-28 07:39:00 UTC
Created attachment 65155 [details]
Game config
Comment 10 Henri Verbeet 2019-08-29 03:10:38 UTC
(In reply to Zhiyi Zhang from comment #8)
> Wine. But then native vulkan-1 won't work obviously because it can't talk to
> graphic driver.
> 
Actually, that's supposed to work, but currently winevulkan needs to be manually registered in the prefix. See also bug 47109.
Comment 11 dima 2019-09-01 02:18:22 UTC
After creating winevulkan.json and adding registry keys from the bug 47109 NMS still does not start (on Mac) but with a different error message.

Now it says: "vkCreateInstance failed".

This is with wine-staging 4.14, wine-development 4.14 and wine 4.01 all installed with brew.
Comment 12 dima 2019-09-01 02:23:26 UTC
Created attachment 65178 [details]
NMS start with bug 47109 settings

NMS.exe with settings for vulkan-1.dll from bug 47109
Comment 13 z6np 2020-01-20 09:50:47 UTC
I am also affected by this bug with gentoo and wine-staging 4.21. I used winetricks to install every vulkan-related thing I could find but it did not have any effect.

Unable to initialize Vulkan
(vkEnumerateInstanceExtensionProperties failed.)
Comment 14 Artherius Monsk 2021-02-19 04:51:36 UTC
I can confirm that deleting vulkan-1.dll in the installation folder worked. The game runs very slowly however.

$ lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Leap 15.2
Release:        15.2
Codename:       n/a

$ wine --version
wine-5.0
Comment 15 Tin Švagelj 2021-05-01 01:21:58 UTC
I installed and started NMS directly through Steam (had to enable Steam Play for all titles). With Proton 6.3 which uses WINE 6.3 the game starts without removing vulkan-1.dll (maybe it uses builtin by default now)

With regards to performance, there is some performance drop when compared to running directly on Windows. Current high end GPUs (GeForce RTX 2060) should be able to run it fine.
Comment 16 Alexander Vereeken 2024-12-08 13:28:58 UTC
Hello,

i did an retest with wine 9.22 and the game (GOG version) runs out of the box.
Comment 17 dima 2024-12-08 13:31:58 UTC
Seems to be working again.
Not really needed because NMS is native on Mac now.
Comment 18 Alexandre Julliard 2024-12-13 21:36:51 UTC
Closing bugs fixed in 10.0-rc2.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers