http://bugs.winehq.org/show_bug.cgi?id=27883
Summary: Bink videos without sound (Mass Effect) [bisected, regression] Product: Wine Version: 1.3.25 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: debian@carbon-project.org CC: aeikum@codeweavers.com
Since the audio rework which became part of 1.3.25, the audio is missing from all Bink videos in Mass Effect (I suspect other games using Bink are affected too, but haven't tested that so far). A git bisect shows: 901af51ea32f2d192a598808abab2d1b6a940773 is the first bad commit commit 901af51ea32f2d192a598808abab2d1b6a940773 Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Jul 11 08:28:24 2011 -0500
winmm: Remove driver implementation of waveOut*.
:040000 040000 cccb55d925c166ba3838b0179cbdd655a44ba26a 428f760df6efda7a37b4a84f97721523ab72863f M dlls
CCing the author.
http://bugs.winehq.org/show_bug.cgi?id=27883
Cùran debian@carbon-project.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Cùran debian@carbon-project.org 2011-07-24 11:01:03 CDT --- Sorry for the extra change to the bug, but I couldn't set the keyword while opening the bug (or I missed the field).
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #2 from Austin English austinenglish@gmail.com 2011-07-24 12:34:59 CDT --- Is there a demo with the same problem?
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #3 from Cùran debian@carbon-project.org 2011-07-24 12:44:49 CDT --- AFAIK there is no demo of Mass Effect. I might be able to test my guess, that other games using Bink videos, are affected too sometimes tomorrow. If I find one with the problem, where I can dig out a demo also exhibiting the problem, I'll let you know. Apart from that: if there is any other kind of information (e.g. some trace), you might need/that might help, let me know.
http://bugs.winehq.org/show_bug.cgi?id=27883
Alex Bradbury asb@asbradbury.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asb@asbradbury.org
--- Comment #4 from Alex Bradbury asb@asbradbury.org 2011-07-24 13:35:15 CDT --- (In reply to comment #3)
AFAIK there is no demo of Mass Effect. I might be able to test my guess, that other games using Bink videos, are affected too sometimes tomorrow.
There is a Mass Effect 2 demo though, which might display the same problem: http://www.fileplanet.com/213240/210000/fileinfo/Mass-Effect-2-Demo-(English)
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #5 from Cùran debian@carbon-project.org 2011-07-25 08:13:35 CDT --- (Re: comment #2, comment #3 and comment #4) Great idea with the ME2 demo. It has all the same startup videos (at least the BioWare logo video displays the same sequence, even though the MD5 sums don't match) and also no sound while playing them.
Just to ensure this is entirely clear: all other in game sound like music, effects, dialogue, etc. is working. Just not the sound for the Bink videos.
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2011-07-25 10:54:06 CDT --- Hmm, I actually have the opposite problem. The intro Bioware and EA animations have audio, as does the "Previously on Mass Effect" video, but the narration speech doesn't work. This is with both OSS and ALSA drivers, with dsound in either Full or Emulation mode. That all makes me think the bug is someplace in dsound, or an unexpected change in winmm that breaks dsound. Nothing obvious popped out of my log.
Cùran, what audio driver are you using? Could you attach a +tid,+mmdevapi,+winmm,+dsound,+alsa,+coreaudio,+oss log? They can get large pretty quick, so just get through the soundless intro videos and quit out.
http://bugs.winehq.org/show_bug.cgi?id=27883
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.fileplanet.com/2 | |13240/210000/fileinfo/Mass- | |Effect-2-Demo-(English)
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #7 from Cùran debian@carbon-project.org 2011-07-25 13:32:10 CDT --- Created an attachment (id=35690) --> (http://bugs.winehq.org/attachment.cgi?id=35690) Requested logs and audio HW identification (lspci -vvv)
(In reply to comment #6)
Hmm, I actually have the opposite problem. The intro Bioware and EA animations > have audio, as does the "Previously on Mass Effect" video, but the narration speech doesn't work.
My remark was meant about Mass Effect. Mass Effect 2 (the Demo) doesn't have any sound at all, even after the videos, but that is most likely bug 23150. If that makes ME2's demo unsuitable for debugging this problem, let me know.
The audio chip is (according to alsamixer) a Realtek ALC269, the driver is hda_intel with the Realtek codec. The second sound device is the HDMI output provided by the Radeon, but I don't use that one. For all the other info, please see the attached tarball (containing one log for Mass Effect, one for the Mass Effect 2 Demo and the output of lspci -vvv, trimmed down to only show the audio devices). The "no mixer" error in the logs is for the HDMI output and didn't affect the sound output so far. If you mean by "what audio driver are you using", which audio driver is active in Wine, than I've to report that the ALSA and the OSS driver are installed and activated (according to winecfg) in the WINEPREFIXes for ME and ME2Demo. (Btw, funny bug on the side: when opening the audio tab in winecfg the Headphone out for my soundcard gets muted or more correctly: muted and the volume set to zero, can't say then this started to happen since I haven't opened the audio tab for some time.)
Let me know, if you need something else.
http://bugs.winehq.org/show_bug.cgi?id=27883
Cùran debian@carbon-project.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35690|application/octet-stream |application/x-bzip mime type| |
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com 2011-07-25 16:27:54 CDT --- Ah, I was probably running into that bug, yeah.
So I see this in your logs: 0028:trace:mmdevapi:load_driver Attempting to load L"winealsa,oss.drv" 0028:trace:mmdevapi:load_driver Unable to load L"winealsa,oss.drv": 126 0028:err:mmdevapi:init_driver Failed to load driver: L"alsa,oss"
MMDevAPI doesn't support loading multiple drivers, so it's trying to load "winealsa,oss.drv" which is obviously not a valid driver. The reason that you get some sound is because dsound in hwaccel mode _does_ support loading a list of drivers, and it bypasses mmdevapi entirely. So you get the dsound audio (game audio), but not the winmm audio (movie audio).
This is a bug. Coincidentally, Alexandre asked me to fix it just earlier today :) I will have a patch off shortly.
In the meantime, you can try opening up winecfg and selecting a single driver. Unless you know otherwise, you probably want ALSA. Give that a shot and see if there are any other bugs.
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #9 from Cùran debian@carbon-project.org 2011-07-25 16:35:51 CDT --- In reply to comment #8: Great, disabling OSS in winecfg got the sound back! No idea though, why both are enabled when installed. I have both installed, because in the past some (older) games preferred the OSS driver, maybe it's time to get rid of that one entirely.
AFAICT there is no other bug (except the muting and zeroing of the headphone channel, when opening the audio tab in winecfg, but as that is something totally different and I haven't had time to find a good version yet, this has nothing to do with this bug) shown, sound works now again in both the videos and in the game itself.
http://bugs.winehq.org/show_bug.cgi?id=27883
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #10 from André H. nerv@dawncrow.de 2011-07-25 17:07:21 CDT --- I got that problem with UT3 intro videos, Mass Effect is based on the same engine (UE3) that includes support for bink videos so i guess UT3s intro videos are bink.
http://bugs.winehq.org/show_bug.cgi?id=27883
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com 2011-07-26 11:42:28 CDT --- Having multiple drivers enabled should work after commit 9fc0377f64c9ba62390bcd505492bf940e66aba0.
http://bugs.winehq.org/show_bug.cgi?id=27883
--- Comment #12 from André H. nerv@dawncrow.de 2011-07-26 13:12:39 CDT --- yes, it's fixed in UT3
http://bugs.winehq.org/show_bug.cgi?id=27883
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lill.guill@gmail.com
--- Comment #13 from Rosanne DiMesio dimesio@earthlink.net 2011-07-27 09:34:44 CDT --- *** Bug 27910 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=27883
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2011-08-05 12:38:47 CDT --- Closing bugs fixed in 1.3.26.
https://bugs.winehq.org/show_bug.cgi?id=27883
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9fc0377f64c9ba62390bcd50549 | |2bf940e66aba0