after switch user and login back, ume-launcher stop working

Bug #260480 reported by Jouston Huang
2
Affects Status Importance Assigned to Milestone
Transylvania
Invalid
Undecided
Unassigned
Ubuntu Netbook Remix
Invalid
Critical
Michael Terry
Ubuntu Netbook Remix Launcher
Invalid
Critical
Michael Terry

Bug Description

Steps to reproduce:

 * boot up and see ume-launcher working
 * switch user
 * login back
 * ume-launcher stop working

Expected: ume-launcher works like it was.

Changed in netbook-remix-launcher:
assignee: nobody → njpatel
Revision history for this message
Bill Filler (bfiller) wrote :

After investigating, there are two main problems here:
1)Create a second user, and use Quit->Switch User to switch to this user. A second instance of the launcher is run as the new user and the original launcher instance is still running. The second launcher works, but the performance is extremely bad - everything on the system is very slow and sluggish. I'm guessing because we are consuming too many resources (memory, vram, ?). So the question is can Switching users be detected and can we release resources from the non-active instance of the launcher or somehow fix the performance issue?

2)The second case is to try Quit->Switch User and then log back in as the same user. This causes the same problem as suspend/resume (see bug 237761) where the launcher is no longer responsive to mouse events (key events still work). According to mterry, Switch User creates a new virtual terminal which is why we see the same symptoms here. Is there a way to have a generic "virtual terminal" listener that can perform the workaround that we do for suspend/resume?

Changed in netbook-remix-launcher:
importance: Undecided → Critical
milestone: none → rc1
Bill Filler (bfiller)
Changed in netbook-remix:
assignee: nobody → njpatel
importance: Undecided → Critical
milestone: none → rc1
Bill Filler (bfiller)
Changed in netbook-remix:
status: New → Confirmed
Changed in netbook-remix-launcher:
status: New → Confirmed
Revision history for this message
Neil J. Patel (njpatel) wrote :

After fruther investigation, it seems that the Intel drivers cannot accelerate GL on additional virtual terminals.

This effects the performance of any gl-based application (try glxgears on the 2nd user). Killing the launcher on the 1st user before switching makes no difference.

Revision history for this message
Bill Filler (bfiller) wrote :

The plan is to disable switch user functionality when in Netbook mode as there is no workaround to the problem at this time. Switch User will still be enabled when in Classic Mode.

Changed in netbook-remix-launcher:
assignee: njpatel → mterry
Changed in netbook-remix:
assignee: njpatel → mterry
Revision history for this message
Michael Terry (mterry) wrote :

Fixed in desktop-switcher 0.2ubuntu5netbook0unr3. In classic mode, we enable user switching; in Netbook mode, we don't. The default was changed to 'disable user switching' in ume-config-netbook 0.20.

Changed in netbook-remix:
status: Confirmed → Fix Committed
Changed in netbook-remix-launcher:
status: Confirmed → Invalid
Bill Filler (bfiller)
Changed in netbook-remix:
status: Fix Committed → Fix Released
Changed in netbook-remix:
status: Fix Released → Invalid
Changed in trans:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.