https://bugs.winehq.org/show_bug.cgi?id=47640
Bug ID: 47640 Summary: No Man's Sky (Beyond) does not start anymore: Unable to initialize Vulkan (vkEnumerateInstanceExtensionProperties failed) Product: Wine Version: 4.13 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dima@ulupov.com
Created attachment 65081 --> https://bugs.winehq.org/attachment.cgi?id=65081 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
dima@ulupov.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dima@ulupov.com
https://bugs.winehq.org/show_bug.cgi?id=47640
Kevin Brott winebugz@kbrm.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugz@kbrm.net
--- Comment #1 from Kevin Brott winebugz@kbrm.net --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
dude.sir26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dude.sir26@gmail.com
--- Comment #2 from dude.sir26@gmail.com --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #3 from Kevin Brott winebugz@kbrm.net --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #4 from Kevin Brott winebugz@kbrm.net --- Created attachment 65089 --> https://bugs.winehq.org/attachment.cgi?id=65089 console output from starting NMS.exe
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #5 from Kevin Brott winebugz@kbrm.net --- Created attachment 65090 --> https://bugs.winehq.org/attachment.cgi?id=65090 Game crash backtrace
Got slightly further in game load on second attempt - to the white "Initialse" screen - and then game crashed. (backtrace attached)
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #6 from dima@ulupov.com --- 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
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #7 from dima@ulupov.com --- Created attachment 65094 --> https://bugs.winehq.org/attachment.cgi?id=65094 Game crash with builtin vulkan-1.dll on Mac
https://bugs.winehq.org/show_bug.cgi?id=47640
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |zzhang@codeweavers.com
--- Comment #8 from Zhiyi Zhang zzhang@codeweavers.com --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #9 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 65155 --> https://bugs.winehq.org/attachment.cgi?id=65155 Game config
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- (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.
https://bugs.winehq.org/show_bug.cgi?id=47640
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |47686
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #11 from dima@ulupov.com --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #12 from dima@ulupov.com --- Created attachment 65178 --> https://bugs.winehq.org/attachment.cgi?id=65178 NMS start with bug 47109 settings
NMS.exe with settings for vulkan-1.dll from bug 47109
https://bugs.winehq.org/show_bug.cgi?id=47640
Julien julien.delbergue@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julien.delbergue@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47640
z6np b.douglas.hilton@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.douglas.hilton@gmail.com
--- Comment #13 from z6np b.douglas.hilton@gmail.com --- 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.)
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #14 from Artherius Monsk vyjpbhgycyivgfbgmt@twzhhq.com --- 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
https://bugs.winehq.org/show_bug.cgi?id=47640
Tin Švagelj tin.svagelj@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tin.svagelj@live.com
--- Comment #15 from Tin Švagelj tin.svagelj@live.com --- 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.
https://bugs.winehq.org/show_bug.cgi?id=47640
Alexander Vereeken Alexander88207@Protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Alexander88207@Protonmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=47640
--- Comment #16 from Alexander Vereeken Alexander88207@Protonmail.com --- Hello,
i did an retest with wine 9.22 and the game (GOG version) runs out of the box.
https://bugs.winehq.org/show_bug.cgi?id=47640
dima@ulupov.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #17 from dima@ulupov.com --- Seems to be working again. Not really needed because NMS is native on Mac now.
https://bugs.winehq.org/show_bug.cgi?id=47640
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc2.