Artix Linux Forum

Init systems => OpenRC => Topic started by: tf2scout on 01 May 2024, 07:38:54

Title: OpenRC suspend issue
Post by: tf2scout on 01 May 2024, 07:38:54
Been having this issue in where suspending the computer only results in the hard drives spinning down and the monitor turning off...however the fans and power light are still running. Pressing the power button again does re-enable the hard drives (and other components) but the monitor remains off. For reference, here's my logind.conf, note that I had to add the sleep section manually (to no avail, was following this post from 2019 (https://forum.artixlinux.org/index.php/topic,1195.msg8554.html#msg8554))
Code: [Select]
#logind.conf
[Login]
KillUserProcesses=no
#KillOnlyUsers=
KillExcludeUsers=root
InhibitDelayMaxSec=5
UserStopDelaySec=10
HandlePowerKey=poweroff
HandlePowerKeyLongPress=ignore
HandleRebootKey=reboot
HandleRebootKeyLongPress=poweroff
HandleSuspendKey=suspend
HandleSuspendKeyLongPress=hibernate
HandleHibernateKey=hibernate
HandleHibernateKeyLongPress=ignore
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore
PowerKeyIgnoreInhibited=no
SuspendKeyIgnoreInhibited=no
HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=yes
RebootKeyIgnoreInhibited=no
HoldoffTimeoutSec=30s
IdleAction=ignore
IdleActionSec=30min
RuntimeDirectorySize=10%
RuntimeDirectoryInodesMax=
RemoveIPC=yes
InhibitorsMax=8192
SessionsMax=8192
StopIdleSessionSec=infinity
[Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=yes
AllowPowerOffInterrupts=no
BroadcastPowerOffInterrupts=yes
AllowSuspendInterrupts=no
BroadcastSuspendInterrupts=yes
HandleNvidiaSleep=no
SuspendState=mem standby freeze
SuspendMode=suspend
HibernateState=disk
HibernateMode=platform shutdown
HybridSleepState=disk
HybridSleepMode=suspend platform shutdown
HibernateDelaySec=10800
My neofetch output is attached as well.
Title: Re: OpenRC suspend issue
Post by: MorsMortium on 01 May 2024, 16:13:41
https://forum.artixlinux.org/index.php/topic,6763.msg41156.html
Title: Re: OpenRC suspend issue
Post by: tf2scout on 01 May 2024, 21:42:37
https://forum.artixlinux.org/index.php/topic,6763.msg41156.html
Didn't see that post, thanks.
Title: Re: OpenRC suspend issue
Post by: tf2scout on 02 May 2024, 05:29:01
UPDATE: Solution no longer required due to updates fixing the issue

Solution: https://github.com/elogind/elogind/issues/280#issuecomment-2056460129 (https://github.com/elogind/elogind/issues/280#issuecomment-2056460129)
(https://i.postimg.cc/wTL30521/Screenshot-2024-05-01-at-20-28-43-version-255-4-suspend-resume-breaks-network-connection-Issue-28.png)

Thanks to MarsMortum for linking the github bug report page in the other thread.