SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sat Apr 13 19:45:25 UTC 2024
l/imagemagick-7.1.1_29-x86_64-1.txz: Upgraded.
Revert to the previous ImageMagick because the latest one is destroying SVG
files if "identify" or "display" is used on them.
Thanks to pc2005.
We should revert this revert because the error is in 7.1.1_29 and not 7.1.1_30. It only affected 7.1.1_30 because delegates.xml was not replaced by the .new one.
Regarding the latest elogind issues with the system sleeping and gracious tucking the tail between legs while running on previous version, well... everybody please be kind to note that in fact elogind do what it's instructed to do: preferring to using the s2idle (aka freeze) for sleeping the system.
If you wonder what the heck is that s2idle ... Well, according with the kernel.org's guys:
State: Suspend-To-Idle
ACPI state: S0
Label: "s2idle" ("freeze")
This state is a generic, pure software, light-weight, system sleep state.
It allows more energy to be saved relative to runtime idle by freezing user
space and putting all I/O devices into low-power states (possibly
lower-power than available at run time), such that the processors can
spend more time in their idle states.
This state can be used for platforms without Power-On Suspend/Suspend-to-RAM
support, or it can be used in addition to Suspend-to-RAM to provide reduced
resume latency. It is always supported.
This rings some bells to the guys who hit issues with the elogind and sleeping?
That's right, the "s2iddle" power down the drives and put the CPU and processes on idle, but still keeps the system powered on - just what you guys encountered in the last time.
To return to the old elogind's behavior, one should change as following the config file: /etc/elogind/sleep.conf.d/10-elogind.conf
Then after rebooting the system, you will see The Magic: the "loginctl suspend" command will work as you expected.
PS. If you wonder WHY that that s2idle fails miserably on waking up the system, well... I believe that's another story - who knows? Maybe BOB wanted us to notice the sorry state of this particular feature in Slackware, even it's "a generic, pure software, light-weight, system sleep state."
Last edited by LuckyCyborg; 04-15-2024 at 03:43 AM.
Then after rebooting the system, you will see The Magic: the "loginctl suspend" command will work as you expected.
Before activating this elogind suspend mode
You have to ensure that your system supports this "Suspend to disk" feature, aka "Hibernate", aka "S4 ACPI sleeping state"
To do so:
Before activating this elogind suspend mode
You have to ensure that your system supports this "Suspend to disk" feature, aka "Hibernate", aka "S4 ACPI sleeping state"
To do so:
BUT, in the elogindish (, just like in systemdish), this "Suspend to disk" feature is called "Hibernate" , while the "Suspend" itself is what usually we call "Suspend to RAM" .
Anyway, from my tests the hibernation itself worked OK with this latest version of elogind, the issues was with suspending to RAM, which in fact ended by default being a "freezing" via the configuration preferred s2idle feature.
Last edited by LuckyCyborg; 04-15-2024 at 03:56 AM.
This state can be used for platforms without Power-On Suspend/Suspend-to-RAM
support, or it can be used in addition to Suspend-to-RAM to provide reduced
resume latency. It is always supported.
Here, for example, my laptop doesn't support S4 ACPI sleep state out of the box, I have to tweak the ACPI table
This has always worked in the past, so I'm convinced it's probably an elogind issue
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,081
Rep:
Can't see how LuckyCyborgs post #4218 relates to the problem that suspend/resume in elogind-255.4 breaks network connection and leaves NetworkManager unresponsive after resume? But maybe this is just me being ignorant.
Can't see how LuckyCyborgs post #4218 relates to the problem that suspend/resume in elogind-255.4 breaks network connection and leaves NetworkManager unresponsive after resume? But maybe this is just me being ignorant.
With the last version of elogind, there is obviously 2 separate issues
One that breaks the functionality of the powerkey actions
The other that breaks the network connectivity after hibernate
I think he was talking about the first issue
For the second issue, no matter what you do, the only workaround, at least here, is to restart the NetworkManager
This way, if the "deep" mode is not available, elogind will fallback to "s2idle" .
BTW, someone else noticed that that new config file /etc/elogind/sleep.conf.d/10-elogind.conf has no .new handling, then it will be overridden on upgrading the elogind package?
Last edited by LuckyCyborg; 04-15-2024 at 06:21 AM.
I for one, for now, I will stick with:
elogind 252.9 (254 obviously breaks the network after hibernate/resume)
polkit 123 (124 I think is the real culprit for the suspend-to-ram issue)
I for one, for now, I will stick with:
elogind 252.9 (254 obviously breaks the network after hibernate/resume)
polkit 123 (124 I think is the real culprit for the suspend-to-ram issue)
which work as it should
Let's remember that elogind is maintained by programmers affiliated with Gentoo and Devuan. And these programmers do not necessarily use SysV init like Slackware, on the contrary, they can very well use OpenRC or S6.
If we continue to use an old version of elogind, I think we run the risk of elogind becoming incompatible with Slackware and its SysV init.
And then what? Will we follow Devuan and adopt S6 or Gentoo and its OpenRC? I don't think that staying in an old version of elogind is an option, in my humble opinion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.