https://bugs.winehq.org/show_bug.cgi?id=46831
Bug ID: 46831 Summary: Metro 2033 crashes when using FAudio Product: Wine Version: 4.3 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 63864 --> https://bugs.winehq.org/attachment.cgi?id=63864 log
After skipping the intro video and 'Press any key to continue' screen
Backtrace: =>0 0xf7bd463a free_check+0x661a() in libc.so.6 (0x1829e028) 1 0x1829dfa0 (0x1829e028) 2 0x1829e1ec (0x1829e1e8) 0xf7bd463a free_check+0x661a in libc.so.6: repe movsl (%esi),%es:(%edi)
wine-4.3-338-gf34f13825f
https://bugs.winehq.org/show_bug.cgi?id=46831
Ethan Lee flibitijibibo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flibitijibibo@gmail.com
--- Comment #1 from Ethan Lee flibitijibibo@gmail.com --- Looks like we're back in the XAPO muck, but this time it's _Get_Parameters, not Set... really starting to look like we need a closer look at memory accuracy regarding the parameter blocks.
https://bugs.winehq.org/show_bug.cgi?id=46831
--- Comment #2 from Ethan Lee flibitijibibo@gmail.com --- Turns out you can request half of the VolumeMeter data if you want:
https://github.com/FNA-XNA/FAudio/commit/8e37dadb9b2c9f8e268f2ae0eb525faa41b...
This will fix the crash, but for the love-a Pete, do NOT test this game with headphones on. The demons will consume most (if not all) of your head once the preload videos are done.
https://bugs.winehq.org/show_bug.cgi?id=46831
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46831
Anthony Jagers noonetinone@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |noonetinone@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46831
--- Comment #3 from Ethan Lee flibitijibibo@gmail.com --- Another interesting thing this game does is _heavily_ downsample for one particular submix - this meant that the resampler would read too far past the submix input cache, causing single samples of garbage to get sent everywhere, causing all that noise the moment you stepped past the title screen.
This fixes the noise for me:
https://github.com/FNA-XNA/FAudio/commit/a3e81a4c5ed4e8e63b8a13cf829a78944f2...
https://bugs.winehq.org/show_bug.cgi?id=46831
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- Yes, both issues are resolved now.
https://bugs.winehq.org/show_bug.cgi?id=46831
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Andrey Gusev from comment #4)
Yes, both issues are resolved now.
Since it was a bug in FAudio, resolving NOTOURBUG.
https://bugs.winehq.org/show_bug.cgi?id=46831
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Gijs Vermeulen from comment #5)
(In reply to Andrey Gusev from comment #4)
Yes, both issues are resolved now.
Since it was a bug in FAudio, resolving NOTOURBUG.
Closing fixed upstream bug.