Kron4ek / FAudio-Builds

FAudio builds for Wine
63 stars 3 forks source link

Space Engineers constant audio stutters #6

Closed Zemogiter closed 5 years ago

Zemogiter commented 5 years ago

So I've been trying to make this game work in Linux and this is the result: https://www.reddit.com/r/linux_gaming/comments/avhyxj/space_engineers_finally_playable_on_linux/ Removing mods did not solve the problem. I've also tried to change the pulse audio config file: https://youtu.be/UQ-Ml78kiEE?t=73 but I can't tell if it helped anything. Like in my reddit post I have set msvcr120, all x3daudio dlls and all xaudio dlls to "native,buildin" because without it the audio stutters constantly even in main menu. With those overrides audiio stutters on main menu for a few seconds then returns to normal and the constant audio stutter happens only in game. Game log: SpaceEngineers.log Wine log: playonlinux.log Running on wine 4.14 faudio 19.09, Ubuntu 19.04 5.0.0.25-generic, i7-7700K and GTX1080 ti

Kron4ek commented 5 years ago

You can try to use native FAudio library (libFAudio.so) instead of MinGW (dll) build, maybe that will fix your issue. In case of native library, you don't need to set overrides for x3daudio/xaudio. There is a PPA (not mine) for Ubuntu 18.04/19.04/19.07.

As the developer of FAudio said here, MinGW builds gets the least attention, so i suppose they might be more buggy.

MinGW builds are useful when, for example, you use old Wine version (older than 4.3) that doesn't support FAudio natively or if there is no way to install native FAudio. Otherwise it's better you use native FAudio.

Zemogiter commented 5 years ago

So what I need to do is to remove the wineprefix and try again but this time using the native FAudio library from that PPA instead of the MinGW build?

Kron4ek commented 5 years ago

Yes, that's right. Install native FAudio from PPA and recreate wineprefix, and this time don't set x3daudio/xaudio overrides in winecfg.

Actually you can just remove all xaudio related overrides from winecfg and Wine should use native FAudio after that, but it's more reliable to recreate wineprefix.

Zemogiter commented 5 years ago

Thank you. Problem solved.