http://bugs.winehq.org/show_bug.cgi?id=22031
Summary: Age Of Empires III regression: Sound is muted once the game is started Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: jorl17.8@gmail.com CC: m.b.lankhorst@gmail.com
(Affects versions from 1.1.35 and on)
Age Of Empires III's sound works great out of the game itself (read: playing). All the sound effects, everything works. However, once the game starts, sound goes completely mute and doesn't come back (ie: ending the game and going back to the menu doesn't bring the sound back).
Regression testing made me believe that it was a dsound bug, so I found this commit:
commit 317d95a9db5337c19a12a24a21502f4b44e8d8a9 Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Wed Dec 9 16:58:04 2009 +0100
dsound: Clean up DSPROPERTY_Description1.
As to 'why' it happens, I have no clue, but I may try to help debugging it. In advance, let me warn you that I am quite busy nowadays and won't have any 'free' time for the next 3-4 weeks. After that, I'll be more available.
From what I saw, no error messages were displayed, and I didn't see any output
difference between 1.1.35 and 1.1.40 (except for some unrelated language stuff). Again, I can dig it up when I have more free-time...
I should also note that I tested this with all of Age Of Empires' extensions, though I doubt any significant sound-subsystem changes were made to their sources.
Thanks,
João Ricardo Lourenço, Jorl17, jorl17.8@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22031
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=22031
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Age Of Empires III |Age Of Empires III: Sound |regression: Sound is muted |is muted once the game is |once the game is started |started
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #1 from Maarten Lankhorst m.b.lankhorst@gmail.com 2010-03-14 05:04:15 --- Does reverting that patch help?
If yes can I see a +dsound,+wave log from the silent path, and with that patch reversed?
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #2 from João Ricardo Lourenço jorl17.8@gmail.com 2010-03-14 09:43:58 --- (In reply to comment #1)
Does reverting that patch help?
If yes can I see a +dsound,+wave log from the silent path, and with that patch reversed?
Yes, in fact, that's how my current Wine looks like: Current git with the patch reverted.
I'm not home right now, but as soon as I can I'll give you both traces.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #3 from rocko rockorequin@hotmail.com 2010-05-18 01:01:51 --- Created an attachment (id=28053) --> (http://bugs.winehq.org/attachment.cgi?id=28053) debug output with +dsound,+wave
I have a similar problem. The sound plays fine during the intros but when the title screen appears there is no sound and during the game itself there is no sound. I'm using version wine-1.1.44-245-g943eefc from git this morning and am running it on Ubuntu 10.04. Attached is a debug log with +dsound,+wave - I ran age3, ran a saved campaign briefly, then exited via the menus.
http://bugs.winehq.org/show_bug.cgi?id=22031
rocko rockorequin@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from rocko rockorequin@hotmail.com 2010-05-18 01:02:03 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=22031
rocko rockorequin@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rockorequin@hotmail.com
--- Comment #5 from rocko rockorequin@hotmail.com 2010-05-18 01:04:47 --- I also tried doing "git revert 317d95a9db5337c19a12a24a21502f4b44e8d8a9", remaking and reinstalling, but the game still has no sound.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #6 from Maarten Lankhorst m.b.lankhorst@gmail.com 2010-05-18 04:20:45 --- I see no mention of the affected code in the log, are you sure this is a regression caused by this patch?
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #7 from rocko rockorequin@hotmail.com 2010-05-18 17:02:36 --- I still get no sound with the patch reverted (assuming I did it correctly), so I'm not sure it's that particular patch that causes the regression. The log I attached is for wine without the patch reverted, ie the latest wine from git. Does it show any hints as to what might be the problem?
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #8 from rocko rockorequin@hotmail.com 2010-05-18 22:14:37 --- I did some more testing and found that I get no sound with *any* version of wine (I tried 1.1.30, 1.1.34, 1.1.35 and 1.1.44) if I am running in Ubuntu 10.04 (pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14 and either kernels 2.6.32 or 2.6.34), but I get sound from the main title screen and onwards running wine 1.1.44 in Ubuntu 9.10 (pulseaudio 1:0.9.19-0ubuntu4.1 and kernel 2.6.31).
ie the problem for me seems to be the way wine is interacting with Ubuntu 10.04 rather than a particular regression.
On a possibly related note, I have intermittent sound issues when I run Call of Duty 4 in wine/Ubuntu 10.04 - sometimes there is no sound at all, although usually it works fine. If it fails to work, it fails right at the start.
Any hints on where to find the problem?
http://bugs.winehq.org/show_bug.cgi?id=22031
unmacaque@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |unmacaque@gmail.com
--- Comment #9 from unmacaque@gmail.com 2010-05-19 05:44:21 --- Since I never had problems with "sound" in Age Of Empires III, I suspect most users in this report meant to say "music" instead of sound, which is the same problem I am also having from version 1.1.35 on. If you get no sound at all, try not to use PulseAudio.
Most users who previously had music in this app did probably apply the quartz.dll override. I also did regression testing and stumbled on the very same commit as the initial reporter. Reverting it does fix the music in 1.1.35 whereas a page fault occurs in the latest git. If you remove the quartz override, the game will start but still without music.
So, there has been another commit that broke the use of this override. Regression testing resulted in commit 4f4dd855c47cca17d4b750ca118826614afdc20c in winmm.dll. Unfortunately, that patch cannot be cleanly reverted so I cannot comment on whether reverting this commit does fix the override problem.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #10 from Maarten Lankhorst m.b.lankhorst@gmail.com 2010-05-19 06:45:17 --- Can you add a +devenum,+dsound,+wave,+winmm for the non-working version?
Also, please attach the same logs for the working version, git checkout 4f4dd855c47cca17d4b750ca118826614afdc20c^ dlls/winmm/lolvldrv.c dlls/winmm/winmm.c dlls/winmm/winemm.h should give you those winmm files from right before the commits, git checkout HEAD (those files) will undo it.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #11 from unmacaque@gmail.com 2010-05-19 07:13:11 --- Created an attachment (id=28076) --> (http://bugs.winehq.org/attachment.cgi?id=28076) latest git with +devenum,+dsound,+wave,+winmm
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #12 from unmacaque@gmail.com 2010-05-19 07:42:43 --- Created an attachment (id=28079) --> (http://bugs.winehq.org/attachment.cgi?id=28079) with git from comment #10, +devenum,+dsound,+wave,+winmm
I have now provided both logs now, one of the latest git and one with the mentioned files reversed to before the commit. However, both setups are page faulting.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #13 from rocko rockorequin@hotmail.com 2010-05-19 19:39:16 --- Actually, by sound I meant *all* audio. I have neither music nor sound effects once the title screen appears. I do get audio during the intro sequences.
I found that changing the audio driver from ALSA to OSS using winecfg resolves the problem. So there is an issue using wine/Ubuntu 10.04/ALSA that doesn't occur in wine/Ubuntu 9.10/ALSA.
http://bugs.winehq.org/show_bug.cgi?id=22031
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #14 from Raymond superquad.vortex2@gmail.com 2010-05-27 02:52:07 --- (In reply to comment #11)
Created an attachment (id=28076)
--> (http://bugs.winehq.org/attachment.cgi?id=28076) [details]
latest git with +devenum,+dsound,+wave,+winmm
did you setup softsynth to player midi ?
In the past, winecfg can select default midi device
trace:winmm:MMDRV_InitPerType Got 2 dev for (winealsa.drv:MidiIn) trace:winmm:MMDRV_InitPerType Setting min=0 max=2 (ttop=2) for (winealsa.drv:MidiIn) trace:winmm:MMDRV_InitPerType MidiIn:Trans[0] -> winealsa.drv trace:winmm:MMDRV_InitPerType MidiIn:Trans[1] -> winealsa.drv trace:winmm:MMDRV_InitPerType (0x7ed4fd80, 0003, 0001) trace:winmm:MMDRV_InitPerType DRVM_INIT => MMSYSERR_NOERROR trace:winmm:MMDRV_InitPerType Got 2 dev for (winealsa.drv:MidiOut) trace:winmm:MMDRV_InitPerType Setting min=0 max=2 (ttop=2) for (winealsa.drv:MidiOut) trace:winmm:MMDRV_InitPerType MidiOut:Trans[0] -> winealsa.drv trace:winmm:MMDRV_InitPerType MidiOut:Trans[1] -> winealsa.drv trace:winmm:MMDRV_InitPerType (0x7ed4fd80, 0004, 0032) trace:wave:ALSA_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000); err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element trace:winmm:MMDRV_InitPerType DRVM_INIT => MMSYSERR_NOERROR trace:wave:ALSA_widMessage (0, WIDM_GETNUMDEVS, 00000000, 00000000, 00000000); trace:winmm:MMDRV_InitPerType Got 1 dev for (winealsa.drv:WaveIn) trace:winmm:MMDRV_InitPerType Setting min=0 max=1 (ttop=1) for (winealsa.drv:WaveIn) trace:winmm:MMDRV_InitPerType WaveIn:Trans[0] -> winealsa.drv
http://bugs.winehq.org/show_bug.cgi?id=22031
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz@gmail.co | |m
--- Comment #15 from NSLW lukasz.wojnilowicz@gmail.com 2010-06-25 07:55:38 --- This is still issue in Wine-1.2-rc4
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #16 from Shannon VanWagner shannon.vanwagner@gmail.com 2010-11-11 01:06:59 CST --- Created an attachment (id=31844) --> (http://bugs.winehq.org/attachment.cgi?id=31844) wine-1.3.6-335-gd5fa2ce debug with +devenum,+dsound,+wave,+winmm
wine-1.3.6-335-gd5fa2ce debug with +devenum,+dsound,+wave,+winmm
http://bugs.winehq.org/show_bug.cgi?id=22031
Shannon VanWagner shannon.vanwagner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shannon.vanwagner@gmail.com
--- Comment #17 from Shannon VanWagner shannon.vanwagner@gmail.com 2010-11-11 01:08:56 CST --- (In reply to comment #16)
Created an attachment (id=31844)
--> (http://bugs.winehq.org/attachment.cgi?id=31844) [details]
wine-1.3.6-335-gd5fa2ce debug with +devenum,+dsound,+wave,+winmm
No sound for AOE3 on Ubuntu 10.10 2.6.35-22-generic with wine-1.3.6-335-gd5fa2ce
Have tested on 10.04, with the workaround of setting OSS as the soundsystem and sound works except for music.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #18 from Raymond superquad.vortex2@gmail.com 2010-11-11 05:25:45 CST --- (In reply to comment #16)
Created an attachment (id=31844)
--> (http://bugs.winehq.org/attachment.cgi?id=31844) [details]
wine-1.3.6-335-gd5fa2ce debug with +devenum,+dsound,+wave,+winmm
wine-1.3.6-335-gd5fa2ce debug with +devenum,+dsound,+wave,+winmm
what kind of midi renderers do you have ?
trace:devenum:DEVENUM_IPropertyBag_Read (0x14f3e8)->(L"FriendlyName", 0x33f5dc, (nil)) trace:devenum:DEVENUM_IPropertyBag_Read Read 30 bytes (L"Midi Renderers") trace:devenum:DEVENUM_IPropertyBag_Read <- 0 trace:devenum:DEVENUM_IPropertyBag_Read (0x14f3e8)->(L"CLSID", 0x33f5dc, (nil)) trace:devenum:DEVENUM_IPropertyBag_Read Read 78 bytes (L"{4EFE2452-168A-11D1-BC76-00C04FB9453B}") trace:devenum:DEVENUM_IPropertyBag_Read <- 0 trace:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator (0x2504d0e4)->({4efe2452-168a-11d1-bc76-00c04fb9453b}, 0x33f608, 0) DeviceClass: {4efe2452-168a-11d1-bc76-00c04fb9453b} trace:devenum:DEVENUM_IEnumMoniker_Next (0x162d18)->(1, 0x33f604, (nil)) trace:devenum:DEVENUM_IMediaCatMoniker_AddRef trace:devenum:DEVENUM_IEnumMoniker_Next -- fetched 1 trace:devenum:DEVENUM_IMediaCatMoniker_BindToStorage (0x159bb0)->((nil), (nil), {55272a00-42cb-11ce-8135-00aa004bb851}, 0x33f600) trace:devenum:DEVENUM_IPropertyBag_Read (0x163428)->(L"FriendlyName", 0x33f5dc, (nil)) trace:devenum:DEVENUM_IPropertyBag_Read Read 40 bytes (L"Midi Through Port-0") trace:devenum:DEVENUM_IPropertyBag_Read <- 0 trace:devenum:DEVENUM_IPropertyBag_Read (0x163428)->(L"CLSID", 0x33f5dc, (nil)) trace:devenum:DEVENUM_IPropertyBag_Read Read 78 bytes (L"{07B65360-C445-11CE-AFDE-00AA006C14F4}") trace:devenum:DEVENUM_IPropertyBag_Read <- 0 trace:devenum:DEVENUM_IPropertyBag_Read (0x163428)->(L"FilterData", 0x33f5dc, (nil)) trace:devenum:DEVENUM_IPropertyBag_Read Read 108 bytes (binary data) trace:devenum:DEVENUM_IPropertyBag_Read REG_BINARY: len = 108 trace:devenum:DEVENUM_IPropertyBag_Read <- 0
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #19 from Shannon VanWagner shannon.vanwagner@gmail.com 2010-11-11 07:46:16 CST --- Created an attachment (id=31847) --> (http://bugs.winehq.org/attachment.cgi?id=31847) alsa-base.conf file
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #20 from Shannon VanWagner shannon.vanwagner@gmail.com 2010-11-11 07:47:05 CST --- (In reply to comment #19)
Created an attachment (id=31847)
--> (http://bugs.winehq.org/attachment.cgi?id=31847) [details]
alsa-base.conf file
what kind of midi renderers do you have ?
I've attached /etc/modprobe.d/alsa-base.conf - does that help? I thought I might have timidity, but apparently it's not installed? What command do I run to get the information you need?
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #21 from Raymond superquad.vortex2@gmail.com 2010-11-14 01:09:49 CST --- seem related to bug#8978
http://bugs.winehq.org/show_bug.cgi?id=22031
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |317d95a9db5337c19a12a24a215 | |02f4b44e8d8a9
http://bugs.winehq.org/show_bug.cgi?id=22031
pyrokinetic@powerindesign.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pyrokinetic@powerindesign.c | |om
--- Comment #22 from pyrokinetic@powerindesign.com 2011-08-13 20:08:09 CDT --- Can be fixed by going to the Audio tab in wine config and changing "Hardware Acceleration" to 'Emulated'.
http://bugs.winehq.org/show_bug.cgi?id=22031
Aldwin Akbar aldwin@aldwinakbar.tk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aldwin@aldwinakbar.tk
--- Comment #23 from Aldwin Akbar aldwin@aldwinakbar.tk 2011-08-28 01:31:37 CDT --- It can be fixed by changing the dsound load order in the Libraries tab, from "builtin" to "builtin, native" . It works for me,
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #24 from Luis Alvarado luisalvaradox@gmail.com 2012-02-28 13:16:41 CST --- Did not have to change anything in 1.4rc5. Just tested. It works emulating or not emulating Hardware acceleration. Basically just install the game, no need to configure anything.
http://bugs.winehq.org/show_bug.cgi?id=22031
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #25 from Jerome Leclanche adys.wh@gmail.com 2012-02-29 04:13:08 CST --- (In reply to comment #24) So.. fixed?
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #26 from rocko rockorequin@hotmail.com 2012-03-03 04:19:42 CST --- I had to manually delete my user.reg entry defining audio to be oss (winecfg doesn't let you change anything anymore), but after that sound (and music) works fine with the latest wine from git. So it does seem to be fixed.
http://bugs.winehq.org/show_bug.cgi?id=22031
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #27 from Jerome Leclanche adys.wh@gmail.com 2012-03-03 06:11:51 CST --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=22031
--- Comment #28 from Alexandre Julliard julliard@winehq.org 2012-03-16 14:08:22 CDT --- Closing bugs fixed in 1.5.0.
http://bugs.winehq.org/show_bug.cgi?id=22031
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2012-03-16 17:10:59 CDT --- Really closing bugs fixed in 1.5.0.
http://bugs.winehq.org/show_bug.cgi?id=22031
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|lukasz.wojnilowicz@gmail.co | |m |