[usc] Mir gives up and shuts down due to input with multimonitor qtmir (std::exception::what: Failure sending input event)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm implementing proper multimonitor support in QtMir in this branch:
lp:~gerboland/qtmir/multimonitor/
Please build & install on device. You don't need to change unity8. The immediate goal is for unity8 to remain on the tablet screen, and have nothing (well a black screen) drawn on the external monitor.
This is mostly happening, but I'm experiencing problems related to input.
Steps to repro:
1. When you plug in the external monitor, nothing will appear on it (for later), but unity8 should still be interactive on the N7
- unity8 will flicker when the display config changes, due to it tearing down the old gl context and creating a new one.
- unity8 is not getting any touch input events. I checked that USC is not sending it any. [1]
- however the vol up/down key does cause the volume notification to appear.
2. Now unplug the external monitor.
- *sometimes* unity8 works fine, gets input events again just fine and works great.
- *sometimes* unity8 crashes as soon as you tap on the screen. It crashes because USC shuts down [2]! Relevant failure message:
ERROR: /home/gerry/
Dynamic exception type: N5boost16except
std::exception:
9, "Bad file descriptor"
Something gone screwy with input then.
Perhaps QtMir needs to do something special to its input receiver when the multimonitor situation changes and its surface is destroyed & recreated??
Guidance appreciated
-G
[1] http://
[2] http://
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
-
Diff: 72 lines (+26/-9)1 file modifiedsrc/server/compositor/multi_threaded_compositor.cpp (+26/-9)
Changed in mir: | |
assignee: | nobody → Alberto Aguirre (albaguirre) |
summary: |
- [usc] crash due to input with multimonitor qtmir + [usc] Mir gives up and shuts down due to input with multimonitor qtmir + (std::exception::what: Failure sending input event) |
Changed in mir: | |
importance: | Undecided → High |
milestone: | none → 0.17.0 |
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
importance: | High → Critical |
Changed in mir: | |
status: | In Progress → Fix Committed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu): | |
status: | New → Fix Released |
Changed in mir (Ubuntu): | |
status: | Fix Released → Triaged |
Am using Nexus7 & a slimport cable to reproduce. Am working on the rc-proposed image.