[0.16.36][linux] Crash on creating display output

This subforum contains all the issues which we already resolved.
Post Reply
fatjake
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 09, 2018 11:26 pm
Contact:

[0.16.36][linux] Crash on creating display output

Post by fatjake »

The game will not launch at all, all I see is the little "Preparing to launch.." window appear for a second and then in the library next to Factorio it says "Running" for about 20 seconds before that disappears as well. Any help would be appreciated, I've spent about three hours on this and the only solution is to go to one monitor, would rather not.

Important details:
-Ubuntu 16.04 up-to-date
-nvidia drivers 390.48
-Dual-monitor setup using randr method
-I deleted the config in .factorio as a shot-in-the-dark fix attempt
-Game worked fine when I bought it, but I had dual monitors configured differently using the xinerama method. That method is not really recommended these days and I disabled it (which means I am using xrandr method now).
-I started with Steam version but I am now on latest non-steam version, but it is the same
-I've also tried preferred-screen-index=0 preferred-screen-index=1 etc etc to no avail
-This is the only application or game that seems to have an issue with the dual screens

Here is the factorio-current.log

Code: Select all

   0.000 2018-04-09 18:22:41; Factorio 0.16.36 (build 36253, linux64, alpha)
   0.045 Operating system: Linux (Ubuntu 16.04)
   0.045 Program arguments: "/home/neder/Downloads/factorio/bin/x64/factorio" 
   0.045 Read data path: /home/neder/Downloads/factorio/data
   0.045 Write data path: /home/neder/Downloads/factorio [173541/439731MB]
   0.045 Binaries path: /home/neder/Downloads/factorio/bin
   0.055 System info: [CPU: Intel(R) Xeon(R) CPU           X5680  @ 3.33GHz, 12 cores, RAM: 12005 MB]
   0.055 Environment: DISPLAY=:0.0, WAYLAND_DISPLAY=<unset>
   0.552 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.597 Error CrashHandler.cpp:520: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
   5.169 Warning Logger.cpp:483: Symbols.size() == 23, usedSize == 17
#0  0x0000000000a7ad6d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/7/bits/unique_ptr.h:147
#1  0x00000000009a1bf1 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/7/bits/unique_ptr.h:337
#2  0x00000000009a2008 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/7/bits/unique_ptr.h:331
#3  0x00000000009a2059 in Logger::flush() at /tmp/factorio-build-wMleZS/src/Util/Logger.cpp:522
#4  0x00000000013894e8 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-wMleZS/src/Util/Logger.cpp:510
#5  0x0000000000011390 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-wMleZS/src/Util/CrashHandler.cpp:173
#6  0x00000000011a2a22 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-wMleZS/src/Util/CrashHandler.cpp:523
#7  0x000000000121779d in CrashHandler::firstChanceHandler(int, void*, void*) at /tmp/factorio-build-wMleZS/src/Util/CrashHandler.cpp:602
#8  0x0000000001212fb5 in google_breakpad::ExceptionHandler::SignalHandler(int, siginfo_t*, void*) at ??:?
#9  0x00000000004bdfd2 in ?? at ??:0
#10 0x0000000000991592 in _al_vector_ref at /tmp/factorio-build-wMleZS/libraries/Allegro/src/misc/vector.c:88
#11 0x0000000000992934 in xrandr_map_adapter at /tmp/factorio-build-wMleZS/libraries/Allegro/src/x/xrandr.c:299
#12 0x0000000000c41fdb in xrandr_get_monitor_info at /tmp/factorio-build-wMleZS/libraries/Allegro/src/x/xrandr.c:666
#13 0x0000000000c6fb0e in _al_xglx_get_monitor_info at /tmp/factorio-build-wMleZS/libraries/Allegro/src/x/xfullscreen.c:929
#14 0x0000000000427a4e in Display::getPrimaryDisplayIndex() at /tmp/factorio-build-wMleZS/src/Graphics/Display.cpp:463
#15 (nil) in Display::getGlobalDisplayPreferredScreenIndex() at /tmp/factorio-build-wMleZS/src/Graphics/Display.cpp:432
#16 0x000000000042c27f in Display::Display(short, short) at /tmp/factorio-build-wMleZS/src/Graphics/Display.cpp:105
Stack trace logging done
   9.714 Warning Logger.cpp:483: Symbols.size() == 18, usedSize == 16
   9.714 Error Util.cpp:67: 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.
   9.729 Info CrashHandler.cpp:615: Wrote minidump to /home/neder/Downloads/factorio/factorio-dump-current.dmp
xrandr info:

Code: Select all

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
   624x464       59.95  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    59.94    50.00    29.97    25.00    23.98  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
Attachments
factorio-dump-current.dmp
Dump file
(176.45 KiB) Downloaded 67 times

fatjake
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 09, 2018 11:26 pm
Contact:

Re: [16.36][linux] Crash on creating display output

Post by fatjake »

I want to mention that I actually stopped using xinerama multihead configuration for a specific reason and not only because it is generally not the preferred method these days. I ran into this problem (I am "neder" here).
https://github.com/MrAlex94/Waterfox/issues/510
So I am basically in a situation where I set up dual monitors and then bought factorio and factorio was good, then a day later I realize that my web browser is crashing all the time. I figure that out and fix it. Then factorio won't work because I changed my screen config to something generally preferable that fixed the web browser issue.

So I feel like a ahem to ask for help when I could just disable a monitor and it works or whatever but I would like to try to see it it can work with dual monitors properly. It is funny how dual monitors STILL causes this many issues in linux sometimes. Realistically if I can't get it to work with the dual monitors I probably won't play it as much :(

dee-
Filter Inserter
Filter Inserter
Posts: 414
Joined: Mon Jan 19, 2015 9:21 am
Contact:

Re: [16.36][linux] Crash on creating display output

Post by dee- »

NVIDIA seems to be the one to blame:
viewtopic.php?f=7&t=59282#p355893

fatjake
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 09, 2018 11:26 pm
Contact:

Re: [16.36][linux] Crash on creating display output

Post by fatjake »

dee- wrote:NVIDIA seems to be the one to blame:
viewtopic.php?f=7&t=59282#p355893
Nice, I don't know how I missed that in my previous searches. These recent nvidia driver releases have had a number of different issues but I thought the last one was good, I guess think again! I'll roll back my drivers and report back later.

fatjake
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 09, 2018 11:26 pm
Contact:

Re: [0.16.36][linux] Crash on creating display output

Post by fatjake »

I ended up deciding to just goto one monitor whenever I want to play this. Rolling back the driver wants to remove a bunch of other packages that I need and I don't want to sort all of that out. I'm going to keep an eye on this and if the next 390.x driver release has the same problem I'll make a thread for a bug report on the nvidia dev forum and also update here.

fatjake
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 09, 2018 11:26 pm
Contact:

Re: [0.16.36][linux] Crash on creating display output

Post by fatjake »

I just wanted to note that this issue did resolve upon the installation of the newest nvidia drivers 390.59

Post Reply

Return to “Resolved Problems and Bugs”