mir nested server failure: what(): error binding buffer to texture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Andreas Pokorny | ||
mir (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
with lp:mir/devel (rev 1350) + lp:~vanvugt/mir/fix-1271853 on mako
host server:
root@ubuntu-
terminate called after throwing an instance of 'boost:
what(): error binding buffer to texture
nested server:
root@ubuntu-
terminate called after throwing an instance of 'boost:
what(): Failed to send message to server: Bad file descriptor
Aborted (core dumped)
logcat reports:
W/Adreno200-
E/libEGL (21940): eglMakeCurrent:593 error 3009 (EGL_BAD_MATCH)
W/Adreno200-
W/Adreno200-
appears to be a regression in rev 1328
Related branches
- Alan Griffiths: Approve
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 11 lines (+0/-1)1 file modifiedsrc/platform/graphics/android/android_display_configuration.cpp (+0/-1)
summary: |
- mir nested server failure + mir nested server failure: what(): error binding buffer to texture |
description: | updated |
Changed in mir: | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in mir: | |
status: | New → Confirmed |
Changed in mir: | |
milestone: | none → 0.1.5 |
status: | Confirmed → In Progress |
tags: | added: nexus4 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
mir_pixel_ format_ bgr_888 is selected by the nested server from the list of supported pixel formats, then the nested asks for a reconfigure to bgr_888, (which AndroidDisplay ignores).
a quick fix is to just remove mir_pixel_ format_ bgr_888 from the list of display- supported- pixel formats in mga::AndroidDis playConfigurati on. The proper fix is to get the display format from mga::Framebuffers to mga::AndroidDis playConfigurati on.
Android's displays aren't quite as configurable as the KMS ones. In FB/HWC1.0, we read a struct member to get the singular display format. In HWC 1.1/1.2 we scan over the EGL configs for a suitable config/format match. In HWComposer 1.3, the display format is actually opaque to us.