WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 8 posts ] 



 
Author Message
 Post subject: no sound in Fallout 4
 Post Posted: Wed Apr 04, 2018 11:57 am 
Offline
Level 3
Level 3

Joined: Fri Oct 07, 2011 6:25 am
Posts: 86
Location: The whacky, whacky realm of Australia
So. I'm trying to run Fallout 4 under wine 3.5 with basically a vanilla wine and a relatively new prefix. I have ubuntu 17.10, an nvidia 970 and latest drivers.
In previous wine versions, I had little issue with sound, however under 3.5 I'm getting no sound at all. From the moment the game starts, nothing.

I'm using export WINEDEBUG=-all,+alsa,+dsound, and am getting messages like this:
Code:
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
0034:trace:dsound:DllMain (0x7f76a80b0000 1 (nil))
0034:trace:dsound:DirectSoundCreate ((null),0x2e8048,(nil))
0034:trace:dsound:IDirectSoundImpl_Create ({279afa83-4981-11ce-a521-0020af0be560}, 0x23f9d0)
0034:trace:dsound:setup_dsound_options appname = [Fallout4.exe\DirectSound]
0034:trace:dsound:setup_dsound_options ds_hel_buflen = 65536
0034:trace:dsound:setup_dsound_options ds_hq_buffers_max = 4
0034:trace:dsound:setup_dsound_options ds_eax_enabled = 0
0034:trace:dsound:IUnknownImpl_QueryInterface (0x65d8f330,{279afa83-4981-11ce-a521-0020af0be560},0x23f9d0)
0034:trace:dsound:IDirectSound8Impl_AddRef (0x65d8f330) refds=1
0034:trace:dsound:IUnknownImpl_Release (0x65d8f330) ref=0
0034:trace:dsound:IDirectSound8Impl_Initialize (0x65d8f330, (null))
0034:trace:dsound:DirectSoundDevice_Initialize (0x65d8f358,(null))
0034:trace:dsound:GetDeviceID (DSDEVID_DefaultPlayback,0x23f8a0)
0034:trace:dsound:DirectSoundDevice_Create (0x23f890)
0034:trace:dsound:DSOUND_ReopenDevice (0x65d8f650, 0)
0034:trace:dsound:DSOUND_ReopenDevice period 2278 ms frag_frames 100441 buf_frames 3528
0034:trace:dsound:DSOUND_PrimaryOpen (0x65d8f650)
0034:trace:dsound:DSOUND_PrimaryOpen buflen: 65536, frames 3528
0056:trace:dsound:DSOUND_mixthread (0x65d8f650)
0034:trace:dsound:IDirectSound8Impl_SetCooperativeLevel (0x65d8f330,0x20038,DSSCL_PRIORITY)
0034:warn:dsound:IDirectSound8Impl_SetCooperativeLevel level=DSSCL_PRIORITY not fully supported
0034:trace:dsound:IDirectSound8Impl_GetCaps (0x65d8f330, 0x23fae0)
0034:trace:dsound:IDirectSound8Impl_GetCaps (flags=0x00000f5f:
0034:trace:dsound:_dump_DSCAPS DSCAPS_PRIMARYMONO DSCAPS_PRIMARYSTEREO DSCAPS_PRIMARY8BIT DSCAPS_PRIMARY16BIT DSCAPS_CONTINUOUSRATE DSCAPS_CERTIFIED DSCAPS_SECONDARYMONO DSCAPS_SECONDARYSTEREO DSCAPS_SECONDARY8BIT DSCAPS_SECONDARY16BIT )
0034:trace:dsound:IDirectSound8Impl_Release (0x65d8f330) refds=0
0034:trace:dsound:DirectSoundDevice_Release (0x65d8f650) ref was 1
0034:trace:dsound:DSOUND_PrimaryDestroy (0x65d8f650)
0034:trace:dsound:DirectSoundDevice_Release (0x65d8f650) released
0034:trace:dsound:directsound_destroy (0x65d8f330) released

That's all the sound related stuff from the terminal output.

Anyone know anything? Anything I can do?


Top 
 Post Posted: Wed Apr 04, 2018 5:07 pm 
