http://bugs.winehq.org/show_bug.cgi?id=58918
Bug ID: 58918 Summary: Baldur's Gate 3 : Assertion failed : "!status && "vkQueueSubmit2KHR"" Product: Wine Version: 10.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: felix@lhfblc.fr Distribution: ---
Created attachment 79600 --> http://bugs.winehq.org/attachment.cgi?id=79600 log
Reproduced with: - Baldur's Gate 3, GOG version (v4.1.1.6946847). Using the vulkan version - wine 10.18 - mesa 25.2.6 (using radv)
Game fails to start, and shows an error dialog detailing the `err:msvcrt:_wassert` line from the attached log
Analysis: Starting with commit 5aa9978 "win32u: Hook vkQueueSubmit and vkQueueSubmit2 functions.", windows calls to both `vkQueueSubmit2` and 'vkQueueSubmit2KHR` are routed to the device's `vkQueueSubmit2`.
However, the driver will only load the `vkQueueSubmit2` function if the game loads vulkan with version >=1.3, and `vkQueueSubmit2KHR` if the VK_KHR_synchronization2 extension is enabled. This results in a null function call for games loading the second function, but not the first.
Patch attached