[Bug 30628] New: Battlefield Bad Company 2 audio doesn't work in-game
http://bugs.winehq.org/show_bug.cgi?id=30628 Bug #: 30628 Summary: Battlefield Bad Company 2 audio doesn't work in-game Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: ajsb(a)vfemail.net Classification: Unclassified I have this game and installed it easily from iso , program launches normally with audio working but as soon as it arrives main menu it mutes audio. I have it set manually to DX9 and i have no problem playing online in servers unranked (no PunkBuster) but audio never works. ...performance of game is not bat at all BTW....using wine 1.5.3 with several M$ stuff like vc++2005 2008 and 2010 ,etc. ("regular" stuff that i use with all games that are anyway installed by many games by default)... Any clue why audio is mutting as soon as arrives main menu of game but plays well till then ?!? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #1 from AJSB <ajsb(a)vfemail.net> 2012-05-08 21:21:17 CDT --- *** Bug 30629 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com Version|unspecified |1.5.3 --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-05-08 21:24:19 CDT --- You should retest in wine git, there has been several sound related patches lately. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2012-05-09 02:18:21 CDT --- And if still present, attach a log as requested at http://wiki.winehq.org/Sound. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #4 from AJSB <ajsb(a)vfemail.net> 2012-05-09 14:18:08 CDT --- OK, here it was i found out... I uninstalled everything , "gitted" the most recent version of wine, compiled everything , installed everything from scratch including game but problem was still present...until my spiderman sense entered in action :D Just like we have to edit manually the file ~/BFBC2/settings.ini to change option... DxVersion=auto to... DxVersion=9 ...I started to look around in that file and discovered that there was a setting that clearly seemed incorrect...somehow the GAME is UNABLE to figure out HOW MANY speakers i have in my rig and decides to write this in the settings.ini file... SpeakerCount=0 ...so, i simply edited it to read... SpeakerCount=2 ...and now everything is OK :D The weird thing that didn't made me search for this possibility in 1st place was that game was playing music has it was loading...only when reaching main menu had the problem...i wonder why game is unable to figure out by itself the speaker configuration... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #5 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-09 14:23:35 CDT --- Nice discovery. If you can find out when that file is created, we can try to track down why it guesses at 0 speakers. Try to find out when the file is created (installation? first run? every run?) and gather a log with the channels from <http://wiki.winehq.org/Sound>, then attach it here. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #6 from AJSB <ajsb(a)vfemail.net> 2012-05-10 11:58:12 CDT --- Thanks :) OK, the file is created at 1st run (and NOT at install time) and is only changed if we change graphical,etc. settings in the game menus... So, as long as we don't mess around with audio settings i'm sure that it will never touches the speaker config again...or simply can't figure out how... I'm a bit noobish as feedback traces, logs,etc,etc. so here it goes... I used this command in the terminal and got a log of 9.6MB and that is too big for normal attach here... WINEDEBUG=+relay,+seh,+tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dmusic,+mci,+oss,+alsa,+coreaudio wine BFBC2Game.exe &> ~/output2.txt If this log is not what you need , please provide complete command line parameters...if possible, something that produces something small enough ! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #7 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-10 12:04:33 CDT --- Yeah, that's pretty close. You definitely don't want +relay, that makes the log file huge. Try this: $ rm -f ~/output2.txt $ WINEDEBUG=+seh,+tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dmusic,+mci,+oss,+alsa,+coreaudio wine BFBC2Game.exe &>> ~/output2.txt $ gzip ~/output2.txt Then upload ~/output2.txt.gz as an attachment. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #8 from AJSB <ajsb(a)vfemail.net> 2012-05-10 12:30:36 CDT --- Created attachment 40109 --> http://bugs.winehq.org/attachment.cgi?id=40109 BFBC2 log at 1st run about game unable to figure out speak configuration -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #9 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-10 13:30:13 CDT --- Hm, there is absolutely nothing interesting in that log. If you've still got that +relay log, it might turn up something more interesting. Try using gzip again to see if that becomes small enough to attach. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 AJSB <ajsb(a)vfemail.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #40109|0 |1 is obsolete| | --- Comment #10 from AJSB <ajsb(a)vfemail.net> 2012-05-10 13:35:58 CDT --- Created attachment 40110 --> http://bugs.winehq.org/attachment.cgi?id=40110 BFBC2 log at 1st run about game unable to figure out speaker configuration Here is the more "complete" version. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #11 from AJSB <ajsb(a)vfemail.net> 2012-05-10 13:47:12 CDT --- I just send the requested log but i just got a better idea.... I have a felling that problem is not (only) at 1st run...but at *second* run (also) !!! I start to believe that game starts by creating a default settings.ini file that latter in the game 1st run possibly is updated onthefly...BUT because in WINE, game get's stuck because of the Dx10 version, we have to abort game launch....after we edit file , we finally can launch game...but game fails to figure out speaker configuration *because* it assumes that file was created correctly (!?!) and proceeds with it's initialization *and* creation of several other files in that folder all with base in that file... What you think about i make a log of the game *second* run with only DX level corrected but still with speakers at 0 ?!? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #12 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-10 14:00:09 CDT --- That's not a bad idea. You could also try removing the Speakers line entirely and seeing if it tries to guess again. If you come up with something interesting, let us know. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #13 from AJSB <ajsb(a)vfemail.net> 2012-05-10 15:25:41 CDT --- Created attachment 40114 --> http://bugs.winehq.org/attachment.cgi?id=40114 BFBC2 2nd run with line corrected This is my 1st of 3 attachments...i will send next two if you want to....i will need to break one in two parts because even with gzip they are 1.5MB each... These two logs not send yet are of 2nd runs with incorrect value in the line and of a 2nd run with line completely removed... This one is from the line corrected by me before 2nd run... Now, something about most recent tests... I discovered that removing the line completely doesn't solve issue...but line will be rebuild by game...with incorrect value.... I did noticed that the log with corrected line (and so, with sound playing properly) it says a lot of times in the log: ...:trace:dsound:DSOUND_MixToPrimary Mixed at least 2048 from all buffers OTOH, both logs with incorrect value in the line or without line at all say instead: ...:trace:dsound:DSOUND_MixToPrimary Mixed at least 0 from all buffers Should i send the other two logs ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #14 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-14 13:09:17 CDT --- (In reply to comment #13)
and of a 2nd run with line completely removed...
So if you remove the line, it gets re-added with the incorrect value? I think that log would be most useful. It might tell us where it's getting the value from. Use the same command as from comment 7. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #15 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-05-22 10:58:28 CDT --- Ping. Could you get me a log with a working settings.ini, but with the Speakers line completely removed? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #16 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-12-13 09:20:50 CST --- Another ping. Did you find out more information about what's going wrong here? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30628 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev(a)gmail.com --- Comment #17 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Also have it in 1.7.16, but not audio in general, just voices in cutscenes. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #18 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Works in 1.7.41 SpeakerCount set to 0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #19 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Andrey Gusev from comment #18)
Works in 1.7.41 SpeakerCount set to 0.
Thanks for retesting. Would you consider this bug fixed? Or AJSB, if you're still watching this bug? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30628 --- Comment #20 from Andrey Gusev <andrey.goosev(a)gmail.com> --- (In reply to Andrew Eikum from comment #19)
Thanks for retesting. Would you consider this bug fixed? Or AJSB, if you're still watching this bug?
I think so. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30628 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #21 from Austin English <austinenglish(a)gmail.com> --- (In reply to Andrey Gusev from comment #20)
(In reply to Andrew Eikum from comment #19)
Thanks for retesting. Would you consider this bug fixed? Or AJSB, if you're still watching this bug?
I think so.
Fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30628 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #22 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.43. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org