http://bugs.winehq.org/show_bug.cgi?id=28056
--- Comment #10 from Mateusz Stachowski mateusz.stachowski@wp.pl 2011-09-18 04:34:55 CDT --- Created an attachment (id=36446) --> (http://bugs.winehq.org/attachment.cgi?id=36446) WINEDEBUG=+winmm,+driver,+oss,+tid wine-git Hard Reset Demo
Hi Jörg,
I have the same bug but I'm not on FreeBSD. I'm using Ubuntu 11.04 32-bit and Open Sound System in it's newest version (which is OSS-v4.2-build2005 released 5 weeks ago). I've removed from my system ALSA and PulseAudio so those aren't interfering here. I'm also pretty sure that FreeBSD doesn't use PulseAudio because it doesn't cooperate with OSSv4 (and developers of PA won't fix that).
I've attached wine.log from game (Hard Reset Demo) that hangs upon starting on the developer logo (Flying Wild Hog). When I start it there is no sound. Disabling vmix (software mixer of OSSv4) via ossxmix and then starting demo gives me sound but the game still hangs (and in gnome-system-monitor I see CPU usage above 100%). It is so the only application that gives me that error. There are others that have no sound at all until I disable the vmix. This includes the following games:
Portal 2 (on 1.3.27 and 1.3.28) The Witcher 2: Assassins of Kings (this game works only on 1.3.23) Deus Ex: Human Revolution (on 1.3.27 I didn't test 1.3.28) Shatter Who's That Flying
I also tried running Hard Reset Demo on 1.3.17 and on that version sound works right from the start (even with vmix enabled). I know that it was before the introduction of MMDevAPI and the re-writing of the legacy sound APIs on top of MMDevAPI. With Wine 1.3.17 Hard Reset is unplayable because mouse doesn't work and most of the textures isn't rendered. It needs the "AlwaysOffScreen"="enabled" to render properly and it's been introduced with Wine 1.3.27.
I have posted a thread about that on WineHQ Forums:
http://forum.winehq.org/viewtopic.php?p=66851#66851