Not launching on Ubuntu 16.04 [0.14.17]

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
kagetsuki
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 30, 2016 3:27 am
Contact:

Not launching on Ubuntu 16.04 [0.14.17]

Post by kagetsuki »

I'm trying to run factorio off of Steam on Ubuntu 16.04 but I'm getting the following error:

Code: Select all

   0.000  Initializing Steam API.
   0.000 2016-10-30 12:22:06; Factorio 0.14.17 (build 25256, linux64, steam)
   0.095 Operating system: Linux (Ubuntu 16.04)
   0.095 Program arguments: "/home/zero/.steam/SteamApps/common/Factorio/bin/x64/factorio" 
   0.096 Read data path: /home/zero/.steam/SteamApps/common/Factorio/data
   0.096 Write data path: /home/zero/.factorio
   0.096 Binaries path: /home/zero/.steam/SteamApps/common/Factorio/bin
   0.106 System info: [CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz, 8 cores, RAM: 12006MB]
   0.107 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.187 Error CrashHandler.cpp:230: Received SIGSEGV
   1.167 Warning Logger.cpp:369: Symbols.size() == 14, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
   1.977 Warning Logger.cpp:369: Symbols.size() == 13, usedSize == 12
#0  0x00000000005c4f8b in CrashHandler::writeStackTrace() at /tmp/factorio-PBoC3p/src/Util/CrashHandler.cpp:105
#1  0x00000000005c5224 in CrashHandler::SignalHandler(int) at /tmp/factorio-PBoC3p/src/Util/CrashHandler.cpp:235
#2  0x00007f122cab24b0 in ?? at ??:0
#3  0x0000000000e7cfa7 in xrandr_query at /tmp/factorio-PBoC3p/libraries/Allegro/src/x/xrandr.c:397
#4  0x0000000000e77635 in _al_xsys_xrandr_init at /tmp/factorio-PBoC3p/libraries/Allegro/src/x/xrandr.c:819
#5  0x0000000000e78345 in init_mmon_interface at /tmp/factorio-PBoC3p/libraries/Allegro/src/x/xfullscreen.c:738
#6  0x0000000000693dcb in _al_xglx_get_monitor_info at /tmp/factorio-PBoC3p/libraries/Allegro/src/x/xfullscreen.c:916
#7  0x0000000000c68ee4 in GlobalContext::loadAllegro() at /tmp/factorio-PBoC3p/src/GlobalContext.cpp:613
#8  0x0000000000c837d6 in GlobalContext::init(bool, bool, bool) [clone .constprop.73039] at /tmp/factorio-PBoC3p/src/GlobalContext.cpp:314
#9  0x0000000000cfb6dc in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, bool, std::function<void ()>, boost::filesystem::path const&, MainLoop::HeavyMode) at /tmp/factorio-PBoC3p/src/MainLoop.cpp:158
#10 0x00007f122ca9d830 in main at /tmp/factorio-PBoC3p/src/Main.cpp:814
#11 0x000000000040b1a9 in ?? at ??:0
   1.977 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Nothing is ever displayed and there's a hanging factorio process I have to kill manually. I'd like to provide a full log file but apparently it's not being generated (Steam issue?). I'm running a basic i7 system with an nvidia GTX 650 and the proprietary nvidia modules.

Loewchen
Global Moderator
Global Moderator
Posts: 8971
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Not launching on Ubuntu 16.04 [0.14.17]

Post by Loewchen »

It is crashing before even creating display output.
How many displays do you have connected? If more than one, try disconnecting all except one.

kagetsuki
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 30, 2016 3:27 am
Contact:

Re: [Posila] Not launching on Ubuntu 16.04 [0.14.17]

Post by kagetsuki »

I've got 3 displays, but disconnecting them isn't really feasible. I'm guessing this is a known bug? Is there a plan to fix it?

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Posila] Not launching on Ubuntu 16.04 [0.14.17]

Post by posila »

Hi, thanks for the report.
It definitely is not known issue. I patched the crash at the line indicated in the crash log, but it still might crash later is some different xrandr related logic. I don't know what is causing it.

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Posila] Not launching on Ubuntu 16.04 [0.14.17]

