This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Close Laptop Lid and Crashes(No Suspend)

GNUoob

Sun Sep 15, 2019 10:03:21 pm

Hello,

I installed zorin15 on an ASUS e203ma machine and it was working great until a few weeks ago when it started no longer going into suspend upon closing the lid. Now it just powers off/crashes and I have to restart everything from scratch instead of where I left off.

What info would be needed to further troubleshoot this problem?

I tried running the info on the following link, seeing how it was similar, but it didn't work
http://tipsonubuntu.com/2018/04/28/chan ... 18-04-lts/

Swarfendor437

Mon Sep 16, 2019 6:29:28 am

See if switching to lightdm solves your issue:

https://askubuntu.com/questions/1163402 ... fter-sleep

GNUoob

Mon Sep 16, 2019 5:51:59 pm

No, switching to lightdm didn't fix it.

Swarfendor437

Mon Sep 16, 2019 8:37:18 pm

Hi, can you see if any of the fixes stated here work?:

https://askubuntu.com/questions/1035208 ... wap-device

GNUoob

Sat Sep 21, 2019 4:55:59 pm

Swarfendor437 wrote:Hi, can you see if any of the fixes stated here work?:

https://askubuntu.com/questions/1035208 ... wap-device



Hi again,

Those symptoms is not what I am experiencing.

Replication steps...

1) bootup/Start laptop
2) load gui.
3) either start an app LibreWriter/Chrome/Etc... or don't start an application up.
4) close lid on laptop.
Results: The computer shuts down completely and requires a full bootup again.

Pissing me off: I should be able to pickup from where I left off without having to reload whatever I was working on.

Troubleshooting Power Management: Yes, I've gone through the settings.

History: After first installing zorin15 it didn't display this behavior. Then some weeks ago, after patching, it started doing this.

Plea for help: PLEASE....

Aravisian

Sat Sep 21, 2019 6:26:02 pm

GNUoob

Sat Sep 21, 2019 7:30:31 pm

Aravisian wrote:I wonder if this might help:
http://tipsonubuntu.com/2018/04/28/chan ... 18-04-lts/



Thanks but I had already found and ran through those steps. Trust me I've been a GOOGLING :P

Aravisian

Sun Sep 22, 2019 4:29:53 am

GNUoob wrote:
Aravisian wrote:I wonder if this might help:
http://tipsonubuntu.com/2018/04/28/chan ... 18-04-lts/



Thanks but I had already found and ran through those steps. Trust me I've been a GOOGLING :P

I know the feeling. And how often it is fruitless.
Will keep looking, though.

Swarfendor437

Sun Sep 22, 2019 9:43:42 am

GNUoob

Sun Sep 22, 2019 2:43:36 pm

Swarfendor437 wrote:Hi, take a look here:

https://itsfoss.com/ubuntu-close-lid-suspend/



That article deals with lack of suspending - as in stays awake (keeps on running)

My issue is that instead of suspending - the session dies.

Aravisian

Sun Sep 22, 2019 3:16:56 pm

GNUoob

Sun Sep 22, 2019 7:20:29 pm

Aravisian wrote:https://help.ubuntu.com/stable/ubuntu-help/power-closelid.html.en

https://help.ubuntu.com/stable/ubuntu-h ... il.html.en


again, thanks for your help.


Link #1 - I don't want to turn off suspend. I want to enable it. It used to suspend until after some update killed the process.

Link #2 - Hardware related? I think not because it was working up until the point of some update killing it.

Swarfendor437

Sun Sep 22, 2019 8:41:01 pm

Does the response to similar issue on a Dell help?:

https://askubuntu.com/questions/1029474 ... 0835fe0286

Aravisian

Sun Sep 22, 2019 8:42:49 pm

GNUoob wrote:Link #1 - I don't want to turn off suspend. I want to enable it. It used to suspend until after some update killed the process.

Was exploring the possibility that it was suspending, but not waking up.
Could you please say which kernel you are currently using that was updated?
Code:
uname –sr

Swarfendor437

Sun Sep 22, 2019 8:47:32 pm

Aravisian wrote:
GNUoob wrote:Link #1 - I don't want to turn off suspend. I want to enable it. It used to suspend until after some update killed the process.

Was exploring the possibility that it was suspending, but not waking up.
Could you please say which kernel you are currently using that was updated?
Code:
uname –sr


I see where you are going Aravisian - kernel 4.14? ;)

GNUoob

Sun Sep 22, 2019 8:55:10 pm

Aravisian wrote:
GNUoob wrote:Link #1 - I don't want to turn off suspend. I want to enable it. It used to suspend until after some update killed the process.

Was exploring the possibility that it was suspending, but not waking up.
Could you please say which kernel you are currently using that was updated?
Code:
uname –sr


$ uname -sr
Returns...
Linux 5.0.0-29-generic

GNUoob

Sun Sep 22, 2019 9:20:53 pm

Swarfendor437 wrote:Does the response to similar issue on a Dell help?:

