Factorio

Factorio

View Stats:
scrooge34 Nov 5, 2023 @ 7:43am
Factorio won't start in linux
Maybe 3-4 weeks ago it worked fine, but now - maybe with v1.1.94 - it will not start anymore. After trying the usual things like repair, delete mods i did an uninstall, followed by reinstall. It did not help. Shader update worked and then the game is stoppped without further notification.
Are there already solutions in the field or hints?
< >
Showing 1-15 of 20 comments
brian_va Nov 5, 2023 @ 9:04am 
try starting from command line and see if it gives anything useful
right click the game and go to properties, files, then browse files i believe. in the bin, go to the x64 folder and if you right click you should have a open in terminal option (debian testing with cinnamon, you might not).
./factorio will start it
PunCrathod Nov 5, 2023 @ 5:11pm 
Without any logs all we can do is shoot in the dark but here goes anyway. Try disabling steam overlay. For some reason factorio sometimes refuses to start on linux if you have any overlays trying too hook into the game.
SiEgE Nov 6, 2023 @ 3:34am 
Originally posted by scrooge34:
Maybe 3-4 weeks ago it worked fine, but now - maybe with v1.1.94 - it will not start anymore. After trying the usual things like repair, delete mods i did an uninstall, followed by reinstall. It did not help. Shader update worked and then the game is stoppped without further notification.
Are there already solutions in the field or hints?
Do you have Wine? For me, Steam produces some strange behaviour, where it would redownload Windows launch files everytime my PC/Steam is restarted. Maybe your Steam is trying to launch the exe file?
scrooge34 Nov 6, 2023 @ 3:44am 
Good points from all of you. Here my results:
- overlay was already deactivated
- To avoid Windows exe I deselected "Compatibility=>Compatibility tools"
- log file:
0.000 2023-10-08 22:24:53; Factorio 1.1.91 (build 61680, linux64, steam)
0.070 Operating system: Linux (openSUSE 15.5)
0.000 Initializing Steam API.
0.070 Program arguments: "/home/noname/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio"
0.070 Config path: /home/noname/.factorio/config/config.ini
0.070 Read data path: /home/noname/.local/share/Steam/steamapps/common/Factorio/data
0.070 Write data path: /home/noname/.factorio [202178/1377834MB]
0.070 Binaries path: /home/noname/.local/share/Steam/steamapps/common/Factorio/bin
0.080 System info: [CPU: AMD Ryzen 5 3600 6-Core Processor, 12 cores, RAM: 32024 MB]
0.080 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=/usr/share/xsessions/default XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.080 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: de]
0.088 Video driver: x11
0.088 Available displays: 1
0.088 [0]: VG28UQL1A 28" - {[0,0], 3840x2160, SDL_PIXELFORMAT_RGB888, 144Hz}
0.181 Initialised OpenGL:[0] AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 5.14.21-150500.55.28-default); driver: 4.6 (Core Profile) Mesa 22.3.5
0.181 [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
0.181 [Version] 4.6
0.181 Graphics settings preset: very-high
0.181 Dedicated video memory size 16384 MB
0.200 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
0.200 [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
0.455 [Audio] Backend:SDL(default); Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
0.595 Loading mod settings better-air-filtering 0.3.6 (settings.lua)
0.597 Loading mod core 0.0.0 (data.lua)
0.633 Loading mod base 1.1.91 (data.lua)
0.776 Loading mod better-air-filtering 0.3.6 (data.lua)
0.787 Loading mod simple-air-cleaner 1.1.0 (data.lua)
0.797 Loading mod base 1.1.91 (data-updates.lua)
0.877 Checksum for core: 2152183905
0.877 Checksum of base: 410454729
0.877 Checksum of better-air-filtering: 732026559
0.877 Checksum of ixuClock: 0
0.877 Checksum of simple-air-cleaner: 1780295641
1.045 Prototype list checksum: 3711431113
1.078 Loading sounds...
1.168 Info PlayerData.cpp:78: Local player-data.json unavailable
1.168 Info PlayerData.cpp:81: Cloud player-data.json available, timestamp 1696777401
1.269 Initial atlas bitmap size is 16384
1.294 Created atlas bitmap 16384x16384 [none]
1.296 Created atlas bitmap 16384x13292 [none]
1.296 Created atlas bitmap 8192x4208 [decal]
1.297 Created atlas bitmap 16384x5568 [low-object, linear-minification]
1.297 Created atlas bitmap 8192x4464 [mipmap, linear-minification, linear-magnification, linear-mip-level]
1.298 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
1.298 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
1.299 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
1.299 Created atlas bitmap 4096x3104 [mipmap]
1.300 Created atlas bitmap 8192x2288 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
1.300 Created atlas bitmap 8192x1496 [alpha-mask]
1.303 Created atlas bitmap 16384x14780 [shadow, linear-magnification, alpha-mask]
1.303 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
1.303 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
1.310 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
1.807 Parallel Sprite Loader initialized (threads: 11)
7.565 Sprites loaded
7.576 Generated mipmaps (4) for atlas [3] of size 16384x5568
7.579 Generated mipmaps (3) for atlas [4] of size 8192x4464
7.583 Generated mipmaps (3) for atlas [5] of size 16384x6064
7.584 Generated mipmaps (3) for atlas [6] of size 4096x3216
7.584 Generated mipmaps (3) for atlas [7] of size 4096x1840
7.604 Generated mipmaps (3) for atlas [8] of size 4096x3104
7.606 Generated mipmaps (5) for atlas [9] of size 8192x2288
7.607 Generated mipmaps (3) for atlas [12] of size 8192x2352
7.613 Custom mipmaps uploaded (1942)
7.720 Factorio initialised
7.721 Steam Storage Quota: 23756/23841
11.513 Loading map /home/noname/.factorio/saves/FIRST.zip: 1973726 bytes.
11.532 Loading level.dat: 1727638 bytes.
11.533 Info Scenario.cpp:204: Map version 1.1.91-0
11.548 Loading script.dat: 914 bytes.
11.550 Checksum for script /home/noname/.factorio/temp/currently-playing/control.lua: 269016658
11.552 Checksum for script __better-air-filtering__/control.lua: 923200216
11.553 Checksum for script __ixuClock__/control.lua: 1422957860
138.126 Info AppManager.cpp:318: Saving to _autosave2 (blocking).
138.328 Info AppManagerStates.cpp:2010: Saving finished
438.326 Info AppManager.cpp:318: Saving to _autosave3 (blocking).
438.538 Info AppManagerStates.cpp:2010: Saving finished
738.526 Info AppManager.cpp:318: Saving to _autosave1 (blocking).
738.719 Info AppManagerStates.cpp:2010: Saving finished
1038.710 Info AppManager.cpp:318: Saving to _autosave2 (blocking).
1038.882 Info AppManagerStates.cpp:2010: Saving finished
1338.876 Info AppManager.cpp:318: Saving to _autosave3 (blocking).
1339.062 Info AppManagerStates.cpp:2010: Saving finished
1648.093 Info AppManager.cpp:318: Saving to _autosave1 (blocking).
1648.797 Info AppManagerStates.cpp:2010: Saving finished
1948.793 Info AppManager.cpp:318: Saving to _autosave2 (blocking).
1949.493 Info AppManagerStates.cpp:2010: Saving finished
2157.352 Loading level.dat: 1701817 bytes.
2157.352 Info Scenario.cpp:204: Map version 1.0.0-0
2157.357 Info PrototypeMigrationList.cpp:194: Activating migration base/1.1.0.json
2157.394 Checksum for script /home/noname/.factorio/temp/currently-playing/control.lua: 615317196
2157.395 Checksum for script __better-air-filtering__/control.lua: 923200216
2157.396 Checksum for script __ixuClock__/control.lua: 1422957860
2157.396 Applying migration: Better Air Filtering: 0.1.1.lua
2157.396 Applying migration: Better Air Filtering: 0.1.2.lua
2157.396 Applying migration: ixuClock: 0.2.4.lua
2157.407 Checksum for script /home/noname/.factorio/temp/currently-playing/control.lua: 615317196
2157.408 Checksum for script __better-air-filtering__/control.lua: 923200216
2157.409 Checksum for script __ixuClock__/control.lua: 1422957860
2190.976 Info AppManager.cpp:318: Saving to _autosave3 (blocking).
2191.162 Info AppManagerStates.cpp:2010: Saving finished
2491.160 Info AppManager.cpp:318: Saving to _autosave1 (blocking).
2491.864 Info AppManagerStates.cpp:2010: Saving finished
2803.793 Info AppManager.cpp:318: Saving to _autosave2 (blocking).
2803.978 Info AppManagerStates.cpp:2010: Saving finished
3103.976 Info AppManager.cpp:318: Saving to _autosave3 (blocking).
3104.130 Info AppManagerStates.cpp:2010: Saving finished
3404.126 Info AppManager.cpp:318: Saving to _autosave1 (blocking).
3404.320 Info AppManagerStates.cpp:2010: Saving finished
3772.659 Info AppManager.cpp:318: Saving to _autosave2 (blocking).
3773.332 Info AppManagerStates.cpp:2010: Saving finished
3881.266 Quitting: user-quit.
3881.554 Steam API shutdown.
3881.557 Goodbye
scrooge34 Nov 6, 2023 @ 3:49am 
Something strange; I moved the mod zips and mod-list.json to a sub-folder mod.old, still they appear in the log
scrooge34 Nov 6, 2023 @ 4:00am 
Something strange;
- I moved the mod zips and mod-list.json to a folder mod.old, still they appear in the log
- Restarting tthe game: Log file date is not updated (still 15min old)
- Deleting the log file factorio-current.log will not create a new one
brian_va Nov 6, 2023 @ 4:48am 
maybe a permissions issue with the install folder?
scrooge34 Nov 7, 2023 @ 5:01am 
@brian_va: what you think of with "install folder"? I checked th folder ,factorio, which has read/write for the owner. Should be ok
brian_va Nov 7, 2023 @ 5:44am 
Where the game files are. Right click the game in the library, go to property, files and the click browse. Make are that folder is good too. The .Factorio folder is probably the one that matters though. Not updating or creating the log files just seems like an access issue, that's where I was coming from
scrooge34 Nov 7, 2023 @ 7:15am 
in linux the install folder is: .local/share/Steam/steamapps/common/ and has the same rights.
But there is only an exe in the corresponding bin directory. Still I wonder, where the executable linux programm is placed. I would like to start it from the terminal. (Note: in the .factorio folder is no executable or a folder bin)

Another thing is this: if properties => files shows the path above, does it mean, that the exe wil be started by steam?
brian_va Nov 7, 2023 @ 7:28am 
I'm not home, but I believe the executable is the only thing in the bin folder, navigate there from a terminal and run (this is from memory)
./ factorio

That should start it. And yes, steam is calling that same executable. And to be clear, it's not an actual .exe file is it, it's a shell script?
Chindraba Nov 7, 2023 @ 12:10pm 
If you're trying to get to the executable version which is part of Steam, the path is not at all like the normal for Factorio.

.steam/steam/steamapps/common/Factorio/bin/x64/factorio

The
.factorio/
directory has all the user-generated content such as the saves, mods, script-output and config directories along with the blueprint library, log files and other such things.
brian_va Nov 7, 2023 @ 12:57pm 
the steam folder at .steam/steam is, or at least can be, a link. my .steam/steam folder links to /home/brian/.steam/debian-installation, which is where i have steam set to specifically install games to, but yes the path you listed does work properly. as does:
/home/brian/.steam/debian-installation/steamapps/common/Factorio/bin

either way is fine, it should be going to the same place.

the log they posted shows their path as
/home/noname/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio
which would be the same as the path you posted.
PunCrathod Nov 7, 2023 @ 8:00pm 
Originally posted by scrooge34:
in linux the install folder is: .local/share/Steam/steamapps/common/ and has the same rights.
But there is only an exe in the corresponding bin directory. Still I wonder, where the executable linux programm is placed. I would like to start it from the terminal. (Note: in the .factorio folder is no executable or a folder bin)

Another thing is this: if properties => files shows the path above, does it mean, that the exe wil be started by steam?
Just to be sure by exe you mean a binary file named "factorio" and not a file named "factorio.exe" because if you have a "factorio.exe" that is the windows executable and unless you run it on wine or proton that will obviously not run on linux. I have seen steam download a windows executable instead of a linux one and try to run it as if it was a linux executable. It is rare and I have no idea why it happens but it fixed itself by logging out of steam and then back in and no, restarting steam or the entire computer did not fix it. I specifically had to log out and back in.

The fact that you are not getting a new log file means it is crashing before the game code starts to execute. Factorio devs have said that the first thing their code does is open a log file and write what build is running into the file. So no log file means it crashed before that. If you run the binary from the terminal(ctrl+alt+t and then type "cd /home/noname/.local/share/Steam/steamapps/common/Factorio/bin/x64/" and then "./factorio") you might get an error message that could clue us in to what is broken.
scrooge34 Nov 8, 2023 @ 2:23am 
Maybe we are getting closer. Looking into /home/noname/.local/share/Steam/steamapps/common/Factorio/bin/x64/, I only see a factorio.exe next to other kind of files like *.dll. But no "factorio".

if this really is the execution path, then steam only installed the windows version of factorio. Maybe there is some coincidence, because I booted my old win10 (oh god, so many updates after three months :-( ) and started factorio there, for the time being.

I will get into it using internet, but if anybody knows the solution already, You are very welcome :-)
< >
Showing 1-15 of 20 comments
Per page: 1530 50

Date Posted: Nov 5, 2023 @ 7:43am
Posts: 20