Post by posila »

Hi, 0.14.18 was released. Can you try it again?

kagetsuki
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 30, 2016 3:27 am
Contact:

Re: [Posila] Not launching on Ubuntu 16.04 [0.14.17]

Post by kagetsuki »

No dice:

Code: Select all

   0.000  Initializing Steam API.
   0.154 2016-11-05 18:01:29; Factorio 0.14.19 (build 25291, linux64, steam)
   0.277 Operating system: Linux (Ubuntu 16.04)
   0.278 Program arguments: "/home/zero/.steam/SteamApps/common/Factorio/bin/x64/factorio" 
   0.279 Read data path: /home/zero/.steam/SteamApps/common/Factorio/data
   0.279 Write data path: /home/zero/.factorio
   0.279 Binaries path: /home/zero/.steam/SteamApps/common/Factorio/bin
   0.413 System info: [CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz, 8 cores, RAM: 12006MB]
   0.547 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.704 Error CrashHandler.cpp:230: Received SIGSEGV
   2.947 Warning Logger.cpp:369: Symbols.size() == 15, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
   3.741 Warning Logger.cpp:369: Symbols.size() == 14, usedSize == 12
#0  0x00000000005c4eeb in CrashHandler::writeStackTrace() at /tmp/factorio-NPIfns/src/Util/CrashHandler.cpp:105
#1  0x00000000005c5184 in CrashHandler::SignalHandler(int) at /tmp/factorio-NPIfns/src/Util/CrashHandler.cpp:235
#2  0x00007f96728624b0 in ?? at ??:0
#3  0x0000000000e7db6c in xrandr_fetch_crtc at /tmp/factorio-NPIfns/libraries/Allegro/src/x/xrandr.c:247
#4  0x0000000000e782a5 in xrandr_query at /tmp/factorio-NPIfns/libraries/Allegro/src/x/xrandr.c:390
#5  0x0000000000e78fb5 in _al_xsys_xrandr_init at /tmp/factorio-NPIfns/libraries/Allegro/src/x/xrandr.c:828
#6  0x000000000069303b in init_mmon_interface at /tmp/factorio-NPIfns/libraries/Allegro/src/x/xfullscreen.c:738
#7  0x0000000000c69a44 in _al_xglx_get_monitor_info at /tmp/factorio-NPIfns/libraries/Allegro/src/x/xfullscreen.c:916
#8  0x0000000000c84336 in GlobalContext::loadAllegro() at /tmp/factorio-NPIfns/src/GlobalContext.cpp:613
#9  0x0000000000cfc34d in GlobalContext::init(bool, bool, bool) [clone .constprop.73048] at /tmp/factorio-NPIfns/src/GlobalContext.cpp:314
#10 0x00007f967284d830 in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, bool, std::function<void ()>, boost::filesystem::path const&, MainLoop::HeavyMode) at /tmp/factorio-NPIfns/src/MainLoop.cpp:158
#11 0x000000000040b1a9 in main at /tmp/factorio-NPIfns/src/Main.cpp:815
   3.757 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Posila] Not launching on Ubuntu 16.04 [0.14.17]

Post by posila »

Unfortunately I am not able to reproduce the issue. I had fresh install of Ubuntu 16.04.1 LTS. I version that we provide on website, because I was not able to get network to work for some strange reason.
Do you use some virtual desktop manager or something related to screens/desktops that is not present in fresh install of Ubuntu?

Oxyd, can you take a look at this?

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

Re: [Oxyd] Not launching on Ubuntu 16.04 [0.14.17]

Post by Oxyd »

I've had no luck reproducing it either.

We'll need more information. What desktop environment are you using? Can you reproduce it if you only leave one display enabled? What driver version do you have? And if you don't have the latest version, does updating the driver change anything? Does it still crash with the open-source NVidia driver? Is this a single-GPU system or do you use SLI? Anything else that might be related?

kagetsuki
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 30, 2016 3:27 am
Contact:

Re: [Oxyd] Not launching on Ubuntu 16.04 [0.14.17]

Post by kagetsuki »

Sorry for the late reply.

This is a fresh install of 16.04 using Gnome shell. I have two graphics cards running a triple head setup. Out of curiosity I disabled the second card with the third head but the error was the same. I then disconnected the second head on the first card and again the error was the same. Frustrated, I reconnected all the heads and removed the proprietary nvidia driver, then tried with noveau and it started up! The problem now is that it locks up - I'll try and capture the new error now; but as it is probably unrelated to this I suspect I should post it in a new thread and close this one?

As for this issue, it's fairly obvious to me it has something to do with the proprietary nvidia driver - but seeing as to how there must be other Ubuntu users with nvidia cards out there I'm guessing it's a combination between the propritary nvidia driver and perhaps gnome-shell?

Feel free to close this thread - I'll be running noveau for a bit to try it out anyway so I don't suspect I'll run into this specific problem again.

radeor
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Feb 24, 2015 7:36 pm
Contact:

Re: Not launching on Ubuntu 16.04 [0.14.17]

Post by radeor »

This problem is currently affecting me on 0.14.21. I have 2 X Servers each running on their own NVIDIA card (not-SLI'd as my motherboard doesn't support it).
Each X servers / card has 3 monitors so 6 monitors total. I'll try disabling one of them and report back.

radeor
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Feb 24, 2015 7:36 pm
Contact:

Re: Not launching on Ubuntu 16.04 [0.14.17]

Post by radeor »

Here is my stacktrace btw

Code: Select all

factorio 
   0.000 2016-12-26 12:20:17; Factorio 0.14.21 (build 25327, linux64, alpha)
   0.032 Operating system: Linux (Ubuntu 14.04)
   0.032 Program arguments: "XXX/opt/factorio/current/bin/x64/factorio" 
   0.032 Read data path: XXX/opt/factorio/current/data
   0.032 Write data path: XXX/opt/factorio/current
   0.032 Binaries path: XXX/opt/factorio/current/bin
   0.038 System info: [CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 8 cores, RAM: 32105MB]
   0.039 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.085 Error CrashHandler.cpp:230: Received SIGSEGV
   0.568 Warning Logger.cpp:369: Symbols.size() == 15, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
   1.037 Warning Logger.cpp:369: Symbols.size() == 14, usedSize == 12
#0  0x000000000063251b in writeStackTrace at /tmp/factorio-ZKDrW7/src/Util/CrashHandler.cpp:105
#1  0x00000000006327b4 in SignalHandler at /tmp/factorio-ZKDrW7/src/Util/CrashHandler.cpp:235
#2  0x00007f958d10dcb0 in ?? at ??:0
#3  0x0000000000e88fec in xrandr_fetch_crtc at /tmp/factorio-ZKDrW7/libraries/Allegro/src/x/xrandr.c:247
#4  0x0000000000e83725 in xrandr_query at /tmp/factorio-ZKDrW7/libraries/Allegro/src/x/xrandr.c:390
#5  0x0000000000e84435 in _al_xsys_xrandr_init at /tmp/factorio-ZKDrW7/libraries/Allegro/src/x/xrandr.c:828
#6  0x0000000000694a6b in init_mmon_interface at /tmp/factorio-ZKDrW7/libraries/Allegro/src/x/xfullscreen.c:738
#7  0x0000000000c756d1 in _al_xglx_get_monitor_info at /tmp/factorio-ZKDrW7/libraries/Allegro/src/x/xfullscreen.c:916
#8  0x0000000000c8f5d1 in loadAllegro at /tmp/factorio-ZKDrW7/src/GlobalContext.cpp:613
#9  0x0000000000d0747f in init at /tmp/factorio-ZKDrW7/src/GlobalContext.cpp:314
#10 0x00007f958d0f8f45 in run at /tmp/factorio-ZKDrW7/src/MainLoop.cpp:158
#11 0x000000000040ada9 in main at /tmp/factorio-ZKDrW7/src/Main.cpp:815
   1.037 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
^C 217.015 Received SIGINT, shutting down

Post Reply

Return to “1 / 0 magic”