Hello comunity,
I am facing an error every time my system goes into Standby. (It was running without problems since some weeks ago)
Normally the first or second standby in one session goes well and the system will recover without iusses. But at the third time ( or randomly, I don’t know) the system will recover from standby, with the following behavior:
either the system boots, but the screen remains black. So I have to press the power button to power off.
or the system boots up and the wallpaper is displayed normally. However, it takes an eternity until the login field appears. Keystrokes are very sluggish and when I do manage to log in then the whole system is extremely slow (practically unusable).
If I switch to tty before logging in (again it takes time for the system to process the keystrokes) then I can log in with my credentials without problems and restart the system from tty.
After the reboot everything runs normally again until the next standby.
I know that linux gives a tons of report, so if something does not work properly an expert can check for the error, but I’m not such one an being a normal user I need help from the comunity, if someone can help me. Also any link to a similar problem is willcome, so maybe i can learn something new while trying the provided solutions.
My system is the following, using KDE System settings as source. I know that i have to porvide other information but without your help I don’t know how and where to find it.
Thank you very much for your time.
Greeting
K77U
Operating System: Manjaro Linux
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.3-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: SchenkerTechnologiesGmbH
Product Name: XMG CORE (CZN/E21)
Ok, if I check on System Settings → Energy there is selceted to put the system into Standby, no Hybernation option is given in the dropdown menu.
I checked with gparted my SWAP partition, it is 8.8 GB. I think this is enough on 32GB Ram, or I am supposig wrong?
I don’t know if it is useful but
cat /sys/power/mem_sleep
results in [s2idle]
And in
cat /etc/systemd/sleep.conf
I found this line
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See systemd-sleep.conf(5) for details.
[Sleep]
#AllowSuspend=yes
AllowHibernation=no
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min
I am no expert on the matter - but those looks conflicting to me.
It is possible that setting AllowHibernation=no implies a disable of the following two - but just to be sure - I suggest uncommenting and setting those to no as well.
Thanks for respoonse and link.
I have tried but it does not solve my problem.
I’ve tried several times to put the pc in standby. On the firs wakeup all is well. But with the second, the problem appears.
I’ve also noticed that the problem seems to apper on second standby/wakeup.
Here an Update.
I created a new Profile to login and noticed that the problem there does not exist. So i renamed my .config and .local/share folder and now it seems to work properly.
I don’t know why but it seems as something has bugged my KDE desktop configuration.