Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Compiz using high CPU (up to 90 %)

  1. #1
    Join Date
    Jul 2011
    Beans
    9

    Compiz using high CPU (up to 90 %)

    Dear friends,

    I need your help. Since upgrading from 12.04 to 12.10 (alpha 3, beta 1, beta 2), compiz has a constant CPU usage of up to 90 %, even when idle with only 1 terminal open, running top. This is when running Unity or Gnome. If I run Gnome Classic (no effects), the CPU usage is normal. I am at a loss on how to narrow down the culprit.

    I have a 2005 Dell Latitude D610 with an Intel Pentium M Processor 2.13 GHz and Vesa Intel 915GM/910ML/915MS Graphics card and 1.2 Gb memory. Is this already too old for Ubuntu?

    Any suggestions are highly appreciated, but please keep it sort of simple as I am not that technical, albeit willing to try quiet a lot!


    Best wishes
    Tom

  2. #2
    Join Date
    Jan 2008
    Location
    Nappanee, IN
    Beans
    586
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Compiz using high CPU (up to 90 %)

    You do realize that one of the major changes in 12.04 to 12.10 was the elimination of Unity 2D? Compiz will be emulated using your CPU if you don't have a GPU which supports hardware acceleration.

    I think you should probably re-think using Unity on this laptop. It is 7 years old, but would probably run Xubuntu or Lubuntu fine and probably Kubuntu.

    Not that it won't run Unity Ubuntu, but it will probably keep your CPU hopping.

  3. #3
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiz using high CPU (up to 90 %)

    Quote Originally Posted by Dammerl View Post
    Dear friends,

    I need your help. Since upgrading from 12.04 to 12.10 (alpha 3, beta 1, beta 2), compiz has a constant CPU usage of up to 90 %, even when idle with only 1 terminal open, running top. This is when running Unity or Gnome. If I run Gnome Classic (no effects), the CPU usage is normal. I am at a loss on how to narrow down the culprit.

    I have a 2005 Dell Latitude D610 with an Intel Pentium M Processor 2.13 GHz and Vesa Intel 915GM/910ML/915MS Graphics card and 1.2 Gb memory. Is this already too old for Ubuntu?

    Any suggestions are highly appreciated, but please keep it sort of simple as I am not that technical, albeit willing to try quiet a lot!


    Best wishes
    Tom
    Check to see if you are using the i915 driver, instead of the vesa driver.

  4. #4
    Join Date
    Apr 2006
    Location
    New Hampshire, U.S.A.
    Beans
    2,326
    Distro
    Ubuntu Development Release

    Re: Compiz using high CPU (up to 90 %)

    Hmmm. My IBM Thinkpad T40 has a Pentium M. If I do a:

    cat /proc/cpuinfo | grep flags

    there is no "pae" in the list so 12.10 Ubuntu live install image checks for the flag and won't boot. It's got something to do with memory sizes of 4G and up I think.

    Now I was able to install 12.04 2D just fine on the Thinkpad. Upgrading to 12.10 sort of worked with about half the packages held back. So I re-installed 12.04 2D and am using that as well as a second partition with 12.04 Lubuntu.

    I'm curious if you have a pae flag?

  5. #5
    Join Date
    Jul 2011
    Beans
    9

    Re: Compiz using high CPU (up to 90 %)

    Dear All,

    many thanks for the responses so far!

    @cwsnyder I was hoping that my hardware would still be up for the job but certainly will look into the other variants - I am sure they will do the job equally fine.

    @jerrylamos I have the pae flag but I am not sure what this really means.

    @ cariboo907 How can I check this? Running lshw -c video brings up the line
    Configuration: latency=0
    ;
    Running lspci -k | grep VGA gives
    VGA compatible controller: Intel Corporation Mobility 915 GM/GMS/910GML Express Graphics Controller (rev 03)

    I should add, I had to set the nomodeset kernel boot option as my computer otherwise would boot to a black screen.

    Best wishes
    Tom

  6. #6
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiz using high CPU (up to 90 %)

    @Dammerl try:

    Code:
    sudo lshw -C display
    I have an Nvida graphics adapter, and the result I get looks like this:

    Code:
    udo lshw -C display
    [sudo] password for cariboo: 
      *-display               
           description: VGA compatible controller
           product: GT218 [GeForce 210]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:02:00.0
           version: a2
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nvidia latency=0
           resources: irq:18 memory:df000000-dfffffff memory:c0000000-cfffffff memory:dc000000-ddffffff ioport:ef80(size=128) memory:def80000-deffffff
    I bolded the driver in my case.

  7. #7
    Join Date
    Jul 2011
    Beans
    9

    Re: Compiz using high CPU (up to 90 %)

    Hi Cariboo907,

    I ran this command and here is my output:
    Code:
     sudo lshw -C display
      *-display:0 UNCLAIMED   
           description: VGA compatible controller
           product: Mobile 915GM/GMS/910GML Express Graphics Controller
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 03
           width: 32 bits
           clock: 33MHz
           capabilities: pm vga_controller bus_master cap_list
           configuration: latency=0
           resources: memory:dff00000-dff7ffff ioport:ec38(size=8) memory:c0000000-cfffffff memory:dfec0000-dfefffff
      *-display:1 UNCLAIMED
           description: Display controller
           product: Mobile 915GM/GMS/910GML Express Graphics Controller
           vendor: Intel Corporation
           physical id: 2.1
           bus info: pci@0000:00:02.1
           version: 03
           width: 32 bits
           clock: 33MHz
           capabilities: pm bus_master cap_list
           configuration: latency=0
           resources: memory:dff80000-dfffffff
    It appears I have no driver installed ?!? By the way, the second display presumably is the monitor of the docking station, which currently does not work at all (but first things first).

    Best wishes
    Tom

  8. #8
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiz using high CPU (up to 90 %)

    you only have 1,2 Gb ram, so no need to dream about compiz. You should be happy to see it running without crashing

    Choose Lubuntu or xubuntu or something "light" if you cant add more ram (at least 4 Gb)

    you should have xserver-xorg-video-intel driver installed.

  9. #9
    Join Date
    Jul 2011
    Beans
    9

    Re: Compiz using high CPU (up to 90 %)

    Hi Dino 99,

    I guess my hardware is too old ... I am actually installing Lubuntu-Desktop as I type to see whether this brings back the joy.

    I am still wondering, though, whether my graphics driver isn't working correctly. My xorg.conf lists vesa as my driver and I am wondering whether to change this to intel ...


    Best wishes
    Tom

  10. #10
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiz using high CPU (up to 90 %)

    ah, you should not have a xorg.conf as now the kernel directly deal with X. So for testing, rename it as xorg.conf.original (or whatever you like) before dropping it to the bin.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •