[Bug 41271] New: Fallout 4 - Audio issues (no sounds, hangs when playing intro video)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 4 11:30:28 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=41271

            Bug ID: 41271
           Summary: Fallout 4 - Audio issues (no sounds, hangs when
                    playing intro video)
           Product: Wine
           Version: 1.9.18
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: xaudio2
          Assignee: wine-bugs at winehq.org
          Reporter: kimmo.myllyvirta at gmail.com
      Distribution: ---

Created attachment 55571
  --> https://bugs.winehq.org/attachment.cgi?id=55571
1.9.18 logs

This could be dupe of bug #36977, but also hits bug #39402 possibly some others
too. But since I can't find a decent workaround which works for Fallout 4, it
might be ok to open a new bug. Not quite sure if the component is correct,
either xaudio2 or dsound anyway.
A bunch of logs attached, see below what they mean.

Steam version of the game, only Steam and Fallout 4 installed to a clean
prefix. Steam installs xact from _CommonRedist when first time launching the
game.

When the game is started it hangs when it should play the intro video;
+tid,+dsound log attached (Log: fo4_tid_dsound.txt, +tid,+dsound). This could
be bug #36977, since the game uses radgametools bink.

With builtin xaudio2_7 the intro video works sometimes (extremely rarely, sorry
I don't have decent log of this). But after the video is finished it will
always hang after;
warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!
when it tries to play the music for the main menu. (see bug #39402)

With xaudio2_7 set to disabled the intro video works, but again extremely
rarely. And it results to no sounds in Fallout 4 since bink player uses dsound,
but Fallout 4 itself doesn't, it seems. There is "sAudioAPI=XAudio2" setting in
Fallout4.ini, but it is a legacy setting. I can't find any indication of it
supporting anything else than xaudio2 (on older Bethesda games there was other
options available).

Now the weird hack part;
Since this feels like a race condition, I added usleep(100000) to the beginning
of IDirectSound8Impl_Release, which seems to help a lot (this issue might not
have anything to do with dsound release, that's just the first place I tried);
- native xaudio2: the intro video works, and the music in main menu plays ok,
always - success :)
  (Log: fo4_tid_dsound_sleep_hack.txt, +tid,+dsound )
- builtin xaudio2_7: the intro video works, but the music in main menu doesn't
and the game hangs (as expected) after;
  warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!
  (Log: fo4_tid_dsound_xaudio2_sleep_hack_builtin_xaudio2_7.txt,
+tid,+dsound,+xaudio2 )
- disable xaudio2_7: the intro video works, no music in the main menu, but the
game doesn't hang
  (Log: fo4_tid_dsound_sleep_hack_disable_xaudio2_7, +tid,+dsound )

Notes;
- The main menu is just a black screen (lots of d3d11 fixmes in those logs),
you just have to listen and imagine you are there :)
- I also tried xact and xact_jun2010 with winetricks - those make no
difference, works just like the xact shipped with the game

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list