Page 1 of 1

[2.0.47] [Linux] Factorio plays no sound, and breaks sound on rest of computer

Posted: Fri May 30, 2025 1:35 pm
by max@foorack.com
Difficult bug to describe, but will try. Originally reported: https://steamcommunity.com/app/427520/d ... 589480986/

When starting Factorio 2.0, sound will SOMETIMES work. When it does, everything is fine. But at completely random times the sound just stops - and when it does it takes the whole OS sound system with it. YouTube or anything else playing will abruptly die as well. Trying to play anything (e.g. a YouTube) video will make it stuck with a Spinning Loader. After "a while" Factorio sound will start working again, at which point the collective sound that it has tried to play over the last couple of minutes will all come back at once, causing a massive sudden explosion of sound.

Trying to close Factorio in the "audio broken" state will always make it crash with a popup saying "Factorio is not responding" where I have to select "Force Quit". Pressing Force Quit will usually cause the same audio-explosion as mentioned above.

This is only an issue in Factorio 2.0 and never happened in Factorio 1.x.

Running Ubuntu 24.04 with Pipewire as audio system.
05-30-2025, 14-47-07.png
05-30-2025, 14-47-07.png (120.06 KiB) Viewed 498 times

Re: [2.0.47] [Linux] Factorio plays no sound, and breaks sound on rest of computer

Posted: Fri May 30, 2025 3:26 pm
by Loewchen
Post the log of a session with the issue please, see 3638.

Re: [2.0.47] [Linux] Factorio plays no sound, and breaks sound on rest of computer

Posted: Fri May 30, 2025 5:07 pm
by max@foorack.com
Here is log of last session lasting about 1 minute. All sound died computer-wide during Factorio game boot, and the game ultimately crashed when I tried to change Preferred Output under settings.

Re: [2.0.47] [Linux] Factorio plays no sound, and breaks sound on rest of computer

Posted: Fri May 30, 2025 5:13 pm
by max@foorack.com
And here is just opening the game (audio works fine), clicking around in the menu a bit (audio still works fine), reloading youtube (this breaks audio system wide), trying to Exit Factorio (this causes factorio to hang and crash), and Force Quitting the process (this recovers audio system-wide).

The audio crashing bug is exclusively seen when Factorio is running.

Re: [2.0.47] [Linux] Factorio plays no sound, and breaks sound on rest of computer

Posted: Mon Jun 02, 2025 11:36 am
by Donion
Just looking at the logs, there is no issue visible on the Factorio side. This might suggest a driver issue. You can try switching the preferred audio driver from pulseaudio (default) to pipewire.