Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: ubuntu crashing due to compiz

  1. #1
    Join Date
    Jan 2009
    Location
    Scotland
    Beans
    910
    Distro
    Ubuntu 12.04 Precise Pangolin

    ubuntu crashing due to compiz

    PLEASE HELP. I have managed to crash ubuntu by asking too much of my processor in compiz. Cannot open any app although can get logged in ok.How do I disable compiz from a terminal login to allow me to start again? Exuse poor typing etc. but I am doing this on my wii.

  2. #2
    Join Date
    Jan 2008
    Beans
    4,305

    Re: ubuntu crashing due to compiz

    If you can uninstall compiz, it can be re-added later.

    Code:
    sudo apt-get remove compiz

  3. #3
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    Re: ubuntu crashing due to compiz

    Quote Originally Posted by NightwishFan View Post
    If you can uninstall compiz, it can be re-added later.

    Code:
    sudo apt-get remove compiz
    Also remember by doing this you may end up ruining your display such as window borders (not being able to close applications) and full functional display. A warning to the thread owner should have been applied.

    Do the following below in your gnome desktop, not terminal

    Uninstall compiz apt-get autoremove compiz then goto your gnome menu and click on System > Administration > System Monitor (Then select the Processes tab) and locate the following and set them to Priority -17.

    • compiz
    • compiz.real
    • compiz-decorator


    This will set a low requirement of to the processes that are hogging the most memory. Please do this to all processes running over 10MB of usage and up to lower your RAM % and CPU % from Xorg.
    Last edited by XDevHald; September 25th, 2009 at 04:43 PM.
    AskDroid - Android Q&A Community

  4. #4
    Join Date
    Jan 2009
    Location
    Scotland
    Beans
    910
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ubuntu crashing due to compiz

    Thanks guys
    Unfortunately I had already ran the sudo apt-get remove compiz command and yes it did cause problems with my window borders and still gave me problems with crashing. Next I went into change desktop background (right click on desktop) and selected visual effects> none. This then set all my window borders etc back to normal and everything was okay. I then went into System>Preferences and to my surprise Compiz manager was still there and was working (hadn't I uninstalled this???). Went into this and reconfigured everything back to how it was before I 'broke the camels back' and is now running fine.
    XDevHald,
    I will now lower the priority of my processor hungry apps as you suggested just in case I get greedy with my visual effects again in future. I have also made sure I have a force quit button on my panel!

  5. #5
    Join Date
    Jan 2009
    Location
    Scotland
    Beans
    910
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ubuntu crashing due to compiz

    XDevHald
    tried to do as you suggested, but the change priority window suggests a lower number -17 (0 is the default of all my processes) gives a higher priority to that app. Surely this is the opposite of what we want to achieve. Also compiz-real is the only one of these above 10Mb (14.4Mb). The only other apps above 10Mb are firfox and python with nautilus not far behind at 9.8Mb. Do I really want to change the priority of these apps??

  6. #6
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    Re: ubuntu crashing due to compiz

    The high priority means that it's running the most out of the memory and is a high priority to lower the percentage and amount of usage. I have set firefox and all compiz and every python process to -17 and not one process is running over 7MB.

    Also my RAM % is always under 30% and CPU is always under 10% unless I am running a lot of applications which is never the case. Hope this helps.
    AskDroid - Android Q&A Community

  7. #7
    Join Date
    Jan 2009
    Location
    Scotland
    Beans
    910
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ubuntu crashing due to compiz

    I have tried setting the priorities as you suggested and although it appears to change on the slider bar when I hit 'change priority' the computer works for a few seconds and then shuts down that window. When I open system monitor again the nice value is back at zero and the processes are back at the 10Mb+ that they were before. Is there another way of changing the value (I was right clicking on the process name in SysMon and then selecting change priority, adjust the priority on the slider then click 'change priority')? I have just noticed Firefox is currently running at 84Mb!!

  8. #8
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    Re: ubuntu crashing due to compiz

    Hey migs,

    I need to know if you're running a development desktop such as Karmic 9.10 or lower. This will help troubleshoot if you're on a testing environment or not. Thanks
    AskDroid - Android Q&A Community

  9. #9
    Join Date
    Jan 2009
    Location
    Scotland
    Beans
    910
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ubuntu crashing due to compiz

    Sorry for my delay in response, I am running the Gnome 2.26.1 desktop. Hope this helps.

  10. #10
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    Re: ubuntu crashing due to compiz

    Quote Originally Posted by migs73 View Post
    Sorry for my delay in response, I am running the Gnome 2.26.1 desktop. Hope this helps.
    Wow, time to upgrade to 2.28.1 for your gnome development. The development of 2.28.1 is being released today in the repository for Ubuntu. Do update-manager -d in terminal and upgrade your development or run your Update Manager to grab the latest release of Gnome Desktop.
    AskDroid - Android Q&A Community

Page 1 of 2 12 LastLast

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
  •