http://bugs.winehq.org/show_bug.cgi?id=29185
Bug #: 29185 Summary: Final Fantasy 7 exits at startup Product: Wine Version: 1.3.11 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ns03ja@brocku.ca Classification: Unclassified
Final Fantasy 7 worked perfectly provided you use Aali's OpenGL patch (see the AppDB entry for details, FF7 is problematic even on newer versions of Windows). However it recently started to fail at startup time. A bisect reveals the following:
e786998daff4ad49521a4c9c39c172ddcdcad82a is the first bad commit commit e786998daff4ad49521a4c9c39c172ddcdcad82a Author: Andrew Eikum aeikum@codeweavers.com Date: Tue Sep 27 08:51:07 2011 -0500
dsound: Reimplement rendering devices on mmdevapi.
:040000 040000 53407fdfd9131c99d768c90eeda5dadc66a63abb af37caec04c5e8abedfd395abcd88a16e71a3b85 M dlls
Unfortunately reverting this commit on today's master produces a lot of conflicts, so I couldn't test that.
It does not appear to crash, it simply exits, so there is no backtrace to provide. The one thing it does output is the following fixme several times:
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
I'm not sure if this fixme is relevant, but it is present both on working and non-working runs.
http://bugs.winehq.org/show_bug.cgi?id=29185
Neil Skrypuch ns03ja@brocku.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e786998daff4ad49521a4c9c39c | |172ddcdcad82a
http://bugs.winehq.org/show_bug.cgi?id=29185
Neil Skrypuch ns03ja@brocku.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.11 |1.3.30
http://bugs.winehq.org/show_bug.cgi?id=29185
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=29185
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2011-12-02 08:08:15 CST --- Can you attach a log with the channels mentioned at http://wiki.winehq.org/Sound?
http://bugs.winehq.org/show_bug.cgi?id=29185
--- Comment #2 from Neil Skrypuch ns03ja@brocku.ca 2011-12-02 16:18:33 CST --- Created attachment 37750 --> http://bugs.winehq.org/attachment.cgi?id=37750 +tid,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+mci,+oss,+alsa,+coreaudio trace
Trace made with 3b729284644c4183958735009f328ca9ea1d0ba7 (Git from last week).
http://bugs.winehq.org/show_bug.cgi?id=29185
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2011-12-05 07:52:16 CST --- Thanks for the log.
Looks like this is the problem: 0009:warn:dsound:get_mmdevice No device with GUID {bd6dd71a-3deb-11d1-b171-00c04fc20000} found!
It seems FF7 is storing the device GUID, and then requests that device on next launch and exits if the device no longer exists. Since we reimplemented dsound on mmdevapi, the device GUIDs have changed so your old prefix has an invalid device GUID stored.
Can you reinstall into a clean wineprefix and see if it starts working? Or, you might be able to reselect a device using the config tool (the demo's FF7Config.exe doesn't seem to let me select the device, maybe the full game does?).
http://bugs.winehq.org/show_bug.cgi?id=29185
Neil Skrypuch ns03ja@brocku.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Neil Skrypuch ns03ja@brocku.ca 2011-12-05 18:19:17 CST --- That looks to be the issue. I was able to reselect the audio device with FF7Config.exe and then it started working again.
I didn't try a fresh install, but it would probably work too.
http://bugs.winehq.org/show_bug.cgi?id=29185
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2011-12-05 20:50:02 CST --- So this is invalid then, if it works when installed in clean prefix.
http://bugs.winehq.org/show_bug.cgi?id=29185
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com 2012-01-23 18:59:50 CST --- Closing INVALID.