Unity8 crashes on HTC Desire Z with: what(): ver requests info we dont provide. Key 3 is NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Florian W. | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When enabling Mir for Ubuntu Touch on the HTC Desire Z ("vision", community port maintained by me), the screen stays black and strange-looking vertical lines slowly appear within a few minutes after booting. Instead I'd expect it to show the unity 8 shell.
Unity 8 log shows an unhandled mir exception:
> terminate called after throwing an instance of 'boost:
> what(): ver requests info we dont provide. key:
The message is obviously truncated, further debugging revealed that it's actually "driver requests info we dont provide. key: 3". Key 3 is NATIVE_
After reading the comment explaining that key, I'm still not sure what it means, so I simply patched Mir to return 1 for that request in all three places (see related branch.. oh, and I got the indentation wrong apparently :)) and Mir now works on my device. *However*, there's a lot of flickering etc., so either that value of 1 is wrong, or there's some other problem.
This is using Touch cdimage 20131010 containing Mir 0.0.14+
Related branches
- Alan Griffiths: Approve
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 38 lines (+6/-0)3 files modifiedsrc/client/android/client_surface_interpreter.cpp (+2/-0)
src/server/graphics/android/internal_client_window.cpp (+2/-0)
src/server/graphics/android/server_render_window.cpp (+2/-0)
description: | updated |
summary: |
- [Touch Port] Exception: [dri]ver requests info we dont provide + Unity8 crashes on HTC Desire Z with: what(): ver requests info we dont + provide. Key 3 is NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS. |
Changed in mir: | |
assignee: | nobody → Florian W. (florian-will) |
status: | New → In Progress |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
milestone: | none → phone-v1-freeze |
Changed in mir: | |
milestone: | phone-v1-freeze → 0.0.16 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir: | |
milestone: | 0.0.16 → 0.0.15 |
Indentation in related branch is now correct, or at least I hope so. :-) (replaced tab with spaces)