[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2014-02-01 Thread Dimitri John Ledkov
android-src-vendor (5-0ubuntu1) trusty; urgency=medium

  * Adding back hwcompositor for grouper as it's now compatible with
MIR

 -- Ricardo Salveti de Araujo ricardo.salv...@canonical.com  Tue, 14
Jan 2014 22:40:23 -0200

** Changed in: android-src-vendor (Ubuntu)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/mir

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-28 Thread Launchpad Bug Tracker
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, tests: don't publish headers
  that can be private to surfaces. surfaces/basic_surface.h,
  surfaces/surface_controller.h and shell/surface_builder.h
- examples: Restore GL framebuffer binding when destroying the render
  target
- examples, surfaces, shell: remove render_surfaces dependency on
  BasicSurface
- geometry: remove implementation of streaming operators from headers
  (LP: #1247820)
- Eliminate the registration order focus sequence, folding it's
  functionality in to the session container.
- Ensure the session mediator releases acquired buffer resources before
  attempting to acquire a new buffer on behalf of the client. This fixes
  performance regression (LP: #1249210).
- Some cleanups to test_client_input.cpp.
- Factor out a bunch of ClientConfigCommon.
- Small cleanup to session container test to increase encapsulation.
- shell, surfaces: Another step in fixing the surfaces hierarchies -
  only publish interfaces and putting the data model into surfaces.
- graphics: android: HWC1.1 use EGL to get further information about
  the framebuffer pixel format.
- Fix FTBS using use_debflags=ON (building for android-armhf).
  (LP: #1248014)
- Add a client input receiver report.
- doc: doxygen 1.8.4 complains about an obsolete config so ran doxygen
  u Doxyfile.in.
- Implement resize() for the server-side Surface classes.
- android: clean up mga::DisplayBuffer and mga::DisplayBufferFactory
- Add resize() support to BufferStream, in preparation for resizable
  surfaces.
- Merge metadata changes from the newly reconstructed lp:mir
- tests: Deduplicate mg::GraphicBufferAllocator stubs.
- examples: Remove spurious use of mir/shell/surface.h.
- 

[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-25 Thread Ricardo Salveti
Adding bug task to android-src-vendor so we can add hwcomposer.tegra3.so
back once latest mir is available in the archive.

** Changed in: libhybris (Ubuntu)
   Status: Triaged = Invalid

** Also affects: android-src-vendor (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: android-src-vendor (Ubuntu)
   Status: New = Triaged

** Changed in: android-src-vendor (Ubuntu)
   Importance: Undecided = Medium

** Changed in: android-src-vendor (Ubuntu)
 Assignee: (unassigned) = Ricardo Salveti (rsalveti)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-25 Thread Daniel van Vugt
** Changed in: mir (Ubuntu)
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-24 Thread Daniel van Vugt
** Changed in: mir
   Status: Fix Committed = Fix Released

** Changed in: libhybris (Ubuntu)
   Status: Confirmed = Triaged

** Also affects: mir (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: mir (Ubuntu)
   Status: New = Triaged

** Changed in: mir (Ubuntu)
   Importance: Undecided = High

** Changed in: mir (Ubuntu)
   Importance: High = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-14 Thread Kevin DuBois
** Changed in: mir
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-10 Thread Daniel van Vugt
I assume FB composition is not desirable, and slower... ?

** Changed in: mir
Milestone: None = 0.1.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-08 Thread Kevin DuBois
the issue was that the hwcomposer was relying on HWC_GEOMETRY_CHANGED
flag to do some initialization of its internal data structures
(including some pthread mutexes). Mir was not setting this flag leaving
those mutexes uninitialized. When hwc tried to lock the uninitialized
mutexes,  we would segfault in hybris at that point.

Fixed by 
1) setting HWC_GEOMETRY_CHANGED during posting
2) submitting a skipped gles layer to force posting everytime.

branch with fix is linked

** Changed in: mir
   Status: Confirmed = In Progress

** Branch linked: lp:~kdub/mir/n7-support

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-08 Thread Kevin DuBois
for the reports about 'my nexus 7 works'

In mir, we first try to load the HWC display mechanism, and then, if we
can't load HWC, we load an alternative display mechanism (FB)

We saw that the HWC was segfaulting, so we removed hwcomposer.tegra3.so from 
the build. This forced FB composition.
After the fix lands, we can safely add back hwcomposer.tegra3.so to the build.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-04 Thread Ricardo Salveti
Assigned to kdub as he's currently investigating the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-11-04 Thread Ricardo Salveti
After a bit of more investigation, this actually seems to be a bug in
the way Mir is using the hwcomposer interface (not using the 2 layers,
and also with a different init/flags set).

The crash happens because it tries to use a pthread_mutex that is not
initialized. From our current investigation nothing is calling/using
this pthread_mutex before the crash, so it's probably due a different
code path used with Mir.

** Changed in: mir
   Status: Incomplete = Confirmed

** Changed in: mir
 Assignee: (unassigned) = Kevin DuBois (kdub)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-10-13 Thread Daniel van Vugt
Seems to be fixed in:

libhybris (0.1.0+git20130606+c5d897a-0ubuntu33) saucy; urgency=low


** Changed in: mir
   Status: Confirmed = Invalid

** Changed in: libhybris (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-10-13 Thread Ricardo Salveti
Marking as valid still as it happens when using the android hwcomposper.

** Changed in: mir
   Status: Invalid = Confirmed

** Changed in: libhybris (Ubuntu)
   Status: Fix Released = Confirmed

** Description changed:

- Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7
+ Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7, when
+ using android's hw composer.
  
  gdb ./mir_demo_server_basic
  ...
  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0x494e2460 (LWP 7515)]
  0x40c0f880 in ?? () from /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1
  (gdb) bt
  #0  0x40c0f880 in ?? ()
-from /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1
+    from /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1
  #1  0x41be1dbc in ?? ()
  #2  0x41be1dbc in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  
  This might be the same issue crashing integration-tests ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-10-13 Thread Daniel van Vugt
OK, but why reopen for Mir? What needs fixing in Mir?

** Changed in: mir
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-10-11 Thread Pete Woods
Update: unity appears to no-longer crash on startup when using Mir on my
Nexus 7.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1231917] Re: Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using the hwcomposer (tegra3)

2013-10-08 Thread Ricardo Salveti
** Summary changed:

- Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7
+ Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when using 
the hwcomposer (tegra3)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs