http://bugs.winehq.org/show_bug.cgi?id=58102
Bug ID: 58102 Summary: Anarch: Regression in wine-devel 10.3 (21 Mar 2025 repack): game crashes on startup Product: Wine Version: 10.3 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cemer99797@isorax.com
The game Anarch crashes on startup since the wine-devel 10.3 (21 Mar 2025 repack) for macOS. It will load the fullscreen game window and play the background music for around 1 second before crashing.
The last lines in the macOS Terminal before the crash with wine-devel 10.3 (21 Mar 2025 repack) are:
0124:err:d3d:wined3d_swapchain_resize_buffers Something's still holding back buffer 0 (00014AA0). 0124:fixme:vulkan:wine_vkAllocateMemory Using VK_EXT_external_memory_host 0140:fixme:d3d:wined3d_sampler_vk_cs_init Unhandled srgb_decode 0. [mvk-warn] VK_ERROR_FEATURE_NOT_PRESENT: Metal does not support disabling primitive restart. [mvk-info] Created 2 swapchain images with size (1440, 900) and contents scale 1.0 in layer CAMetalLayer: WineMetalView (0x20a61cb80) on screen Main Screen. 0140:err:msvcrt:_wassert (L"!status && "vkQueueSubmit"",L"/tmp/wine-devel-10.3/dlls/winevulkan/loader_thunks.c",6260) Assertion failed: !status && "vkQueueSubmit", file /tmp/wine-devel-10.3/dlls/win evulkan/loader_thunks.c, line 6260
It appears Vulkan was updated to version 1.1.0 with the wine-devel 10.3 (21 Mar 2025 repack) compared to the original wine-devel 10.3 release
game: Anarch v1-01 (Anarch_winshitxp_sdl_1-1.exe) download link: https://gitlab.com/drummyfish/anarch/-/raw/master/bin/Anarch_winshitxp_sdl_1... sha256: b8d109102e7cd012f34ba59ef4a89f07e6db9e5edfe9ed476b63158b19141a67
Wine downloaded from Homebrew sources, with GStreamer 1.26.0 installed.
Wine versions tested working (macOS): - wine CrossOverFOSS 23.7.1-1 (based on wine 8.0.1) - wine-stable 10.0 - wine-devel 10.3 (original release - now renamed "wine-devel-10.3-osx64_20240320.tar.xz") download link: https://github.com/Gcenx/macOS_Wine_builds/releases/download/10.3/wine-devel... sha256: aa7016e7e2461e2357e42526554fea03a745ee6cc71f8401351e47c0367ea709
Wine versions tested broken (macOS): - wine-devel 10.3 (21 Mar 2025 repack) download link: https://github.com/Gcenx/macOS_Wine_builds/releases/download/10.3/wine-devel... sha256: 0f3f75dce91f189ae0125cd7dcd5a2adc633330f03fb5bf231b92b44835ea884 - wine-devel 10.4 - wine-devel 10.5 - wine-staging 10.5
http://bugs.winehq.org/show_bug.cgi?id=58102
ToastyBug cemer99797@isorax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #1 from Austin English austinenglish@gmail.com --- Please run a regression test: https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #2 from ToastyBug cemer99797@isorax.com --- Created attachment 78421 --> http://bugs.winehq.org/attachment.cgi?id=78421 Wine terminal log (wine-devel 10.6)
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #3 from ToastyBug cemer99797@isorax.com --- @Austin English that regression test page is for Linux specifically, I'm using Gcenx's pre-built Wine builds (https://github.com/Gcenx/macOS_Wine_builds) which he builds with some patches (see the GitHub releases page for details), and also I don't have the expertise to compile that on my system. I don't even have Xcode. Maybe you could run the game on Linux and see if you can reproduce the issue?
I've also confirmed this bug with Gcenx's wine-devel 10.6 build (https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.6)
I've attached a full log, here is maybe some of the interesting parts of that log:
[mvk-info] MoltenVK version 1.2.11, supporting Vulkan version 1.2.296. [mvk-info] Created VkInstance for Vulkan version 1.0.0, as requested by app, with the following 2 Vulkan extensions enabled: VK_KHR_external_memory_capabilities v1 VK_KHR_get_physical_device_properties2 v2 0120:err:winediag:wined3d_adapter_create Using the Vulkan renderer for d3d10/11 applications. [mvk-info] Created VkInstance for Vulkan version 1.1.0, as requested by app, with the following 4 Vulkan extensions enabled: VK_KHR_external_memory_capabilities v1 VK_KHR_get_physical_device_properties2 v2 VK_KHR_surface v25 VK_EXT_metal_surface v1 0120:err:winediag:wined3d_adapter_create Using the Vulkan renderer for d3d10/11 applications.
I'm using macOS 11
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #4 from ToastyBug cemer99797@isorax.com --- Created attachment 78422 --> http://bugs.winehq.org/attachment.cgi?id=78422 Wine terminal log (wine-devel-10.3-osx64_2024032) - last working version
note that there is no mention of "err:winediag:wined3d_adapter_create Using the Vulkan renderer for d3d10/11 applications" or of "Vulkan version 1.1.0" in this log (only version 1.0.0) and a lot less errors referencing "wined3d"
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #5 from ToastyBug cemer99797@isorax.com --- Created attachment 78423 --> http://bugs.winehq.org/attachment.cgi?id=78423 Wine terminal log (wine-devel 10.3 - 21 Mar 2025 repack) - first broken version
this log looks very similar to the wine-devel 10.6 log, and also includes "Vulkan version 1.1.0" and "err:winediag:wined3d_adapter_create Using the Vulkan renderer for d3d10/11 applications" and a lot of mentions of "wined3d"
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #6 from ToastyBug cemer99797@isorax.com --- more interesting parts from the wine-devel 10.3 (21 Mar 2025 repack) log:
0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_SPECULARENABLE) (0x1d) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_COLORKEYENABLE) (0x29) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_RANGEFOGENABLE) (0x30) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_LIGHTING) (0x89) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_COLORVERTEX) (0x8d) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_LOCALVIEWER) (0x8e) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_NORMALIZENORMALS) (0x8f) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_DIFFUSEMATERIALSOURCE) (0x91) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_SPECULARMATERIALSOURCE) (0x92) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_AMBIENTMATERIALSOURCE) (0x93) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_EMISSIVEMATERIALSOURCE) (0x94) should have a representative. 0124:err:d3d:validate_state_table State STATE_RENDER(WINED3D_RS_VERTEXBLEND) (0x97) should have a representative.
http://bugs.winehq.org/show_bug.cgi?id=58102
ToastyBug cemer99797@isorax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://drummyfish.itch.io/ | |anarch
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #7 from ToastyBug cemer99797@isorax.com --- I also tested this game after using Gcenx's DXVK-macOS v1.10.3-20230507-repack release (https://github.com/Gcenx/DXVK-macOS/releases/tag/v1.10.3-20230507-repack) and it does NOT fix the issue.
DXVK-macOS includes DLL overrides for d3d10core.dll and d3d11.dll, instructions in the README: https://github.com/Gcenx/DXVK-macOS
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #8 from ToastyBug cemer99797@isorax.com --- What's weird is that I tested another app (FurMark 2.7.0.0) with wine-devel-10.3-osx64_20240320 and wine-stable 10.0 (the bug-free versions), and when running FurMark, Wine DOES use Vulkan 1.1.0 (terminal log from running FurMark):
[mvk-info] Created VkInstance for Vulkan version 1.1.0, as requested by app, with the following 3 Vulkan extensions enabled: VK_KHR_get_physical_device_properties2 v2 VK_KHR_surface v25 VK_EXT_metal_surface v1
but with Anarch only the buggy versions of wine use Vulkan 1.1.0
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #9 from ToastyBug cemer99797@isorax.com --- Now the regression has spread to Gcenx's wine-stable 10.0_1 (22 Apr 2025 re-release) (https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.0_1)
also tested and confirmed the bug in Gcenx's wine-staging 10.6
also tried setting Windows Version to both Windows 7 and Windows XP in winecfg, with both of the above Wine builds, and it displays the same issue as my original report
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #10 from ToastyBug cemer99797@isorax.com --- Created attachment 78436 --> http://bugs.winehq.org/attachment.cgi?id=78436 Wine-stable 10.0_1 (22 Apr 2025 re-release) is now also buggy
note that this log of Gcenx's Wine-stable 10.0_1 (22 Apr 2025 re-release) now mentions Vulkan 1.1.0 vs the original non-buggy Wine releases never showing Vulkan 1.1.0 in their logs
http://bugs.winehq.org/show_bug.cgi?id=58102
ToastyBug cemer99797@isorax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Anarch: Regression in |Anarch: Regression in |wine-devel 10.3 (21 Mar |wine-devel 10.3 (21 Mar |2025 repack): game crashes |2025 repack) and later, |on startup |including wine-stable | |10.0_1 (22 Apr 2025 | |re-release): game crashes | |on startup
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #11 from ToastyBug cemer99797@isorax.com --- Created attachment 78612 --> http://bugs.winehq.org/attachment.cgi?id=78612 macOS Terminal log, wine-devel 10.8
Now there is a different error when testing this with Wine-devel 10.8, it says:
Assertion failed: !status && "vkCreateImageView"
instead of
Assertion failed: !status && "vkQueueSubmit"
last lines of the log with wine-devel 10.8:
[mvk-error] VK_ERROR_FEATURE_NOT_PRESENT: vkCreateBuffer(): Only external memory handle type VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT and VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT are supported. 0168:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 0168:err:d3d:wined3d_context_vk_create_slab_bo Failed to create slab bo. [mvk-error] VK_ERROR_FEATURE_NOT_PRESENT: vkCreateBuffer(): Only external memory handle type VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT and VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT are supported. 0168:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 0168:err:msvcrt:_wassert (L"!status && "vkCreateImageView"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",3221) Assertion failed: !status && "vkCreateImageView", file /Users/gcenx/Documents/Gi tHub/wine-private/dlls/winevulkan/loader_thunks.c, line 3221
http://bugs.winehq.org/show_bug.cgi?id=58102
ToastyBug cemer99797@isorax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Anarch: Regression in |Anarch (SDL game): |wine-devel 10.3 (21 Mar |Regression in all Wine |2025 repack) and later, |stable, devel, and staging |including wine-stable |versions released since 21 |10.0_1 (22 Apr 2025 |Mar 2025: game crashes on |re-release): game crashes |startup (macOS) |on startup |
http://bugs.winehq.org/show_bug.cgi?id=58102
--- Comment #12 from ToastyBug cemer99797@isorax.com --- last lines when tested on Wine-devel 10.7:
018c:err:msvcrt:_wassert (L"!status && "vkCreateImageView"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",3213) Assertion failed: !status && "vkCreateImageView", file /Users/gcenx/Documents/Gi tHub/wine-private/dlls/winevulkan/loader_thunks.c, line 3213
http://bugs.winehq.org/show_bug.cgi?id=58102
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Created attachment 78619 --> http://bugs.winehq.org/attachment.cgi?id=78619 Works fine for me
Works fine for me in Linux with wine-10.8 If it is a specific MacOs bug, instead of attaching tons of comments, your best bet to see your bug fixed is a regression test.