[Bug 38313] New: broken surround sound in skyrim (and possible games which do not have advanced sound settings)
https://bugs.winehq.org/show_bug.cgi?id=38313 Bug ID: 38313 Summary: broken surround sound in skyrim (and possible games which do not have advanced sound settings) Product: Wine Version: 1.7.39 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv Assignee: wine-bugs(a)winehq.org Reporter: cute.dark.sorcerer(a)gmail.com Distribution: --- Created attachment 51154 --> https://bugs.winehq.org/attachment.cgi?id=51154 probably useless wine output similar to bug 37957, when playing skyrim, there's no sound from front or back. Example: in order to hear a NPC, you have to turn your side to him. Tested this on new wineprefix (wow64 setup) and double checked the audio tab in winecfg (every device is set to stereo). Also tested mono as well as quadrophone (I do have 4.1 speakers), but sound will only play from side-speakers. Sound in other games (dishonored, resident evil revelations, aliens colonial marines) works normally. In those games however, you can change sound to stereo/surround via settings. Skyrim does not offer this. Is there a way to 'force' a specific application to use stereo/surround and how can you disable this? Gentoo x86-64 media-libs/alsa-lib Latest version installed: 1.0.29 -- 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=38313 Yuki <cute.dark.sorcerer(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Gentoo -- 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=38313 Yuki <cute.dark.sorcerer(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|broken surround sound in |broken surround sound in |skyrim (and possible games |skyrim (and possibly games |which do not have advanced |which do not have advanced |sound settings) |sound settings) -- 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=38313 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- Could you please test to the following patch? http://source.winehq.org/patches/data/110133 -- 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=38313 --- Comment #2 from Yuki <cute.dark.sorcerer(a)gmail.com> --- (In reply to Sebastian Lackner from comment #1)
Could you please test to the following patch? http://source.winehq.org/patches/data/110133
applied patch -p1 and created new WoW64 setup, but the sound is still bugged. Tested with previously created wine prefix. New console output though (among many other fixmes): ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:7843:(snd_pcm_recover) underrun occurred Do I need an entirely new prefix for 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=38313 --- Comment #3 from Yuki <cute.dark.sorcerer(a)gmail.com> --- so, just for completeness sake did I create a new WoW64 setup based on wine-1.7.33 to see if sound is bugged or not in any way. Apparently, sound works just fine. Finally, I did another test using the patch, this time using my original prefix - no front/back sound whatsoever. Last but not least, I find it very strange how wine is able to bypass .asoundrc settings. I created one which would mix channels together, but the outcome is always the same when starting skyrim. -- 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=38313 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com -- 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=38313 --- Comment #4 from Andrew Eikum <aeikum(a)codeweavers.com> --- Yuki, I'm not sure what asoundrc settings you used. Wine will try the device named "default" and any direct hardware devices that ALSA enumerates. If you changed "default", I would expect Wine to pick up on that. It won't pick up on any custom devices automatically. If you created a new device and want Wine to use it, you can use the ALSAOutputDevices registry setting: http://wiki.winehq.org/UsefulRegistryKeys Can you reconfigure your settings to how you'd expect them to be? For example, if you have 4.1 physical speakers, set that correctly in winecfg; reset to your usual "default" ALSA device; put Skyrim's settings how you'd like them to be. Let me know what these settings are. Then, play Skyrim just long enough to demonstrate the issue, and attach a log with the channels from <http://wiki.winehq.org/Sound>. The log file will grow large very quickly, so you'll want to compress it before you upload. -- 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=38313 --- Comment #5 from Yuki <cute.dark.sorcerer(a)gmail.com> --- ok, will do, though not before this weekend (new semester started this week) -- 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=38313 --- Comment #6 from Yuki <cute.dark.sorcerer(a)gmail.com> --- currently, I am not using any .asoundrc. The one I used would mix sound to a 4.1 setup, even if it was stereo only. I used it to see if this could work around this wine bug, but it didn't. Anyways, here's the terminal output. It's quite long, but the part which does not have center sound comes at the end. This is on a new wineprefix, only apps installed are steam and skyrim along with it's dependencies. (It's also a modded skyrim game, but there's no difference in sound. the missing front/back sound also happens for vanilla skyrim) used wine version: 1.7.41 WoW64 setup (via emerge installed, gentoo x64) -- 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=38313 --- Comment #7 from Andrew Eikum <aeikum(a)codeweavers.com> --- Did you forget to attach the log? I don't see it anywhere here. -- 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=38313 Yuki <cute.dark.sorcerer(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51154|0 |1 is obsolete| | --- Comment #8 from Yuki <cute.dark.sorcerer(a)gmail.com> --- Created attachment 51306 --> https://bugs.winehq.org/attachment.cgi?id=51306 terminal output with WINEDEBUG msg for sound bugs WINEPREFIX=+tid,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio,+timestamp -- 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=38313 --- Comment #9 from Yuki <cute.dark.sorcerer(a)gmail.com> --- (In reply to Andrew Eikum from comment #7)
Did you forget to attach the log? I don't see it anywhere here.
sorry, it was a tiny bit too big with 42 MiB... snipped it now -- 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=38313 quietraccoon(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |quietraccoon(a)gmail.com -- 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=38313 --- Comment #10 from quietraccoon(a)gmail.com --- I've been getting this same issue with Oblivion since 1.7.34+; before then, sound works perfectly. I only have headphones and stereo speakers, and issue happens on both. All devices in winecfg set to stereo. Created a fresh 64-bit prefix with 1.7.41; problem persists. OS: Arch Linux x86_64 Btw, I don't currently have any .asoundrc configured. -- 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=38313 --- Comment #11 from quietraccoon(a)gmail.com --- Created attachment 51356 --> https://bugs.winehq.org/attachment.cgi?id=51356 Sound debug trace with Oblivion Attached sound debug trace. I am also using these Winetricks; Oblivion crashes without them * quartz * amstream * devenum bzip2 didn't compress it enough, so I used xz -- 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=38313 --- Comment #12 from Andrew Eikum <aeikum(a)codeweavers.com> --- Thanks very much for the logs. Are either of you using PulseAudio? If so, what version? If not, this may be a channel mapping issue. Jordyn's log shows: 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 0 (0x1) to ALSA channel 0 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 1 (0x2) to ALSA channel 1 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 2 (0x4) to ALSA channel 4 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 3 (0x8) to ALSA channel 5 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 4 (0x10) to ALSA channel 2 5092.801:0023:trace:alsa:map_channels Mapping mmdevapi channel 5 (0x20) to ALSA channel 3 It's possible we have the wrong channel mapping for your hardware. What's weird is that the channel setting in winecfg does work correctly for me. Skyrim uses 6 channels when that is set to 5.1, and it uses 2 channels when it's set to Stereo. -- 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=38313 --- Comment #13 from Yuki <cute.dark.sorcerer(a)gmail.com> --- Created attachment 51362 --> https://bugs.winehq.org/attachment.cgi?id=51362 some simple output for used sound hardware I'm using plain old alsa. Since other games work normally, and other users do not seem to have this issue, I also could imagine that it's rather special, like being caused by hardware setup. Is there anything specific you need to identify this? For now, I added a basic output, hoping it helps a bit -- 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=38313 --- Comment #14 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Jordyn from comment #11)
Created attachment 51356 [details] Sound debug trace with Oblivion
Jordyn, was this log made while winecfg had the speaker config set to Stereo? I see some signs in the log that indicate it was made with a 5.1 config. Can you (or Yuki) recheck and generate a new log, ensuring it's set to Stereo config? BTW, if logs get too big, the beginning is the important part of the log. The first 100,000 lines are probably sufficient. -- 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=38313 --- Comment #15 from Andrew Eikum <aeikum(a)codeweavers.com> --- By the way, this bug is very similar to Bug 38497. We might have a bug in our speaker configuration handling code. I've applied a patch over on that bug which outputs some additional debug information, which would be helpful in future logs if you're capable of building Wine. -- 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=38313 --- Comment #16 from Jordyn <quietraccoon(a)gmail.com> --- Created attachment 51374 --> https://bugs.winehq.org/attachment.cgi?id=51374 2nd Oblivion sound log Sorry I took so long. I somehow accidentally deleted that fresh prefix 1.7.41 I created a couple days ago. So... recreated it, reinstalled Oblivion from disc; reinstalled winetricks: quartz, devenum, amstream; winecfg: version Win7, all audio devices set to stereo, audio output device set to system default. I'm not using PulseAudio, just ALSA. PA gave me headaches in the past so I don't use it. I'm just using a lightweight, pieced-together, Openbox environemnt. Before generating log, I double-checked to make sure all devices were indeed set to stereo (output device is "System Default"); they were. Upon starting game, I immediately loaded a save game at beginning near where someone is talking, walked up to him, turned around 360 to get the effect of his voice fading in and out and in, then immediately quit. I had even tried without the tricks (using builtin quartz, amstream, devenum) and managed to test it right before usual crash kicked in, surround sound issue still occurs. Two other people on the Oblivion App page said they've been having the same issue; one says since 1.7.33 as well. The other said they fixed it on theirs by setting Windows version to XP, but I tried that and it didn't work for me. For now, I can temporarily just use a second Wine setup with 1.7.33 for Oblivion. By the way, OT... Thank you for all the hard work you and the other devs do on Wine. You guys are awesome! :) -- 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=38313 --- Comment #17 from Jordyn <quietraccoon(a)gmail.com> --- By the way, that 2nd log was with Arch's default 1.7.41 without that patch applied :( -- 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=38313 --- Comment #18 from Yuki <cute.dark.sorcerer(a)gmail.com> --- Created attachment 51380 --> https://bugs.winehq.org/attachment.cgi?id=51380 screenshot of winecfg -- 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=38313 --- Comment #19 from Yuki <cute.dark.sorcerer(a)gmail.com> --- Created attachment 51381 --> https://bugs.winehq.org/attachment.cgi?id=51381 new terminal output for Audio Debug Double checked winecfg for being set to stereo and made a new debug output. also attached a screenshot showing winecfg settings. Since my output grows rapidly, I had to snip everything except for the 1st 10000 lines. I can upload the entire output to my gdrive, if you need it. -- 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=38313 --- Comment #20 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Jordyn from comment #17)
By the way, that 2nd log was with Arch's default 1.7.41 without that patch applied :(
Unfortunately, I just can't figure out what's wrong from these logs without the extra debugging. Can I trouble you to apply the patch and build Wine? It should be easy to apply the patch and build a new package with Arch's makepkg. You can find me on IRC if you'd like some help; I'm also an Arch user. -- 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=38313 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fremenzone(a)poczta.onet.pl --- Comment #21 from Andrew Eikum <aeikum(a)codeweavers.com> --- *** Bug 38497 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=38313 --- Comment #22 from Andrew Eikum <aeikum(a)codeweavers.com> --- Like I mentioned on that duplicate bug, I think this is a bug due to winecfg's failing to update the 32-bit registry with your changes. So 32-bit programs like Skyrim continue to use the old config (5.1 Surround) even though you set it to Stereo in winecfg. I'll work on a fix, no need for more logs in the meantime. -- 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=38313 --- Comment #23 from Jordyn <quietraccoon(a)gmail.com> --- Created attachment 51383 --> https://bugs.winehq.org/attachment.cgi?id=51383 3rd Oblivion sound log; with debug patch, 64-bit prefix Here's a couple logs anyway if it can be of any help at all. I rebuilt Wine with the patch using the same 1.7.41 prefix I created yesterday, followed same in-game procedure outlined in last post. It is a 64-bit prefix, by the way. Then I created a 32-bit prefix. Tested, and the issue is gone. Created another log following same in-game procedure. I'll upload that as well. PS: That's another thing I really like about Arch, how easy it is to tweak and rebuild packages. :) -- 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=38313 --- Comment #24 from Jordyn <quietraccoon(a)gmail.com> --- Created attachment 51384 --> https://bugs.winehq.org/attachment.cgi?id=51384 4th Oblivion sound log; with debug patch, 32-bit prefix -- 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=38313 --- Comment #25 from Andrew Eikum <aeikum(a)codeweavers.com> --- This commit is in Wine and should fix this issue, including for your existing prefixes. You can test it if you're capable of making a 64-bit Wine build. Otherwise, wait for your package manager to release Wine 1.7.43. Please report back when you test it to confirm that it's fixed! commit b55cc5e4c5083d7833cc637f07c2d8f9813bf1ec Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Fri May 1 13:11:12 2015 -0500 mmdevapi: Always use 64-bit registry keys. -- 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=38313 --- Comment #26 from Jordyn <quietraccoon(a)gmail.com> --- Created attachment 51428 --> https://bugs.winehq.org/attachment.cgi?id=51428 5th Oblivion log; 1.7.42 with 64bit registry patch and sound debug patch Sorry for the delay. Built Wine 1.7.42 with 64-bit registry patch from that commit * Fresh 64-bit prefix * Winetricks: quartz, amstream, devenum * Winecfg: Win7, set all audio devices to stereo * Reinstalled game from disc * Extracted OBSE to game folder * Tested using same in-game procedure from earlier. * No more silent sounds directly behind and in front :) I'll say it again... Thank you for all the time and effort you and the other devs have put into Wine. As I said before, you guys are all awesome! :-) -- 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=38313 --- Comment #27 from Andrew Eikum <aeikum(a)codeweavers.com> --- Thanks, Jordyn. Has anyone else had a chance to retest this with Wine 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.
https://bugs.winehq.org/show_bug.cgi?id=38313 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b55cc5e4c5083d7833cc637f07c | |2d8f9813bf1ec Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #28 from Andrew Eikum <aeikum(a)codeweavers.com> --- Reported fixed. Please re-open if this isn't working for you, or open a new bug if you have a separate problem. -- 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=38313 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #29 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.44. -- 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