When the game is not focused, it does not crash.
Steps to reproduce
- Load up game
- Have it focused on your WM
- At any time, switch the KVM to other device
- Come back to Factorio device
- It has crashed
It is unclear if it crashed when switching out or switching in, but apparently on a quick read of the log, I would guess it is the former, since there is
SDL coudn't be initialized. SDL_Error: No available displays
Expected behavior
The game keeps running on my headless machine. Either "paused" or normally running without visuals.My Setup
Steam download, 1.1.91, build 61680, linux64Arch Linux, Sway, AMD Video card with AMDGPU-PRO (proprietary) drivers, single monitor connected on KVM through Displayport 1.2.
The logfile provided has mods applied but the crashes occur regardless of mods' presence. I haven't tried to replicate in Windows.