unity-panel-service eats cpu when scrubbing through menubar
Bug #785648 reported by
Omer Akram
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Expired
|
Medium
|
Unassigned | ||
unity (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Unity supports Dell Mini as a minimum requirements hardware. I have very similar netbook.
The problem is that the menubar is slow and cpu hungry. For example if you click on the appmenu of gnome terminal and scrub through menus, the opening and closing of menus feel slow and heavy, if you look at 'top' stats it seems unity-panel-service eats 50%(or even more) cpu during scrubbing between menus. If the menus of an app are shown in the application itself(and not in the unity menubar) the scrubbing is fast and less cpu hungry.
see the video attached.
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
Changed in unity: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Confirmed even on an Intel i7-2600.
I'm fairly certain the cause of this bug will be event_filter() in services/ panel-service. c. That's the function I optimized to fix bug 687567. Sadly, that fix is still not enough to fix this bug too. Ideally the event_filter() function should be removed completely because it intercepts every mouse motion event. Unfortunately it has to do that right now because it's the only way we've found to implement scrubbing (so far).
Just a theory... but unity-panel-service has constant CPU usage issues even when idle, which I am about to log a bug for.