https://bugs.winehq.org/show_bug.cgi?id=47858
Bug ID: 47858 Summary: x3daudio1_{0,1,2} need ABI corrections Product: Wine Version: 4.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: x3daudio Assignee: wine-bugs@winehq.org Reporter: galtgendo@o2.pl Distribution: ---
Created attachment 65361 --> https://bugs.winehq.org/attachment.cgi?id=65361 patch that attempts to fix the problem
Primary purpose of this bug is the problem addressed in recently sent "x3daudio: fix lib exports" patch.
Patch attached should fix the problem...that is, if the problem is properly diagnosed.
However, there's a secondary purpose. App used to notice and diagnose the problem was Supreme Commander (RTS - see the entry in appdb).
Without the patch, builtin fails early with a missing function error. With the patch, game goes as far as the menu...
...but if (for example) you try to start a skirmish, it crashes.
I'm not sure whether it's a problem with wine or a problem with FAudio. With native x3daudio, it works, so the problem is still in this or underlying lib.
Going by the debug channel, game first calls X3DAudioInitialize a couple times (seemingly successfully), then it calls X3DAudioCalculate with 0x61 flags and goes into faultrep after that call. Shortly after that it terminates, often with that annoying err:ntdll:RtlpWaitForCriticalSection hang.