http://bugs.winehq.org/show_bug.cgi?id=9381
Summary: WoW 2.2 fails to initialise audio Product: Wine Version: 0.9.43. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: winehq-bugzilla@six-by-nine.com.au
When selecting OSS, WoW 2.2 PTR starts up fine here - except it doesn't initialise audio.
err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error) err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation".
Under ALSA, WoW 2.2 PTR will appear to hang, but after about 5 minutes waiting it'll error out with a #132 Fatal Exception (memory can't be read). Note, some of this output is because I have multiple sound cards.
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 1 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:1 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 1 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:1 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 1 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:1 fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 7 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:7 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 7 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:7 err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element fixme:mixer:ALSA_MixerInit No master control found, disabling mixer fixme:mixer:ALSA_MixerInit No master control found, disabling mixer
http://bugs.winehq.org/show_bug.cgi?id=9381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-19 21:26:13 --- It helps to read what Wine tells you:
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set "Hardware Acceleration" to "Emulation".
http://bugs.winehq.org/show_bug.cgi?id=9381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-19 21:26:27 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #3 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-19 22:10:54 --- It helps if those closing the bug appreciate the issue before just assuming stuff. I've been in discussions with the mlankhorts and Thunderbird, and this is definately a bug.
For the record, switching to 'emulation' results in no sound/hang/crash as well.
But, meh, to quote vitamin, whatever.
http://bugs.winehq.org/show_bug.cgi?id=9381
Peter Lawler winehq-bugzilla@six-by-nine.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #4 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-19 22:21:59 --- Re-opening so that others can add in debug/traces. This is definately an issue.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #5 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-19 22:26:29 --- For the record, the bug could easily be considered to be that Wine is not faulting out in the same way as Vista does occasionall, as well as the audio not working at all. I strongly suspect that these two issues are related, hence I haven't created two seperate bug reports.
http://bugs.winehq.org/show_bug.cgi?id=9381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-19 22:43:48 --- Invalid mean invalid - in this case you indicated that you can not properly configure your system for sound!
If you using OSS you CAN NOT HAVE any other device using sound AT THE SAME TIME! This is your hardware/driver limitations.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-19 22:43:52 --- Invalid mean invalid - in this case you indicated that you can not properly configure your system for sound!
If you using OSS you CAN NOT HAVE any other device using sound AT THE SAME TIME! This is your hardware/driver limitations.
http://bugs.winehq.org/show_bug.cgi?id=9381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-19 22:44:54 --- Closing invalid AGAIN!!! Unless you show that you have properly configured your system (which you can not). DO NOT OPEN this bugs, as it will be closed invalid AGAIN.
http://bugs.winehq.org/show_bug.cgi?id=9381
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |M.B.Lankhorst@gmail.com Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #9 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-20 05:58:49 --- Can I join in with the pingpong vitaliy?
Valid bug, wine should be able to fallback to wave emulation, without forcing the user to select emulation.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #10 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-20 06:38:01 --- Maarten, you may wish to check bug ID 9386, which was performed to meet Vitaly's strict requirements.
http://bugs.winehq.org/show_bug.cgi?id=9381
Peter Lawler winehq-bugzilla@six-by-nine.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WoW 2.2 fails to initialise |oss doesnt fallback to |audio |emulation if mmap fails
--- Comment #11 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-20 06:49:43 --- Changing summary based on recommendation from mlankhorst so it's truly a valid bug, if only a possible dupe of another bug that no one can seem to remember/find the # of.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-20 07:30:59 --- Created an attachment (id=7681) --> (http://bugs.winehq.org/attachment.cgi?id=7681) HoMM3 crash with OSS and full acceleration
Attached is the log of the crash with the proposed patch applied: http://www.winehq.org/pipermail/wine-patches/2007-August/042916.html
http://bugs.winehq.org/show_bug.cgi?id=9381
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1
--- Comment #13 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-20 07:40:16 --- Ah, it seems I have to hunt down all duplicates after all. Which effectively means audio initialisation should be moved to DSOUND_Primary(Open/Create) and DSOUND_Primary(Close/Destroy). That might take some longer, I'll take a look at it when I feel better.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #14 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-21 14:07:20 --- Created an attachment (id=7718) --> (http://bugs.winehq.org/attachment.cgi?id=7718) Patch that transparantly falls back to emulation mode if hardware mmap is not available
Can you see if this patch fixes it? It falls back automatically if creation in hardware fails.
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #15 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-21 16:20:49 --- This patch fails in hunk #5 against current GIT (b7e420429db8e3a2eab503f49ce0b04a4ac7f551). Don't immediately have time, I've informed other WoW Winers about the fail - hopefully they can modify and report an adjusted patch
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #16 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-21 22:54:06 --- Working here. Nice job!
http://bugs.winehq.org/show_bug.cgi?id=9381
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7718 is|0 |1 obsolete| |
--- Comment #17 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-22 01:55:34 --- Created an attachment (id=7730) --> (http://bugs.winehq.org/attachment.cgi?id=7730) Retry
Version that should work against current head
http://bugs.winehq.org/show_bug.cgi?id=9381
--- Comment #18 from Peter Lawler winehq-bugzilla@six-by-nine.com.au 2007-08-22 06:16:02 --- Appears to be working quite nicely here for WoW 2.1 (Live). Nice work.
http://bugs.winehq.org/show_bug.cgi?id=9381
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #19 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-24 03:32:48 --- Fixed patch is in wine tree now.
http://bugs.winehq.org/show_bug.cgi?id=9381
Maarten Lankhorst M.B.Lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Maarten Lankhorst M.B.Lankhorst@gmail.com 2007-08-27 10:32:52 --- Closing