Unity freezes when a program uses a lot of CPU and I hover an item on the launcher
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Undecided
|
Unassigned | ||
Unity |
New
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When an application suddenly starts using a lot of CPU (e.g. when I import the favourites with Firefox from a big HTML file), Unity thinks that the program doesn't respond to commands, and the window becomes gray. Though, if I click a button in the window, it works. But if I move the pointer on the launcher while the window is gray, Compiz stops responding, the window becomes unresponsive but there isn't any hard disk activity. I can move the mouse and switch to a TTY. If I run "top" in the tty, I don't see any strange activity. If I kill compiz and start another window manager (like Metacity), I can continue using the program: I'm reporting the bug with Firefox and Metacity...
Another user noticed this behavior, so I made a python script for him to analyze the activity with Unity and KDE while Chrome is starting. Look at the attachments. "Memoria" means "Memory", "Utilizzo CPU" means "CPU usage", "Rete"= Network, Trasmessi=sent, Ricevuti=received, "Variazione dei processi" is the diff between two instances of "ps", "Utilizzo risorse da parte di Compiz" was meant to monitor compiz, but it didn't work.
tags: | added: quantal |
Changed in compiz: | |
status: | Incomplete → New |
Changed in unity: | |
status: | Incomplete → New |
Changed in compiz (Ubuntu): | |
status: | Incomplete → New |
Changed in unity (Ubuntu): | |
status: | Incomplete → New |
From memory, I think the fade plugin is quite inefficient. While it is fading a (unresponsive) window, it continuously generates damage for itself, which will cause high CPU and sluggishness of compiz.
It should not freeze though. That's possibly a different problem.