https://bugs.winehq.org/show_bug.cgi?id=52795
Bug ID: 52795 Summary: Small stack size in PE<>Unix syscall handler causes a crash in Cyberpunk 2077 Product: Wine Version: 7.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: shtetldik@gmail.com Distribution: ---
With recent changes in radv, Cyberpunk 2077 started crashing in recent versions of Wine (tested it with 7.5 and 7.6).
See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6291
See also: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6218
Some there suggested it could be due to small stack size used in PE<>Unix syscall handler, which is a problem with Vulkan usage scenarios that require larger stack.
For instance, Proton tries to work around that issue:
https://github.com/ValveSoftware/wine/blob/0ad7e8878c400ee081de85bb1e21ef633...
It would be good for upstream Wine to address this somehow too, may be increasing stack size or at last providing some configurable option to do it if it's not a desirable default.