← Back to team overview

touch-packages team mailing list archive

[Bug 1471858] Re: Android: rotated display config not applied when an external monitor is hot-plugged

 

This bug was fixed in the package mir - 0.15.0+15.10.20150818-0ubuntu1

---------------
mir (0.15.0+15.10.20150818-0ubuntu1) wily; urgency=medium

  [ Daniel van Vugt ]
  * New upstream release 0.15.0 (https://launchpad.net/mir/+milestone/0.15.0)
    - ABI summary: Only servers and graphics drivers need rebuilding;
      . Mirclient ABI unchanged at 9
      . Mirserver ABI bumped to 33
      . Mircommon ABI unchanged at 5
      . Mirplatform ABI bumped to 9
    - Enhancements:
      . Add support for Mir-on-X11.
      . Latency reduction optimizations (around ~15ms reduction in total):
        Reduced input event resampling latency by 5ms. Reduced output latency
        (in system compositors) by around 10ms with the introduction of
        "predictive bypass". And we're not finished; future Mir releases
        should reduce latency further.
      . Introduced a python3-based Mir performance framework.
      . Lots of preparation for an architectural overhaul of buffer swapping,
        required in the least to support future optimizations like nested
        bypass.
      . Added a new cursor: crosshair
      . Added support for 15/16-bit client pixel formats ("high colour").
      . Added a new client function to make picking the right pixel format
        for a given EGLConfig super simple: mir_connection_get_egl_pixel_format
      . Added application-not-responding detection
      . Added client API for specifying input region shape.
      . Fixed the remaining threading flaws identified by ThreadSanitizer and
        turned it on permanently for all continuous integration in future.
      . Added support for relative pointer motion events (e.g. for gaming).
    - Bug fixes:
      . Fix focus issues breaking autopilot tests entering text (LP: #1468029)
      . Fix mir tests failure on armhf with GCC5 (LP: #1478213)
      . mir_buffer_stream_swap_buffers_sync can hang constraints (LP: #1479899)
      . Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
        (LP: #1391976)
      . Visible corruption in SDL apps (LP: #1460149)
      . MultiThreadedCompositor::destroy_compositing_threads hangs/deadlocks on
        shutdown or display reconfiguration  (LP: #1471909)
      . ctest/"make test" reports 100% tests pass even when some fail.
        (LP: #1472911)
      . Mir server crashed - GLib-CRITICAL **: g_source_get_context: assertion
       'source->context != NULL || !SOURCE_DESTROYED (source)' failed
        (LP: #1473869)
      . USC crash on multimonitor unplug [std::exception::what: error during
        hwc prepare()] (LP: #1474891)
      . [regression] Input focus delay after switching app back into focus
        (LP: #1480654)
      . GLibMainLoopTest.propagates_exception_from_server_action fails with
        GCC 5 in armhf (LP: #1482274)
      . [enhancement] Mir lacks relative mouse support (LP: #1276322)
      . ShmBuffer ignores pixel_format (LP: #1424909)
      . Fullscreen bypassed clients stutter with double buffers when other
        clients are running (LP: #1447896)
      . [regression] Demo servers crash on start-up if MIR_ENABLE_TESTS=OFF
        (LP: #1439078)
      . [regression] The software cursor has a rectangular shadow around it
        in mir_proving_server (LP: #1447911)
      . TestClientCursorAPI.cursor_passed_through_nested_server fails
        intermittently (LP: #1462088)
      . [enhancement] Add support for high colour (15/16-bit colour) clients
        (LP: #1469673)
      . android-input logs are not flushed as soon as they happen (LP #1470204)
      . Android: rotated display config not applied when an external monitor
        is hot-plugged (LP: #1471858)
      . [regression] Clients are blocked in swap buffers when the screen turns
        off (LP: #1475120)
      . [regression] Some Mir EGL demos don't get bypassed any more in
        fullscreen (LP: #1480755)
      . [regression] Multi-finger gestures are often not detected as finished
        (LP: #1481570)
      . Connection error when no client-platform (drivers) installed is
        confusing (LP: #1473268)
      . Compositor report shows overlays ("bypass") is never used by
        mir_proving_server on Android, even for fullscreen surfaces
        (LP: #1474231)

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Tue, 18 Aug 2015 21:42:12
+0000

** Changed in: mir (Ubuntu)
       Status: New => Fix Released

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

Title:
  Android: rotated display config not applied when an external monitor
  is hot-plugged

Status in Mir:
  Fix Committed
Status in Mir 0.13 series:
  Won't Fix
Status in Mir 0.14 series:
  New
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Hardware: Android (Nexus 7), using slimport cable to drive external monitor.
  Using Mir 0.13

  The intention is to configure USC to clone the contents of the
  internal display to the external display (id=1), but with those
  contents rotated 90 degrees.

  Check out revision 220 of lp:~unity-team/unity-system-compositor
  /toggle-cursor2/

  I am implementing a DisplayConfigurationPolicy like this:
  http://pastebin.ubuntu.com/11830210/
  I've got some print statements in there too.

  On testing this, there are 2 cases:

  1. Slimport cable connected at server startup
  Here, the external monitor comes up rotated correctly. I see the debug statements print.

  2. Slimport cable *not* connected at server startup
  First off, I do not see my debug statement print at server start.
  Secondly, when I do plug in the slimport cable, while I see my debug prints, the external monitor does not get rotated.

  You can explicitly tell USC to rotate the external display with dbus (install qdbus-qt5 first):
   qdbus --system com.canonical.Unity.Screen / com.canonical.Unity.Screen.overrideOrientation 1 90
  so rotation does work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1471858/+subscriptions