High CPU when on another user's desktop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: cairo-clock
Steps to reproduce:
1. Log in as "User A" with gnome and compiz.
2. Launch cairo-clock.
3. Do a "Switch User" and start a session as "User B".
4. As "User B", run the "top" command in a terminal.
Actual Results: The compiz process belonging to "User A" is using 67% of one core on my machine.
Expected Results: The compiz process belonging to "User A" is using very little CPU.
This is 100% reproducible on my setup, with Ubuntu 8.04 and cairo-clock 0.3.3-2 from the repositories. It also occured with Ubuntu 7.10. If you kill the cairo-clock process belonging to "User A" then the CPU usage of the compiz process drops to negligible size. I don't know if I should call this is a bug with cairo-clock, or compiz, or what. Certainly, the end result is that cairo-clock cannot really be used in an environment where user-switching is common.
Changed in compiz: | |
status: | Incomplete → New |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Low |
I changed the affected package from cairo-clock to compiz, because I think that I get the same sort of behavior in other settings. For example, run Firefox and open a flash movie; then switch users.
Instead of switching users, you can also get the same behavior by doing Ctl-Alt-F1 to get to a new tty. Running top in the new tty then shows compiz using a large share of CPU, if there is an application running such as cairo-clock or a flash video in compiz.