[Bug 37957] New: No way to disable "surround sound"
https://bugs.winehq.org/show_bug.cgi?id=37957 Bug ID: 37957 Summary: No way to disable "surround sound" Product: Wine Version: 1.7.35 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs(a)winehq.org Reporter: mikachu(a)gmail.com Distribution: --- Since 1.7.34, wine supports surround audio. It appears to determine the number of speakers to use by directly querying alsa at some level. I have only two speakers plugged in to my soundcard, but wine decides I have 6. The result of this is that I can only hear what people say in Skyrim if I look to the side since I have no "center" speaker. Please default to 2 speakers or provide some incredibly obvious knob somewhere to disable this. I also tried specifying my default alsa pcm device as having 2 channels but this didn't help. -- 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=37957 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de -- 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=37957 --- Comment #1 from mikachu(a)gmail.com --- A good place for the knob would be in the Audio tab of winecfg. An applet in "wine control" might be discoverable too. -- 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=37957 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |gyebro69(a)gmail.com Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- I myself, too, support the idea that users have the possibility to switch back to the old stereo mode. What described in comment #0 in Skyrim I have similar audio problem in Far Cry 2: during a conversation with a NPC if I turn my back on him I can't hear his voice. Some games don't play sound effects on my stereo speakers since 1.7.34 Fedora 21 Alsa 1.0.28 (Pulseaudio is not running) -- 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=37957 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hellas(a)burntcomma.com --- Comment #3 from Sebastian Lackner <sebastian(a)fds-team.de> --- Adding the author of the surround patches, maybe he has an idea how to solve this. -- 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=37957 --- Comment #4 from Béla Gyebrószki <gyebro69(a)gmail.com> --- *** Bug 37886 has been marked as a duplicate of 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=37957 --- Comment #5 from hellas(a)burntcomma.com --- Thanks Sebastian. Comment #0 - your best bet is to use Pulseaudio, with the winepulse patches in wine-staging. You can then use pavucontrol to force your card into stereo mode. Failing that, I think what you want is to pass a stereo-only model to snd-hda-intel (if that's what you're using), something like 3stack or similar. I think you also have to make sure that you specify the output device in winecfg, as IIRC "(default)" always has six channels. -- 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=37957 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #6 from joaopa <jeremielapuree(a)yahoo.fr> --- Hellas> Pulseaudio is not supported by plain wine. So your solution is not acceptable. -- 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=37957 --- Comment #7 from hellas(a)burntcomma.com --- Really, joaopo? That fact had completely passed me by. Unless you're willing to write the code yourself, please keep your opinions on what workarounds you deem "acceptable" to yourself. -- 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=37957 --- Comment #8 from mikachu(a)gmail.com --- pcm.speakers { type plug slave { pcm "front:Live" channels 2 } } pcm.!default speakers ^ I used this as my .asoundrc, and verified with mplayer that if i set it to "1" i get mono output, so the setting is used by libalsa, but wine with your patches still detect 6 speakers. My "best bet" is probably getting this issue fixed. You can't just implement a feature for yourself and tell everyone else too bad. -- 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=37957 --- Comment #9 from hellas(a)burntcomma.com --- Mikachu, I am in the middle of writing a patch at the moment, but every self-entitled comment I get pushes it back several days. I'm working for nothing - either pay me, or be happy with what you get. -- 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=37957 --- Comment #10 from mikachu(a)gmail.com --- Sorry, but you sounded like you were totally happy with how things stand, and had no intention of changing anything. If things are in progress then I am happy to wait. :) -- 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=37957 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de -- 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=37957 --- Comment #11 from Rosanne DiMesio <dimesio(a)earthlink.net> --- Patches have been submitted: http://source.winehq.org/patches/data/108818 http://source.winehq.org/patches/data/108819 http://source.winehq.org/patches/data/108820 -- 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=37957 --- Comment #12 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Rosanne DiMesio from comment #11)
Patches have been submitted:
http://source.winehq.org/patches/data/108818 http://source.winehq.org/patches/data/108819 http://source.winehq.org/patches/data/108820
I tried those patches and they fix the audio issues in several games after selecting stereo speakers. One exception is Mafia 2 from bug #37886: whatever output device is selected there's no audio during cutscenes. I noticed that with the patches applied I'm getting these after closing the audio tab in winecfg: err:winecfg:apply_speaker_configs L"{0.0.0.00000000}.{7A5314BE-35B1-45C2-B1AA-55F17784DF93}" -> 3 fixme:mmdevapi:MMDevPropStore_Commit stub err:winecfg:apply_speaker_configs L"{0.0.0.00000000}.{AA96F1C6-BB1C-4FC4-807A-9D41D52A5220}" -> 3 fixme:mmdevapi:MMDevPropStore_Commit stub err:winecfg:apply_speaker_configs L"{0.0.0.00000000}.{F7F43F78-B524-42E0-B656-C5A9896346B6}" -> 3 fixme:mmdevapi:MMDevPropStore_Commit stub wine-1.7.35-11-ge62612b Fedora 21 Alsa 1.0.28 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2) using snd-hda-intel kernel module -- 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=37957 --- Comment #13 from hellas(a)burntcomma.com --- Those messages are harmless and can be ignored. I'll look into Mafia 2 when I get the chance. -- 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=37957 --- Comment #14 from Rosanne DiMesio <dimesio(a)earthlink.net> --- This bug is an enhancement request to add a way to disable surround sound to winecfg, and that's been done. Mikachu & Bela: are the new controls working? If the only remaining problem is with Mafia 2, that probably should be a separate bug (normal severity), and we can close this one as 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=37957 --- Comment #15 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Rosanne DiMesio from comment #14)
This bug is an enhancement request to add a way to disable surround sound to winecfg, and that's been done.
Mikachu & Bela: are the new controls working? If the only remaining problem is with Mafia 2, that probably should be a separate bug (normal severity), and we can close this one as fixed.
On my behalf, I agree that this can be closed as fixed. Bug #37886 is still present for me whatever audio option/speaker config is selected. -- 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=37957 --- Comment #16 from mikachu(a)gmail.com --- I haven't had the opportunity to try it yet, but I have no reason to believe the committed changes don't work, so go ahead on my part too. -- 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=37957 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #17 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Marking FIXED then. -- 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=37957 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #18 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.37. -- 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=37957 --- Comment #19 from mikachu(a)gmail.com --- I have tried .37 now and it does work and fixes my issue. The dialog is a little confusing though so here's a note for people coming here to say it doesn't work: The "Device" dropdown doesn't select what device is the default or anything, it just selects for which device you want to change the surround/stereo setting. You have to select each device from the first dropdown in turn, and change each to Stereo in the second dropdown. -- 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=37957 --- Comment #20 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to mikachu from comment #19)
I have tried .37 now and it does work and fixes my issue. The dialog is a little confusing though so here's a note for people coming here to say it doesn't work: The "Device" dropdown doesn't select what device is the default or anything, it just selects for which device you want to change the surround/stereo setting. You have to select each device from the first dropdown in turn, and change each to Stereo in the second dropdown.
Reminds me of my own bug 38006. -- 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=37957 --- Comment #21 from hellas(a)burntcomma.com --- (In reply to mikachu from comment #19)
I have tried .37 now and it does work and fixes my issue. The dialog is a little confusing though so here's a note for people coming here to say it doesn't work: The "Device" dropdown doesn't select what device is the default or anything, it just selects for which device you want to change the surround/stereo setting. You have to select each device from the first dropdown in turn, and change each to Stereo in the second dropdown.
You're welcome -- 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=37957 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b2dede79504c01e46bffd08684b | |ec1df0bfb50d4 -- 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