You are not logged in.

#1 2017-04-27 10:38:48

SpyroRyder
Member
Registered: 2014-10-01
Posts: 3

Getting really high CPU usage by gnome-shell after 3.24 upgrade

We're talking cpu usage in the 80% of a single core.  With extensions disabled.  Anyone got any clues as to why?

I might try some of the other gtk-based desktops to see if it's gnome-shell specifically but other than that I am a little out of ideas.

Update: Only Budgie also seems to have issues, which is also the only other one linked to the normal Gnome components.  In which case it might be a mutter issue I suppose, but even with that knowledge I am still stumped as to why such high CPU usage

Last edited by SpyroRyder (2017-04-27 11:00:31)

Offline

#2 2017-04-27 12:54:30

seth
Member
Registered: 2012-09-03
Posts: 58,693

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

gnome-shell  Budgie mutter

=> When talking about "high CPU usage by gnome-shell", do you refer to the session or the process?
If "the session" it might pay off to check which process it actually is...

Offline

#3 2017-04-27 13:20:14

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

Are you by any chance using NVIDIA? if so, try rebuilding mutter with this patch reverted.
https://git.gnome.org/browse/mutter/com … caedef06b6

Offline

#4 2017-04-27 14:05:53

SpyroRyder
Member
Registered: 2014-10-01
Posts: 3

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

seth wrote:

gnome-shell  Budgie mutter

=> When talking about "high CPU usage by gnome-shell", do you refer to the session or the process?
If "the session" it might pay off to check which process it actually is...

The gnome-shell process, and also the budgie window manager process.

Are you by any chance using NVIDIA? if so, try rebuilding mutter with this patch reverted.
https://git.gnome.org/browse/mutter/com … caedef06b6

Will give that a try

Offline

#5 2017-04-27 21:37:26

OOFscr
Member
Registered: 2012-10-06
Posts: 27

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

Just a quick reply: Got a similar issue, updated the system today (lots of new gnome stuff), and now gnome shell constantly uses 8-10% cpu on 4 cores / 8 threads (Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz).

I do not have time to dive into the issue right now, but maybe for a quick confirm my pacman.log | grep gnome:

[2017-01-14 23:29] [ALPM] upgraded gnome-online-accounts (3.22.3-1 -> 3.22.4-1)
[2017-01-14 23:29] [ALPM] upgraded gnome-builder (3.22.3-1 -> 3.22.4-2)
[2017-01-14 23:29] [ALPM] upgraded gnome-music (3.22.2-1 -> 3.22.2-2)
[2017-01-14 23:29] [ALPM] upgraded gnome-photos (3.22.2-1 -> 3.22.3-1)
[2017-01-31 10:48] [ALPM] upgraded gnome-session (3.22.2-1 -> 3.22.2-2)
[2017-01-31 10:48] [ALPM] upgraded gnome-weather (3.20.2-1 -> 3.20.2-2)
[2017-02-04 11:07] [ALPM] upgraded gnome-documents (3.22.0+1+g234a492-1 -> 3.22.0+8+gf53c45e-1)
[2017-02-12 13:19] [ALPM] upgraded gnome-video-effects (0.4.1+56+g393c78f-1 -> 0.4.3-1)
[2017-02-18 12:06] [ALPM] upgraded gnome-bluetooth (3.20.0+6+g3bac4f9-1 -> 3.20.1-1)
[2017-02-18 12:06] [ALPM] upgraded gnome-calculator (3.22.2-1 -> 3.22.3-1)
[2017-02-18 12:06] [ALPM] upgraded gnome-photos (3.22.3-1 -> 3.22.4-1)
[2017-02-18 12:06] [ALPM] upgraded gnome-shell (3.22.2+18+gdf7727a-1 -> 3.22.3-1)
[2017-03-20 03:41] [ALPM] upgraded gnome-online-accounts (3.22.4-1 -> 3.22.5-1)
[2017-03-20 03:41] [ALPM] upgraded gnome-session (3.22.2-2 -> 3.22.3-1)
[2017-03-20 03:41] [ALPM] upgraded gnome-settings-daemon (3.22.1-1 -> 3.22.2-1)
[2017-03-20 03:41] [ALPM] upgraded gnome-shell (3.22.3-1 -> 3.22.3-2)
[2017-03-20 03:41] [ALPM] upgraded gnome-calendar (3.22.2-1 -> 3.22.3-1)
[2017-03-20 03:42] [ALPM] upgraded gnome-control-center (3.22.1-1 -> 3.22.2+2+g97e4d87ae-1)
[2017-03-20 03:42] [ALPM] upgraded gnome-documents (3.22.0+8+gf53c45e-1 -> 3.22.1-1)
[2017-03-20 03:42] [ALPM] upgraded gnome-photos (3.22.4-1 -> 3.22.5-1)
[2017-04-04 10:26] [ALPM] upgraded gnome-system-log (3.9.90-2 -> 3.9.90+156+g6e29f03-1)
[2017-04-21 10:46] [ALPM] upgraded gnome-builder (3.22.4-2 -> 3.22.4+10+g4e04a9b1-1)
[2017-04-27 10:33] [ALPM] upgraded gnome-desktop (1:3.22.2-1 -> 1:3.24.1-1)
[2017-04-27 10:33] [ALPM] upgraded gnome-online-accounts (3.22.5-1 -> 3.24.0+6+g8108ad4c-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-autoar (0.1.1+1+g8d75c44-1 -> 0.2.2-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-bluetooth (3.20.1-1 -> 3.20.1+1+ge902d1a-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-session (3.22.3-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-settings-daemon (3.22.2-1 -> 3.24.1+7+g42f75ed4-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-themes-standard (3.22.2-1 -> 3.22.3-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-shell (3.22.3-2 -> 3.24.1+2+g45c2627d4-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-2048 (3.22.0+1+g41f89c7-1 -> 3.22.0+7+ga460b20-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-backgrounds (3.22.1-1 -> 3.24.0+2+g755b6f9-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-builder (3.22.4+10+g4e04a9b1-1 -> 3.24.1-2)
[2017-04-27 10:34] [ALPM] upgraded gnome-calculator (3.22.3-1 -> 3.24.0+2+g0ca2919b-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-calendar (3.22.3-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-characters (3.22.0+1+g0d4ff80-1 -> 3.22.0+49+g0d6a0bd-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-chess (3.22.2-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-clocks (3.22.0+2+g74a75f7-1 -> 3.24.0+4+gd1003cd-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-color-manager (3.22.2-1 -> 3.24.0+4+ge78025a-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-control-center (3.22.2+2+g97e4d87ae-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-dictionary (3.20.0+28+g7dce582-1 -> 3.24.0+5+ga7aa054-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-disk-utility (3.22.1-1 -> 3.24.0+2+g9e4c9f5c-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-documents (3.22.1-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-font-viewer (3.22.0+1+gd3cf893-1 -> 3.23.91+3+gb1f9578-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-getting-started-docs (3.22.0-1 -> 3.24.0-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-logs (3.22.0+1+g9479eb0-1 -> 3.24.1+1+gf949685-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-maps (3.22.2-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-mines (3.22.2-1 -> 3.24.0+1+ga8c3697-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-music (3.22.2-2 -> 3.24.1.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-nibbles (3.22.2.2-1 -> 3.24.0+1+g623d38e-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-photos (3.22.5-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-robots (3.22.1-1 -> 3.22.1+6+gf5df154-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-screenshot (3.22.0+1+g7568f0e-1 -> 3.22.0+42+g8472361-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-shell-extensions (3.22.2-1 -> 3.24.1+1+gfbf3cf3-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-sound-recorder (3.20.2-1 -> 3.24.0.1+8+g0b8e221-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-sudoku (3.22.2-1 -> 3.24.0+3+g08a1072-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-system-monitor (3.22.2-1 -> 3.24.0+4+g9140c85a-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-terminal (3.22.1-1 -> 3.24.1-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-tetravex (3.22.0-1 -> 3.22.0+4+g817dbf6-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-todo (3.22.1-1 -> 3.22.1+15+g9f9cd9e-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-tweak-tool (3.22.0+3+g2f9d966-1 -> 3.24.0+3+g01bffca-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-user-docs (3.22.0+1+g61f915e-1 -> 3.24.0+11+g6a4e69d7-1)
[2017-04-27 10:34] [ALPM] upgraded gnome-weather (3.20.2-2 -> 3.24.0-1)

And some GlxInfo:

name of display: :1
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_multisample, GLX_EXT_buffer_age, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_libglvnd, 
    GLX_EXT_stereo_tree, GLX_EXT_swap_control, GLX_EXT_swap_control_tear, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_NV_copy_image, GLX_NV_delay_before_swap, GLX_NV_float_buffer, 
    GLX_NV_robustness_video_memory_purge, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_stereo_tree, 
    GLX_EXT_swap_control, GLX_EXT_swap_control_tear, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_NV_copy_buffer, GLX_NV_copy_image, GLX_NV_delay_before_swap, 
    GLX_NV_float_buffer, GLX_NV_multisample_coverage, GLX_NV_present_video, 
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group, 
    GLX_NV_video_capture, GLX_NV_video_out, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_stereo_tree, GLX_EXT_swap_control, 
    GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_NV_copy_image, 
    GLX_NV_delay_before_swap, GLX_NV_float_buffer, 
    GLX_NV_robustness_video_memory_purge, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1070/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 378.13
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)

Hope this gives you some kind of direction, maybe...

Offline

#6 2017-04-28 00:39:07

protomolecule
Member
Registered: 2017-04-06
Posts: 6

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

I can confirm that reverting this patch (https://git.gnome.org/browse/mutter/com … caedef06b6) as suggested by @hussam solves this abnormal behavior.

I've noticed something though. Although before the patch, the window movements has been really fast and smooth but as a result it resulted into high cpu usage. With this patch I am getting the old behavior back where window movements were still fast and smooth but they were slower than the new release (3.24.1). But I am sticking with this patch, because the CPU with this reverted patch is back to normal.

Offline

#7 2017-05-11 22:56:49

protomolecule
Member
Registered: 2017-04-06
Posts: 6

Re: Getting really high CPU usage by gnome-shell after 3.24 upgrade

It seems that it has been fixed in either mutter or directly the nvidia drivers. I am not longer having cpu issues with the animations and whatsoever and the cpu usage is still kinda high (20% when doing all kinds of animations) but it's the old behavior. Also the animations are kinda faster than before eg. moving a window around feels super smooth.

Offline

Board footer

Powered by FluxBB