UbuntuShape crash with latest UITK on mako/flo
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Critical
|
Pat McGowan | ||
| | ubuntu-ui-toolkit (Ubuntu) |
Critical
|
Loïc Molinari | ||
Bug Description
mako rc-proposed/ubuntu 256 + distupgrade of all the packages in the ovrerlay PPA
The shell doesn't come up and unity8 crashes in a loop.
Logs attached.
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2015-10-07
- Tim Peeters: Approve on 2015-10-02
- Gerry Boland: Approve on 2015-10-02
-
Diff: 55 lines (+8/-4)4 files modifiedsrc/Ubuntu/Components/plugin/shaders/shape.frag (+2/-1)
src/Ubuntu/Components/plugin/shaders/shape_mipmap.frag (+2/-1)
src/Ubuntu/Components/plugin/shaders/shapeoverlay.frag (+2/-1)
src/Ubuntu/Components/plugin/shaders/shapeoverlay_mipmap.frag (+2/-1)
| Jean-Baptiste Lallement (jibel) wrote : | #1 |
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → Critical |
| assignee: | nobody → kevin gunn (kgunn72) |
| milestone: | none → ww40-2015 |
| tags: | added: regression-proposed |
| Gerry Boland (gerboland) wrote : | #2 |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity8 (Ubuntu): | |
| status: | New → Confirmed |
| Gerry Boland (gerboland) wrote : | #4 |
Something suspicious to me, the GL context Mir is giving to Qt is missing the alpha channel:
Settings "QSG_INFO=1", you get:
qt.scenegraph.info: texture atlas dimensions: 2048x2048
qt.scenegraph.info: R/G/B/A Buffers: 8 8 8 0
qt.scenegraph.info: Depth Buffer: 24
qt.scenegraph.info: Stencil Buffer: 8
qt.scenegraph.info: Samples: -1
qt.scenegraph.info: GL_VENDOR: Qualcomm
qt.scenegraph.info: GL_RENDERER: Adreno (TM) 320
qt.scenegraph.info: GL_VERSION: OpenGL ES 3.0 V@53.0 AU@ (CL@)
the A Buffer should be 8.
| Gerry Boland (gerboland) wrote : | #5 |
Just checked with working unity8 (with mir 0.16), Alpha buffer reported missing there too. Must be unrelated issue.
| Changed in unity8 (Ubuntu): | |
| status: | Confirmed → Invalid |
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| status: | New → Confirmed |
| Gerry Boland (gerboland) wrote : | #6 |
Here's a simple way to reproduce the fail. Stick the following into a file test.qml:
import QtQuick 2.4
import Ubuntu.Components 1.2
Rectangle {
color: 'green'
UbuntuShape {}
}
Do "stop unity8" to stop unity8 reboot loop. Then do:
MIR_SERVER_
It will hang and eventually crash.
| Michał Sawicz (saviq) wrote : | #7 |
Offending landing:
https:/
| summary: |
- unity8 crash on mako rc-proposed/ubuntu with latest unity8/mir/powerd + QML (unity8 too) crash with latest UITK on mako/flo |
| summary: |
- QML (unity8 too) crash with latest UITK on mako/flo + UbuntuShape crash with latest UITK on mako/flo |
| Gerry Boland (gerboland) wrote : | #8 |
Apitrace of the failing scenario:
http://
Driver appears to be crashing while compiling the UbuntShape shader
| kevin gunn (kgunn72) wrote : | #9 |
current action ongoing is to revert the recent uitk landing, then this bug can be closed or priority reduced
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| importance: | Undecided → Critical |
| Changed in canonical-devices-system-image: | |
| assignee: | kevin gunn (kgunn72) → Pat McGowan (pat-mcgowan) |
| no longer affects: | unity8 (Ubuntu) |
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| assignee: | nobody → Loïc Molinari (loic.molinari) |
| Loïc Molinari (loic.molinari) wrote : | #10 |
So the Adreno 320's driver is crashing there:
lowp float mask = smoothstep(
because of the index being computed on the same line, storing it in a variable before fixes it...
| Changed in ubuntu-ui-toolkit (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Changed in canonical-devices-system-image: | |
| status: | New → Fix Committed |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |

Also experiencing it with Flo