http://bugs.winehq.org/show_bug.cgi?id=13852
Summary: 2d game has lost sounds (some go some don't go) Product: WineHQ Apps Database Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P3 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: iugamarian@yahoo.com
Created an attachment (id=13913) --> (http://bugs.winehq.org/attachment.cgi?id=13913) 2d game that tests sound accuracy
The game that I have attached is a very good test for sound accuracy. In Windows XP, while moving a ball, the sounds are: blimp-blimp-blimp-blimp-blimp-blimp-blimp-blimp-blimp-blimp-blimp-blimp In Wine, while mooving a ball, the sounds are: blimp-_____-blimp-blimp-_____-blimp-blimp-blimp-_____-_____-blimp-blimp Try the game :) and see for yourself. The most annoying part is when the score explosion is not heard 4 of 10 times. My mom wants to play this game with correct sound in Wine :( . The game is freeware unlimited so don't worry about copyrights. You have my full support in using it for your sound tests. It overloads Win98 sound a bit. But not as bad as in Wine . It works correctly in WinXP. The trick is that this game was compiled with this problem. Better for our tests. Why should it work in Windows and not work in Wine ? The problem is the solution. Fix it. Wine of course, not the game.
http://bugs.winehq.org/show_bug.cgi?id=13852
Marian-Silviu Iuga iugamarian@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |Linux Priority|P3 |P2 Platform|Other |PC
http://bugs.winehq.org/show_bug.cgi?id=13852
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|appdb-unknown |-unknown Product|WineHQ Apps Database |Wine
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-11 15:32:28 --- Not AppDB bug. What Wine version? What distro?
http://bugs.winehq.org/show_bug.cgi?id=13852
Marian-Silviu Iuga iugamarian@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.0-rc4
http://bugs.winehq.org/show_bug.cgi?id=13852
--- Comment #2 from Marian-Silviu Iuga iugamarian@yahoo.com 2008-06-11 15:42:12 --- Actually starting way up from 0.9.25 up to 1.00 rc4 the problem is the same.
I am using Debian Etch r3 and I did a dependency install + ./tools/wineinstall With or without nvidia firmware driver, same thing. oss or alsa, still same thing.
http://bugs.winehq.org/show_bug.cgi?id=13852
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-11 11:05:46 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13852
--- Comment #4 from Marian-Silviu Iuga iugamarian@yahoo.com 2008-12-11 13:59:43 --- I will tell you when it is released as stable and available in ubuntu or debian repositories. In the mean time, you can get the game that demonstrates this bug at www.iuga.go.ro/bile.exe
http://bugs.winehq.org/show_bug.cgi?id=13852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.iuga.go.ro/bile.e | |xe Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=13852
Igor Tarasov tarasov.igor@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tarasov.igor@gmail.com
--- Comment #5 from Igor Tarasov tarasov.igor@gmail.com 2009-07-20 03:13:11 --- Still an issue with wine-1.1.26. Some of sounds get lost, some just happen too late. Tried changing wine sound settings and ingame settings, but nothing helped.
http://bugs.winehq.org/show_bug.cgi?id=13852
--- Comment #6 from Marian-Silviu Iuga iugamarian@yahoo.com 2009-11-29 10:44:52 --- I have tested Windows 98, Windows XP SP2, Windows XP SP3 and Windows 7 with: http://www.iuga.go.ro/bile.exe The sonds are sluggish in Windows 98 and Windows 7. The sounds are perfect in Windows XP SP2 and Windows XP SP3. My personal opinion is that Windows XP has the best sound of all existing operating systems (Mac not included).
I propose some kind of sound buffer in wine, able to compose multiple sounds, before it is send to linux sound.
http://bugs.winehq.org/show_bug.cgi?id=13852
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #7 from Xavier Vachon xvachon@gmail.com 2010-10-27 14:59:23 CDT --- This is still an issue in git for me (1.3.5). This line appears in the console :
err:alsa:wine_snd_pcm_recover underrun occurred
http://bugs.winehq.org/show_bug.cgi?id=13852
Marian-Silviu Iuga iugamarian@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.0-rc4 |1.3.5
http://bugs.winehq.org/show_bug.cgi?id=13852
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.5 |1.0-rc4
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2010-10-28 03:53:54 CDT --- Please don't change an originally reported Wine version.
http://bugs.winehq.org/show_bug.cgi?id=13852
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|pauses_in_sound |
http://bugs.winehq.org/show_bug.cgi?id=13852
--- Comment #9 from Jörg Höhle hoehle@users.sourceforge.net 2011-01-11 16:34:35 CST --- Created an attachment (id=32819) --> (http://bugs.winehq.org/attachment.cgi?id=32819) Patch to ignore SND_NOWAIT
Admins, please set the component to winmm
This app uses PlaySound() with flags 00002005 = SND_NOWAIT SND_MEMORY SND_ASYNC
001b:trace:winmm:MULTIMEDIA_PlaySound pszSound='0x50ec98' hmod=(nil) fdwSound=00002005 001b:trace:winmm:MULTIMEDIA_PlaySound pszSound='0x50ec98' hmod=(nil) fdwSound=00002005 clearly shows the former call is immediately returned.
I once made a note to myself that says "patch PlaySound to ignore SND_NOWAIT; SND_NOSTOP does not abort (fixme: sounds of the current process only) and returns FALSE." but did not write it yet because it needs validation on several versions of MS-Windows (w95/98/2k/xp etc.). I tested it on one system only. IIRC I read somewhere that the behaviour changed along the way. That alone may explain the differences you observe.
With SND_NOSTOP, "the function immediately returns FALSE without playing the requested sound", according to MSDN http://msdn.microsoft.com/en-us/library/ms712879.aspx. Currently Wine equates SND_NOWAIT and SND_NOSTOP. Therefore, if the app is busy playing a blimp, it will not abort it to play an explosion.
The app never uses the PlaySound(NULL,0,SND_NODEFAULT) pattern that Larry Osterman recommends in his blog http://blogs.msdn.com/b/larryosterman/archive/2008/09/15/why-call-playsound-... He further explained that "the current implementation [he wrote this in 2009] ... simply queues the request... So if you have a situation where you call PlaySound many times in succession, ... all the calls to PlaySound pile up behind each other." I have no idea whether win9x queued. Wine does not queue. http://blogs.msdn.com/b/larryosterman/archive/2009/02/19/playsound-xxx-snd-m... gives a good reason not to queue.
err:alsa:wine_snd_pcm_recover underrun occurred
Can be ignored for now. Same in the MCI. The built-in players do not handle short sounds well.
The game is freeware unlimited so don't worry about copyrights.
The .hlp file says "Shareware" which is quite the opposite. Why don't you play Gnome's "5 in a row" on Linux?
http://bugs.winehq.org/show_bug.cgi?id=13852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winmm&mci
http://bugs.winehq.org/show_bug.cgi?id=13852
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #10 from Jörg Höhle hoehle@users.sourceforge.net 2011-01-14 13:04:18 CST --- Fixed by commit 0a81f12ce10f88a06e1a95523c1e4da7587fa3e9 to appear in wine-1.3.12. PlaySound indeed ignores SND_NOWAIT.
Admins, please mark as resolved & fixed.
http://bugs.winehq.org/show_bug.cgi?id=13852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Austin English austinenglish@gmail.com 2011-01-14 13:51:20 CST --- Fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=0a81f12ce10f88a06e1a95...
http://bugs.winehq.org/show_bug.cgi?id=13852
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:43:11 CST --- Closing bugs fixed in 1.3.12.