Factorio not launching from Steam on Linux (Ubuntu 24.04) -> workaround using Legacy Runtime

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Llama1
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Feb 20, 2020 8:46 pm
Contact:

Factorio not launching from Steam on Linux (Ubuntu 24.04) -> workaround using Legacy Runtime

Post by Llama1 »

Today I ran into a problem launching Factorio from Steam on Linux, and I wanted to post the workaround I found.

I normally play Factorio through Steam on Linux (Ubuntu 24.04), and until yesterday everything was working normally. Today when I pressed Play in Steam, the game would sync the cloud and the button would briefly change to Cancel / Stop as if the game had started, but then it would immediately return to Play. The splash screen never appeared and no log file was generated in the usual .factorio directory. I saw three processes launch: reaper , pressure-vessel-wrap, and scout-on-soldier-entry-point-v2. The factorio process didn't seem to start.

I tried the usual troubleshooting steps first. I verified the game files through Steam, and I also switched between the stable and experimental branches, but neither of those changed the behavior. I also downloaded the standalone zip version of Factorio from the website and that version ran perfectly, which suggested the game itself was fine and the issue was related to the Steam launch environment.

What eventually fixed the problem was changing the compatibility runtime used by Steam. In Steam :arrow: Properties :arrow: Compatibility, selecting Legacy Runtime 1.0 allowed the game to launch normally again. When using the default runtime, Steam Linux Runtime 1.0 (scout), the game failed to start.

While investigating, I tried launching Factorio manually through the Steam runtime wrapper. Doing that produced the following error:

Code: Select all

pressure-vessel-wrap: E: Child process exited with code 1:
bwrap: setting up uid map: Permission denied
At the moment, simply using Linux Runtime 1.0 (Legacy) works for me.
User avatar
Nosferatu
Filter Inserter
Filter Inserter
Posts: 289
Joined: Fri Jan 20, 2017 4:48 pm
Contact:

Re: Factorio not launching from Steam on Linux (Ubuntu 24.04) -> workaround using Legacy Runtime

Post by Nosferatu »

Is your steam installed through snap?
User avatar
pioruns
Filter Inserter
Filter Inserter
Posts: 268
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: Factorio not launching from Steam on Linux (Ubuntu 24.04) -> workaround using Legacy Runtime

Post by pioruns »

You seem to be playing a Windows version of the game through Steam compatibility layer (Proton), meanwhile Wube has released a game natively for Linux.
Which is more effecient and stable? I think the latter, and that's what you should consider.
Post Reply

Return to “Technical Help”