https://bugs.winehq.org/show_bug.cgi?id=39517
Bug ID: 39517 Summary: No sound in Skyrim after intro video Product: Wine Version: 1.7.53 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hewanci@gmail.com Distribution: ---
In Skyrim, the Bethesda intro does have sound, but nothing afterwards. No music, no menu sounds, no game sound.
It USED TO WORK for years, up until a few weeks ago when I last played. Then today I tried to play again, and it doesn't work now.
I did not change anything on my system or in my Skyrim, apart from doing regular system updates.
I have: - verified game cache - updated and rebooted my system - reinstalled everything with winetricks that was installed before - installed xact via winetricks - reinstalled DirectX from game's directory - removed intro video file - toggled Wine from XP mode to Win 7 mode - made sure Wine uses pulseaudio - made sure speakers in Wine are set to stereo and not 5.1
None of these made a difference.
Arch Linux 64 bit wine-1.7.53-2 alsa 1.0.29-1 pulseaudio 7.0-2 pulseaudio-alsa 2-3
Steam is under a 32 bit wineprefix.
console output: http://pastebin.com/ALG68nEB
https://bugs.winehq.org/show_bug.cgi?id=39517
Jonas Jelten jj@stusta.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jj@stusta.net
https://bugs.winehq.org/show_bug.cgi?id=39517
Storm hewanci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=39517
Storm hewanci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=29082
https://bugs.winehq.org/show_bug.cgi?id=39517
Storm hewanci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=33709
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #1 from Storm hewanci@gmail.com --- Same issue with some differences:
https://bugs.winehq.org/show_bug.cgi?id=29082 For them it worked in XP mode, not in Win 7 mode. For me neither works.
https://bugs.winehq.org/show_bug.cgi?id=33709 Had the issue in 64 bit prefix. I have it in 32 bit prefix.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Storm from comment #0)
In Skyrim, the Bethesda intro does have sound, but nothing afterwards. No music, no menu sounds, no game sound.
It USED TO WORK for years, up until a few weeks ago when I last played. Then today I tried to play again, and it doesn't work now.
Can you run a regression test? http://wiki.winehq.org/RegressionTesting
I did not change anything on my system or in my Skyrim, apart from doing regular system updates.
I have:
- verified game cache
- updated and rebooted my system
- reinstalled everything with winetricks that was installed before
- installed xact via winetricks
- reinstalled DirectX from game's directory
- removed intro video file
- toggled Wine from XP mode to Win 7 mode
- made sure Wine uses pulseaudio
- made sure speakers in Wine are set to stereo and not 5.1
None of these made a difference.
Arch Linux 64 bit wine-1.7.53-2 alsa 1.0.29-1 pulseaudio 7.0-2 pulseaudio-alsa 2-3
Steam is under a 32 bit wineprefix.
console output: http://pastebin.com/ALG68nEB
Please attach files here instead of using external sites.
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
That's unsupported.
err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.
Not the problem here, but you should fix that.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
And this.
https://bugs.winehq.org/show_bug.cgi?id=39517
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- Confirming. I haven't played Skyrim in about 6 months, so I'm not sure when it stopped working. I probably won't have time to run a regression test before the weekend.
This line in my console output seems related:
err:ntdll:RtlpWaitForCriticalSection section 0x1b4808 "xaudio_dll.c: IXAudio2Impl.lock" wait timed out in thread 0049, blocked by 004b, retrying (60 sec)
https://bugs.winehq.org/show_bug.cgi?id=39517
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=39517
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com Component|-unknown |xaudio2
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Rosanne DiMesio from comment #3)
Confirming. I haven't played Skyrim in about 6 months, so I'm not sure when it stopped working. I probably won't have time to run a regression test before the weekend.
This line in my console output seems related:
err:ntdll:RtlpWaitForCriticalSection section 0x1b4808 "xaudio_dll.c: IXAudio2Impl.lock" wait timed out in thread 0049, blocked by 004b, retrying (60 sec)
Probably related to Andrew's xaudio2 work, then.
https://bugs.winehq.org/show_bug.cgi?id=39517
xpue r9ku1q@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r9ku1q@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #5 from xpue r9ku1q@gmail.com --- Same here.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #6 from Storm hewanci@gmail.com ---
Can you run a regression test?
Not any soon, sorry.
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
That's unsupported.
I have no idea what that error means or what should I do with it. I run the regular wine package Arch has, nothing custom apart from the prefix.
err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.
Not the problem here, but you should fix that.
Thanks for the heads up! 32bit version wasn't installed. Fixed now.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
And this.
Can't... lib32 winbind package missing too but one of its dependencies cannot be installed due to download URL 404-ing. DOH.
This line in my console output seems related:
err:ntdll:RtlpWaitForCriticalSection section 0x1b4808 "xaudio_dll.c: IXAudio2Impl.lock" wait timed out in thread 0049, blocked by 004b, retrying (60 sec)
Probably related to Andrew's xaudio2 work, then.
And this is from my console output:
err:module:load_builtin_dll failed to load .so lib for builtin L"xaudio2_7.dll": libopenal.so.1: cannot open shared object file: No such file or directory err:module:find_forwarded_export module not found for forward 'xaudio2_7.DllGetClassObject' used by L"C:\windows\system32\xaudio2_6.dll" err:ole:COMPOBJ_DllList_Add couldn't find function DllGetClassObject in L"C:\windows\system32\xaudio2_6.dll"
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #7 from xpue r9ku1q@gmail.com ---
libopenal.so.1: cannot open shared object file
Try installing lib32-openal then.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #8 from Storm hewanci@gmail.com --- (In reply to xpue from comment #7)
libopenal.so.1: cannot open shared object file
Try installing lib32-openal then.
That fixed SOME of the sounds!
Now I have UI sound effects (opening inventory, hovering over menu elements, etc.) and ambient sounds (fire, horses etc.) nut still no music, and no speech - scripted dialogs get stuck when the speech sound is not played.
There is no xaudio error in my console output now: http://pastebin.com/ZAu2niLE
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #9 from Storm hewanci@gmail.com --- Created attachment 52664 --> https://bugs.winehq.org/attachment.cgi?id=52664 Original console output
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #10 from Storm hewanci@gmail.com --- Created attachment 52665 --> https://bugs.winehq.org/attachment.cgi?id=52665 Console output after installing lib32-openal
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com --- Thanks for reporting. My guess is the game was previously using dsound because xaudio2 wasn't available. My work has made the game use xaudio2 instead, since it's now available, but the implementation isn't complete.
There are probably a few ways to fix this for you:
in winecfg, set xaudio2_6 to disabled, which should make the game use dsound again, or
install "xact" with winetricks, which will install Microsoft's xaudio implementation, which should work.
Let's leave the bug open and I'll find out what's missing in our xaudio2 implementation.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #12 from Austin English austinenglish@gmail.com --- (In reply to Storm from comment #6)
Can you run a regression test?
Not any soon, sorry.
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
That's unsupported.
I have no idea what that error means or what should I do with it. I run the regular wine package Arch has, nothing custom apart from the prefix.
That's a registry setting: | +->UseGLSL | | [When set to "disabled", this disables the use of GLSL for shaders. | | In general disabling GLSL is not recommended, only use this for debugging purposes.]
http://wiki.winehq.org/UsefulRegistryKeys
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #13 from Storm hewanci@gmail.com --- (In reply to Andrew Eikum from comment #11)
install "xact" with winetricks, which will install Microsoft's xaudio implementation, which should work.
That does not work for me. I already installed xact, as I state it in my report.
in winecfg, set xaudio2_6 to disabled, which should make the game use dsound again
That only breaks it more! Some sounds did work after I installed lib32-openal, but with this override, Skyrim goes completely silent again, and the following error appears in my console (also appeared before installing lib32-openal):
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\xaudio2_6.dll"
https://bugs.winehq.org/show_bug.cgi?id=39517
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net Summary|No sound in Skyrim after |No music or voices in |intro video |Skyrim after intro video
--- Comment #14 from Rosanne DiMesio dimesio@earthlink.net --- As Storm says in comment 8, the problem is only with music and voices; ambient sounds are fine.
(In reply to Andrew Eikum from comment #11)
in winecfg, set xaudio2_6 to disabled, which should make the game use dsound again, or
Setting it to disabled kills all sound. Setting it to native, builtin fixes the problem. I didn't install anything with winetricks, but Steam on first run of the game did install DirectX.
Andrew, do you still need me to run a regression test?
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #15 from Andrew Eikum aeikum@codeweavers.com --- No, I don't think a regression test would be useful. I do have a copy of the game here to test with, but haven't had time to dig into it yet. Sounds like native xact with xaudio2_6=native is a workaround for now?
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #16 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Andrew Eikum from comment #15)
Sounds like native xact with xaudio2_6=native is a workaround for now?
Yes.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #17 from Storm hewanci@gmail.com --- (In reply to Andrew Eikum from comment #15)
Sounds like native xact with xaudio2_6=native is a workaround for now?
I confirm! It works now! :)
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #18 from Andrew Eikum aeikum@codeweavers.com --- I tested this today. Looks like the game uses WMA for some of its audio, which Wine can't currently decode:
0067:trace:xaudio2:IXAudio2Impl_CreateSourceVoice (0x1b1758)->(0xba4e8ec, 0x23a69bb4, 0x10, 2.000000, (nil), 0xba4e8fc, (nil)) 0067:trace:xaudio2:dump_fmt wFormatTag: 0x161 (Unknown) 0067:trace:xaudio2:dump_fmt nChannels: 2 0067:trace:xaudio2:dump_fmt nSamplesPerSec: 44100 0067:trace:xaudio2:dump_fmt nAvgBytesPerSec: 6000 0067:trace:xaudio2:dump_fmt nBlockAlign: 2230 0067:trace:xaudio2:dump_fmt wBitsPerSample: 16 0067:trace:xaudio2:dump_fmt cbSize: 0 0067:warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!
I think this is a dupe of Bug 39402.
I was surprised to see that winetricks doesn't set native xaudio2 DLLs to native when installing the xact verb. Probably the game stopped working when Wine gained an xaudio2_6 DLL.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #19 from Andrew Eikum aeikum@codeweavers.com --- I've submitted a patch to default to the native version of xaudio2_6, if available. After that's committed, explicitly setting the override in winecfg should not be necessary.
http://source.winehq.org/patches/data/116000
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #20 from Andrew Eikum aeikum@codeweavers.com --- I think this should work correctly now in Wine 1.7.55. We should be using the native xaudio DLL if it is present.
https://bugs.winehq.org/show_bug.cgi?id=39517
--- Comment #21 from Rosanne DiMesio dimesio@earthlink.net --- Yes, it works in 1.7.55 without the override.
https://bugs.winehq.org/show_bug.cgi?id=39517
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b321834d56d197aa21ed8914367 | |4917239dc3810 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #22 from Andrew Eikum aeikum@codeweavers.com --- I'm going to resolve this, as it should work the same as it used to (install native xact to get working audio). The problem with some sounds missing when using built-in xaudio2 is addressed in bug 39402.
https://bugs.winehq.org/show_bug.cgi?id=39517
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc1.
https://bugs.winehq.org/show_bug.cgi?id=39517
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fan-wen-jie@msn.cn
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com --- *** Bug 39889 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39517
Vlad Blanton vblanton@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vblanton@gmail.com
--- Comment #25 from Vlad Blanton vblanton@gmail.com --- In case anyone continues to have the issue, I found that forcing a reinstall of xact fixed it for me.
winetricks --force xact