Workaround:
The shader creation problem completely vanishes when importing PyOpenGL 
additionally to PyQt. It doesn't even matter if it's imported before or after 
PyQt, just before the first shader is created.

When I add:
from OpenGL import GL
the example from my first post works.

Someone from the PyQt mailing list suggested that this is caused by an
error when python dynamically loads the GL library.

** Summary changed:

- OpenGL backend not working with Nvidia driver package
+ PyQt cannot compile shaders with Ubuntu's Nvidia drivers

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941826

Title:
  PyQt cannot compile shaders with Ubuntu's Nvidia drivers

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/941826/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to