← Back to team overview

desktop-packages team mailing list archive

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

 

@awe: great progress! well done! :)

I took a few videos to demonstrate the problem on my device
KRILLIN, RC-PROPOSED, R163
network-manager 0.9.10.0-4ubuntu15.1.8
wpa-supplicant 

It was really easy to shoot videos at the right time because the problem
happens exactly every 2 mins (which is the scanning interval Tony
reported above)

DISCLAIMER: The problem can actually get worse than what the first video
shows (if I wait one or two days more)

NO SERVICES DISABLED
https://www.youtube.com/watch?v=UvGoX4Nh9oo

SLPGWD DISABLED
https://www.youtube.com/watch?v=-Vhd0eS5Af4

SLPGWD POSCLIENTD DISABLED
https://www.youtube.com/watch?v=bTPiT2-LP2Y

SLPGWD POSCLIENTD LOCATION-SERVICE DISABLED
https://www.youtube.com/watch?v=V4SXNfJ9SqM



Then I looked for more location/here related services in the system, and I disabled them as well

SLPGWD POSCLIENTD LOCATION-SERVICE INDICATOR-LOCATION DISABLED
https://www.youtube.com/watch?v=2QuED_1UzEw

SLPGWD POSCLIENTD LOCATION-SERVICE INDICATOR-LOCATION LOCATION-SERVICE-TRUST-STORED DISABLED
https://www.youtube.com/watch?v=9QgssDKDu1Q


As can be seen from the videos, disabling SLPGWD is the change that made most of the difference, disabling POSCLIENTD also improved the situation a bit.
Disabling the rest of the services brought very little to no advantage, as far as I can tell.

However, as Tony was correctly saying, even after disabling everything,
there's still a 1sec freeze every time a WiFi scan happens...and that
can be quite annoying, especially when the scanning interval is much
shorter than 2 mins.

-- 
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