https://bugs.winehq.org/show_bug.cgi?id=40898
Bug ID: 40898 Summary: Mass Effect (Steam) has no sounds with native OpenAL (except for cutscenes) Product: Wine Version: 1.9.13 Hardware: x86 URL: http://store.steampowered.com/app/17460/ OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: aeikum@codeweavers.com Distribution: ---
Created attachment 54990 --> https://bugs.winehq.org/attachment.cgi?id=54990 audio debug log (+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+alsa,+timestamp)
The problem sounds similar to bug #40833: audio works in the cutscenes, intro videos, but not in the menus and in the main game. The differences are: - Mass Effect doesn't make use of Xaudio/Xaudio2 but Openal (the game comes bundled with native openal32.dll and wrap_oal.dll) - the proposed patch from bug #40833 doesn't fix the problem.
I reproduced the problem with ALSA and Pulseaudio as well.
Possible workarounds: - force Wine to use the built-in openal32. Audio works with that (the game recognizes the audio device as 'Generic Software'). - when using the native openal32, edit BIOEngine.ini and change the line in section [ISACTAudio.ISACT.AudioDevice] DeviceName = Generic Software
For some reason, the game always tries to use 'Hardware acceleration' for sound when using native openal32.dll that comes with the game.
FWIW, audio used to work in the game before
commit 7d6c6025923c039ac6a2458ca466290621238c36 Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Oct 2 09:02:56 2015 -0500
openal32: Prefer native version.
Because openal contexts are global per-process, applications that use openal will conflict with Wine DLLs that use openal like xaudio2_7 now does. Windows does not ship an openal32, so all applications that use openal will ship their own copy of it. According to Chris Robinson, Windows native openal32 works fine in Wine, so we should just use that to avoid the problem.
Fedora 24 x86_64 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2) Pulseaudio 8.0 / Alsa 1.1.1 openal-soft-1.17.2