Gallery fails to open due a shader compiler problem

Bug #1173286 reported by Ricardo Salveti
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
Critical
Günter Schwann

Bug Description

HARDWARE=mako
JENKINS_BUILD=102
UBUNTU=manhattan-raring-armhf-20130426-0
ubuntu/platform-api=:51
ubuntu/hybris=:126

Gallery fails to open due a shader compiler issue, as described bellow (without the shell running):
phablet@localhost:~$ export $(dbus-launch)
phablet@localhost:~$ gallery-app
__pthread_gettid -2
loaded the dummy plugin
loaded the Generic plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

This plugin does not support propagateSizeHints()
register types Ubuntu.HUD
initialize engine Ubuntu.HUD
Found a top level window.
applicationIdentifier set and we have a toplevel window. Registering.
Creating publisher with XID 1
adding actions
context.cpp:static void Ubuntu::HUD::QML::Context::append(QQmlListProperty<Ubuntu::HUD::Action>*, Ubuntu::HUD::Action*)
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
Opening /home/phablet/Pictures...
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
Opened /home/phablet/Pictures
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( shapeTexture ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( baseColor ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( gradientColor ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( shapeTexture ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked

Using the last image produced based on phablet-team/ppa only (latest is using daily-build-next as well), and updating just gallery and hud is already enough to reproduced the issue:
99:
* http://10.97.2.10:8080/job/ubuntu-touch-image/99/artifact/archive/
* http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/20130424/

Enable https://launchpad.net/~ubuntu-unity/+archive/daily-build-next, apt-get update, and upgrade the following packages:
* libhud-qt1, qtdeclarative5-hud1.0, gallery-app, libhud-client2:armhf

Like:
Setting up libhud-qt1 (0.1.0daily13.04.26ubuntu.unity.next-0ubuntu1) ...
Setting up qtdeclarative5-hud1.0 (0.1.0daily13.04.26ubuntu.unity.next-0ubuntu1) ...
Setting up gallery-app (0.0.67daily13.04.26ubuntu.unity.next-0ubuntu1) ...
Setting up libhud-client2:armhf (13.10.1daily13.04.26ubuntu.unity.next-0ubuntu1) ...

Related branches

Changed in touch-preview-images:
assignee: nobody → Günter Schwann (schwann)
Paul Larson (pwlars)
Changed in touch-preview-images:
importance: Undecided → Critical
Revision history for this message
Florian Boucault (fboucault) wrote :

I believe this issue is now fixed.

Revision history for this message
Günter Schwann (schwann) wrote :

Release in ubuntu-touch -image 116

Changed in touch-preview-images:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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