[PyQt] Fwd: [Bug 1241988] [NEW] All pyqt5 quick examples fails with shader program link error

Dmitry Shachnev mitya57 at ubuntu.com
Mon Oct 21 17:09:46 BST 2013


Hi,

I'm forwarding a bug report from Ubuntu user, originally reported at:
https://bugs.launchpad.net/bugs/1241988

I can't reproduce it myself, so hope you can understand what's
happpening there. I can ask the reporter to provide any additional
information if you want.

--
Dmitry Shachnev

---------- Forwarded message ----------
From: Hogne Håskjold
Date: Sat, Oct 19, 2013 at 2:22 PM
Subject: [Bug 1241988] [NEW] All pyqt5 quick examples fails with
shader program link error

Public bug reported:

$ lsb_release -rd
Description:    Ubuntu 13.10
Release:        13.10

$ apt-cache policy pyqt5-doc
pyqt5-doc:
  Installed: 5.0.1-1ubuntu1
  Candidate: 5.0.1-1ubuntu1
  Version table:
 *** 5.0.1-1ubuntu1 0
        500 http://no.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

Graphics driver:
$ apt-cache policy nvidia-319-updates
nvidia-319-updates:
  Installed: 319.60-0ubuntu1
  Candidate: 319.60-0ubuntu1
  Version table:
 *** 319.60-0ubuntu1 0
        500 http://no.archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages
        100 /var/lib/dpkg/status


All examples under /usr/share/doc/pyqt5-doc/examples/quick/ fails on
shader compilation, example:

/usr/share/doc/pyqt5-doc/examples/quick/tutorials/extending/chapter1-basics$
python3 chapter1-basics.py
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: 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
QOpenGLShaderProgram::uniformLocation( fontScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( vecDelta ): shader program is not linked
Segmentation fault (core dumped)
$


More information about the PyQt mailing list