https://bugs.winehq.org/show_bug.cgi?id=45260
--- Comment #11 from Adam Bolte abolte@systemsaviour.com --- (In reply to Anthony Jagers from comment #10)
The only thing that worked was manually copying my xaudio2.*.dlls(or the entire install from xact) from my copy of Windows 10 directly into SysWOW64 & System32 folders...
I copied these x3daudio*, xactengine*, xapofx* xaudio*.
Are you sure that's all? I have a Windows 10 installation mounted at /mnt/windows so I ran the following (from within the "drive_c" folder of my Far Cry 4 wineprefix):
$ find windows/syswow64 ( -iname 'x3daudio*' \ -o -iname 'xactengine*' \ -o -iname 'xapofx*' \ -o -iname 'xaudio*' ) \ -exec rm -f {} ; $ find /mnt/windows/Windows/SysWOW64 ( -iname 'x3daudio*' \ -o -iname 'xactengine*' \ -o -iname 'xapofx*' \ -o -iname 'xaudio*' ) \ -exec cp {} windows/syswow64/ ;
$ find windows/system32 ( -iname 'x3daudio*' \ -o -iname 'xactengine*' \ -o -iname 'xapofx*' \ -o -iname 'xaudio*' ) \ -exec rm -f {} ; $ find /mnt/windows/Windows/System32 ( -iname 'x3daudio*' \ -o -iname 'xactengine*' \ -o -iname 'xapofx*' \ -o -iname 'xaudio*' ) \ -exec cp {} windows/system32/ ;
That should make sure there are no duplicates since the file name case of the Windows installation is often different to what Wine provides.
I then ran winecfg and set the following DLL entries to native:
x3daudio* xactengine* xapofx* xaudio*
Fired up Uplay, launched Far Cry 4... no change.
I also tried unsetting the above ovverides, and still saw no change.
I did notice this in the console output: 014c:fixme:pulse:AudioSessionControl_RegisterAudioSessionNotification (0x11e9fa00)->(0x114969d0) - stub Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Not sure why it's trying to connect to Jack instead of Pulseaudio.