http://bugs.winehq.org/show_bug.cgi?id=28599
Bug #: 28599 Summary: Team Fortress Arcade sound issues with directmusic Product: Wine Version: 1.3.29 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sagman.staredsi@gmail.com Classification: Unclassified
By default with wine 1.3.29 Team Fortress Arcade have no sound but installing directmusic from winetricks the sound gets working. The problem comes when the game try to play more than a sound file at the same time. Then the previous sound stops playing and the game freeze while wine is loading the next sound file. I attach the output of wine using: - WINEDEBUG=+tid,+mmdevapi,+winmm,+midi,+dsound,+oss,+alsa,+coreaudio - directmusic installed via winetricks
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #1 from Jordi Verdugo sagman.staredsi@gmail.com 2011-10-06 13:33:58 CDT --- Created attachment 36745 --> http://bugs.winehq.org/attachment.cgi?id=36745 Winedebug log
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #2 from Jordi Verdugo sagman.staredsi@gmail.com 2011-10-06 13:55:22 CDT --- Now I tested Pixel Force: Left 4 Dead and this game is going very very bad with directmusic installed from winetricks. In the player selection the game is working well but with the same sound issue that have Team Fortress Arcade. But when I start a mission, the game slowdown at the point that the framerate is a frame every 2 seconds... Very very slow. I attach the log using the same winedebug options, maybe it helps...
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #3 from Jordi Verdugo sagman.staredsi@gmail.com 2011-10-06 13:56:21 CDT --- Created attachment 36747 --> http://bugs.winehq.org/attachment.cgi?id=36747 winedebug of Pixel Force: Left 4 Dead
http://bugs.winehq.org/show_bug.cgi?id=28599
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com Component|-unknown |directx-dsound Summary|Team Fortress Arcade sound |Team Fortress Arcade sound |issues with directmusic |issues
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com 2011-10-26 14:58:18 CDT --- When I try to run these games with Wine 1.3.29 after installing directmusic with winetricks, I get a dialog saying "Failed to initialize Direct Music Audio". It seems to be looking for a certain interface (2a8af120-e9de-4132-aaa5-4bdda5f325b8) on the dsound object which we don't implement. How did you get these to work with Wine 1.3.29?
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #5 from Jordi Verdugo sagman.staredsi@gmail.com 2011-10-27 07:29:15 CDT --- (In reply to comment #4)
When I try to run these games with Wine 1.3.29 after installing directmusic with winetricks, I get a dialog saying "Failed to initialize Direct Music Audio". It seems to be looking for a certain interface (2a8af120-e9de-4132-aaa5-4bdda5f325b8) on the dsound object which we don't implement. How did you get these to work with Wine 1.3.29?
To get TeamFortress Arcade working with directmusic I used a clean wine installation (I renamed the current .wine to another name). Then I run "winetricks directmusic" and when the directmusic was installed I run the game.
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2012-03-06 09:58:51 CST --- I'm able to reproduce this now.
Something strange is going on in native dmusic. It looks like dmusic thinks it can only play one sound at a time.
For example, in L4D, the intro screen music stops playing when you trigger a sound effect by select a different option. Native dmusic explicitly makes calls to MCI to stop playing the intro music before playing the sound effect.
Similarly, while in the game, triggering any sound effect will cause the background music to restart from the beginning. Again, dmusic is explicitly making this happen.
Jordi, do you recall if the audio has ever worked properly in these games?
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com 2012-03-06 13:42:25 CST --- (In reply to comment #6)
Something strange is going on in native dmusic. It looks like dmusic thinks it can only play one sound at a time.
For example, in L4D, the intro screen music stops playing when you trigger a sound effect by select a different option. Native dmusic explicitly makes calls to MCI to stop playing the intro music before playing the sound effect.
Similarly, while in the game, triggering any sound effect will cause the background music to restart from the beginning. Again, dmusic is explicitly making this happen.
This is actually how this dmusic implementation behaves on Windows 7, as well. It's basically identical to its behavior in Wine. So /that/ isn't a bug.
The dmusic implementation that ships with Windows 7 plays this game correctly.
If someone manages to find a downloadable dmusic implementation that works better in Wine, they should let the winetricks guys know about it.
Wine's dmusic implementation should support this game, but it's largely just stubs at the moment. So, check back in after we get around to implementing more of dmusic.
Jordi, do you recall if the audio has ever worked properly in these games?
Although, I'm still interested to hear the answer to this.
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #8 from Jordi Verdugo sagman.staredsi@gmail.com 2012-03-06 15:06:40 CST --- (In reply to comment #7)
Jordi, do you recall if the audio has ever worked properly in these games?
Although, I'm still interested to hear the answer to this.
The sound in these games never worked with a clean wine installation. Only works with directmusic installed from winetricks but is buggy.
And today I retested if with the current wine (wine-1.4-rc6) works but nothing...
http://bugs.winehq.org/show_bug.cgi?id=28599
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #9 from Jordi Verdugo sagman.staredsi@gmail.com 2013-11-14 02:13:29 CST --- Today, after a reminder of Austin English (thank you!), I retested that game and the sound issues using directmusic (installed with winetricks) have disappeared. The only issue that the game have is a sound delay about 2 seconds but everything is working and there are not freezes anymore. However, using vanilla wine the game is only playing background music and after a while it stop playing because it does not restarts the background music from the beginning. I will attach two new logs that I attached in the other related bug number 28586, one for vanilla wine and the other one with directmusic, both using wine 1.7.6.
http://bugs.winehq.org/show_bug.cgi?id=28599
Jordi Verdugo sagman.staredsi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #36745|0 |1 is obsolete| | Attachment #36747|0 |1 is obsolete| |
--- Comment #10 from Jordi Verdugo sagman.staredsi@gmail.com 2013-11-14 02:14:56 CST --- Created attachment 46518 --> http://bugs.winehq.org/attachment.cgi?id=46518 Log using directmusic
WINEDEBUG="+mmdevapi,+winmm,+midi,+dsound,+oss,+alsa,+coreaudio"
Using directmusic installed with winetricks
http://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #11 from Jordi Verdugo sagman.staredsi@gmail.com 2013-11-14 02:15:39 CST --- Created attachment 46519 --> http://bugs.winehq.org/attachment.cgi?id=46519 Log with vanilla wine
Log of the game with vanilla wine.
WINEDEBUG="+mmdevapi,+winmm,+midi,+dsound,+oss,+alsa,+coreaudio"
https://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #12 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=28599
--- Comment #13 from Austin English austinenglish@gmail.com --- Over 2 years with no reply, marking abandoned.
https://bugs.winehq.org/show_bug.cgi?id=28599
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|UNCONFIRMED |RESOLVED
--- Comment #14 from Gijs Vermeulen gijsvrm@gmail.com --- Resolving.
https://bugs.winehq.org/show_bug.cgi?id=28599
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #15 from André H. nerv@dawncrow.de --- closing abandoned