https://bugs.winehq.org/show_bug.cgi?id=45283
Bug ID: 45283 Summary: Fallout 4 in-game audio drop issues Product: Wine Version: 3.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: overlord.jarrard@gmail.com Distribution: ---
There is a problem with Fallout 4 (also maybe other Bethesda x64 titles) where the sound fx can drop out or crash where you only hear the background ambiance, and eventually nothing.
This problem is extremely sporadic and can happen a few minutes or hours after launch, it appears to be aggravated by actual special fx sounds such as explosions and gunshots but sometimes can happen when only ambiance is playing (rain/music).
Currently a few users have provided information regarding this issue and it does not appear to be directly alsa or pulseaudio related, fiddling with audio configurations in INI files such as threading or wine sound device selection gives the impression of reduced occurrence but this could be a false positive because sometimes I still get the bug after just launching the game.
Fiddling with pulse latency does not appear to affect the issue. xaudio2 dlls appear to be installed correctly, game works perfectly without any audio issues 'most' times.
This issue is unrelated to bug #41271.
The game runs fine with DXVK and is unplayable under normal Wine.
Currently seeking further information about this issue to see if its even fixable form wines end or is just a general FO4 game bug (it does have audio loop and freeze issues under windows also).
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #1 from Jarrard Lo overlord.jarrard@gmail.com --- It should be noted this issue only occurs while PLAYING the game. When I say launching I actually meant in-game.
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #2 from Luis Alvarado luisalvaradox@gmail.com --- Tested on 3.10 and yes, still happening. Ubuntu 18.04
The issue is random but it does happen.
https://bugs.winehq.org/show_bug.cgi?id=45283
alasky@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alasky@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=45283
darkskyabove darkskyabove@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |darkskyabove@gmx.com
--- Comment #3 from darkskyabove darkskyabove@gmx.com --- Linux * 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux nVidia 396.24-11
wine-staging 3.10 DXVK(-git) e35cbf8 x3daudio1_0-7, xaudio2_0-7, xapofx1_5 all set to native, builtin [all manually extracted and written to \system32] winegstreamer disabled audio driver = winealsa.drv audio defaults all set to correct device (ALC892 Analog) staging page = uncheck all auto mouse-capture on
Fallout.ini:
[General] bDisableAllGore=0 sIntroSequence=0 fChancesToPlayAlternateIntro=0 uMainMenuDelayBeforeAllowSkip=0 bPreloadIntroSequence=0 [ScreenSplatter] bBloodSplatterEnabled=0 [Display] bNvGodraysEnable=0 [Controls] fMouseHeadingXScale=.021 fMouseHeadingYScale=.03738 [only for 16:9] bMouseAcceleration=0 bBackgroundMouse=1 [ImageSpace] bDoRadialBlur=0
Fallout4Prefs.ini:
[Imagespace] bDoDepthOfField=0 bScreenSpaceBokeh=0
In my quest to resolve this issue, I tried turning off virtual desktop emulation. Game failed to start on first attempt. Started on second attempt. Toggled godmode. Loaded up on grenades and mini-nukes and fast-traveled around trying to re-create bug. Went to places where bug had happened multiple times. No inland locations bugged. Bug re-created at coastal location (Revere Beach). Will test again with no coastal locations.
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #4 from darkskyabove darkskyabove@gmx.com --- Addendum: With virtual desktop emulation off I'm getting triangle hell upon the death of most enemies. Was able to rampage across the (inland) map trying to trigger bug. Played for ~60 mins.
https://bugs.winehq.org/show_bug.cgi?id=45283
tim110011@163.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tim110011@163.com
--- Comment #5 from tim110011@163.com --- Equip your robot companion with dual gatlin laser then command it attack enemy. This usually prouduce "weapon sound loop issue", wait some minutes until "weapon sound loop" stop, it will evolve to "audio drop" issue". This "audio drop issue" often come with "can not interactive with npc" issue.
I am using nvidia driver 390.59 which is not supported by DXVK. @darkskyabove can you reproduce this?
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #6 from darkskyabove darkskyabove@gmx.com --- The triangle hell appears to be tied to gibs from corpses. (And I'm now using a player with all the Bloody Mess perks so I tend to create lots o' gibs.) Still random bug; not all corpse events cause audio problem, audio problem can occur with no overt activity (rain seems to increase probability).
I'll do some more tinkering like setting iPresentInterval = 0 to unlock framerate.
@tim110011: There are many "easier" ways to trigger bug, but that one sounds like a 100%-er, so thanks. Will not be downgrading my nVidia.
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #7 from darkskyabove darkskyabove@gmx.com --- Sorry for the necrobump (been playing Dark Souls III, which runs really well w/DXVK); even though I realize this isn't, specifically, a WINE bug, there have been improvements:
1. WINE fixed WMA conversion w/FFMPEG.
2. DXVK 0.64.
3. Upgraded Fallout 4 to 1.10.82 from 1.9 There was a patch that, supposedly, fixed the 'Sentry-Bot w/Gating Laser' audio cut-out bug.
4. nVidia 396.45.
----
Many, but not all, audio cut-outs have gone away.
The easiest test I came up with is to start a save file made before picking up the PIP-BOY in Vault 111. Turn on God-Mode and run to Cambridge Police Station. Up until now, this would result in a 'guaranteed' audio cut-out with the combination of Danse firing his Laser Rifle, my 10mm putting in work, and all the ghoul noise. After more than a dozen failures: success.
Other cut-out triggers that have mostly worked after updates:
Take all from containers Indoor Plasma Grenades
Rain is still a problem. Not by itself; by the equation rain + some sound event.
Due to most cut-outs occurring when particle effects are active, I changed Fallout4Prefs.ini:
[Particles] iMaxDesired=0
[Display] bEnableRainOcclusion=0
So far, so good, so what. (Heh...Heh...Hehhh)
Getting past Cambridge Police Station was AWWSSSOOOOMMMMMEEEEEE!!!!!!!
Started a new test. Played the game semi-seriously (set all ATTRS to 10, diff=VERY HARD) and played until raising my character to LVL 13 (in order to have a plush pistol: PLASMA INFUSED SUPPRESSED ADV RECON. (I would have preferred Stagger or Unlimited Ammo on a Legendary 10mm Pistol, but Plasma was pretty kewl. The glowing goo puddles make it easier to find lootable corpses in the dark. Oh, and to get the RECON, you have to make it to Bunker Hill and buy the Wastelander's Friend from Deb.)
Success. Through all the playtime it required getting to LVL 13 there were no cut-outs.
First cut-out occured in the Test-Fire Chamber in ArcJet. Instead of firing the rocket, I ran back to the chamber and engaged the synths with my plushie. Not only was an audio cut-out triggered by all the laser beams, I got rekt, and barely ducked back in time to avoid dying. Quicksaved, after healing... On reload, went and fired rocket engines: no cut-out.
My working hypothesis is that Fallout 4's Initialize()...Release() process is failing to sync when there are a certain number of a certain quality of particle.
https://bugs.winehq.org/show_bug.cgi?id=45283
Claus shanknet85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shanknet85@gmail.com
--- Comment #8 from Claus shanknet85@gmail.com --- Using the latest faudio implementation and latest wine-staging with faudio patch from https://github.com/Tk-Glitch/PKGBUILDS/tree/master/wine-tkg-git solved any sound dropping, there is still the occational sound buzzing and stuttering but its completely playable now, no crashes or anything. In case anyone can use this info now
https://bugs.winehq.org/show_bug.cgi?id=45283
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #9 from tim110011@163.com --- Same bug relate to ffmpeg? [WMA/XMA] FFmpeg does not decode correct sample block size https://github.com/FNA-XNA/FAudio/issues/95
https://bugs.winehq.org/show_bug.cgi?id=45283
--- Comment #10 from Jarrard Lo overlord.jarrard@gmail.com --- Just thought I mention that you can use FAudio but requires a bit of symlinking of linux dependencies, there are install scripts for the BASE files however.
I have FAudio working with Fallout76 and so far no audio issues, maybe it would resolve the audio drop problem in Fallout4 also?
https://bugs.winehq.org/show_bug.cgi?id=45283
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45283
Ethan Lee flibitijibibo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flibitijibibo@gmail.com
--- Comment #11 from Ethan Lee flibitijibibo@gmail.com --- Wine 4.3 includes the new FAudio-based XAudio2, so on Wine's side this should be RESOLVED FIXED. But, as the comments note, FAudio needs to be built with FFmpeg support for the xWMA data in the game.
https://bugs.winehq.org/show_bug.cgi?id=45283
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.14?
https://bugs.winehq.org/show_bug.cgi?id=45283
darkskyabove darkskyabove@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|darkskyabove@gmx.com |