Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] [nvidia 355] shader compilation failed #385

Closed
thopiekar opened this issue Sep 11, 2015 · 9 comments
Closed

[master] [nvidia 355] shader compilation failed #385

thopiekar opened this issue Sep 11, 2015 · 9 comments

Comments

@thopiekar
Copy link
Contributor

Don't know which commit causes this problem, because I didn't run Cura daily but this is what I get at the moment:

QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed: 
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( dpr ): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QQuickCustomMaterialShader: Shader compilation failed:
""
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( src ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( qt_SubRect_src ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( qt_Opacity ): shader program is not linked
Speicherzugriffsfehler (Speicherabzug geschrieben) - aka seg. fault
thopiekar@home:~$ dmesg
[   30.278707] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   30.284426] NVLINK: Nvlink Core is being initialized, major device number 246
[   30.284555] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:02:00.0 on minor 0
[   30.284572] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  355.06  Tue Jul 28 21:26:50 PDT 2015
[ 8344.185779] cura_app.py[3275]: segfault at 40 ip 00007f2b860f3385 sp 00007ffe12ec5220 error 4 in libnvidia-glcore.so.355.06[7f2b85032000+126e000]
[ 8376.455519] cura_app.py[3980]: segfault at 40 ip 00007fdb12343385 sp 00007fffd2f0d0c0 error 4 in libnvidia-glcore.so.355.06[7fdb11282000+126e000]
@thopiekar
Copy link
Contributor Author

Found a possible solution: #131

@thopiekar
Copy link
Contributor Author

Duplicate of #88, which is closed for some reason 😞

@nallath
Copy link
Member

nallath commented Sep 11, 2015

In that case installing the right package solved it.

@thopiekar
Copy link
Contributor Author

Ok, will give it a try.

@thopiekar
Copy link
Contributor Author

Installed python3-opengl, but no changes.
python3-pyqt5.qtopengl is also installed.

@thopiekar
Copy link
Contributor Author

Found the reason at launchpad: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826
Will add a pull request soon based on #131

thopiekar added a commit to thopiekar/Cura that referenced this issue Sep 11, 2015
For any reason this problem seems to be Ubuntu-specific and is also present since pyqt4.
* Updated the Ultimaker#131 pull request and added platform.linux_distribution to check for "Ubuntu"
* Added notice about the bug report above the if-clause
* Added comment why <platform.system() == "Linux"> is needed
@thopiekar
Copy link
Contributor Author

My PR #387 based on #131 fixes the problem + installing python3-opengl

nallath added a commit that referenced this issue Sep 11, 2015
Fixes "could not create shader program" #385
@nallath
Copy link
Member

nallath commented Sep 11, 2015

Your PR has been merged, so this issue can be closed.

@nallath nallath closed this as completed Sep 11, 2015
@thopiekar
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants