http://bugs.winehq.org/show_bug.cgi?id=27531
Summary: Magic - DotP 2012 crash in gameoverlayrenderer Product: Wine Version: 1.3.22 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: mmdevapi AssignedTo: wine-bugs@winehq.org ReportedBy: per@morth.org CC: aeikum@codeweavers.com
Created an attachment (id=35194) --> (http://bugs.winehq.org/attachment.cgi?id=35194) Crash log
Magic the Gathering - Duels of the Planeswalkers 2012 from steam used to work, but now crashes in gameoverlayrenderer at startup. This is regardless if "Steam in game" is enabled or not.
I bisected it down to this commit:
commit bc10fd3ce68f3d51a4e5fbb6395758e9c957f5a5 Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Jun 13 15:23:09 2011 -0500
mmdevapi: Sessions should be unique per-device.
:040000 040000 28b02aa728e984ac2b281d9dd163f427ceb2aa2d 54e2ee2b70d3d3af88dd6b2f1df1c6225f7a7ae5 M dlls
Applying the patch from bug 27511 does not fix the problem, but reverting the commit does.
http://bugs.winehq.org/show_bug.cgi?id=27531
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2011-06-19 02:48:18 CDT --- What about with a native xact dll?
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #2 from Per Johansson per@morth.org 2011-06-19 03:00:13 CDT --- I have run winetricks xact so I assume it's loaded. The game requires X3DAudio1_7.dll which is not in wine.
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #3 from Per Johansson per@morth.org 2011-06-19 03:19:58 CDT --- I tried adding native, builtin overrides for all the xactengine dlls but still crashes
http://bugs.winehq.org/show_bug.cgi?id=27531
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #4 from GyB gyebro69@gmail.com 2011-06-19 05:28:34 CDT --- I tried the Steam demo for Magic - DotP 2012 and it crashes on Linux, too (wine-1.3.22-203-gac90c1b).
However the patch in bug #27511 fixes the crash for me (Alsa is used here, no pulseaudio).
It is probably nothing to do with the crash you reported but the game requires the newer Xact2 libraries (XAudio2_7.dll, XactEngine3_7.dll, Xapofx1_5.dll). Instead of 'winetricks xact' use the verb 'winetricks xact_jun2010'.
From the log:
--- err:ole:CoGetClassObject class {bcc782bc-6492-4c22-8c35-f5d72fe73c6e} not registered err:ole:CoGetClassObject no class object {bcc782bc-6492-4c22-8c35-f5d72fe73c6e} could be created for context 0x1 ---
That refers to Xaudio2. Without those dlls the game will start but it is totally silent.
Fedora 15 Alsa 1.0.24
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #5 from Per Johansson per@morth.org 2011-06-19 06:14:46 CDT --- Thanks, I was starting to suspect that it might be OS X specific, considering that there were changes in winealsa as well as mmdevapi. OS X uses winecoreaudio for sound.
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #6 from Per Johansson per@morth.org 2011-06-19 07:29:04 CDT --- Created an attachment (id=35199) --> (http://bugs.winehq.org/attachment.cgi?id=35199) WINEDEBUG=coreaudio output
This is with the patch from bug 27511 applied
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com 2011-06-20 09:30:49 CDT --- Created an attachment (id=35211) --> (http://bugs.winehq.org/attachment.cgi?id=35211) mmdevapi: Fix refcounts in IAudioClient::GetService
This is an updated version of the patch for Bug 27511. Commit 6dac4d713ce9b introduced the bug. In 6dac4d713ce9b, we allow NULL clients in AudioSessionWrappers, and so we need to check that we have a valid client before trying to release it in IAudioSessionControl::Release. The other drivers do that correctly, but I missed adding the check to winecoreaudio. This patch adds it, in addition to fixing the other refcounting bug from 27511.
http://bugs.winehq.org/show_bug.cgi?id=27531
--- Comment #8 from Per Johansson per@morth.org 2011-06-20 13:01:14 CDT --- Works great. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=27531
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Andrew Eikum aeikum@codeweavers.com 2011-06-20 14:49:09 CDT --- Fixed by a93efd5346b689d04762b763819e3db2304373d5. Thanks for reporting!
http://bugs.winehq.org/show_bug.cgi?id=27531
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-06-24 17:45:19 CDT --- Closing bugs fixed in 1.3.23.
http://bugs.winehq.org/show_bug.cgi?id=27531
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
https://bugs.winehq.org/show_bug.cgi?id=27531
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Fixed by SHA1| |a93efd5346b689d04762b763819 | |e3db2304373d5 CC| |focht@gmx.net Regression SHA1| |bc10fd3ce68f3d51a4e5fbb6395 | |758e9c957f5a5