Page 1 of 1

[1.1.107] Audio is disabled from startup due to some initialization error.

Posted: Sat Jun 08, 2024 2:55 pm
by ikkiG
Screenshot 2024-06-08 at 17.45.37.png
Screenshot 2024-06-08 at 17.45.37.png (1.18 MiB) Viewed 638 times
Haven't played in a couple weeks so can't be 100% certain about exact timeframe but at least I can't recall this ever happening in the past.
Don't recall changing any audio related settings. No other issues with audio in any other apps.
As an expiriment I tried connecting headphones via bluethooth and I can't even see them as an option in settings.
Can't really think of any causes on my side, reinstalling had no effect, haven't done any troubleshooting myself.

The relevant portion of the log seems to be this(?):
1.415 Warning SoundInterfaceSDL.cpp:170: Opening "Default device" audio device failed (backend:default, depth:16, freq:44100)
1.415 Warning SoundInterfaceSDL.cpp:171: CoreAudio error (AudioQueueStart): -66680
1.415 Retrying with default audio device...
1.415 Warning SoundInterfaceSDL.cpp:170: Opening "Default device" audio device failed (backend:default, depth:16, freq:44100)
1.415 Warning SoundInterfaceSDL.cpp:171: CoreAudio error (AudioQueueStart): -66680
1.415 Retrying with default audio device...

Re: [1.1.107] Audio is disabled from startup due to some initialization error.

Posted: Sun Jun 09, 2024 4:32 pm
by GrumpyJoe
Look if patching to 1.1.108+ fixes this

.108 had a fix to an audio problem

Re: [1.1.107] Audio is disabled from startup due to some initialization error.

Posted: Mon Jun 10, 2024 4:59 am
by ikkiG
1.1.108 and 1.1.109 the issue persists, don't see any changes in log file either.
Reverting to 1.1.87 isn't enough to fix it apparently, 1.0.0 works and I also know I've been playing on 1.1 for months without issues so I'd assume the problem appeared somewhere between those points.

Re: [1.1.107] Audio is disabled from startup due to some initialization error.

Posted: Mon Jun 10, 2024 8:43 am
by Donion
Hello,

From the logs and what you're saying it seems like Factorio is unable to see/access the audio device(s). This is the first time I'm seeing such issue so there might be something specific to your system causing this, but I don't know that that could be.

There's not much I can do on the Factorio side if the driver cannot see/access the audio device.

Can you try using the following launch option in steam:
--audio-driver allegro
This would change the audio backend and audio driver used by Factorio.

Re: [1.1.107] Audio is disabled from startup due to some initialization error.

Posted: Mon Jun 10, 2024 4:36 pm
by ikkiG
That did the trick, looks like everything works this way, thx.