[2.1.14] Sleep inhibit incorrectly attributed to steam

Bugs that are actually features.
geolykt
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Aug 13, 2026 3:54 pm
Contact:

[2.1.14] Sleep inhibit incorrectly attributed to steam

Post 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
Attachments
2.1.14 (Wayland)
2.1.14 (Wayland)
08-13-2026, 18-54-07.png (1.46 MiB) Viewed 364 times
2.0.77 (Wayland)
2.0.77 (Wayland)
08-13-2026, 18-45-27.png (3.7 MiB) Viewed 364 times
factorio-current.log
(6.83 KiB) Downloaded 15 times
factorio-previous.log
(7.61 KiB) Downloaded 14 times
factorio-current.log
(7.01 KiB) Downloaded 16 times
factorio-current(1).log
(6.78 KiB) Downloaded 14 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 17574
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.14] Sleep inhibit incorrectly attributed to steam

Post 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.
If you want to get ahold of me I'm almost always on Discord.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4921
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.1.14] Sleep inhibit incorrectly attributed to steam

Post 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.
Post Reply

Return to “Not a bug”