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
http://bugs.winehq.org/show_bug.cgi?id=58918
--- Comment #1 from Félix felix@lhfblc.fr --- Created attachment 79601 --> http://bugs.winehq.org/attachment.cgi?id=79601 patch
http://bugs.winehq.org/show_bug.cgi?id=58918
Félix felix@lhfblc.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Gentoo
http://bugs.winehq.org/show_bug.cgi?id=58918
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com Fixed by SHA1| |94e0e8bce096ec02a6f59d47a29 | |b0fb676ac8eb8 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- Thanks for the report, this should be fixed with 94e0e8bce096ec02a6f59d47a29b0fb676ac8eb8.
http://bugs.winehq.org/show_bug.cgi?id=58918
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.19.