unplugging external monitor causes nested server to throttle client
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Mir |
Fix Released
|
Undecided
|
Alan Griffiths | |
| | mir (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
On a vivid(ish) laptop with external monitor connected and active.
Running trunk + the display reconfig fix in lp:~alan-griffiths/mir/cache-invalidation-for-nested-Display-active-config
/1/ start a host server:
$ sudo bin/mir_demo_server --shell-report log --window-manager system-compositor --display-config sidebyside --vt 1 --arw-file
/2/ start a nested server:
$ bin/mir_demo_server --shell-report log --host /tmp/mir_socket --display-config sidebyside --window-manager tiling
/3/ start a client (one chosen that reports frame rate)
$ bin/mir_
/4/ disconnect the external monitor
Expected: FPS continues at 60
Observed: FPS drops to around 10 until external monitor is reconnected.
| Alan Griffiths (alan-griffiths) wrote : | #1 |
| Alan Griffiths (alan-griffiths) wrote : | #2 |
Ugh. Doesn't work nearly as well in 0.17
| Alan Griffiths (alan-griffiths) wrote : | #3 |
Hmm, now I have it in a state where both monitors plugged in gives 60FPS and one unplugged gives 40FPS.
| tags: | added: multimonitor |
| tags: | added: nested |
| Alan Griffiths (alan-griffiths) wrote : | #4 |
With all the recent display config patches applied I can still reproduce this.
| Alan Griffiths (alan-griffiths) wrote : | #5 |
Problem caused by the display config patches
| Changed in mir: | |
| status: | New → Invalid |
| status: | Invalid → Incomplete |
| Alan Griffiths (alan-griffiths) wrote : | #6 |
Problem is intermittent. Several tests with trunk worked, then one failed as described.
| Alan Griffiths (alan-griffiths) wrote : | #7 |
Can no longer reproduce - doesn't seem important to work out which display config fix(s) solved this.
| Changed in mir: | |
| status: | Incomplete → Fix Committed |
| assignee: | nobody → Alan Griffiths (alan-griffiths) |
| milestone: | none → 0.18.0 |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package mir - 0.18.0+
---------------
mir (0.18.0+
[ Kevin DuBois ]
* New upstream release 0.18.0 (https:/
- ABI summary: Only servers need rebuilding;
. Mirclient ABI unchanged at 9
. Mirserver ABI bumped to 36
. Mircommon ABI unchanged at 5
. Mirplatform ABI unchanged at 11
. Mirprotobuf ABI unchanged at 3
. Mirplatformgraphics ABI bumped to 7
. Mirclientplatform ABI unchanged at 3
. Mirinputplatform ABI added. Current version is 4
- Enhancements:
. Use libinput by default, and remove the android input stack
. Add x11 input probing
. Add alternative buffer swapping mechanism internally, available with
--nbuffers 0
. Automatic searching and selection of input platforms
. Better support for themed cursors
. Add demo client that uses multiple buffer streams in one surface
. Improve fingerpaint demo to use touch pressure
. Allow for configuring cursor acceleration, scroll speed and left or
right handed mice
. Allow for setting a base display configuration via client api
. Various nested server multimonitor fixes and stability improvements
. Remove DepthId from the SurfaceStack
- Bug fixes:
. Unit test failures in Display.* on Android (LP: #1519276)
. Build failure due to missing dependency of client rpc code on mir
protobuf (LP: #1518372)
. Test failure in
(LP: #1517990)
. CI test failures in various NesterServer tests (LP: #1517781)
. FTBFS with -DMIR_PLATFORM=
. Nesting Mir servers with assorted display configs causes lockup
(LP: #1516670)
. [testsfail] RaiseSurfaces.
(LP: #1515931)
. CI test failures in GLMark2Test (LP: #1515660)
. Shells that inject user input events need to agree with the system
compositor on the clock to use (LP: #1515515)
. mircookie-dev is missing nettle-dev dependency (LP: #1514391)
. Segmentation fault on server shutdown with mesa-kms (LP: #1513901)
. mircookie requires nettle but libmircookie-dev doesn't depend on it
(LP: #1513792)
. libmircookie1 package does not list libnettle as dependency
(LP: #1513225)
. display configuration not reset when application exits (LP: #1511798)
. unplugging external monitor causes nested server to throttle client
(LP: #1511723)
. 1/2 screen on external monitor (LP: #1511538)
. unity-system-
(LP: #1511095)
. [regression] arm64/powerpc cross compile doesn't build any more
(LP: #1510778)
. mir_connection_
RTLD_LAZY (LP: #1510218)
. [multimonitor] nested server surface positioning incorrect
(LP: #1506846)
. unity-system-
...
| Changed in mir (Ubuntu): | |
| status: | New → Fix Released |
| Changed in mir: | |
| status: | Fix Committed → Fix Released |

For the avoidance of doubt, connecting the client directly to the host server works as expected.