FS#48978 - [linux] [gnome-shell] high cpu usage using kernel 4.5-1

Attached to Project: Arch Linux
Opened by Apostolos Angelis (aangelis) - Saturday, 16 April 2016, 15:47 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 April 2017, 09:46 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
gnome-shell (3.20.0-2) uses a large amount of one core 90-100% when system run on 4.5-1 kernel (i686).
I am using gdm.
System becomes unusable in GUI mode. If I switch to text mode gnome-shell process consumes 0% of cpu core.

I have tried to downgrade gnome and intel video packages to previous versions without solving the problem.

The solution came by downgrading kernel to version 4.4.5-1.

Additional info:
linux-4.5-1 ([2016-04-14] upgraded linux (4.4.5-1 -> 4.5-1))
gnome-shell 3.20.0-2
xf86-video-intel 1:2.99.917+626+ga7526ea-1


Steps to reproduce:
Upgrade kernel to version 4.5-1
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 April 2017, 09:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  Assuming this is fixed. Most CPU cycles were spent by RGBA->BGRA colorspace conversions, GNOME 3.24 tries to avoid them.
Comment by Stefan Krueger (Gex) - Monday, 18 April 2016, 17:19 GMT
I have been experiencing the very same problem. Tried using plain "startx" from text mode instead of gdm ("exec gnome-session" in .xinitrc), no improvement.

linux-4.5-1
gnome-shell 3.20.1-1
xf86-video-intel 1:2.99.917+626+ga7526ea-1

Haven't tried downgrading the kernel yet, though.

EDIT: Downgrading to kernel 4.4.5 solved it for me, too.
Comment by Apostolos Angelis (aangelis) - Friday, 22 April 2016, 06:01 GMT
I have tried the updated packages.
The following versions of kernel, gnome-shell and intel video driver does not solve the problem either.

linux 4.5.1-1
gnome-shell 3.20.1-1
xf86-video-intel 1:2.99.917+631+gf2a4645-1
Comment by Turbo (Reanoyer) - Sunday, 01 May 2016, 07:42 GMT
You machines have intel c states on bios? I had to disable them, I had the same problem
Comment by Peter Mawhorter (solsword) - Sunday, 08 May 2016, 16:49 GMT
Although I haven't tested downgrading my kernel to confirm I have exactly the same issue I've been getting unusually high CPU usage since about when I upgraded to 4.5.1, and today I traced it to gnome-shell.

In my case I assumed from looking at earlier similar bug reports that video playback was triggering this (in my case via youtube in chromium), but just now i was able to get gnome-shell back to reasonable CPU usage by closing my Firefox window with gmail open. Several other websites in Firefox (including this one) don't trigger this, even with a youtube video playing concurrenlty in chromium, but opening a gmail tab in Firefox consistently triggers gnome-shell CPU gobbling.

Further testing shows that opening gmail in chromium has no effect, and whether or not chromium is open concurrently a Firefox gmail tab is the trigger.

Anyone else regularly keep a Firefox tab open with gmail up? If so, does closing it relax your gnome-shell?

For what it's worth I don't think that my BIOS has any C-state related switches, although I'm not 100% sure.
Comment by Apostolos Angelis (aangelis) - Monday, 09 May 2016, 17:01 GMT
I've been getting high CPU usage without starting any application in GUI.

I will disable c states using grub and I will post the results (my bios does not have any options regarding c states)

The following versions of kernel, gnome-shell and intel video driver does not solve the problem either.

linux 4.5.2-1
gnome-shell 3.20.1-1
xf86-video-intel 1:2.99.917+641+ge4ef6e9-1
Comment by Apostolos Angelis (aangelis) - Wednesday, 11 May 2016, 18:36 GMT
I have tried the latest kernel package (4.5.3-1) with gnome-shell (3.20.2-1) and intel video driver (1:2.99.917+645+g88733a7-1).
Problem still exists.

I reverted to kernel 4.4.5 for normal system operation.
Comment by Rafael Campos (rafaelc) - Thursday, 07 July 2016, 01:20 GMT
I have the same problem with:
kernel 4.5.7 x86_64
gnome-shell-3.18.5-x86_64
xorg-x11-drv-intel-2.99.917-x86_64

However, with
kernel 4.4.10 x86_64
gnome-shell-3.18.5-x86_64
xorg-x11-drv-intel-2.99.917-x86_64

the system operation work normally
Comment by mattia (nTia89) - Wednesday, 28 December 2016, 17:21 GMT
Does this bug report is still valid?
I've never had a such problem

Loading...