https://askubuntu.com/questions/1029474 ... 0835fe0286



following that article, results....

dave@Zorin-E203MA:~$ sudo journalctl | grep "PM: suspend" | tail -2
[sudo] password for dave: #PleaseFixThis#
Sep 16 10:47:36 Zorin-E203MA kernel: PM: suspend entry (deep)
Sep 22 07:58:04 Zorin-E203MA kernel: PM: suspend entry (deep)
dave@Zorin-E203MA:~$
dave@Zorin-E203MA:~$
dave@Zorin-E203MA:~$ cat /sys/power/mem_sleep
s2idle [deep]
dave@Zorin-E203MA:~$

The above shows that [deep] is the default, which is what it should be but it's still not behaving correctly.

I then opened the GRUB_CMDLINE...thingy and saw
It had only "quiet splash" listed so I did expand it to read the as the replacement version. Then as directed I regenerated my grub config.

I'm about to test it out so I'm going to post this page as is so I don't lose my steps above.



===================

And back. It didn't work.

My laptop no longer shuts down but instead hangs in some pergatory none responsiveness even though its still on (the light showing its alive is on). I didn't respond to waking (mouse wiggle/keyboard pressing etc...) so I was forced to hard reset the thing. I'm going to revert that GRUB file back to what it was before.

I also noticed that I had some more suggestions and will look at those.

Aravisian

Sun Sep 22, 2019 9:28:53 pm

Swarfendor437 wrote:I see where you are going Aravisian - kernel 4.14? ;)

Now, how am I gonna sneak about what with your spyglass peeping me out?
4.14 may be a bit too early... But it does seem that Ubuntu 18.04 has some buggy kernels.
Possibly, reverting to an earlier kernel known to work OR Force updating the existing kernel may do the trick.

Maybe.
GNUoob wrote:$ uname -sr
Returns...
Linux 5.0.0-29-generic

If you could,
Code:
sudo add-apt-repository ppa:teejee2008/ppa

Then the obligatory
Code:
sudo apt-get update

Now to install the utility:
Code:
sudo apt-get install ukuu

Ukuu is a small lightweight GUI kernel manager.

In terminal you can start ukuu with
Code:
pkexec ukuu-gtk
*NOTE if pkexec does not work, you CAN use Sudo. Just enter "sudo ukuu-gtk."
It will take a moment to build a list. Once complete. scroll down to where your Installed Kernels are listed. You should have three, with one running and one right aboeve and right below showing simply as installed. You can select the kernel you wish to use by clicking it, then clicking Install.

GNUoob

Sun Sep 22, 2019 9:46:10 pm

The install of ukuu-gtk wouldn't run....


Setting up ukuu (18.9.3-0~201902031503~ubuntu18.04.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.58.1-2+zorin1) ...
Processing triggers for libc-bin (2.28-0ubuntu1+zorin4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
dave@Zorin-E203MA:~$ pkexec ukuu-gtk
ukuu v18.9.3
Unable to init server: Could not connect: Connection refused

(ukuu-gtk:8488): Gtk-WARNING **: 14:39:11.492: cannot open display:
dave@Zorin-E203MA:~$ sudo ukuu-gtk
ukuu v18.9.3
No protocol specified
Unable to init server: Could not connect: Connection refused

(ukuu-gtk:8498): Gtk-WARNING **: 14:39:22.183: cannot open display: :0
dave@Zorin-E203MA:~$

Aravisian

Mon Sep 23, 2019 2:20:08 am

GNUoob wrote:The install of ukuu-gtk wouldn't run....


Setting up ukuu (18.9.3-0~201902031503~ubuntu18.04.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.58.1-2+zorin1) ...
Processing triggers for libc-bin (2.28-0ubuntu1+zorin4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
dave@Zorin-E203MA:~$ pkexec ukuu-gtk
ukuu v18.9.3
Unable to init server: Could not connect: Connection refused

(ukuu-gtk:8488): Gtk-WARNING **: 14:39:11.492: cannot open display:
dave@Zorin-E203MA:~$ sudo ukuu-gtk
ukuu v18.9.3
No protocol specified
Unable to init server: Could not connect: Connection refused

(ukuu-gtk:8498): Gtk-WARNING **: 14:39:22.183: cannot open display: :0
dave@Zorin-E203MA:~$


You can try running it with
Code:
admin:///ukuu-gtk

or
Code:
sudo -H

I wonder if you can use Synaptic or Terminal to install gksu, anyway. I have no idea... but if you install libgksu and gksu, you could have it despite it being not installed by default...
wget http://mirrors.kernel.org/ubuntu/pool/u ... _amd64.deb -- scratch that- it's a 404...
https://packages.debian.org/stretch/amd ... 0/download
wget http://mirrors.kernel.org/ubuntu/pool/u ... _amd64.deb
https://packages.debian.org/stretch/amd64/gksu/download

GNUoob

Mon Sep 23, 2019 7:49:11 pm

dave@Zorin-E203MA:~$ admin:///ukuu-gtk
bash: admin:///ukuu-gtk: No such file or directory
dave@Zorin-E203MA:~$ sudo -H ukuu-gtk
[sudo] password for dave:
ukuu v18.9.3
No protocol specified
Unable to init server: Could not connect: Connection refused

(ukuu-gtk:2234): Gtk-WARNING **: 12:35:17.741: cannot open display: :0
dave@Zorin-E203MA:~$

Swarfendor437

Mon Sep 23, 2019 8:49:50 pm

Indicates you are using "Zorin on Wayland" - my advice, don't! Login to the default Zorin Desktop using the cog next to the login fields for your user:

https://github.com/teejee2008/ukuu/issues/13

GNUoob

Wed Sep 25, 2019 4:00:25 pm

I had no idea I was using a Wayland desktop envir.
Ha! on me.
Thank you.



==================================



dave@Zorin-E203MA:~$ sudo -H ukuu-gtk
[sudo] password for dave:
ukuu v18.9.3
Distribution: Zorin OS 15
Architecture: amd64
Running kernel: 5.0.0-29-generic
Kernel version: 5.0.0.29.31
Cache: /home/dave/.cache/ukuu
Temp: /tmp/ukuu-gtk/mq0B1H8D

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:12.452: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:12.619: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)
aria2c version: 1.33.1
Fetching index from kernel.ubuntu.com...

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:12.841: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:12.842: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.047: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.049: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.254: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.255: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.461: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.461: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.666: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.667: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.872: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:13.873: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.078: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.078: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.283: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.283: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.489: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.489: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.694: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.695: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.900: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:14.901: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.105: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.106: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.311: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.312: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.516: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.517: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.722: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.723: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.928: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:15.928: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.133: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.134: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.340: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.341: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.546: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.547: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)
OK

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.750: Negative content width -2147483646 (allocation -2147483648, extents -1x-1) while allocating gadget (node progress, owner GtkProgressBar)