Offline
Level 11
Level 11
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 1923
Location: Cambridge
ZombieRedShirt wrote:
So. I'm trying to run Fallout 4 under wine 3.5 with basically a vanilla wine and a relatively new prefix. I have ubuntu 17.10, an nvidia 970 and latest drivers.
In previous wine versions, I had little issue with sound, however under 3.5 I'm getting no sound at all. From the moment the game starts, nothing.
...


You would need to rebuild and patch Wine for this issue: WineHQ Bug 41271 - Fallout 4 - Audio issues (no sounds, hangs when playing intro video).

If this is too hard - I think the 3rd party Lutris ("Open Gaming Platform") can side-load a pre-patched version of Wine.

The sound issue does appear to a bit intermittent (it is a race condition). The game is doing some unorthodox things with it's Dsound handles:
Quote:
The game is essentially calling Initialize() and Release() in quick succession, with no other operations—i.e. it doesn't even seem to be explicitly playing any sound.

It's unlikely to get a proper fix, integrated into Wine, anytime soon.

Bob


Top 
 Post Posted: Thu Apr 05, 2018 2:38 am 
Offline
Level 3
Level 3

Joined: Fri Oct 07, 2011 6:25 am
Posts: 86
Location: The whacky, whacky realm of Australia
Bob, I have tried with and without the dsound patch, to no avail. It seems to make no difference.


Top 
 Post Posted: Thu Apr 05, 2018 5:18 pm 
Offline
Level 11
Level 11
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 1923
Location: Cambridge
ZombieRedShirt wrote:
Bob, I have tried with and without the dsound patch, to no avail. It seems to make no difference.


I get some sound in Fallout 4 - but I'm definitely missing some channels. Also channels can randomly drop out.
I think that's the best we've got - till someone wades in with some ninja multithreaded debugging skills.
There's clearly some nasty race conditions occurring at present. :cry:

Bob


Top 
 Post Posted: Thu Apr 05, 2018 7:09 pm 
Offline
Level 3
Level 3

Joined: Fri Oct 07, 2011 6:25 am
Posts: 86
Location: The whacky, whacky realm of Australia
It's weird. Sound worked fine in wine 3.3, and sort of worked in 3.4. Don't know what's going on now.


Top 
 Post Posted: Sun Apr 08, 2018 6:15 pm 
Offline
Newbie
Newbie

Joined: Wed Jan 30, 2013 12:42 am
Posts: 1
In my experience with wine 3.5 I can get full sound in the menu and a SHORT time in game, then it just fails or a sound starts repeating over and over...

ubuntu 16.04 Nvidia 970

and my wine is compiled with the dsound patch

my wine prefix, has xact, d3dcompiler_43 d3dx11, d3dx10, d3dx9, and directx9.


Top 
 Post Posted: Thu May 24, 2018 3:04 am 
Offline
Newbie
Newbie

Joined: Thu May 24, 2018 3:00 am
Posts: 2
I have sound working with wine3.8 and patches to fix the black screen issue. (dxvk)

The problem I get is the audio will cut out after 30-60minutes (in combat often) and at the same time certain keys fail to work, such as TAB.

Quite a random issue, might be related to my USB Sound Blaster 5.1 setup, have tried changing pulse latency 40ms seems to help a tiny bit, gonna try 60ms and see what happens.

Might not be related to latency issues.


Top 
 Post Posted: Wed Jun 13, 2018 11:00 pm 
Offline
Level 1
Level 1

Joined: Wed Jul 05, 2017 2:29 am
Posts: 9
Bob Wya wrote:
ZombieRedShirt wrote:
Bob, I have tried with and without the dsound patch, to no avail. It seems to make no difference.


I get some sound in Fallout 4 - but I'm definitely missing some channels. Also channels can randomly drop out.
I think that's the best we've got - till someone wades in with some ninja multithreaded debugging skills.
There's clearly some nasty race conditions occurring at present. :cry:

Bob


Something about Fallout 4 HowTo:
Code:
export PULSE_LATENCY_MSEC=60

This setting may mute "Test Sound" in winecfg.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 8 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 13 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: