You are not logged in.

#1 2019-03-16 09:25:16

zegkljan
Member
Registered: 2017-12-30
Posts: 60

[SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

During a recent upgrade, gnome-shell was upgraded to 3.32. Although this version is marketed as being faster and smoother I experience the opposite - animations are slower and stuttery (they look like 15-20 fps) and even when idle gnome-shell (and Xorg too) eat about 50% CPU usage. But apart from that and a few gnome shell extensions not working (which is understandable as it is a new version), I can't say anything is broken or not working. It's just the bad experience and CPU load.

I'd like to know whether anybody has experienced similar issues and maybe possibly found some clues as to what might be causing that?

For now, because I really need to work, I have done a complete downgrade as suggested in https://bbs.archlinux.org/viewtopic.php … 2#p1837102

I run on Xorg. I have and optimus laptop with Intel HD Graphics 520 and NVIDIA GM108M but I don't use the optimus stuff, I have only the NVIDIA driver installed and run the NVIDIA card all the time. I can provide other details (hardware or software) if needed (though I think it would involve upgrading back to the "broken" versions which I really don't want to do now).

UPDATE: the problem is fixed with gnome-shell and mutter 3.32.2.

Last edited by zegkljan (2019-05-15 07:49:25)

Offline

#2 2019-03-16 12:50:45

kiwwi
Member
Registered: 2018-02-19
Posts: 1

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Hi,

I can confirm that problem on my Dell Vostro 5468 laptop. Disabling the extensions resolved the 50% + CPU usage, but it isn't a solution. I also did a downgrade as you suggested and for now, everything is working like before.


"It is not the end of the world, but you can see it from here."

Offline

#3 2019-03-16 16:06:12

popux
Member
Registered: 2010-05-02
Posts: 2

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

In my case, disabling "Topicons plus" extension fixed the issue.
gnome-shell process went from 50% cpu usage to almost 0% when idle.

Last edited by popux (2019-03-16 16:06:54)

Offline

#4 2019-03-16 16:07:24

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

popux wrote:

In my case, disabling "Topicons plus" extension fixed the issue.

Which one? Stuttering animations, CPU load or both?

EDIT: sorry, was to quick with a reply.

Last edited by zegkljan (2019-03-16 16:07:59)

Offline

#5 2019-03-16 16:19:36

tomasabril
Member
From: Brazil
Registered: 2011-11-28
Posts: 32

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Top icons plus extensions has been unmaintained for a long time.
https://github.com/phocean/TopIcons-plus/issues/91

Does anyone know of a good replacement if we have to disable in 3.32 because of high cpu usage?

Offline

#6 2019-03-16 16:25:55

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

tomasabril wrote:

Top icons plus extensions has been unmaintained for a long time.
https://github.com/phocean/TopIcons-plus/issues/91

Does anyone know of a good replacement if we have to disable in 3.32 because of high cpu usage?

I had an issue (unrelated to this) with Topicons Plus and it turns out that Topicons (not plus) is (or was prior to gnome 3.32) the way to go. See https://bbs.archlinux.org/viewtopic.php … 9#p1782159. That being said, I do have Topicons (not plus) and I had the CPU load issue.

Last edited by zegkljan (2019-03-16 16:26:49)

Offline

#7 2019-03-16 18:56:03

koroki
Member
Registered: 2013-08-03
Posts: 50

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Same here. Topicons (no plus) have a big usage of CPU...

Offline

#8 2019-03-16 22:53:06

koroki
Member
Registered: 2013-08-03
Posts: 50

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

This extension: https://extensions.gnome.org/extension/ … r-support/ doesn't have the CPU problem. However, some applications shuch as Skype, don't work.

Offline

#9 2019-03-16 23:16:13

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

koroki wrote:

Same here. Topicons (no plus) have a big usage of CPU...

koroki wrote:

This extension: https://extensions.gnome.org/extension/ … r-support/ doesn't have the CPU problem. However, some applications shuch as Skype, don't work.

And do you experience stuttering animations and overall slowness? If yes, does removing topicons solve that?

Offline

#10 2019-03-17 02:51:02

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 653

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

tomasabril wrote:

Does anyone know of a good replacement.

I changed to Topicons Redux some time ago and find it works well.

Offline

#11 2019-03-17 09:32:21

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

bulletmark wrote:
tomasabril wrote:

Does anyone know of a good replacement.

I changed to Topicons Redux some time ago and find it works well.

Well, not quite. Topicons Redux have the same issue (see https://gitlab.com/pop-planet/TopIcons-Redux/issues/12), BUT (as reported in the issue) when you open the settings for this extension from tweaks (and close the settings again), the CPU load drops to normal levels. If you open the settings for the second time, the load rises again. If you open it third time, the load drops again, etc. Very werid behavior but the best one so far.

Maybe you had luck and was in the odd-number state smile.


Regarding the suttery animations, this problem has gone with the CPU load so it's now only down to the tray icon extensions.

Last edited by zegkljan (2019-03-17 09:33:16)

Offline

#12 2019-03-17 11:55:53

koroki
Member
Registered: 2013-08-03
Posts: 50

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

zegkljan wrote:
koroki wrote:

Same here. Topicons (no plus) have a big usage of CPU...

koroki wrote:

This extension: https://extensions.gnome.org/extension/ … r-support/ doesn't have the CPU problem. However, some applications shuch as Skype, don't work.

And do you experience stuttering animations and overall slowness? If yes, does removing topicons solve that?

The system was specially slow with TopIcons but, with appindicator, all is fluid again. Unlucky, I couldn't force to appear skype...

Offline

#13 2019-03-17 19:47:20

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

All similar extensions seems to suffer from the same problem. Thanks to @Zekljian for opening this thread.

I've been using Topicon Redux and it's a no-go for now, it's been reported so hopefully a fix will reach us soon: https://gitlab.com/pop-planet/TopIcons-Redux/issues/12

Offline

#14 2019-03-18 21:23:33

speedyx
Member
From: Italy
Registered: 2008-09-05
Posts: 100
Website

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

koroki wrote:

This extension: https://extensions.gnome.org/extension/ … r-support/ doesn't have the CPU problem. However, some applications shuch as Skype, don't work.

Thank you very much! I known this extension but I've forgot it!


I love archlinux: the last STABLE kernel release + the last STABLE DE release + the last STABLE apps releases. The upstream developers decide what is STABLE.

Offline

#15 2019-03-19 02:08:40

wuxb
Member
Registered: 2012-09-13
Posts: 29

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Do you see a 100%-CPU tracker process?

If that's the case:
$ gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2
$ tracker reset -r
$ reboot

Offline

#16 2019-03-19 06:46:56

diogobaeder
Member
Registered: 2012-01-02
Posts: 59

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

From the discussion I saw at TopIcons Redux and gnome-shell, it seems to be a bug that causes any of those "top-icon apps" to consume lots of CPU. A patch has been proposed, not sure when or whether it's going to land, or if another fix will be proposed. Meanwhile, I'll have to keep disabling mine when I don't need it - which is a bummer.

Offline

#17 2019-03-19 13:38:24

koroki
Member
Registered: 2013-08-03
Posts: 50

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

speedyx wrote:
koroki wrote:

This extension: https://extensions.gnome.org/extension/ … r-support/ doesn't have the CPU problem. However, some applications shuch as Skype, don't work.

Thank you very much! I known this extension but I've forgot it!

Can you use with Skype?

Offline

#18 2019-03-19 17:18:45

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

That appindicatorthing doesn't work for me with GNOME 3.32, it on and I even rebooted the laptop but I don't notice any visible change.

Offline

#19 2019-03-20 09:53:25

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

https://extensions.gnome.org/extension/1503/tray-icons/

This one works for me with GNOME 3.32 but it put a load of 15% on my CPU. Sadly I'm forced to built a SystemTray into a desktop application, it's useless and awkward but I'm forced, too. So I needed a SystemTray in my GNOME hmm

// edit
SystemTray seems only to work for X11-Applications?

Last edited by hoschi (2019-03-20 17:07:43)

Offline

#20 2019-03-23 18:30:46

koroki
Member
Registered: 2013-08-03
Posts: 50

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Okey, for the common interest.
In the appindicator extensions ( https://extensions.gnome.org/extension/ … r-support/ ), some aplications not apear. For solving this problem, you need to set XDG_CURRENT_DESKTOP with Unity : https://github.com/ubuntu/gnome-shell-e … /issues/74

The easiest way that I found to do it is to modify the desktop files. For example, for skype, I created a "skypeforlinux.desktop" in ".local/share/applications/", where the Exec is:
Exec=env XDG_CURRENT_DESKTOP=Unity /usr/bin/skypeforlinux %U

Offline

#21 2019-03-23 19:48:16

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Seems the root of the problem is an upstream issue: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1054

For now, the AppIndicator support solves most of the problems. I'll mark the thread as workaround.

Offline

#22 2019-03-31 21:37:15

almindor
Member
Registered: 2015-10-10
Posts: 33

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

zegkljan wrote:

Seems the root of the problem is an upstream issue: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1054

For now, the AppIndicator support solves most of the problems. I'll mark the thread as workaround.

Even after removing topicons* and any icon specific plugins this issue still flares up for me. I thought it worked ok when the cpu went down right after removing them but 5m or so later (of nothing but firefox and a static page open) gnome-shell pops up to 50% cpu usage again. It seems to be more periodic with shorter intervals without the plugins but this is def. a gnome bug. It wasn't there with .30 even with the plugins in.

Offline

#23 2019-04-08 13:22:18

hriz
Member
Registered: 2019-04-08
Posts: 1

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Even after disabling all of my gnome extensions; the issue remains on my machine; gnome-shell constantly uses 55% to 65% of cpu.

Edit: I was wrong; somehow top icon plus was still activated. I can confirm the workaround is working on gnome 3.32

Last edited by hriz (2019-04-08 13:38:54)

Offline

#24 2019-04-08 23:25:39

pezz
Member
From: Geelong, Australia
Registered: 2010-05-23
Posts: 75

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Does anyone have more info on how to get icons in the tray working with the Appindicator extension?

Modifying .desktop files and adding "Exec=env XDG_CURRENT_DESKTOP=Unity someprogram" doesn't do anything for Hexchat, Discord etc for me.

Cheers.

Offline

#25 2019-04-17 22:28:06

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 653

Re: [SOLVED] Gnome 3.32 slow, not smooth and high CPU usage

Arch updated to gnome-shell and mutter 3.32.1 today and all the annoying bugs I have seen since 3.32 seem to have been fixed - except this one! Darn. sad

Offline

Board footer

Powered by FluxBB