http://bugs.winehq.org/show_bug.cgi?id=18001
Summary: Mass Effect Xlib: unexpected async reply Product: Wine Version: 1.1.18 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: ylai@users.sourceforge.net
Created an attachment (id=20378) --> (http://bugs.winehq.org/attachment.cgi?id=20378) Patch for missing OpenGL locks in dlls/wined3d/context.c
When running Mass Effect 1.0 with Wine 1.1.18 on RHEL 5 and Core 2 Duo T7500, it frequently crashes with "Xlib: unexpected async reply", caused by multiple threads to access the same GLX surface. Enabling tracing for d3d shows that this happens at least in the vincinity of context_bind_fbo, and context_apply_attachment_filter_states (dlls/wined3d/context.c). These functions lack OpenGL locking via ENTER_GL()/LEAVE_GL().
Applying the attached patch apparently fixes the problem.
http://bugs.winehq.org/show_bug.cgi?id=18001
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-11 01:38:15 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
Patches go to wine-patches maling list. They are not picked up from bugzilla. Of course you'll need to properly format them at least.
Second, the bigger issue with your patch - most functions you adding enter_gl/leave_gl already called from functions that had enter_gl/leave_gl around the call. So you should be looking at the parts that don't have locking.
http://bugs.winehq.org/show_bug.cgi?id=18001
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=18001
Tymoteusz Paul puciek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |puciek@gmail.com
--- Comment #2 from Tymoteusz Paul puciek@gmail.com 2009-04-28 12:28:16 --- Seems like this bug is affecting multiple different applications (i can confirm it with fable, godfather 2, EndWar). I'm going to apply this patch to current wine and see if its working.
http://bugs.winehq.org/show_bug.cgi?id=18001
--- Comment #3 from Tymoteusz Paul puciek@gmail.com 2009-04-29 06:42:18 --- This patch fixed my issue with endwar and other games.
http://bugs.winehq.org/show_bug.cgi?id=18001
--- Comment #4 from Tymoteusz Paul puciek@gmail.com 2009-05-14 04:06:34 --- As far as i've tested i got struck by this bug in multiple applications (PlayOnline viewer, black and white 2, fable, godfather 2, endwar) and i belive priority here should be changed to major.
http://bugs.winehq.org/show_bug.cgi?id=18001
--- Comment #5 from Austin English austinenglish@gmail.com 2009-11-19 12:53:18 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18001
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-14 15:46:57 --- Is this issue still around in these games? I was planning to make some ENTER_GL / LEAVE_GL changes but decided against it for now but I wasn't aware of this bug report. If it is around, I will try to fix this as well.
http://bugs.winehq.org/show_bug.cgi?id=18001
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2010-10-28 20:44:22 CDT --- Interesting. I've seen similar problems in the past. I'll keep an eye out for this ne. Didn't see it on Fable in my little test today.
http://bugs.winehq.org/show_bug.cgi?id=18001
--- Comment #8 from butraxz@gmail.com 2013-05-11 05:15:11 CDT --- No update for over 900 days. No download. Is this still an issue in 1.5.30 or is this abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=18001
Yue Shi Lai ylai@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Yue Shi Lai ylai@users.sourceforge.net 2013-05-11 18:34:34 CDT --- This bug was fixed circa 1.5.11, when the X11/GL locking codes were rewritten. It should be closed as FIXED.
http://bugs.winehq.org/show_bug.cgi?id=18001
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2013-05-24 13:33:29 CDT --- Closing bugs fixed in 1.5.31.