[0.16.51] Crash on start: "Couldn't get CRTC"

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.
xalib
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jul 21, 2018 5:10 pm
Contact:

[0.16.51] Crash on start: "Couldn't get CRTC"

Post by xalib »

Can't get the game to work, crashing on startup with these lines:

Code: Select all

 0.000 2018-07-21 19:07:11; Factorio 0.16.51 (build 36654, linux64, steam)
   0.175 Operating system: Linux (Debian testing)
   0.175 Program arguments: "/media/work/Steam/steam/steamapps/common/Factorio/bin/x64/factorio" "windowed" 
   0.175 Read data path: /media/work/Steam/steam/steamapps/common/Factorio/data
   0.175 Write data path: /home/xalib/.factorio [95331/206899MB]
   0.175 Binaries path: /media/work/Steam/steam/steamapps/common/Factorio/bin
   0.187 System info: [CPU: Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz, 8 cores, RAM: 32109 MB]
   0.187 Environment: DISPLAY=:0.1, WAYLAND_DISPLAY=<unset>
   0.188 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: de]
   0.349 xrandr_fetch_crtc: Couldn't get CRTC with id 442
   0.349 xrandr_fetch_crtc: Couldn't get CRTC with id 444
   0.349 Error CrashHandler.cpp:522: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0x961898, 0xa81ebd, 0x9a9f01, 0x9aa338, 0x9aa389, 0x137f228, 0x11f50, 0x1219b8b, 0x1214677, 0x99aaa7, 0xc383c5, 0xc7278e, 0x428955, 0, 0x42c8df
   3.839 Warning Logger.cpp:494: Symbols.size() == 21, usedSize == 14
#0  0x0000000000a81ebd in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/7/bits/unique_ptr.h:147
#1  0x00000000009a9f01 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/7/bits/unique_ptr.h:337
#2  0x00000000009aa338 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/7/bits/unique_ptr.h:331
#3  0x00000000009aa389 in Logger::flush() at /tmp/factorio-build-W6I4O6/src/Util/Logger.cpp:533
#4  0x000000000137f228 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-W6I4O6/src/Util/Logger.cpp:521
#5  0x0000000000011f50 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:173
#6  0x0000000001219b8b in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:525
#7  0x0000000001214677 in CrashHandler::firstChanceHandler(int, void*, void*) at /tmp/factorio-build-W6I4O6/src/Util/CrashHandler.cpp:604
#8  0x000000000099aaa7 in google_breakpad::ExceptionHandler::SignalHandler(int, siginfo_t*, void*) at ??:?
#9  0x0000000000c383c5 in ?? at ??:0
#10 0x0000000000c7278e in xrandr_fetch_crtc at /tmp/factorio-build-W6I4O6/libraries/Allegro/src/x/xrandr.c:253
#11 0x0000000000428955 in xrandr_query at /tmp/factorio-build-W6I4O6/libraries/Allegro/src/x/xrandr.c:406
#12 (nil) in _al_xsys_xrandr_init at /tmp/factorio-build-W6I4O6/libraries/Allegro/src/x/xrandr.c:850
#13 0x000000000042c8df in init_mmon_interface at /tmp/factorio-build-W6I4O6/libraries/Allegro/src/x/xfullscreen.c:738
#14 (nil) in _al_xglx_get_monitor_info at /tmp/factorio-build-W6I4O6/libraries/Allegro/src/x/xfullscreen.c:916
#15 (nil) in GlobalContext::loadAllegro() at /tmp/factorio-build-W6I4O6/src/GlobalContext.cpp:905
#16 (nil) in GlobalContext::init(bool, bool, bool) at /tmp/factorio-build-W6I4O6/src/GlobalContext.cpp:444
#17 (nil) in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-W6I4O6/src/MainLoop.cpp:253
#18 (nil) in main at /tmp/factorio-build-W6I4O6/src/Main.cpp:1136
#19 (nil) in ?? at ??:0
#20 (nil) in _start at ??:?
Stack trace logging done
   7.135 Received SIGINT, shutting down
   7.153 Warning Logger.cpp:490: Couldn't symbolize stacktrace: (resolving symbol failed: fread). Make sure you have addr2line installed to produce better stacktraces
   7.153 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.
   7.168 Info CrashHandler.cpp:617: Wrote minidump to /home/xalib/.factorio/factorio-dump-current.dmp
I have a multi-display and multi-GPU setup..
Where to touch?
Last edited by xalib on Sun Jul 22, 2018 11:48 am, edited 4 times in total.
Loewchen
Global Moderator
Global Moderator
Posts: 10300
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash on startup [Linux]

Post by Loewchen »

Post the complete log.
xalib
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jul 21, 2018 5:10 pm
Contact:

Re: Crash on startup [Linux]

Post by xalib »

Sorry, you answered faster than I could edit..
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: [0.16.51] Crash on start: "Couldn't get CRTC"

Post by Koub »

You're not the first one to experience this :
viewtopic.php?f=35&t=35430
viewtopic.php?f=7&t=39206
https://steamcommunity.com/app/427520/d ... 109492033/

Seems the multi-monitor & linux is a common point for these crashes. Hope the devs will be able to find the source of the issue : they haven't been so far.
Koub - Please consider English is not my native language.
Zavian
Smart Inserter
Smart Inserter
Posts: 1655
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: [0.16.51] Crash on start: "Couldn't get CRTC"

Post by Zavian »

Even if they don't find the source, it's possible that the rendering rework that is coming in 0.17 might fix it.
Post Reply

Return to “Technical Help”