[Bug 42593] CEMU crashes on radeonsi mesa

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 4 07:06:58 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42593

--- Comment #3 from mikael.public at gmail.com <mikael.public at 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

-- 
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.



More information about the wine-bugs mailing list