(ukuu-gtk:5243): Gtk-WARNING **: 08:52:16.750: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node progress owner GtkProgressBar)

Fetching index...

▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100 %

----------------------------------------------------------------------
Found installed: 5.0.0.29.86
Found installed: 5.0.0-29.31~18.04.1
Found installed: 5.0.0-27.28~18.04.1
Found installed: 5.0.0-25.26~18.04.1
----------------------------------------------------------------------

GNUoob

Wed Sep 25, 2019 4:03:22 pm

The UKUU also showed that the latest kernel v5.3.1 was available. Is it safe to use that instead?

Swarfendor437

Wed Sep 25, 2019 6:41:30 pm

Hi, The latest kernel I am currently running is 5.0.0-29 - I wouldn't risk going beyond what comes through the standard Zorin updater as they only allow kernels to get installed that are stable. ;) :D

Aravisian

Wed Sep 25, 2019 9:26:43 pm

Swarfendor437 wrote:Hi, The latest kernel I am currently running is 5.0.0-29 - I wouldn't risk going beyond what comes through the standard Zorin updater as they only allow kernels to get installed that are stable. ;) :D

It gave me that same alert for 5.3.1. I removed ukuu after that.
It had served its purpose and once the job was done, it needed to go back. Tony George (teejee) made great apps available, but ukuu was nagging too much.
But as a standalone utility to use when you need it, it is great.

Gnu, I was thinking more along the lines of you may rollback to a previous working version.
Rolling forward is always risky... let it get stabilized first. That is how you ended up here in the first place.
I will point out that all of this is based on the assumption that we are talking a kernel issue...

GNUoob

Sun Sep 29, 2019 4:44:53 pm

So do I give up (again) and this time try a non-debian based OS? Fedora/CentOS or slack?

Its really frustrating not being able to resume my session from where I left off.

Swarfendor437

Sun Sep 29, 2019 8:50:30 pm

I suspect it is an intel graphics bug as your notebook uses Intel UHD 605 graphics driver. Whilst searching I could only find reference to an i915 freeze bug issue - this is why it is better to save up and pay for that GNU/Linux notebook. ;)

https://hobo.house/2018/05/18/fix-for-i ... x-kernels/

GNUoob

Mon Nov 18, 2019 10:05:46 pm

So it's now been about a month running Ubuntu 19.10, since its release. My laptop didn't display the suspend/restart issue, but now after another update, its now happening again.

WHAT THE FUDGE.

Gggrrrr...

Its clear its not ZorinOS doing it. Its something to do with Ubuntu/Debian being patched. I just don't know what it is or how to prevent this from happening.

Swarfendor437

Mon Nov 18, 2019 10:23:19 pm

Have you seen this post on askubutnu?:

https://askubuntu.com/questions/1138336 ... te-suspend

Aravisian

Tue Nov 19, 2019 9:50:24 am

Swarfendor437 wrote:Have you seen this post on askubutnu?:

https://askubuntu.com/questions/1138336 ... te-suspend

Great find, Swarf. I do not know about the OP but that thread helped me to solve that problem on a machine here.