[Bug 58264] New: regression in multiple apps in Wine >=10.7, error: "Assertion failed: !status && "vkAllocateMemory", file /Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c, line 93"
http://bugs.winehq.org/show_bug.cgi?id=58264 Bug ID: 58264 Summary: regression in multiple apps in Wine >=10.7, error: "Assertion failed: !status && "vkAllocateMemory", file /Users/gcenx/Documents/GitHub/wine-private/dlls/winevu lkan/loader_thunks.c, line 93" Product: Wine Version: 10.7 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: cemer99797(a)isorax.com Created attachment 78605 --> http://bugs.winehq.org/attachment.cgi?id=78605 macOS Terminal log, wine-devel 10.8 running cpuz_x64.exe On macOS, there is a regression in multiple Windows programs since Wine-devel 10.7 (including 10.8) releases by Gcenx, with the final lines of the terminal output reading:
-[MTLHeapDescriptorInternal validateWithDevice:]:327: failed assertion `Heap Descriptor Validation Placement heap type is not supported. ' 01a0:err:msvcrt:_wassert (L"!status && \"vkAllocateMemory\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",93) Assertion failed: !status && "vkAllocateMemory", file /Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c, line 93
These programs work fine in Wine-devel 10.6 and lower tested with Wine-devel 10.7 and 10.8 binary releases from Gcenx (https://github.com/Gcenx/macOS_Wine_builds/releases) on macOS 11.7.10 tested with CPU-Z 2.15 (portable) (cpuz_x64.exe) download: https://download.cpuid.com/cpu-z/cpu-z_2.15-en.zip sha256: c8461d995d77a8fe1e8c5823403e88b04b733165cc151083b26379f1fe4b9501 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #1 from ToastyBug <cemer99797(a)isorax.com> --- Created attachment 78606 --> http://bugs.winehq.org/attachment.cgi?id=78606 macOS Terminal log, wine-devel 10.8 running GPU-Z.2.65.1.exe tested with GPU-Z 2.65.1 (GPU-Z.2.65.1.exe) download page: https://www.techpowerup.com/download/techpowerup-gpu-z/ sha256: 68e44d19f0f33a08174f7a3d25e32b7cb5b639a61d6cdec498d9c5814a026d61 last lines of log:
[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. 023c:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 023c: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. 023c:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 023c:err:msvcrt:_wassert (L"!status && \"vkCreateImageView\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",3221)
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #2 from ToastyBug <cemer99797(a)isorax.com> --- Created attachment 78607 --> http://bugs.winehq.org/attachment.cgi?id=78607 macOS Terminal log, wine-devel 10.8 running System Shock game This is a log of the GOG version of System Shock: Enhanced Edition, which also used to work with Wine-devel 10.6 Note: the installer for the game still works fine, but launching the actual game exectuable (sekhmet_x64.exe) after installation no longer works System Shock: Enhanced Edition v1.2.16 GOG game page: https://www.gog.com/en/game/system_shock_enhanced_edition installer sha256: 8a88f885ff77bfde136cd8f476e1cc50ed7d9134ca6efc74264060ef6a7dcb4d -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|regression in multiple apps |regression in multiple apps |in Wine >=10.7, error: |in Wine >=10.7, error: |"Assertion failed: !status |"Assertion failed: !status |&& "vkAllocateMemory", file |&& "vkAllocateMemory", file |/Users/gcenx/Documents/GitH |/Users/gcenx/Documents/GitH |ub/wine-private/dlls/winevu |ub/wine-private/dlls/winevu |lkan/loader_thunks.c, line |lkan/loader_thunks.c, line |93" |93" (macOS) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |57988 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |57975 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO --- Comment #3 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Try again with the official Wine builds, NOT Gcenx. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 osu_Vanilla(a)126.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |osu_Vanilla(a)126.com --- Comment #4 from osu_Vanilla(a)126.com --- (In reply to Ken Sharp from comment #3)
Try again with the official Wine builds, NOT Gcenx.
Is the official Wine build not Gcenx?? https://gitlab.winehq.org/wine/wine/-/wikis/MacOS The `brew install --cask` wine-stable / wine(a)devel wine(a)staging points to Gcenx/macOS_Wine_builds. The repo is also described as official. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #5 from ToastyBug <cemer99797(a)isorax.com> --- Created attachment 78839 --> http://bugs.winehq.org/attachment.cgi?id=78839 Error window (Wine-devel 10.10) for System Shock Yes, the official builds are the Gcenx builds, Dean Greer (Gcenx) is the maintainer With Wine-devel 10.10, the regression with CPU-Z is resolved, but there are still regressions with GPU-Z and System Shock: Enhanced Edition -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #6 from ToastyBug <cemer99797(a)isorax.com> --- Created attachment 78840 --> http://bugs.winehq.org/attachment.cgi?id=78840 macOS Terminal log, wine-devel 10.10 running System Shock game With Wine-devel 10.10, System Shock: Enhanced Edition launches a black fullscreen window, which then minimizes itself to the macOS dock after <1 second, and then the Error window pop-up appears (see the previous attachment) (note: clicking "Cancel" just crashes Wine, there is no debugger started) Last lines of the macOS Terminal log:
[mvk-info] Created 3 swapchain images with size (1440, 900) and contents scale 1.0 in layer CAMetalLayer: WineMetalView (0x20059ea30) on screen Main Screen. -[MTLHeapDescriptorInternal validateWithDevice:]:327: failed assertion `Heap Descriptor Validation Placement heap type is not supported. ' 0204:err:msvcrt:_wassert (L"!status && \"vkAllocateMemory\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",93)>
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #7 from ToastyBug <cemer99797(a)isorax.com> --- Created attachment 78841 --> http://bugs.winehq.org/attachment.cgi?id=78841 macOS Terminal log, wine-devel 10.10 running GPU-Z.2.65.1.exe There is also still the error when running GPU-Z (tested with GPU-Z 2.65.1), the app launches with the "Install GPU-Z?" intro window, but after selecting "Not Now" the GPU-Z splash screen shows up for about 1 second before the app crashes. Last lines of macOS Terminal log:
[mvk-info] Created 3 swapchain images with size (113, 2) and contents scale 1.0 in layer CAMetalLayer: WineMetalView (0x20a535a80) on screen Main Screen. [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. 01bc:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 01bc: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. 01bc:err:d3d:wined3d_context_vk_create_bo Failed to create Vulkan buffer, vr VK_ERROR_FEATURE_NOT_PRESENT. 01bc:err:msvcrt:_wassert (L"!status && \"vkCreateImageView\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",3242)
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #8 from ToastyBug <cemer99797(a)isorax.com> --- I believe this may have someting to do with WineHQ/Gcenx official builds including MoltenVK 1.3.0 since Wine-devel 10.7 (where these errors first started). My system is running macOS 11 with a 4th-gen (Haswell) Intel CPU and iGPU, which I believe only supports up to Vulkan 1.2, while MoltenVK 1.3.0 now adds support for Vulkan 1.3 (https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.3.0) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #9 from ToastyBug <cemer99797(a)isorax.com> --- Update for Wine-devel 10.12: GPU-Z and System Shock are still affected in the same way as in Wine-devel 10.10, but now the last lines of the Terminal log for System Shocks reads:
-[MTLHeapDescriptorInternal validateWithDevice:]:327: failed assertion `Heap Descriptor Validation Placement heap type is not supported. ' 0588:err:msvcrt:_wassert (L"!status && \"vkAllocateMemory\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",93)
for GPU-Z the Terminal log has the same last lines as in Wine-devel 10.10 BigPEmu (Atari Jaguar emulator) in D3D12 mode is also affected (also since Wine-devel 10.7) with a crash immediately on startup (last lines of macOS Terminal log):
-[MTLHeapDescriptorInternal validateWithDevice:]:327: failed assertion `Heap Descriptor Validation Placement heap type is not supported. ' 052c:err:msvcrt:_wassert (L"!status && \"vkAllocateMemory\"",L"/Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c",93) Assertion failed: !status && "vkAllocateMemory", file /Users/gcenx/Documents/GitHub/wine-private/dlls/winevulkan/loader_thunks.c, line 93
to run BigPEmu in D3D12 mode: cd ~/Downloads/BigPEmu_v119 wine BigPEmu.exe * -localdata -logging -setcfgprop VideoPlugin BigPEmu_Video_D3D12 BigPEmu 1.19 for Windows x64 download: https://www.richwhitehouse.com/jaguar/builds/BigPEmu_v119.zip sha256: 75cdf28036075d8b696d1331e72b455f5a078d83a7b141b32282b9e29e8629f4 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #10 from ToastyBug <cemer99797(a)isorax.com> --- update for Wine-devel 10.14 (I haven't tested with 10.13) ## FIXED: * CPU-Z 2.15 (portable) (cpuz_x64.exe) (tested fixed with Wine 10.10) - works and no longer shows vkAllocateMemory errors in macOS Terminal * GPU-Z 2.65.1 (GPU-Z.2.65.1.exe) (tested fixed with Wine 10.14) - works but now shows two vkAllocateMemory errors in macOS Terminal and two of the following errors:
VK_ERROR_FEATURE_NOT_PRESENT: Metal does not support buffer robustness.
## STILL BROKEN: * System Shock: Enhanced Edition v1.2.16 (sekhmet_x64.exe) * BigPEmu 1.19 for Windows x64 running in D3D12 mode -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #11 from ToastyBug <cemer99797(a)isorax.com> --- update: I bisected the fix for GPU-Z 2.65.1 (GPU-Z.2.65.1.exe) and it was fixed in Wine-devel 10.13 using the official WineHQ/Gcenx binary from Homebrew/GitHub: https://gitlab.winehq.org/wine/wine/-/wikis/MacOS https://formulae.brew.sh/cask/wine(a)devel https://github.com/Gcenx/macOS_Wine_builds/releases/download/10.13/wine-deve... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #12 from ToastyBug <cemer99797(a)isorax.com> --- Sometimes, running BigPEmu in D3D12 mode from the command line argument doesn't work (it launches in the default OpenGL mode) to get around that, launch BigPEmu once to create the config file: % cd ~/Downloads/BigPEmu_v119 % wine BigPEmu.exe * -localdata -logging and then open BigPEmu_v119/UserData/BigPEmuConfig.bigpcfg and change
"VideoPlugin": "BigPEmu_Video_OpenGL", to "VideoPlugin": "BigPEmu_Video_D3D12",
and relaunch: % wine BigPEmu.exe * -localdata -logging -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 Gcenx <gcenx83@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcenx83@gmail.com --- Comment #13 from Gcenx <gcenx83@gmail.com> --- I've tested everything listed here and everything is working when DXVK-macOS is installed correctly, Both d3d10core.dll & d3d11.dll need to be provided and set to native (or native,builtin) to function. I'm ignoring BigPEmu not running in DirectX 12 mode since MoltenVK doesn't provide all the required Vulkan extensions so the case for that game this would be "not our bug" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Resolution|--- |INVALID Status|NEEDINFO |RESOLVED --- Comment #14 from Zeb Figura <z.figura12@gmail.com> --- (In reply to Gcenx from comment #13)
I've tested everything listed here and everything is working when DXVK-macOS is installed correctly, Both d3d10core.dll & d3d11.dll need to be provided and set to native (or native,builtin) to function.
I'm ignoring BigPEmu not running in DirectX 12 mode since MoltenVK doesn't provide all the required Vulkan extensions so the case for that game this would be "not our bug"
Marking INVALID; thanks. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Gijs Vermeulen <gijsvrm@gmail.com> --- Closing INVALID. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 ToastyBug <cemer99797@isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|CLOSED |REOPENED --- Comment #16 from ToastyBug <cemer99797@isorax.com> --- (In reply to Gcenx from comment #13)
I've tested everything listed here and everything is working when DXVK-macOS is installed correctly, Both d3d10core.dll & d3d11.dll need to be provided and set to native (or native,builtin) to function.
I'm ignoring BigPEmu not running in DirectX 12 mode since MoltenVK doesn't provide all the required Vulkan extensions so the case for that game this would be "not our bug"
I just tested System Shock: Enhanced Edition v1.2.16 (sekhmet_x64.exe) with Wine-Devel 11.0 and dxvk-macOS with WINEDLLOVERRIDES="d3d10core,d3d11=n" and it is still broken (same vkAllocateMemory error) This is a regression because it works in Wine-Devel 10.6 BigPEmu in D3D12 mode also works in Wine-Devel 10.6 Again, I'm guessing this is because my GPU only supports up to Vulkan 1.2 so please test with a similar GPU. I grouped these bugs under this issue because the behavior is very similar: all the bugs appeared in Wine-Devel 10.7 and give similar error messages when crashing -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #17 from Zeb Figura <z.figura12@gmail.com> --- (In reply to ToastyBug from comment #16)
I just tested System Shock: Enhanced Edition v1.2.16 (sekhmet_x64.exe) with Wine-Devel 11.0 and dxvk-macOS with WINEDLLOVERRIDES="d3d10core,d3d11=n" and it is still broken (same vkAllocateMemory error)
That syntax doesn't work; you need WINEDLLOVERRIDES="d3d10core=n,d3d11=n". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 mata <sutupud@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sutupud@yahoo.com --- Comment #18 from mata <sutupud@yahoo.com> --- (In reply to Zeb Figura from comment #17)
That syntax doesn't work; you need WINEDLLOVERRIDES="d3d10core=n,d3d11=n".
Are you sure? "man wine" and also the wiki [1] explicitly mention that syntax, with examples. [1]: https://gitlab.winehq.org/wine/wine/-/wikis/Wine-User's-Guide#winedlloverrides-dll-overrides -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #19 from Gcenx <gcenx83@gmail.com> --- I don’t even bother to use the env, just set the dll overrides in winecfg. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #20 from Zeb Figura <z.figura12@gmail.com> --- (In reply to mata from comment #18)
(In reply to Zeb Figura from comment #17)
That syntax doesn't work; you need WINEDLLOVERRIDES="d3d10core=n,d3d11=n".
Are you sure? "man wine" and also the wiki [1] explicitly mention that syntax, with examples.
Never mind, my mistake. I tried to test this, but poorly chose ntdll, which is special and basically immune to DLL overrides. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 Sergey Isakov <isakov-sl@bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru --- Comment #21 from Sergey Isakov <isakov-sl@bk.ru> --- I also have a problem with cpuz-2.38 (as well 1.99) with wine-11.0-release. My compilation from official sources. The application hangs at 5% progress and no errors in the log. It worked before with wine-10. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #22 from Sergey Isakov <isakov-sl@bk.ru> --- I did bisection. Testin application is cpuz-2.18 (soory for misprint is previous post) ```bash sergey@iMac wine-11 % git bisect good 56a40e1231324cbdba82b3722e163a3368f19a21 is the first bad commit commit 56a40e1231324cbdba82b3722e163a3368f19a21 Author: Rémi Bernon <rbernon@codeweavers.com> Date: Wed May 21 18:40:24 2025 +0200 win32u: Load EGL and expose functions in opengl_funcs. configure | 278 +++++++++++++------------------- configure.ac | 13 +- dlls/win32u/opengl.c | 70 ++++++++ include/wine/opengl_driver.h | 4 +- 4 files changed, 198 insertions(+), 167 deletions(-) sergey@iMac wine-11 % ``` Some more info? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #23 from Gcenx <gcenx83@gmail.com> --- Created attachment 80207 --> http://bugs.winehq.org/attachment.cgi?id=80207 Jedi Fallen Order running using DXVK-macOS (wine-stable-11.0) I've attached a screenshot showing Jedi Fallen Order running using DXVK-macOS with wine-stable-11.0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #24 from Gcenx <gcenx83@gmail.com> --- (In reply to Sergey Isakov from comment #21)
I also have a problem with cpuz-2.38 (as well 1.99) with wine-11.0-release. My compilation from official sources. The application hangs at 5% progress and no errors in the log. It worked before with wine-10.
I just tested cpuz-2.38 32-bit & 64-bit with wine-stable-11.0 and both are working, 64-bit takes a little longer to load but it loads up just fine. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #25 from Gcenx <gcenx83@gmail.com> --- (In reply to Sergey Isakov from comment #22)
I did bisection. Testin application is cpuz-2.18 (soory for misprint is previous post) ```bash sergey@iMac wine-11 % git bisect good 56a40e1231324cbdba82b3722e163a3368f19a21 is the first bad commit commit 56a40e1231324cbdba82b3722e163a3368f19a21 Author: Rémi Bernon <rbernon@codeweavers.com> Date: Wed May 21 18:40:24 2025 +0200
win32u: Load EGL and expose functions in opengl_funcs.
configure | 278 +++++++++++++------------------- configure.ac | 13 +- dlls/win32u/opengl.c | 70 ++++++++ include/wine/opengl_driver.h | 4 +- 4 files changed, 198 insertions(+), 167 deletions(-) sergey@iMac wine-11 %
``` Some more info?
This commit has nothing to do with Vulkan problems, also macOS won't even be using EGL by default it will fail this check and will fallback to macOS shipped OpenGL driver. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #26 from Sergey Isakov <isakov-sl@bk.ru> --- Anyway this bisection is real. I can propose that OpenGL version is not for macOS. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #27 from Sergey Isakov <isakov-sl@bk.ru> --- (In reply to Gcenx from comment #23)
Created attachment 80207 [details] Jedi Fallen Order running using DXVK-macOS (wine-stable-11.0)
I've attached a screenshot showing Jedi Fallen Order running using DXVK-macOS with wine-stable-11.0
But it is macOS ARM flavour. See the difference. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #28 from Gcenx <gcenx83@gmail.com> --- (In reply to Sergey Isakov from comment #27)
(In reply to Gcenx from comment #23)
Created attachment 80207 [details] Jedi Fallen Order running using DXVK-macOS (wine-stable-11.0)
I've attached a screenshot showing Jedi Fallen Order running using DXVK-macOS with wine-stable-11.0
But it is macOS ARM flavour. See the difference.
Apple Silicon is not a requirement to use DXVK-macOS, while I could run things with my old 2014 Intel MacBook Pro an AMD equipped Mac works much better with DXVK-macOS due to the improved Metal support. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #29 from Gcenx <gcenx83@gmail.com> --- (In reply to Sergey Isakov from comment #26)
Anyway this bisection is real. I can propose that OpenGL version is not for macOS.
And I’ll say again that had zero relevance to this bug that assumes there was a regression in winevulkan. There was no regression in winevulkan, what happened was I used to apply some hacks to allow WineD3D Vulkan to be usable by default for DirecrX 10/11 on macOS but I later removed those by request of Zeb as they were rebased incorrectly and not required to make DXVK-macOS work. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #30 from Sergey Isakov <isakov-sl@bk.ru> --- cpuz requires DXVK? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #31 from Sergey Isakov <isakov-sl@bk.ru> --- I changed #define WINE_OPENGL_DRIVER_VERSION 32 // was 37 in wine-11 and got cpuz working. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #32 from Gcenx <gcenx83@gmail.com> --- (In reply to Sergey Isakov from comment #30)
cpuz requires DXVK?
No it does not, I’ll say again both 32-bit & 64-bit versions of cpuz works on my system. This bug was invalid due to an incorrectly applied patch that I removed as per Zeb. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #33 from Sergey Isakov <isakov-sl@bk.ru> --- Bisecting process assumed not patched wine sources. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #34 from Sergey Isakov <isakov-sl@bk.ru> --- @ToastyBug See my comment 31 May be you may approve my find and close the bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #35 from Sergey Isakov <isakov-sl@bk.ru> --- One more patch needed in my case ------------------------------------- #ifdef SONAME_LIBEGL #undef SONAME_LIBEGL #endif ----------------------------------- Somehow it is not working -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #36 from ToastyBug <cemer99797@isorax.com> --- @everyone @Gcenx This bug report I filed is specifically about regressions since Wine-Devel 10.7 Some points: - this bug report does NOT involve DXVK-macOS (the only reason DXVK-macOS was brought up was from comment #13 where Gcenx said it worked with that workaround) - this bug report is for x86-64 Intel Macs - this bug report is using 4 specific apps as examples of the bug - these apps all worked with plain Wine (no DXVK-macOS) in Wine-Devel 10.6 (again this proves that DXVK is not involved in the working of these apps) - these apps all stopped working in Wine-Devel 10.7 Here are the 4 apps: 1. CPU-Z 2.15 (portable) (cpuz_x64.exe) 2. GPU-Z 2.65.1 (GPU-Z.2.65.1.exe) 3. System Shock: Enhanced Edition v1.2.16 (sekhmet_x64.exe) 4. BigPEmu 1.19 for Windows x64 running in D3D12 mode And their current regression status: 1. CPU-Z 2.15 - fixed in Wine-Devel 10.10 2. GPU-Z 2.65.1 - fixed in Wine-Devel 10.14 3. System Shock v1.2.16 - still broken as of Wine-Devel 11.0 4. BigPEmu 1.19 in D3D12 mode - still broken as of Wine-Devel 11.0 And the download URLs: (it's a good idea to use these specific versions to not introduce more variables when hunting bugs) 1. CPU-Z 2.15 (portable) download zip: https://download.cpuid.com/cpu-z/cpu-z_2.15-en.zip sha256: c8461d995d77a8fe1e8c5823403e88b04b733165cc151083b26379f1fe4b9501 2. GPU-Z 2.65.1 (click "Show older versions") download page: https://www.techpowerup.com/download/techpowerup-gpu-z/ sha256: 68e44d19f0f33a08174f7a3d25e32b7cb5b639a61d6cdec498d9c5814a026d61 3. System Shock: Enhanced Edition v1.2.16 GOG game page: https://www.gog.com/en/game/system_shock_enhanced_edition installer sha256: 8a88f885ff77bfde136cd8f476e1cc50ed7d9134ca6efc74264060ef6a7dcb4d 4. BigPEmu 1.19 for Windows x64 download zip: https://www.richwhitehouse.com/jaguar/builds/BigPEmu_v119.zip sha256: 75cdf28036075d8b696d1331e72b455f5a078d83a7b141b32282b9e29e8629f4 ------------------------------------------------------ Special instructions to run BigPEmu in D3D12 mode: (check the log created after each run in BigPEmu_v119/debug_log.txt) launch BigPEmu once to create the config file: % cd BigPEmu_v119 % wine BigPEmu.exe * -localdata -logging and then open BigPEmu_v119/UserData/BigPEmuConfig.bigpcfg and change
"VideoPlugin": "BigPEmu_Video_OpenGL", to "VideoPlugin": "BigPEmu_Video_D3D12",
and relaunch: % wine BigPEmu.exe * -localdata -logging ------------------------------------------------------ A good idea would be to bisect between Wine-Devel 10.9 and 10.10 and figure out what caused CPU-Z 2.15 to be fixed. And between Wine-Devel 10.13 and 10.14 for GPU-Z 2.65.1. And if these apps all work for you, please test with an older GPU that only supports Vulkan 1.2 (like my GPU). You can find GPU reports including which Vulkan extensions my GPU supports here: macOS GPU reports: https://vulkan.gpuinfo.org/listreports.php?devicename=Intel+HD+Graphics+5000 Linux GPU reports: https://vulkan.gpuinfo.org/listreports.php?devicename=Intel%28R%29+HD+Graphi... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #37 from Gcenx <gcenx83@gmail.com> --- System Shock: Enhanced Edition requires DirectX 10 that is not officially supported on macOS due to it's outdated version of OpenGL, I used to apply a hack to allow DirectX 10/11 (maybe also DirectX 12) via Vulkan but that was removed as per Zeb. The entire reason this bug is invalid is it only worked due to my applying unsanctioned hacks that has since been removed. The hacks where also applied incorrectly causing additional invalid bug reports. If you read over https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.13 you'll see I've noted the removal of these hacks being removed as per Zeb. The only way to run DirectX 10/11 app/game(s) on macOS is ether using DXVK-macOS or DXMT, DirectX 12 app/game(s) requires CrossOver. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #38 from Zeb Figura <z.figura12@gmail.com> --- (In reply to Gcenx from comment #37)
System Shock: Enhanced Edition requires DirectX 10 that is not officially supported on macOS due to it's outdated version of OpenGL, I used to apply a hack to allow DirectX 10/11 (maybe also DirectX 12) via Vulkan but that was removed as per Zeb.
The entire reason this bug is invalid is it only worked due to my applying unsanctioned hacks that has since been removed. The hacks where also applied incorrectly causing additional invalid bug reports.
For the avoidance of doubt, I don't object to people using or even distributing hacks like this, and I think this specific one is almost always going to be an improvement to the user experience. The problem is that it creates a support burden for me if I'm expected to field WineHQ bugs with hacks like these, especially if I don't even know they're in place, and indeed there was no indication here. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #39 from Gcenx <gcenx83@gmail.com> --- (In reply to Zeb Figura from comment #38)
For the avoidance of doubt, I don't object to people using or even distributing hacks like this, and I think this specific one is almost always going to be an improvement to the user experience. The problem is that it creates a support burden for me if I'm expected to field WineHQ bugs with hacks like these, especially if I don't even know they're in place, and indeed there was no indication here.
I remember we discussed this at length and I agreed it was best to simply remove the incorrectly applied hacks (I screwed up during a rebase) Since WineD3D Vulkan works best with libMoltenVK-CX it made more sense to just forgo applying the hacks. I do apply hacks needed for Rosetta2, DXMT and a couple others that are all noted per release. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #40 from ToastyBug <cemer99797@isorax.com> --- (In reply to Gcenx from comment #39) But according to your release notes:
HACK: wined3d: Use the Vulkan renderer on macOS for d3d10/11 applications was only removed in Wine 10.10
- https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.9 - https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.10 These bugs appeared in Wine 10.7. It also does not explain why CPU-Z was fixed in Wine 10.10 and GPU-Z in Wine 10.14 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #41 from ToastyBug <cemer99797@isorax.com> --- @Gcenx edit: you updated the release notes for Wine 10.10 and 10.12 to move the mention of the hack to another header
List of applied CW HACKS (incomplete list?) 18311 (wined3d: Use Vulkan render for d3d10/11 on macOS)
- https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.10 - https://github.com/Gcenx/macOS_Wine_builds/releases/tag/10.12 So it would seem the hack was only removed in Wine 10.13 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58264 --- Comment #42 from ToastyBug <cemer99797@isorax.com> --- (In reply to Gcenx from comment #37)
DirectX 12 app/game(s) requires CrossOver.
This also does not explain why BigPEmu worked in D3D12 mode in Wine 10.6, as your hacks were for DX10/11 only -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla