Xorg/Compiz is using massive amounts of CPU. What to do?

18,897

I used "Compiz Config Settings Manager" to resolve the same issue. Though it wasn't using nearly as much of my CPU, just enough to annoy me from time to time.

sudo apt-get install compizconfig-settings-manager

After installation, press the Super/Windows key, and begin to type "Compiz", after which you can select the tool. (There is a warning upon opening the application, stating to be wary of changes made.) Click "Ok" and click on "OpenGL" (The actual words)

Uncheck "Sync to VBlank", and depending on your system, change the "Texture Filter" accordingly. (I personally have mine set to "Fast" and have not experienced any issues.)

Afterwards I exited the application, and restarted my computer without any further problems.

Share:
18,897

Related videos on Youtube

mushroomkingDX
Author by

mushroomkingDX

Updated on September 18, 2022

Comments

  • mushroomkingDX
    mushroomkingDX over 1 year

    I am using Ubuntu 12.04.

    I've been trying to figure out what is causing my Xorg and Compiz to frequently come close to maxing out my CPU usage for weeks now. Essentially, during normal use, both processes will fluctuate between using next to no CPU to all of my CPU.

    I did a little research and it might be a memory leak, but I'm not entirely sure. Does anyone know what could be causing this issue, and how I could go about fixing it?


    I'm using an ATI Mobility Radeon 5400.

    $ lspci | grep VGA
    01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]
    02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5400 Series]
    
    
    $ glxinfo | grep render
    direct rendering: Yes
    OpenGL renderer string: Gallium 0.4 on AMD RS880
        GL_NV_conditional_render, GL_AMD_conservative_depth,
    
    • Danatela
      Danatela over 10 years
      Also, unity support test is useful. I think it will show that software rendering it's active.
    • tibi
      tibi over 8 years
      strangely my xorg and compiz use went op when skype was running. skype itself used a continues 2% and
  • Hosam.Yousof
    Hosam.Yousof almost 10 years
    some information on "Sync to VBlank" ubuntuforums.org/showthread.php?t=1537858
  • Gauthier
    Gauthier over 9 years
    If you have nvidia drivers, you might want to try turning off "Sync to Vblank" in the nvidia settings as well.