Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] GNOME freezes when pressing shutdown button
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Spargeltarzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2017
Posts: 138

PostPosted: Thu Nov 30, 2017 4:19 pm    Post subject: [SOLVED] GNOME freezes when pressing shutdown button Reply with quote

Hello,

Almost every second time I press the shutdown button in the upper right corner in my GNOME environment to shutdown or reboot my machine, GNOME freezes around for 30s until the little dialog for shutdown/reboot appears.

I recently re-emerged my whole system (official stable GNOME with systemd) and the problem persists.

But this issue is also on my second PC, GNOME from dantrell (3.26).

What can be the issue here? Anyone having it too?


Last edited by Spargeltarzan on Wed Dec 06, 2017 8:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 491
Location: Italy

PostPosted: Fri Dec 01, 2017 1:13 pm    Post subject: Reply with quote

I don't use GNOME anymore, but did you try checking the output of the following command?
Code:
journalctl -b
Back to top
View user's profile Send private message
Spargeltarzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2017
Posts: 138

PostPosted: Fri Dec 01, 2017 5:10 pm    Post subject: Reply with quote

Code:

Dez 01 18:07:41 lenovo-yoga gnome-shell[5406]: JS WARNING: [/home/richard/.local/share/gnome-shell/extensions/suspend-button@laserb/extension.js 191]: assignment to undeclared
Dez 01 18:07:41 lenovo-yoga gnome-session[5348]: gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:07:41 lenovo-yoga gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:07:41 lenovo-yoga gnome-session[5348]: gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:07:41 lenovo-yoga gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:07:41 lenovo-yoga gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:08:06 lenovo-yoga gnome-session[5348]: gnome-session-binary[5348]: WARNING: Client '/org/gnome/SessionManager/Client7' failed to reply before timeout
Dez 01 18:08:06 lenovo-yoga gnome-session[5348]: gnome-session-binary[5348]: WARNING: Client '/org/gnome/SessionManager/Client4' failed to reply before timeout
Dez 01 18:08:06 lenovo-yoga gnome-settings-[5489]: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: Zeitüberschreitung wurde erreicht (g-io-e
Dez 01 18:08:06 lenovo-yoga gnome-session-binary[5348]: WARNING: Client '/org/gnome/SessionManager/Client7' failed to reply before timeout
Dez 01 18:08:06 lenovo-yoga gnome-session[5348]: gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:08:06 lenovo-yoga gnome-session-binary[5348]: WARNING: Client '/org/gnome/SessionManager/Client4' failed to reply before timeout
Dez 01 18:08:06 lenovo-yoga gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:08:06 lenovo-yoga gnome-session-binary[5348]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dez 01 18:08:06 lenovo-yoga gnome-shell[5406]: JS LOG: Ignored exception from dbus method: Gio.IOErrorEnum: Zeitüberschreitung wurde erreicht
Dez 01 18:08:06 lenovo-yoga gnome-shell[5406]: JS LOG: gnome-session gave us a dead inhibitor: /org/gnome/SessionManager/Inhibitor86
Dez 01 18:08:08 lenovo-yoga gnome-session-binary[5348]: Entering running state


Good hint, we have got some CRITICALS. Any idea what it means?
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 491
Location: Italy

PostPosted: Sat Dec 02, 2017 1:39 pm    Post subject: Reply with quote

Do you use the Caffeine extension perhaps? If so, please have a look at this bug on GitHub.
Back to top
View user's profile Send private message
Spargeltarzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2017
Posts: 138

PostPosted: Sat Dec 02, 2017 1:54 pm    Post subject: Reply with quote

You are right! Wow, that you found this! This bug is open for more than 2 years, they have problems to solve it...

I will try to read up more about it or find an alternative to Caffeine
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 491
Location: Italy

PostPosted: Sun Dec 03, 2017 1:13 pm    Post subject: Reply with quote

According to the comments you may try the Keep Awake GNOME extension:
Please note that I have never tried it personally.
Back to top
View user's profile Send private message
Spargeltarzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2017
Posts: 138

PostPosted: Sun Dec 03, 2017 3:53 pm    Post subject: Reply with quote

Yes, I saw it too and installed now for testing. I believe it lacks feature to turn on automatically when a fullscreen-application is opened.

But I prefer to live with this than freezing my system when trying to shutdown :)

I will let you know after a while if Keep Awake works good.
Back to top
View user's profile Send private message
Spargeltarzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2017
Posts: 138

PostPosted: Wed Dec 06, 2017 6:26 pm    Post subject: Reply with quote

After 3 days of using it, I don't observe any issues with Keep Awake
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 491
Location: Italy

PostPosted: Thu Dec 07, 2017 7:50 pm    Post subject: Reply with quote

I'm glad you fixed your problem :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum