[0.12.29] Linux - Game hangs at startup

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
paraboul
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Apr 29, 2016 6:08 pm
Contact:

[0.12.29] Linux - Game hangs at startup

Post by paraboul »

Hey,

I'm playing factorio (through steam) on updated archlinux (laptop) since about a month without any issue.
I don't know what was updated (archlinux has daily updates (rolling release)) and keep every package to the most recent version.

That being said, factorio stopped working this week. The screen just freez at startup (displaying a glitch of my desktop in place of the game).

factorio log file : http://pastebin.com/raw/2MR8HFGd
My config : http://pastebin.com/raw/60yQ7dNX
Mesa version : Mesa 11.2.1
Graphic drivers : xf86-video-intel 1:2.99.917+636+g562ae1f-1 (xorg-drivers xorg)

Also I attached `strace` to the process to see if it's stuck in a specific syscall and it appears to be the case :

Code: Select all

strace: Process 5486 attached
futex(0x7f6496d2d9d0, FUTEX_WAIT, 5487, NULL
FWIW, various other games are working properly (OpenGL and regular 2d games).

Thanks :)
Last edited by paraboul on Fri Apr 29, 2016 7:02 pm, edited 1 time in total.
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.29] Linux hang at startup

Post by Oxyd »

Does Steam itself work? Are you launching Factorio directly and letting it launch Steam, or do you run Steam and then click on the Factorio icon?
paraboul
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Apr 29, 2016 6:08 pm
Contact:

Re: [0.12.29] Linux hang at startup

Post by paraboul »

Steam works properly.

I tried both : launching from steam and launching the binary directly (which in turns starts steam). Same problem for both.
sillyfly
Smart Inserter
Smart Inserter
Posts: 1101
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by sillyfly »

I have recently had an inexplicable decline in performance (stuttering and long freezes) in Factorio on Debian Linux with Intel GPU. It turned out the problem was not using the KMS driver: viewtopic.php?f=49&t=21205

I'm not sure how this works in Arch, but it might be worth looking into.
paraboul
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Apr 29, 2016 6:08 pm
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by paraboul »

sillyfly wrote:I have recently had an inexplicable decline in performance (stuttering and long freezes) in Factorio on Debian Linux with Intel GPU. It turned out the problem was not using the KMS driver: viewtopic.php?f=49&t=21205

I'm not sure how this works in Arch, but it might be worth looking into.
Hey, thanks for the update.
Although here the game doesn't even launch (beside the window creation). Looking at strace it looks like a deadlock. I'd like to investigate further but can't debug the process since there is some black magic when steam starts the game. I'm going to try a debug against the steam-less demo version.

As a side note, the game was working properly just a week ago and I can't figure out which packet I updated recently.

Edit : the demo steam-less version runs just fine :?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by Oxyd »

paraboul wrote:As a side note, the game was working properly just a week ago and I can't figure out which packet I updated recently.
Look into your /var/log/pacman.log – it contains a history of package installations and updates.

I would also suspect your video drivers. I've seen this hang quite a few times and it always had something to do with my video drivers – the 32-bit version of video drivers, to be precise – remember that Steam itself is a 32-bit application. Though every time I saw this, it was Steam itself that wouldn't launch.
paraboul
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Apr 29, 2016 6:08 pm
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by paraboul »

Oxyd wrote:
paraboul wrote:As a side note, the game was working properly just a week ago and I can't figure out which packet I updated recently.
Look into your /var/log/pacman.log – it contains a history of package installations and updates.

I would also suspect your video drivers. I've seen this hang quite a few times and it always had something to do with my video drivers – the 32-bit version of video drivers, to be precise – remember that Steam itself is a 32-bit application. Though every time I saw this, it was Steam itself that wouldn't launch.
Tried various downgrade with no luck. The funny thing is that the demo version (steam less) is working properly. Might be an issue with the libraries Steam is loading.

I guess there is no way to download the standalone version with a version bought on steam?

Anyway, thanks for the help.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by daniel34 »

paraboul wrote:I guess there is no way to download the standalone version with a version bought on steam?
Yes, there is.
  • Make an account on factorio.com if you don't have one yet
  • Go to your profile page (click on your name on the top right)
  • Scroll down to connect your Steam account with your Factorio account
  • Now you can download the (DRM-free) standalone version
quick links: log file | graphical issues | wiki
paraboul
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Apr 29, 2016 6:08 pm
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by paraboul »

daniel34 wrote:
paraboul wrote:I guess there is no way to download the standalone version with a version bought on steam?
Yes, there is.
  • Make an account on factorio.com if you don't have one yet
  • Go to your profile page (click on your name on the top right)
  • Scroll down to connect your Steam account with your Factorio account
  • Now you can download the (DRM-free) standalone version
How awesome is that! :o

The game runs perfectly out of Steam. My guess is that since Steam embeds various libraries which are LD_PRELOAD'D, a recent steam update may have broken something somehow.

Thanks
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.29] Linux - Game hangs at startup

Post by Oxyd »

Since non-Steam version works for you and this appears to be a driver problem anyway, moving this to 1/0 magic.
Post Reply

Return to “1 / 0 magic”