[2.0.76.0][linux] Close / freeze when minimizing and restoring game window
Posted: Wed Mar 04, 2026 1:02 pm
-What did you do?
I launched the game, loaded a map, then minimized the game window for some time.
-What happened?
After some time, when you reopen the window, when you hover over the window, it disappears with error:
And two scenarios happen:
1-Factorio's log file says "Quitting: window closed." and the process terminates.
2-Factorio's log file writes absolutely nothing and the game turns into a hung process, consuming RAM, but actually being in a frozen state, not consuming CPU.
-What did you expect to happen instead?
The game should restore normally after being minimized, without closing or freezing.
-Does it happen always, once, or sometimes?
It happens randomly. The longer the window is minimized, the higher the chance of the error occurring. If I open the game window every half hour, then the chance of the window disappearing is guaranteed.
This happens on both X11 and Wayland.
Video - https://youtu.be/vWjH3ds59aQ
The video shows a situation where the game remains in hung mode.
Log file from another case where the game ends correctly.
I'm not sure if this is related, but it seems to me that it started after 2.0.76.0 release.
Any tips, thanks.
I launched the game, loaded a map, then minimized the game window for some time.
-What happened?
After some time, when you reopen the window, when you hover over the window, it disappears with error:
Code: Select all
04 13:15:11 mrx kwin_wayland_wrapper[1365]: Data too big for buffer (1048572 + 12 > 1048576)
04 13:15:11 mrx kwin_wayland_wrapper[1365]: error in client communication (pid 495326)1-Factorio's log file says "Quitting: window closed." and the process terminates.
2-Factorio's log file writes absolutely nothing and the game turns into a hung process, consuming RAM, but actually being in a frozen state, not consuming CPU.
-What did you expect to happen instead?
The game should restore normally after being minimized, without closing or freezing.
-Does it happen always, once, or sometimes?
It happens randomly. The longer the window is minimized, the higher the chance of the error occurring. If I open the game window every half hour, then the chance of the window disappearing is guaranteed.
This happens on both X11 and Wayland.
Video - https://youtu.be/vWjH3ds59aQ
The video shows a situation where the game remains in hung mode.
Log file from another case where the game ends correctly.
I'm not sure if this is related, but it seems to me that it started after 2.0.76.0 release.
Any tips, thanks.