https://bugs.winehq.org/show_bug.cgi?id=42593
--- Comment #3 from mikael.public@gmail.com mikael.public@gmail.com --- Created attachment 58078 --> https://bugs.winehq.org/attachment.cgi?id=58078 Patch on MESA
ISSUE is related to strlen() in winex11.drv/opengl.c, maybe it should be moved there (issue is not a *REAL* issue though)
In fact wine tries to replicate windows behaviour: the crash is related to two things : At context creation Cemu don't ask for an CORE OPEGL PROFILE, it ends up with a compatibility one GLversion 3.0(that is the maximum in that case).
If you force a MESA_GL_VERSION_OVERRIDE=4.5, wine then in winex11.drv does a glGetString(GL_EXTENSIONS) that is not valid in CORE PROFILE.
So you could use MESA_GL_VERSION_OVERRIDE=4.5COMPAT, and it'll work, but in that case the function resolution would not select pointers to glFunctions efficiently, and shaders will fail to compile.
The idea of the patch is to address this and two others issues but it's against mesa-git and please don't asks to upstream support, there's no way it would make it there :). Be sure to disable glthread in driconf, because I failed to fix something. try this way: MESA_GL_VERSION_OVERRIDE=4.5 wine Cemu.exe