Suspension issue: hard shutdown
Hello, I've recently installed on my Acer Swift 1 new laptop a distro linux, now I'm on Manjaro but I noted the same issue on Ubuntu 19.04 and 18.04 LTS and on Debian 10.
Few days after a fresh installation of each of these Linux distro the suspension breaks by itself: closing the lid or running systemctl suspend causes a hard shutdown of my system. Sometimes the system freezes and can be shut down only by unplugging the battery pressing the emergency button on the rear of my laptop. Here's a log of journal Code:
ott 08 13:37:51 federico-swift1 systemd-logind[515]: Lid closed. Code:
System: Host: federico-swift1 Kernel: 5.2.11-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: Gnome 3.32.2 |
I grepped your log section for the word Error, and got this
Code:
ott 08 13:37:51 federico-swift1 gnome-shell[1075]: JS ERROR: Error: No signal connection 0 found I'm puzzled that suspend works on several distros, and then stops working after a few days. It seems to clear the software involved. What happens after a few days? Have a look in /var/log - the end of the big files. Also, isolate the biggest file in /var/log; Usually /var/log/syslog or /var/log/messages. Back it up if you want it, & zero it, e.g. Code:
> /var/log/messages |
Thank you for responding.
Since I installed Manjaro those errors from gnome-session show up in my log, even when suspension was working, so I suppose that is not the cause of my problem. syslog-ng is not installed by default in Manjaro, I tried to configure it but in /var/log there's nothing similar to a log from the system, however even if it seems very strange, the system effectively shuts down or "crashes" if you prefer, but it's clear it isn't in sleep mode because in this case the status led would blink. I dont know what breaks the suspension, when i tried Debian the suspension resulted broken after few hours, even with any program installation. I wrote in this forum since I think I have a kernel issue with my hardware, with 4.14 LTS the system seems to suspend correctly and consistently, but I can't test it for a long time since that version does not have drivers for my touchpad. Any ideas about this hypothesis? |
Even without syslog, you should get dmesg, which afaik is a kernel based thing. Does 'sudo dmesg' show anything?
|
Supposing that gnome-shell is NOT the issue here (though it could well be):
https://wiki.archlinux.org/index.php/Suspend |
Yesterday Manjaro pushed out a big set of upgrades, including an update of the kernel package, since then the system SEEMS (cross fingers) to suspend correctly angain, I'm doing some tests right now.
I don't know which of 232 package updates fixed the problem, I don't even know if the problem is definetely fixed indeed. If this update does not solve the problem by long-term I'll have to search for the fix somewhere else, but before posting here I read a lot about the suspension in Linux and how it's handled by the system, I know very well that Arch-wiki page, nothing useful for me... However thank you all for your support |
Quote:
|
I still remember when my then-new intel CPU (and integrated GPU) got continuously better with every upgrade. I loved every moment of it.
By now it's so old I might as well use Debian stable. |
I'm new to Linux world, at the very beginning I imposed myself to learn at least a bit of it, now, I love it, maybe because I've been using Windows for almost 15 years (I'm 21) and I needed to try something different; it's a sort of fresh-air blow in my daily routine.
|
All times are GMT -5. The time now is 12:53 AM. |