← Back to team overview

desktop-packages team mailing list archive

[Bug 1480877] Re: Access points' "PropertiesChanged" dbus signals freeze UI on mobile devices

 

Here's some test results from me.  tl;dr stopping location services
helps a lot, but still tiny UI stuttering.

My routine is to leave my apartment and walk down the street.  This
means I go from wifi to 3G.  What happens on current images is:

1) As my phone notices that I'm out of wifi range, it freaks out.  This
is when the UI stutters (and high dbus CPU).  This can last up to a
minute, making the phone nigh unusable for the duration.  The indicator
switches to 3G only after all the stuttering stops (making me think it's
finally caught up to all the dbus traffic that's been trying to get
through the loaded dbus).

2) Every so often after this (15 or 30 seconds maybe?), I get a very
brief, maybe 1s, UI stutter.  Presumably this is during wifi scans.  It
goes away if I turn off wifi completely.

I don't see either of those issues when I'm on wifi.  It's only going to
3G and staying on 3G that cause the problems.  Again, everything points
to wifi scans triggering it.

So that's the normal routine.  Today I tried that routine once to
confirm it was still happening.  Then turned off the three services per
comment 56.  And did my routine again.  This time the switch to 3G
happened faster.  I still saw some stuttering during the transition.
Maybe three short bursts of stutter in quick succession.  But all over
in a matter of seconds, versus the minute before.  And I still saw the
regular-interval 1s stutter during normal scans.

But disabling locations was a huge help.  And makes this bug go from a
show-stopper to merely a regular annoyance.

Shall we spin off a bug for the location folks to clean up their dbus
usage?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1480877

Title:
  Access points' "PropertiesChanged" dbus signals freeze UI on mobile
  devices

Status in Canonical System Image:
  Confirmed
Status in indicator-network package in Ubuntu:
  Incomplete
Status in network-manager package in Ubuntu:
  Incomplete
Status in location-service package in Ubuntu RTM:
  New
Status in network-manager package in Ubuntu RTM:
  Incomplete

Bug description:
  Krillin, rc-proposed, r83

  
  DESCRIPTION:
  I've been trying to track down the cause of the occasional UI freezes on my Krillin device, and I noticed that whenever the UI freezes for 2-4 seconds, I get a burst of "PropertiesChanged" signals in dbus-monitor

  Here's a log of what's shown in dbus-monitor:
  http://pastebin.ubuntu.com/11992322/

  I'd guess the problem is in the code that actually catches the signals
  and acts accordingly.

  HOW TO REPRODUCE: 
  1) Move to a place where many wifi hotspots are available
  2) Connect the device via USB and run "phablet-shell" and then "dbus-monitor"
  3) Use the device while keeping an eye on dbus-monitor output

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1480877/+subscriptions


References