[Touch-packages] [Bug 1675357] Re: Unity8 spins for a long time after being on an inactive vt

2017-03-23 Thread Gerry Boland
Turning on input event printing[1], when using Ctrl+Alt+F1 switching
away from unity8, I see a continuous stream of input events being sent
from Mir to Unity8, while on VT1:

[2017-03-23:12:36:53.419] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.428] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.444] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0xffe3). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.470] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.480] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.495] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0xffe3). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.521] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to 
ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.531] qtmir.mir.input: Received 
MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to 
ShellView(0x558b6b947ea0)


and actually, switching back to Unity8's VT, the key repeat events don't stop! 
Adding Mir to the bug


[1] qdbus com.canonical.Unity8 /com/canonical/Unity8/Debugging 
com.canonical.Unity8.Debugging.SetLoggingFilterRules "qtmir.mir.input=true"

** Also affects: mir (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- Unity8 spins for a long time after being on an inactive vt
+ Mir sending key repeat events continually to nested shell after VT switch 
(causes Unity8 lockup for a while)

** Changed in: unity8 (Ubuntu)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1675357

Title:
  Mir sending key repeat events continually to nested shell after VT
  switch (causes Unity8 lockup for a while)

Status in Canonical System Image:
  Triaged
Status in mir package in Ubuntu:
  New
Status in qtmir package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  Steps:
  * log in to unity8
  * Ctrl+Alt+F* to a different vt, or log in to a different user session
  * go back to the unity8 vt

  Expected:
  * session is locked, but working

  Current:
  * unity8 starts spinning for a time proportional to the period it was inactive
  * if it was inactive long enough, it doesn't seem to recover at all

  
  It seems it's "catching up" in some way, maybe with input, maybe frames.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: unity8 8.15+17.04.20170321-0ubuntu1 [origin: 
LP-PPA-ci-train-ppa-service-2555]
  ProcVersionSignature: Ubuntu 4.10.0-13.15-generic 4.10.1
  Uname: Linux 4.10.0-13-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity:Unity7
  Date: Thu Mar 23 11:36:39 2017
  InstallationDate: Installed on 2016-05-06 (320 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: unity8
  UpgradeStatus: Upgraded to zesty on 2016-11-22 (120 days ago)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1675357] Re: Unity8 spins for a long time after being on an inactive vt

2017-03-23 Thread MichaƂ Sawicz
This is a `perf report` from just 3-4s around reactivating a unity8 vt:

  18,33%  Mir/Input Reade  libc-2.24.so [.] malloc
   5,42%  unity8   libQt5Core.so.5.7.1  [.] 
_ZL28qMetaTypeCustomType_unlockedPKciPi.constprop.817
   4,55%  MirServerThread  libglib-2.0.so.0.5105.0  [.] g_main_context_dispatch
   3,44%  unity8   libQt5Qml.so.5.7.1   [.] 
_ZN3QV413InternalClass4findEPKNS_6StringE
   2,34%  unity8   libQt5Qml.so.5.7.1   [.] 
_ZNK3QV414QObjectWrapper12findPropertyEPNS_15ExecutionEngineEP15QQmlContextDataPNS_6StringENS0_12RevisionModeEP16QQmlPropertyData
   2,31%  unity8   libQt5Qml.so.5.7.1   [.] 
_ZN3QV413MemoryManager9allocDataEmm
   1,83%  unity8   libc-2.24.so [.] _int_free
   1,56%  unity8   libQt5Qml.so.5.7.1   [.] 
_ZN11QQmlBinding6updateE6QFlagsIN19QQmlPropertyPrivate9WriteFlagEE

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1675357

Title:
  Unity8 spins for a long time after being on an inactive vt

Status in Canonical System Image:
  Triaged
Status in qtmir package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  Steps:
  * log in to unity8
  * Ctrl+Alt+F* to a different vt, or log in to a different user session
  * go back to the unity8 vt

  Expected:
  * session is locked, but working

  Current:
  * unity8 starts spinning for a time proportional to the period it was inactive
  * if it was inactive long enough, it doesn't seem to recover at all

  
  It seems it's "catching up" in some way, maybe with input, maybe frames.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: unity8 8.15+17.04.20170321-0ubuntu1 [origin: 
LP-PPA-ci-train-ppa-service-2555]
  ProcVersionSignature: Ubuntu 4.10.0-13.15-generic 4.10.1
  Uname: Linux 4.10.0-13-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity:Unity7
  Date: Thu Mar 23 11:36:39 2017
  InstallationDate: Installed on 2016-05-06 (320 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: unity8
  UpgradeStatus: Upgraded to zesty on 2016-11-22 (120 days ago)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp