GNOME Bugzilla – Bug 683204
GNOME Shell has high CPU consumption in 'Activities' view
Last modified: 2021-07-05 14:34:57 UTC
Created attachment 223199 [details] The gdb backtrace When switching to Activities view the CPU suddenly jumps to about 70% to 100%. It again suddenly stops when closing the view. A open terminal with top running says it's gnome-shell's fault. Yet, the Shell doesn't seem to get any slower or to hang. I got a gdb backtrace while this happens (actually, I got three of them but they're identical so I'm attaching just one). I'm running a Gentoo AMD64 system (with testing packages enabled) with Nouveau graphics drivers.
The backtrace is meaningless. It basically says that the shell is waiting for the X server to reply, and that's it.
Oh, did you switch to a VT to take that backtrace? That would mean that the X server is not replying to clients, because it's waiting to take the DRM lock again.
Yes, I did. I tried to do it using a gnome-terminal but it froze the entire X server and I had to switch to a VT to kill gdb. How can I get a useful backtrace?
ssh in with another system
Created attachment 223211 [details] The gdb backtrace Ok, I did that. I got 10 backtraces. One is (incidentally?) the same as the ones before. Yet, I got another one very frequently (7 times out of 10). I'm attaching it. If you also need the other 2 backtraces I got just tell me and I'll attach them too.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.