Mir

Mir fails to start on Nexus 10 - std::exception::what: Could not unblank display

Bug #1203268 reported by Roman Zonov
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Kevin DuBois
mir (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

http://unity.ubuntu.com/mir/installing_prebuilt_on_android.html
Only 3 of 4 Nexus devices can use Mir instead of surfaceflinger.

And it fails to start because display is already unblanked (error by hwcomposer).

Tags: nexus10

Related branches

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Kevin has been working on this as a low priority.

Changed in mir:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Kevin DuBois (kdub)
Roman Zonov (roman2861)
Changed in mir:
status: Triaged → New
Changed in mir:
status: New → Triaged
summary: - Mir not works on Nexus 10
+ Mir does not work on Nexus 10
Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: Mir does not work on Nexus 10

Moving to medium as we only support 2 tablets atm, and one is just terrible to work with (due the tegra egl drivers).

Changed in mir:
importance: Low → Medium
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

This is the current issue I'm getting:
root@ubuntu-phablet:~# mir_demo_server_basic
__pthread_gettid -2
ERROR: /build/buildd/mir-0.0.15+13.10.20131014/src/server/graphics/android/hwc_common_device.cpp(64): Throw in function mir::graphics::android::HWCCommonDevice::HWCCommonDevice(const std::shared_ptr<hwc_composer_device_1>&, const std::shared_ptr<mir::graphics::android::HWCVsyncCoordinator>&)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: Could not unblank display
[boost::errinfo_errno_*] = 16, "Device or resource busy"

Logcat:
I/ServiceManager( 530): Waiting for service SurfaceFlinger...
D/libEGL ( 1475): loaded /vendor/lib/egl/libGLES_mali.so
I/gralloc ( 1475): using (id=)
I/gralloc ( 1475): xres = 2560 px
I/gralloc ( 1475): yres = 1600 px
I/gralloc ( 1475): width = 218 mm (298.275238 dpi)
I/gralloc ( 1475): height = 136 mm (298.823517 dpi)
I/gralloc ( 1475): refresh rate = 60.95 Hz
I/hwcomposer( 1475): unblank ioctl failed (display already unblanked)

summary: - Mir does not work on Nexus 10
+ Mir fails to start on Nexus 10 as display is already unblanked
description: updated
tags: added: nexus10
summary: - Mir fails to start on Nexus 10 as display is already unblanked
+ Mir fails to start on Nexus 10 - std::exception::what: Could not unblank
+ display
Revision history for this message
Roman Zonov (roman2861) wrote :

So, when I can expect Mir on Nexus 10?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mir (Ubuntu):
status: New → Confirmed
Changed in mir (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Kevin DuBois (kdub) wrote :

this is more of a blueprint than a bug. One is already in place for tracking progress.

https://blueprints.launchpad.net/ubuntu/+spec/client-1307-mir-nexus10

Kevin DuBois (kdub)
Changed in mir:
status: Triaged → Fix Committed
Revision history for this message
Roman Zonov (roman2861) wrote :

Does it mean, that I can use Mir on manta?

Changed in mir:
milestone: none → 0.1.2
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.3 KiB)

This bug was fixed in the package mir - 0.1.2+14.04.20131128.1-0ubuntu1

---------------
mir (0.1.2+14.04.20131128.1-0ubuntu1) trusty; urgency=low

  [ Kevin Gunn ]
  * New upstream release 0.1.2
    - graphics: android: improve interface for mga::DisplayDevice so its
      just concerned with rendering and posting.
    - surfaces: rename "surfaces" component to "scene".
    - surfaces, shell: Migrate Session data model from shell to surfaces.
    - graphics: change fill_ipc_package() to use real pointers.
    - mir_client_library.h: Fix typo "do and locking" should be "do any
      locking".
    - API enumerations cleanup: Remove slightly misleading *_enum_max_
      values, and replace them with more accurate plural forms.
    - test_android_communication_package: Do not expect opened fd to be >0,
      we may have closed stdin making this a valid value (LP: #1247718).
    - Update docs about running Mir on the desktop to mention new package
      ubuntu-desktop-mir.
    - offscreen: Add a display that renders its output to offscreen buffers
    - graphics: android: fix regression for hwc1.0 devices introduced in r1228
      (LP: #1252433).
    - OffscreenPlatform provides the services that the offscreen display
      needs from the Platform.
    - graphics: android: consolidate the GLContexts classes in use.
    - Fix uninitialized variable causing random drm_auth_magic test
      failures. (LP: #1252144).
    - Add a fullyish functional Udev wrapper. This currently sits in
      graphics/gbm, but will be moved to the top-level when input device
      detection migrates.
    - Add resizing support to example code; demo-shell and clients.
    - eglapp: Clarify messages about pixel formats (LP: #1168304).
    - Adds support to the MirMotionEvent under pointer_coordinates called
      tool_type. This will allow clients to tell what type of tool is
      being used, from mouse/finger/etc. (LP: #1252498)
    - client,frontend: Report the real available surface pixel formats to
      clients. (LP: #1240833)
    - graphics: android: 1) change hwc1.1 to make use of sync fences during
      the compositor's gl renderloop. Note that we no longer wait for the
      render to complete, we pass this responsibility to the driver and the
      kernel. 2) support nexus 10. (LP: #1252173) (LP: #1203268)
    - shell: don't publish SurfacesContainer - it can be private to shell.
    - gbm: Don't mess up the VT mode on setup failure Only restore the
      previous VT mode during shutdown if it was VT_AUTO.
    - Fix a crash due to a failed eglMakeCurrent() call when in nested mode.
    - shell: unity-mir uses shell::FocusSetter - make the header public again
    - Add resize support to client surfaces (mir::client::MirSurface).
    - graphics: android: support 'old aka 2012' nexus 7 hwc (nvidia tegra3
      SoC) better. (LP: #1231917)
    - Add resize support to *ClientBuffer classes. Now always get dimensions
      from the latest buffer package.
    - android: support driver hooks for the Mali T604 (present in nexus 10)
    - Add width and height to the protocol Buffer messages, in preparation
      for resizable surfaces.
    - surfaces, shell, logging, te...

Read more...

Changed in mir (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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