All pyqt5 quick examples fails with shader program link error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-319-updates (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
$ 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://
100 /var/lib/
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://
100 /var/lib/
All examples under /usr/share/
/usr/share/
QOpenGLShaderPr
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShader: could not create shader
QSGMaterialShader: Shader compilation failed:
""
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShaderPr
QOpenGLShaderPr
Segmentation fault (core dumped)
$
This is not a bug in pyqt5. If you run some examples from qtdeclarative5- examples, you'll probably get the same errors.
It probably means that you have incomplete OpenGL drivers. Output of these commands may be helpful:
glxinfo | head
lspci | egrep 'VGA|Graphics'