Page 1 of 1

[2.1.14] Sleep inhibit incorrectly attributed to steam

Posted: Thu Aug 13, 2026 5:00 pm
by geolykt
Factorio should very obviously not be borrowing Steam's authority for this, especially when paired with the current reason.

X11: Locking twice (2.1.14: locking as steam both times, 2.0.77: locking as factorio once, and locking as steam once)
Wayland: Locking once (2.1.14: locking as steam, 2.0.77: locking as factorio)

Also please use a less generic reason. "Factorio does not support sleep inhibit" would be a more apt reason as the current reason implies that it wouldn't lock when pausing in singleplayer (which is not the case).

You have to trust me on the Wayland versus X11 differences here [not that it really matters], I cannot be bothered to re-do all the screenshots (why tf does the forum not warn you when you quit the "new topic" thingy by clicking on an attachment by accident - like come on, this is a solved problem).

Differences in log files are X11 versus Wayland and version differences, see log file contents for further info.

Reproducibility: On my system, always.

uname -a: Linux emeric-fedora 7.1.5-201.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 28 14:16:30 UTC 2026 x86_64 GNU/Linux

systemd-inhibit --list: (whilst running factorio 2.1.14 using wayland)

Code: Select all

WHO            UID  USER    PID  COMM            WHAT                                                                       WHY                                                        MODE 
ModemManager   0    root    1293 ModemManager    sleep                                                                      ModemManager needs to reset devices                        delay
NetworkManager 0    root    1177 NetworkManager  sleep                                                                      NetworkManager needs to turn off networks                  delay
UPower         0    root    1194 upowerd         sleep                                                                      Pause device polling                                       delay
PowerDevil     1000 geolykt 2650 org_kde_powerde handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch KDE handles power events                                   block
compositor     1000 geolykt 2411 kwin_wayland    sleep                                                                      Ensuring that the screen gets locked before going to sleep delay

Re: [2.1.14] Sleep inhibit incorrectly attributed to steam

Posted: Thu Aug 13, 2026 5:15 pm
by Rseding91
Thanks for the report however there's nothing here that's a bug. Factorio is not setting any of those things and as such none of them are things we can change. What you're seeing is your operating system detecting steam/factorio running and showing those notifications.

Re: [2.1.14] Sleep inhibit incorrectly attributed to steam

Posted: Thu Aug 13, 2026 6:19 pm
by boskid
This behavior is primarily handled by SDL and in 2.1 we enabled dynamic SDL linking so if it would happen steam provides its version of SDL then it could be that they are correctly attributed.