You are not logged in.

#1 2013-06-12 08:22:59

Butcher
Member
Registered: 2009-02-04
Posts: 158

High GNOME CPU consumption

For me gnome-shell+Xorg are always at 20-30%, or even more, especially when alt+tabbing between windows. This means high power consumption, laptop temperature is always high, slowness...

I don't remember this happening in 3.6, am I the only one having this problem?

00:02.1 Display controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)

Offline

#2 2013-06-12 20:15:38

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: High GNOME CPU consumption

Are you using the correct video drivers?  There's a possibility you're using LLVM, which is a CPU-based renderer.  GNOME uses LLVM as the replacement to fallback mode.

Offline

#3 2013-06-12 20:18:15

Butcher
Member
Registered: 2009-02-04
Posts: 158

Re: High GNOME CPU consumption

schmidtbag wrote:

Are you using the correct video drivers?  There's a possibility you're using LLVM, which is a CPU-based renderer.  GNOME uses LLVM as the replacement to fallback mode.

Thanks but... how to know that?

Offline

#4 2013-06-12 20:34:56

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: High GNOME CPU consumption

Try:
lsmod | grep video

I'm not on a linux computer at the moment so I can't say for sure if that'll work.

Offline

#5 2013-06-13 11:52:51

Butcher
Member
Registered: 2009-02-04
Posts: 158

Re: High GNOME CPU consumption

schmidtbag wrote:

Try:
lsmod | grep video

I'm not on a linux computer at the moment so I can't say for sure if that'll work.

I don't think GNOME can control in any way the kernel modules that are loaded.

Offline

#6 2013-06-13 12:49:35

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: High GNOME CPU consumption

I never said it did, but it REQUIRES to be composited, so it forces you to have something installed with 3D acceleration capabilities.  If you don't have the proper drivers, it uses LLVM which is CPU-only, and that (especially on a laptop) is extremely draining on your processor.

Last edited by schmidtbag (2013-06-13 12:50:04)

Offline

#7 2013-06-13 12:51:07

Butcher
Member
Registered: 2009-02-04
Posts: 158

Re: High GNOME CPU consumption

uvcvideo               72921  0 
videobuf2_vmalloc       3304  1 uvcvideo
videobuf2_memops        2367  1 videobuf2_vmalloc
videobuf2_core         27541  1 uvcvideo
videodev              105273  2 uvcvideo,videobuf2_core
media                  10309  2 uvcvideo,videodev
i2c_core               22479  5 drm,i915,drm_kms_helper,i2c_algo_bit,videodev
video                  11138  1 i915
usbcore               177091  5 uhci_hcd,uvcvideo,ehci_hcd,ehci_pci,usbhid

In KDE compositing works correctly. It worked good in GNOME 3.6 too.

Offline

#8 2013-06-13 13:08:47

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: High GNOME CPU consumption

Right, that's the point of LLVM - so compositing will work without a proper GPU setup.  However, it does appear you are using the Intel drivers anyway, so that probably isn't the issue right now.  Does KDE eat up a lot of CPU cycles?  Also, did you enter anything xorg.conf related?

Offline

#9 2013-06-13 13:14:56

Butcher
Member
Registered: 2009-02-04
Posts: 158

Re: High GNOME CPU consumption

When using KDE, I see no especially high CPU use in X or kwin. I don't have a xorg.conf file.

Offline

#10 2013-06-13 13:27:38

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: High GNOME CPU consumption

Hmm this is getting to be more tricky.  Are gnome and kde installed on the same Arch setup? They could be somehow conflicting with each other, though I don't know why; they shouldn't.  I don't use gnome myself so I'm not too sure what a probable cause would be other than LLVM forcing itself to be used.  Apparently you're not alone with this problem, here's a topic on the fedora forums:
http://forums.fedoraforum.org/showthread.php?t=285415

According to that, it seems the OP has intel drivers and they're not being used.  Just doing a google search on "gnome high cpu usage", there's a lot of relevant results.  I could look deeper into it but I figure you'd be faster at it than me at this point.

Offline

#11 2013-06-13 15:24:08

opensrcrox
Member
Registered: 2012-08-10
Posts: 32

Re: High GNOME CPU consumption

Try this

 glxinfo | grep rendering

It should say =>    direct rendering: Yes 

Then check the following

 glxinfo | grep OpenGL 

That would indicate if you're using the appropriate drivers.
If it says Gallium0.4 on llvmpipe you're using software rendering.

Offline

Board footer

Powered by FluxBB